alsa-firmware-vl.spec 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. Summary: Firmware for several ALSA-supported sound cards
  2. Summary(ja): ALSA がサポートするサウンドカード用のファームウェア
  3. Name: alsa-firmware
  4. Version: 1.0.20
  5. Release: 1%{?_dist_release}
  6. # See later in the spec for a breakdown of licensing
  7. License: GPL+ and BSD and GPLv2+ and GPLv2 and LGPLv2+
  8. Group: Applications/Multimedia
  9. URL: http://www.alsa-project.org/
  10. # This source removes the emi_26_62 firmware which is under a questionable
  11. # license. See bug #217259.
  12. # To generate the "pruned" tarball, extract the original source, remove
  13. # the emi_26_62 directory and create a new tarball with a "-pruned" suffix.
  14. # Original source: ftp://ftp.alsa-project.org/pub/firmware/%{name}-%{version}.tar.bz2
  15. Source0: %{name}-%{version}-pruned.tar.bz2
  16. Source1: alsa-firmware.README
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  18. Requires: alsa-tools-firmware >= %{version}
  19. Requires: udev
  20. BuildRequires: automake
  21. BuildRequires: autoconf
  22. # noarch, since the package is firmware
  23. BuildArch: noarch
  24. %description
  25. This package contains the firmware binaries for a number of sound cards.
  26. Some (but not all of these) require firmware loaders which are included in
  27. the alsa-tools-firmware package.
  28. %description -l ja
  29. このパッケージには、いろんな種類のサウンドカード用のファームウェアが
  30. 収録されています。これらファームウェアの中には、alsa-tools-firmware
  31. パッケージに収録されているファームウェアローダを必要とするものがあります。
  32. %prep
  33. %setup -q
  34. %build
  35. # emi_26_62 is not in the pruned tarball
  36. sed -i s#'emi_26_62/Makefile \\'## configure.in
  37. sed -i s#emi_26_62## Makefile.am
  38. # Leaving this directory in place ends up with the following crazy, broken
  39. # symlinks in the output RPM, with no sign of the actual firmware (*.bin) files
  40. # themselves:
  41. #
  42. # /lib/firmware/turtlebeach:
  43. # msndinit.bin -> /etc/sound/msndinit.bin
  44. # msndperm.bin -> /etc/sound/msndperm.bin
  45. # pndsperm.bin -> /etc/sound/pndsperm.bin
  46. # pndspini.bin -> /etc/sound/pndspini.bin
  47. #
  48. # Probably an upstream package bug.
  49. sed -i s#'multisound/Makefile \\'## configure.in
  50. sed -i s#multisound## Makefile.am
  51. %__aclocal
  52. %__automake
  53. %__autoconf
  54. %configure --disable-loader
  55. make %{?_smp_mflags}
  56. # Rename README files from firmware subdirs that have them
  57. for i in hdsploader mixartloader pcxhrloader usx2yloader vxloader
  58. do
  59. mv ${i}/README README.${i}
  60. done
  61. %install
  62. rm -rf $RPM_BUILD_ROOT
  63. make install DESTDIR=%{buildroot}
  64. cp -p %{SOURCE1} README.00alsa-firmware
  65. %clean
  66. rm -rf $RPM_BUILD_ROOT
  67. %files
  68. %defattr(-,root,root,-)
  69. %doc COPYING README*
  70. # License: KOS (BSD-alike)
  71. /lib/firmware/aica_firmware.bin
  72. # License: No explicit license; default package license is GPLv2+
  73. /lib/firmware/asihpi
  74. # License: GPL (undefined version)
  75. /lib/firmware/digiface_firmware*
  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_dsp.fw
  100. # LGPLv2.1+
  101. /lib/firmware/ea/indigo_io_dsp.fw
  102. # LGPLv2.1+
  103. /lib/firmware/ea/indigo_djx_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. # Licenses vary so are enumerated separately
  137. # GPLv2
  138. /lib/firmware/emu/audio_dock.fw
  139. # GPLv2
  140. /lib/firmware/emu/emu0404.fw
  141. # GPLv2
  142. /lib/firmware/emu/emu1010_notebook.fw
  143. # GPLv2
  144. /lib/firmware/emu/emu1010b.fw
  145. # GPLv2
  146. /lib/firmware/emu/hana.fw
  147. # GPLv2+
  148. /lib/firmware/emu/micro_dock.fw
  149. # License: GPL (undefined version)
  150. /lib/firmware/ess
  151. # License: No explicit license; default package license is GPLv2+
  152. /lib/firmware/korg
  153. # License: GPL (undefined version)
  154. /lib/firmware/mixart
  155. # License: GPL (undefined version)
  156. /lib/firmware/multiface_firmware*
  157. # License: GPL (undefined version)
  158. /lib/firmware/pcxhr
  159. # License: GPLv2+
  160. /lib/firmware/sb16
  161. # License: GPL (undefined version)
  162. /lib/firmware/vx
  163. # License: No explicit license; default package license is GPLv2+
  164. # See ALSA bug #3412
  165. /lib/firmware/yamaha
  166. # Even with --disable-loader, we still get usxxx firmware here; looking at the
  167. # alsa-tools-firmware package, it seems like these devices probably use an old-
  168. # style hotplug loading method
  169. # License: GPL (undefined version)
  170. %{_datadir}/alsa/firmware
  171. %changelog
  172. * Thu Jul 2 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.20-1
  173. - new upstream release
  174. * Thu Feb 19 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.19-1
  175. - initial build for Vine Linux
  176. * Tue Jan 20 2009 Tim Jackson <rpm@timj.co.uk> - 1.0.19-1
  177. - Update to 1.0.19
  178. * Mon Jul 21 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.17-1
  179. - Updated to 1.0.17
  180. * Mon May 12 2008 Tim Jackson <rpm@timj.co.uk> - 1.0.16-1
  181. - Update to upstream 1.0.16
  182. - Clarify licensing conditions
  183. * Tue Aug 14 2007 Tim Jackson <rpm@timj.co.uk> - 1.0.14-1
  184. - Update to upstream 1.0.14, but skip turtlebeach firmware as it doesn't seem
  185. to install properly
  186. - Remove files from old-style firmware loader locations
  187. - Spec file cosmetics, keep rpmlint quiet
  188. * Sat Nov 25 2006 Tim Jackson <rpm@timj.co.uk> - 1.0.12-1
  189. - Update to 1.0.12
  190. - Add udev dep
  191. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  192. - rebuilt
  193. * Sat Apr 03 2004 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.0.4-0.fdr.1
  194. - Update to 1.0.4
  195. * Fri Jan 16 2004 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.0.1-0.fdr.2
  196. - add missing rm in install section
  197. * Fri Jan 09 2004 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.0.1-0.fdr.1
  198. - Update to 1.0.1
  199. - Contains now the license -- is "Distributable under GPL"
  200. * Thu Dec 04 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.1.rc1
  201. - Initial build.