bd7b87
# This is a firmware package, so binaries (which are not run on the host)
bd7b87
# in the end package are expected.
bd7b87
%define _binaries_in_noarch_packages_terminate_build   0
bd7b87
bd7b87
Summary:        Firmware for several ALSA-supported sound cards
bd7b87
Name:           alsa-firmware
bd7b87
Version:        1.0.29
bd7b87
Release:        6%{?dist}
bd7b87
# See later in the spec for a breakdown of licensing
bd7b87
License:        GPL+ and BSD and GPLv2+ and GPLv2 and LGPLv2+
bd7b87
Group:          Applications/Multimedia
bd7b87
URL:            http://www.alsa-project.org/
bd7b87
Source:         ftp://ftp.alsa-project.org/pub/firmware/%{name}-%{version}.tar.bz2
bd7b87
bd7b87
Requires:       alsa-tools-firmware >= %{version}
bd7b87
Requires:       systemd
bd7b87
BuildRequires:  libtool autoconf automake
bd7b87
bd7b87
# noarch, since the package is firmware
bd7b87
BuildArch:      noarch
bd7b87
bd7b87
%description
bd7b87
This package contains the firmware binaries for a number of sound cards.
bd7b87
Some (but not all of these) require firmware loaders which are included in
bd7b87
the alsa-tools-firmware package.
bd7b87
bd7b87
bd7b87
%prep
bd7b87
%setup -q
bd7b87
bd7b87
bd7b87
%build
bd7b87
bd7b87
# Leaving this directory in place ends up with the following crazy, broken
bd7b87
# symlinks in the output RPM, with no sign of the actual firmware (*.bin) files
bd7b87
# themselves:
bd7b87
#
bd7b87
# /lib/firmware/turtlebeach:
bd7b87
# msndinit.bin -> /etc/sound/msndinit.bin
bd7b87
# msndperm.bin -> /etc/sound/msndperm.bin
bd7b87
# pndsperm.bin -> /etc/sound/pndsperm.bin
bd7b87
# pndspini.bin -> /etc/sound/pndspini.bin
bd7b87
#
bd7b87
# Probably an upstream package bug.
bd7b87
sed -i s#'multisound/Makefile \\'## configure.ac
bd7b87
sed -i s#multisound## Makefile.am
bd7b87
bd7b87
autoreconf -vif
bd7b87
%configure --disable-loader
bd7b87
make %{?_smp_mflags}
bd7b87
bd7b87
# Rename README files from firmware subdirs that have them
bd7b87
for i in hdsploader mixartloader pcxhrloader usx2yloader vxloader ca0132
bd7b87
do
bd7b87
  mv ${i}/README README.${i}
