2006-12-20 11:43:01 +01:00
|
|
|
#
|
2008-06-27 20:00:28 +02:00
|
|
|
# spec file for package alsa-firmware (Version 1.0.16.92)
|
2006-12-20 11:43:01 +01:00
|
|
|
#
|
2008-01-24 00:27:42 +01:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-20 11:43:01 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-06-27 20:00:28 +02:00
|
|
|
|
2006-12-20 11:43:01 +01:00
|
|
|
Name: alsa-firmware
|
2008-06-27 20:00:28 +02:00
|
|
|
%define package_version 1.0.17rc2
|
2007-10-16 18:35:53 +02:00
|
|
|
Url: http://www.alsa-project.org/
|
2006-12-20 11:43:01 +01:00
|
|
|
Summary: Firmware Data Files for ALSA
|
2008-06-27 20:00:28 +02:00
|
|
|
Version: 1.0.16.92
|
|
|
|
Release: 1
|
2007-08-03 20:47:11 +02:00
|
|
|
License: GPL v2 or later
|
2006-12-20 11:43:01 +01:00
|
|
|
Group: Hardware/Other
|
2007-10-16 18:35:53 +02:00
|
|
|
AutoReqProv: on
|
2006-12-20 11:43:01 +01:00
|
|
|
Source: ftp://ftp.alsa-project.org/pub/firmware/alsa-firmware-%{package_version}.tar.bz2
|
2007-08-03 20:47:11 +02:00
|
|
|
Source1: usx2yaudio.rules
|
|
|
|
Source2: usx2yaudio-old.rules
|
2006-12-20 11:43:01 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-10-16 18:35:53 +02:00
|
|
|
BuildArch: noarch
|
2006-12-20 11:43:01 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Various firmware data files for ALSA drivers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2007-06-05 00:42:01 +02:00
|
|
|
%setup -q -n %{name}-%{package_version}
|
2006-12-20 11:43:01 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -fi
|
2007-06-05 00:42:01 +02:00
|
|
|
%configure \
|
2006-12-20 11:43:01 +01:00
|
|
|
--enable-loader \
|
|
|
|
--enable-hotplug \
|
|
|
|
--with-hotplug-dir=/lib/firmware
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
|
|
|
# remove unnecessary loader firmwares
|
|
|
|
for d in vxloader mixartloader pcxhrloader; do
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/alsa/firmware/$d
|
|
|
|
done
|
|
|
|
# change identical files to symlinks for hdsploader
|
|
|
|
pushd $RPM_BUILD_ROOT%{_datadir}/alsa/firmware/hdsploader
|
|
|
|
for i in *.bin; do
|
|
|
|
hotplug=$RPM_BUILD_ROOT/lib/firmware/$i
|
|
|
|
if [ -f $hotplug ]; then
|
|
|
|
if cmp -s -b $hotplug $i; then
|
|
|
|
rm $i
|
|
|
|
ln -s /lib/firmware/$i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
popd
|
2007-03-15 01:36:17 +01:00
|
|
|
# FIXME: remove non-existing msnd firmware symlinks
|
|
|
|
rm -rf $RPM_BUILD_ROOT/lib/firmware/turtlebeach
|
2006-12-20 11:43:01 +01:00
|
|
|
# install documents
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
|
|
|
|
for d in echoaudio hdsploader mixartloader pcxhrloader usx2yloader vxloader asihpi; do
|
|
|
|
(cd $d
|
|
|
|
n=${d##*/}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/$n
|
|
|
|
for f in AUTHORS COPYING ChangeLog NEWS README* TODO; do
|
|
|
|
test -f $f && install -c -m 0644 $f $RPM_BUILD_ROOT%{_docdir}/%{name}/$n
|
|
|
|
done
|
|
|
|
)
|
|
|
|
done
|
|
|
|
# udev rules
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d
|
2007-08-03 20:47:11 +02:00
|
|
|
%if %suse_version > 1020
|
|
|
|
install -c -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/etc/udev/rules.d/52-usx2yaudio.rules
|
|
|
|
%else
|
|
|
|
install -c -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/etc/udev/rules.d/52-usx2yaudio.rules
|
|
|
|
%endif
|
2006-12-20 11:43:01 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc %{_docdir}/%{name}
|
|
|
|
/lib/firmware/*
|
2007-06-05 20:05:02 +02:00
|
|
|
%{_datadir}/alsa
|
2006-12-20 11:43:01 +01:00
|
|
|
/etc/udev
|
2008-01-24 00:27:42 +01:00
|
|
|
|
2007-03-15 01:36:17 +01:00
|
|
|
%changelog
|
2008-06-27 20:00:28 +02:00
|
|
|
* Thu Jun 26 2008 tiwai@suse.de
|
|
|
|
- updated to version 1.0.17-rc2:
|
|
|
|
* update asihpi firmwares
|
2008-02-08 16:59:00 +01:00
|
|
|
* Fri Feb 08 2008 tiwai@suse.de
|
|
|
|
- updated to version 1.0.16-final:
|
|
|
|
* just a version bump
|
2008-01-28 15:59:42 +01:00
|
|
|
* Mon Jan 28 2008 tiwai@suse.de
|
|
|
|
- changed the package version number to 1.0.16 to match with
|
|
|
|
alsa-tools.
|
2008-01-24 00:27:42 +01:00
|
|
|
* Tue Jan 22 2008 tiwai@suse.de
|
|
|
|
- updated to version 1.0.16rc1:
|
|
|
|
* updated asihpi firmware data
|
|
|
|
* Tue Oct 16 2007 tiwai@suse.de
|
2007-10-16 18:35:53 +02:00
|
|
|
- updated to version 1.0.15-final:
|
|
|
|
* including all previous fixes
|
2008-01-24 00:27:42 +01:00
|
|
|
* Mon Jul 30 2007 tiwai@suse.de
|
2007-08-03 20:47:11 +02:00
|
|
|
- updated to firmware version (as of HG 2007.07.27)
|
|
|
|
including the latest ASIHPI binaries
|
|
|
|
- fixed udev rules for the recent 10.3 kernel.
|
|
|
|
keep the old config for older kernels.
|
2008-01-24 00:27:42 +01:00
|
|
|
* Tue Jun 05 2007 tiwai@suse.de
|
2007-06-05 20:05:02 +02:00
|
|
|
- removed alsa from BuildRequires
|
|
|
|
- fixed filelist to be independent from alsa.rpm
|
2008-01-24 00:27:42 +01:00
|
|
|
* Thu May 31 2007 tiwai@suse.de
|
2007-06-05 00:42:01 +02:00
|
|
|
- updated to version 1.0.14-final:
|
|
|
|
* aica firmware
|
2008-01-24 00:27:42 +01:00
|
|
|
* Wed May 02 2007 tiwai@suse.de
|
2007-05-03 22:44:08 +02:00
|
|
|
- updated to version 1.0.14rc4
|
|
|
|
* emu micro_dock firmware
|
2008-01-24 00:27:42 +01:00
|
|
|
* Sun Mar 18 2007 aj@suse.de
|
2007-03-18 12:10:50 +01:00
|
|
|
- /lib/firmware is now in filesystem package.
|
2008-01-24 00:27:42 +01:00
|
|
|
* Wed Mar 14 2007 tiwai@suse.de
|
2007-03-15 01:36:17 +01:00
|
|
|
- updated to version 1.0.14rc3:
|
|
|
|
* updated asihpi firmwares
|
|
|
|
* added msnd-pinnacle firmwares
|
|
|
|
* fix usx2yaudio udev rules to call with proper -m option
|
2008-01-24 00:27:42 +01:00
|
|
|
* Wed Dec 20 2006 tiwai@suse.de
|
2006-12-20 11:43:01 +01:00
|
|
|
- updated to version 1.0.14rc1:
|
|
|
|
* added ymfpci, maestro3, korg1212 firmwares
|
|
|
|
* added wavefront and sb16 firmwares
|
|
|
|
* added emi26/emi62 firmwares
|
2008-01-24 00:27:42 +01:00
|
|
|
* Thu Oct 05 2006 tiwai@suse.de
|
2006-12-20 11:43:01 +01:00
|
|
|
- updated to version 1.0.13-final:
|
|
|
|
* no real change since rc2
|
2008-01-24 00:27:42 +01:00
|
|
|
* Fri Sep 22 2006 tiwai@suse.de
|
2006-12-20 11:43:01 +01:00
|
|
|
- updated to version 1.0.13rc2:
|
|
|
|
* echoaduio firmware fixes
|
2008-01-24 00:27:42 +01:00
|
|
|
* Wed Aug 16 2006 tiwai@suse.de
|
2006-12-20 11:43:01 +01:00
|
|
|
- moved firmware-specific udev rules for usx2yaudio from alsa
|
|
|
|
package.
|
2008-01-24 00:27:42 +01:00
|
|
|
* Tue Jul 04 2006 tiwai@suse.de
|
2006-12-20 11:43:01 +01:00
|
|
|
- updated to version 1.0.12rc1:
|
|
|
|
* new firmwares for asihpi driver
|
2008-01-24 00:27:42 +01:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2006-12-20 11:43:01 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-01-24 00:27:42 +01:00
|
|
|
* Wed Oct 12 2005 tiwai@suse.de
|
2006-12-20 11:43:01 +01:00
|
|
|
- updated to version 1.0.10rc2.
|
2008-01-24 00:27:42 +01:00
|
|
|
* Sat Aug 20 2005 schwab@suse.de
|
2006-12-20 11:43:01 +01:00
|
|
|
- Don't require hotplug.
|
2008-01-24 00:27:42 +01:00
|
|
|
* Thu Jun 02 2005 tiwai@suse.de
|
2006-12-20 11:43:01 +01:00
|
|
|
- updated to version 1.0.9-final.
|
2008-01-24 00:27:42 +01:00
|
|
|
* Tue May 24 2005 tiwai@suse.de
|
2006-12-20 11:43:01 +01:00
|
|
|
- updated to version 1.0.9rc4.
|
|
|
|
- enable loaders, use symlinks for identical files.
|
2008-01-24 00:27:42 +01:00
|
|
|
* Thu Jan 13 2005 tiwai@suse.de
|
2006-12-20 11:43:01 +01:00
|
|
|
- updated to version 1.0.8-final.
|
2008-01-24 00:27:42 +01:00
|
|
|
* Fri Jan 07 2005 tiwai@suse.de
|
2006-12-20 11:43:01 +01:00
|
|
|
- added alsa to neededforpackage for $(datadir)/alsa ownership.
|
2008-01-24 00:27:42 +01:00
|
|
|
* Wed Jan 05 2005 tiwai@suse.de
|
2006-12-20 11:43:01 +01:00
|
|
|
- split from alsa-tools: version 1.0.8rc2.
|