alsa-firmware-vl.spec 8.1 KB

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