bd7b87
done
bd7b87
mv aica/license.txt LICENSE.aica_firmware
bd7b87
mv aica/Dreamcast_sound.txt aica_dreamcast_sound.txt
bd7b87
mv ca0132/creative.txt LICENSE.creative_txt
bd7b87
bd7b87
%install
bd7b87
make install DESTDIR=%{buildroot}
bd7b87
bd7b87
bd7b87
%files
bd7b87
%doc COPYING README* LICENSE*
bd7b87
%doc aica_dreamcast_sound.txt
bd7b87
bd7b87
# License: KOS (BSD-alike)
bd7b87
/lib/firmware/aica_firmware.bin
bd7b87
bd7b87
# License: No explicit license; default package license is GPLv2+
bd7b87
/lib/firmware/asihpi
bd7b87
bd7b87
# License: GPL (undefined version)
bd7b87
/lib/firmware/digiface_firmware*
bd7b87
bd7b87
%dir /lib/firmware/ea
bd7b87
# The licenses for the Echo Audio firmware vary slightly so each is enumerated
bd7b87
# separately, to be really sure.
bd7b87
# LGPLv2.1+
bd7b87
/lib/firmware/ea/3g_asic.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/darla20_dsp.fw
bd7b87
# LGPLv2.1+
bd7b87
/lib/firmware/ea/darla24_dsp.fw
bd7b87
# LGPLv2.1+
bd7b87
/lib/firmware/ea/echo3g_dsp.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/gina20_dsp.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/gina24_301_asic.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/gina24_301_dsp.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/gina24_361_asic.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/gina24_361_dsp.fw
bd7b87
# LGPLv2.1+
bd7b87
/lib/firmware/ea/indigo_dj_dsp.fw
bd7b87
# LGPLv2.1+
bd7b87
/lib/firmware/ea/indigo_djx_dsp.fw
bd7b87
# LGPLv2.1+
bd7b87
/lib/firmware/ea/indigo_dsp.fw
bd7b87
# LGPLv2.1+
bd7b87
/lib/firmware/ea/indigo_io_dsp.fw
bd7b87
# LGPLv2.1+
bd7b87
/lib/firmware/ea/indigo_iox_dsp.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/layla20_asic.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/layla20_dsp.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/layla24_1_asic.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/layla24_2A_asic.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/layla24_2S_asic.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/layla24_dsp.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/loader_dsp.fw
bd7b87
# LGPLv2.1+
bd7b87
/lib/firmware/ea/mia_dsp.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/mona_2_asic.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/mona_301_1_asic_48.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/mona_301_1_asic_96.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/mona_301_dsp.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/mona_361_1_asic_48.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/mona_361_1_asic_96.fw
bd7b87
# GPL (undefined version)
bd7b87
/lib/firmware/ea/mona_361_dsp.fw
bd7b87
bd7b87
%dir /lib/firmware/emu
bd7b87
# Licenses vary so are enumerated separately
bd7b87
# GPLv2
bd7b87
/lib/firmware/emu/audio_dock.fw
bd7b87
# GPLv2
bd7b87
/lib/firmware/emu/emu0404.fw
bd7b87
# GPLv2
bd7b87
/lib/firmware/emu/emu1010_notebook.fw
bd7b87
# GPLv2
bd7b87
/lib/firmware/emu/emu1010b.fw
bd7b87
# GPLv2
bd7b87
/lib/firmware/emu/hana.fw
bd7b87
# GPLv2+
bd7b87
/lib/firmware/emu/micro_dock.fw
bd7b87
bd7b87
# License: GPL (undefined version)
bd7b87
/lib/firmware/ess
bd7b87
bd7b87
# License: No explicit license; default package license is GPLv2+
bd7b87
/lib/firmware/korg
bd7b87
bd7b87
# License: GPL (undefined version)
bd7b87
/lib/firmware/mixart
bd7b87
bd7b87
# License: GPL (undefined version)
bd7b87
/lib/firmware/multiface_firmware*
bd7b87
bd7b87
# License: GPL (undefined version)
bd7b87
/lib/firmware/pcxhr
bd7b87
bd7b87
# License: GPL (undefined version)
bd7b87
/lib/firmware/rpm_firmware.bin
bd7b87
bd7b87
# License: GPLv2+
bd7b87
/lib/firmware/sb16
bd7b87
bd7b87
# License: GPL (undefined version)
bd7b87
/lib/firmware/vx
bd7b87
bd7b87
# License: No explicit license; default package license is GPLv2+
bd7b87
# See ALSA bug #3412
bd7b87
/lib/firmware/yamaha
bd7b87
bd7b87
# Licence: Redistribution allowed, see ca0132/creative.txt
bd7b87
/lib/firmware/ctefx.bin
bd7b87
/lib/firmware/ctspeq.bin
bd7b87
bd7b87
# Licence: No explicit license; says it's copied from kernel where the cs46xx
bd7b87
# driver is labelled as GPLv2+
bd7b87
/lib/firmware/cs46xx
bd7b87
bd7b87
# Even with --disable-loader, we still get usxxx firmware here; looking at the
bd7b87
# alsa-tools-firmware package, it seems like these devices probably use an old- 
bd7b87
# style hotplug loading method
bd7b87
# License: GPL (undefined version)
bd7b87
%{_datadir}/alsa/firmware
bd7b87
bd7b87
bd7b87
%changelog
bd7b87
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.29-6
bd7b87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
bd7b87
bd7b87
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.29-5
bd7b87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
bd7b87
bd7b87
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.29-4
bd7b87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
bd7b87
bd7b87
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.29-3
bd7b87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
bd7b87
bd7b87
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.29-2
bd7b87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bd7b87
bd7b87
* Thu Feb 26 2015 Jaroslav Kysela <perex@perex.cz> - 1.0.29-1
bd7b87
- Updated to 1.0.29
bd7b87
bd7b87
* Thu Jul 24 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.28-1
bd7b87
- Update to 1.0.28
bd7b87
bd7b87
* Tue Jun 17 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.27-5
bd7b87
- Fix FTBFS once more with feeling
bd7b87
- Update spec
bd7b87
bd7b87
* Sun Jun 15 2014 Tim Jackson <rpm@timj.co.uk> - 1.0.27-4
bd7b87
- Fix FTBFS (rhbz#1105946)
bd7b87
bd7b87
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.27-3
bd7b87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
bd7b87
bd7b87
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.27-2
bd7b87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
bd7b87
bd7b87
* Fri Apr 12 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.27-1
bd7b87
- Update to 1.0.27
bd7b87
bd7b87
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.25-3
bd7b87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
bd7b87
bd7b87
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.25-2
bd7b87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
bd7b87
bd7b87
* Wed Feb  1 2012 Jaroslav Kysela <perex@perex.cz> - 1.0.25-1
bd7b87
- Update to 1.0.25
bd7b87
bd7b87
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.24.1-3
bd7b87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
bd7b87
bd7b87
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.24.1-2
bd7b87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
bd7b87
bd7b87
* Thu Feb 03 2011 Tim Jackson <rpm@timj.co.uk> - 1.0.24.1-1
bd7b87
- Update to 1.0.24.1
bd7b87
bd7b87
* Mon May  3 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.23-1
bd7b87
- update to 1.0.23
bd7b87
bd7b87
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.20-2
bd7b87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
bd7b87
bd7b87
* Sun May 10 2009 Tim Jackson <rpm@timj.co.uk> - 1.0.20-1
bd7b87
- Update to 1.0.20
bd7b87
bd7b87
* Sat Feb 28 2009 Tim Jackson <rpm@timj.co.uk> - 1.0.19-4
bd7b87
- Fix build on recent RPM versions
bd7b87
bd7b87
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.19-3
bd7b87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
bd7b87
bd7b87
* Sat Feb 14 2009 Tim Jackson <rpm@timj.co.uk> - 1.0.19-2
bd7b87
- Fix unowned directories problem (#483321)
bd7b87
bd7b87
* Tue Jan 20 2009 Tim Jackson <rpm@timj.co.uk> - 1.0.19-1
bd7b87
- Update to 1.0.19
bd7b87
bd7b87
* Mon Jul 21 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.17-1
bd7b87
- Updated to 1.0.17
bd7b87
bd7b87
* Mon May 12 2008 Tim Jackson <rpm@timj.co.uk> - 1.0.16-1
bd7b87
- Update to upstream 1.0.16
bd7b87
- Clarify licensing conditions
bd7b87
bd7b87
* Tue Aug 14 2007 Tim Jackson <rpm@timj.co.uk> - 1.0.14-1
bd7b87
- Update to upstream 1.0.14, but skip turtlebeach firmware as it doesn't seem 
bd7b87
  to install properly
bd7b87
- Remove files from old-style firmware loader locations
bd7b87
- Spec file cosmetics, keep rpmlint quiet
bd7b87
bd7b87
* Sat Nov 25 2006 Tim Jackson <rpm@timj.co.uk> - 1.0.12-1
bd7b87
- Update to 1.0.12
bd7b87
- Add udev dep
bd7b87
bd7b87
* Fri Apr 08 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
bd7b87
- rebuilt
bd7b87
bd7b87
* Sat Apr 03 2004 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.0.4-0.fdr.1
bd7b87
- Update to 1.0.4
bd7b87
bd7b87
* Fri Jan 16 2004 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.0.1-0.fdr.2
bd7b87
- add missing rm in install section
bd7b87
bd7b87
* Fri Jan 09 2004 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.0.1-0.fdr.1
bd7b87
- Update to 1.0.1
bd7b87
- Contains now the license -- is "Distributable under GPL"
bd7b87
bd7b87
* Thu Dec 04 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.1.rc1
bd7b87
- Initial build.