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