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