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