alsa-firmware-vl.spec 7.7 KB

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