Blame SPECS/alsa-firmware.spec

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