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