alsa-firmware-vl.spec 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. # This is a firmware package, so binaries (which are not run on the host)
  2. # in the end package are expected.
  3. %define _binaries_in_noarch_packages_terminate_build 0
  4. Summary: Firmware for several ALSA-supported sound cards
  5. Summary(ja): ALSA がサポートするサウンドカード用のファームウェア
  6. Name: alsa-firmware
  7. Version: 1.2.1
  8. Release: 1%{?_dist_release}
  9. Group: Applications/Multimedia
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. Packager: shaolin
  13. # See later in the spec for a breakdown of licensing
  14. License: GPL+ and BSD and GPLv2+ and GPLv2 and LGPLv2+
  15. URL: https://www.alsa-project.org/wiki/Main_Page
  16. Source0: ftp://ftp.alsa-project.org/pub/firmware/%{name}-%{version}.tar.bz2
  17. Source1: alsa-firmware.README
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  19. Requires: alsa-tools-firmware >= %{version}
  20. BuildRequires: automake
  21. BuildRequires: autoconf
  22. #Requires: eudev
  23. # noarch, since the package is firmware
  24. BuildArch: noarch
  25. %description
  26. This package contains the firmware binaries for a number of sound cards.
  27. Some (but not all of these) require firmware loaders which are included in
  28. the alsa-tools-firmware package.
  29. %description -l ja
  30. このパッケージには、いろんな種類のサウンドカード用のファームウェアが
  31. 収録されています。これらファームウェアの中には、alsa-tools-firmware
  32. パッケージに収録されているファームウェアローダを必要とするものがあります。
  33. %prep
  34. %setup -q
  35. %build
  36. # Leaving this directory in place ends up with the following crazy, broken
  37. # symlinks in the output RPM, with no sign of the actual firmware (*.bin) files
  38. # themselves:
  39. #
  40. # /lib/firmware/turtlebeach:
  41. # msndinit.bin -> /etc/sound/msndinit.bin
  42. # msndperm.bin -> /etc/sound/msndperm.bin
  43. # pndsperm.bin -> /etc/sound/pndsperm.bin
  44. # pndspini.bin -> /etc/sound/pndspini.bin
  45. #
  46. # Probably an upstream package bug.
  47. sed -i s#'multisound/Makefile \\'## configure.ac
  48. sed -i s#multisound## Makefile.am
  49. #%__aclocal
  50. #%__automake
  51. #%__autoconf
  52. autoreconf -if
  53. %configure --disable-loader
  54. make %{?_smp_mflags}
  55. # Rename README files from firmware subdirs that have them
  56. for i in hdsploader mixartloader pcxhrloader usx2yloader vxloader
  57. do
  58. mv ${i}/README README.${i}
  59. done
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. make install DESTDIR=%{buildroot}
  63. cp -p %{SOURCE1} README.00alsa-firmware
  64. %clean
  65. rm -rf $RPM_BUILD_ROOT
  66. %files
  67. %defattr(-,root,root,-)
  68. %doc COPYING README*
  69. # License: KOS (BSD-alike)
  70. /lib/firmware/aica_firmware.bin
  71. # License: No explicit license; default package license is GPLv2+
  72. /lib/firmware/asihpi
  73. # License: GPL (undefined version)
  74. /lib/firmware/digiface_firmware*
  75. %dir /lib/firmware/ea
  76. # The licenses for the Echo Audio firmware vary slightly so each is enumerated
  77. # separately, to be really sure.
  78. # LGPLv2.1+
  79. /lib/firmware/ea/3g_asic.fw
  80. # GPL (undefined version)
  81. /lib/firmware/ea/darla20_dsp.fw
  82. # LGPLv2.1+
  83. /lib/firmware/ea/darla24_dsp.fw
  84. # LGPLv2.1+
  85. /lib/firmware/ea/echo3g_dsp.fw
  86. # GPL (undefined version)
  87. /lib/firmware/ea/gina20_dsp.fw
  88. # GPL (undefined version)
  89. /lib/firmware/ea/gina24_301_asic.fw
  90. # GPL (undefined version)
  91. /lib/firmware/ea/gina24_301_dsp.fw
  92. # GPL (undefined version)
  93. /lib/firmware/ea/gina24_361_asic.fw
  94. # GPL (undefined version)
  95. /lib/firmware/ea/gina24_361_dsp.fw
  96. # LGPLv2.1+
  97. /lib/firmware/ea/indigo_dj_dsp.fw
  98. # LGPLv2.1+
  99. /lib/firmware/ea/indigo_djx_dsp.fw
  100. # LGPLv2.1+
  101. /lib/firmware/ea/indigo_dsp.fw
  102. # LGPLv2.1+
  103. /lib/firmware/ea/indigo_io_dsp.fw
  104. # LGPLv2.1+
  105. /lib/firmware/ea/indigo_iox_dsp.fw
  106. # GPL (undefined version)
  107. /lib/firmware/ea/layla20_asic.fw
  108. # GPL (undefined version)
  109. /lib/firmware/ea/layla20_dsp.fw
  110. # GPL (undefined version)
  111. /lib/firmware/ea/layla24_1_asic.fw
  112. # GPL (undefined version)
  113. /lib/firmware/ea/layla24_2A_asic.fw
  114. # GPL (undefined version)
  115. /lib/firmware/ea/layla24_2S_asic.fw
  116. # GPL (undefined version)
  117. /lib/firmware/ea/layla24_dsp.fw
  118. # GPL (undefined version)
  119. /lib/firmware/ea/loader_dsp.fw
  120. # LGPLv2.1+
  121. /lib/firmware/ea/mia_dsp.fw
  122. # GPL (undefined version)
  123. /lib/firmware/ea/mona_2_asic.fw
  124. # GPL (undefined version)
  125. /lib/firmware/ea/mona_301_1_asic_48.fw
  126. # GPL (undefined version)
  127. /lib/firmware/ea/mona_301_1_asic_96.fw
  128. # GPL (undefined version)
  129. /lib/firmware/ea/mona_301_dsp.fw
  130. # GPL (undefined version)
  131. /lib/firmware/ea/mona_361_1_asic_48.fw
  132. # GPL (undefined version)
  133. /lib/firmware/ea/mona_361_1_asic_96.fw
  134. # GPL (undefined version)
  135. /lib/firmware/ea/mona_361_dsp.fw
  136. %dir /lib/firmware/emu
  137. # Licenses vary so are enumerated separately
  138. # GPLv2
  139. /lib/firmware/emu/audio_dock.fw
  140. # GPLv2
  141. /lib/firmware/emu/emu0404.fw
  142. # GPLv2
  143. /lib/firmware/emu/emu1010_notebook.fw
  144. # GPLv2
  145. /lib/firmware/emu/emu1010b.fw
  146. # GPLv2
  147. /lib/firmware/emu/hana.fw
  148. # GPLv2+
  149. /lib/firmware/emu/micro_dock.fw
  150. # License: GPL (undefined version)
  151. /lib/firmware/ess
  152. # License: No explicit license; default package license is GPLv2+
  153. /lib/firmware/korg
  154. # License: GPL (undefined version)
  155. /lib/firmware/mixart
  156. # License: GPL (undefined version)
  157. /lib/firmware/multiface_firmware*
  158. # License: GPL (undefined version)
  159. /lib/firmware/pcxhr
  160. # License: GPL (undefined version)
  161. /lib/firmware/rpm_firmware.bin
  162. # License: GPLv2+
  163. /lib/firmware/sb16
  164. # License: GPL (undefined version)
  165. /lib/firmware/vx
  166. # License: No explicit license; default package license is GPLv2+
  167. # See ALSA bug #3412
  168. /lib/firmware/yamaha
  169. # Licence: Redistribution allowed, see ca0132/creative.txt
  170. /lib/firmware/ctefx.bin
  171. /lib/firmware/ctspeq.bin
  172. /lib/firmware/ctefx-desktop.bin
  173. /lib/firmware/ctefx-r3di.bin
  174. # Licence: No explicit license; says it's copied from kernel where the cs46xx
  175. # driver is labelled as GPLv2+
  176. /lib/firmware/cs46xx
  177. # Even with --disable-loader, we still get usxxx firmware here; looking at the
  178. # alsa-tools-firmware package, it seems like these devices probably use an old-
  179. # style hotplug loading method
  180. # License: GPL (undefined version)
  181. %{_datadir}/alsa/firmware
  182. %changelog
  183. * Fri Apr 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.1-1
  184. - new upstream release.
  185. * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.29-1
  186. - new upstream release
  187. * Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.28-1
  188. - new upstream release
  189. - change Requires: eudev instead of udev
  190. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.25-1
  191. - new upstream release
  192. * Sun May 08 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.23-2
  193. - rebuild
  194. - define the _binaries_in_noarch_packages_terminate_build macro to 0,
  195. as these files are arch-dependent but binary files
  196. * Fri May 28 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.23-1
  197. - new upstream release
  198. * Thu Jul 2 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.20-1
  199. - new upstream release
  200. * Thu Feb 19 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.19-1
  201. - initial build for Vine Linux
  202. * Tue Jan 20 2009 Tim Jackson <rpm@timj.co.uk> - 1.0.19-1
  203. - Update to 1.0.19
  204. * Mon Jul 21 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.17-1
  205. - Updated to 1.0.17
  206. * Mon May 12 2008 Tim Jackson <rpm@timj.co.uk> - 1.0.16-1
  207. - Update to upstream 1.0.16
  208. - Clarify licensing conditions
  209. * Tue Aug 14 2007 Tim Jackson <rpm@timj.co.uk> - 1.0.14-1
  210. - Update to upstream 1.0.14, but skip turtlebeach firmware as it doesn't seem
  211. to install properly
  212. - Remove files from old-style firmware loader locations
  213. - Spec file cosmetics, keep rpmlint quiet
  214. * Sat Nov 25 2006 Tim Jackson <rpm@timj.co.uk> - 1.0.12-1
  215. - Update to 1.0.12
  216. - Add udev dep
  217. * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  218. - rebuilt
  219. * Sat Apr 03 2004 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.0.4-0.fdr.1
  220. - Update to 1.0.4
  221. * Fri Jan 16 2004 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.0.1-0.fdr.2
  222. - add missing rm in install section
  223. * Fri Jan 09 2004 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.0.1-0.fdr.1
  224. - Update to 1.0.1
  225. - Contains now the license -- is "Distributable under GPL"
  226. * Thu Dec 04 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.1.rc1
  227. - Initial build.