From 2c97b42e5bb65e155625b193bcfbfb8925d454da053670b12842202d0eb182d6 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 20 Dec 2006 10:43:01 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alsa-firmware?expand=0&rev=1 --- .gitattributes | 23 ++++++ .gitignore | 1 + 52-usx2yaudio.rules | 7 ++ alsa-firmware-1.0.14rc1.tar.bz2 | 3 + alsa-firmware.changes | 73 ++++++++++++++++++ alsa-firmware.spec | 126 ++++++++++++++++++++++++++++++++ ready | 0 7 files changed, 233 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 52-usx2yaudio.rules create mode 100644 alsa-firmware-1.0.14rc1.tar.bz2 create mode 100644 alsa-firmware.changes create mode 100644 alsa-firmware.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/52-usx2yaudio.rules b/52-usx2yaudio.rules new file mode 100644 index 0000000..f376c76 --- /dev/null +++ b/52-usx2yaudio.rules @@ -0,0 +1,7 @@ +# Load firmware via fxload + +SUBSYSTEM=="usb_device", ACTION=="add", SYSFS{idVendor}=="1604", SYSFS{idProduct}=="800[157]", RUN+="/usr/bin/usx2yloader" +SUBSYSTEM=="usb_device", ACTION=="add", SYSFS{idVendor}=="1604", SYSFS{idProduct}=="800[15]", RUN+="/sbin/startproc /usr/bin/us428control" +SUBSYSTEM=="usb_device", ACTION=="add", SYSFS{idVendor}=="1604", SYSFS{idProduct}=="8000", RUN+="/sbin/fxload -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx -I /usr/share/alsa/firmware/usx2yloader/us428fw.ihx -D $env{DEVNAME}" +SUBSYSTEM=="usb_device", ACTION=="add", SYSFS{idVendor}=="1604", SYSFS{idProduct}=="8004", RUN+="/sbin/fxload -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx -I /usr/share/alsa/firmware/usx2yloader/us224fw.ihx -D $env{DEVNAME}" +SUBSYSTEM=="usb_device", ACTION=="add", SYSFS{idVendor}=="1604", SYSFS{idProduct}=="8006", RUN+="/sbin/fxload -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx -I /usr/share/alsa/firmware/usx2yloader/us122fw.ihx -D $env{DEVNAME}" diff --git a/alsa-firmware-1.0.14rc1.tar.bz2 b/alsa-firmware-1.0.14rc1.tar.bz2 new file mode 100644 index 0000000..db6f93c --- /dev/null +++ b/alsa-firmware-1.0.14rc1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:57d4bc483b940ff92f241e18e1eaa9a12e6b504c1b689092c85853cbb8890097 +size 3003831 diff --git a/alsa-firmware.changes b/alsa-firmware.changes new file mode 100644 index 0000000..803c489 --- /dev/null +++ b/alsa-firmware.changes @@ -0,0 +1,73 @@ +------------------------------------------------------------------- +Wed Dec 20 11:15:37 CET 2006 - tiwai@suse.de + +- updated to version 1.0.14rc1: + * added ymfpci, maestro3, korg1212 firmwares + * added wavefront and sb16 firmwares + * added emi26/emi62 firmwares + +------------------------------------------------------------------- +Thu Oct 5 16:40:30 CEST 2006 - tiwai@suse.de + +- updated to version 1.0.13-final: + * no real change since rc2 + +------------------------------------------------------------------- +Fri Sep 22 16:13:21 CEST 2006 - tiwai@suse.de + +- updated to version 1.0.13rc2: + * echoaduio firmware fixes + +------------------------------------------------------------------- +Wed Aug 16 11:38:47 CEST 2006 - tiwai@suse.de + +- moved firmware-specific udev rules for usx2yaudio from alsa + package. + +------------------------------------------------------------------- +Tue Jul 4 16:58:39 CEST 2006 - tiwai@suse.de + +- updated to version 1.0.12rc1: + * new firmwares for asihpi driver + +------------------------------------------------------------------- +Wed Jan 25 21:45:42 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Oct 12 14:10:20 CEST 2005 - tiwai@suse.de + +- updated to version 1.0.10rc2. + +------------------------------------------------------------------- +Sat Aug 20 15:29:18 CEST 2005 - schwab@suse.de + +- Don't require hotplug. + +------------------------------------------------------------------- +Thu Jun 2 15:15:19 CEST 2005 - tiwai@suse.de + +- updated to version 1.0.9-final. + +------------------------------------------------------------------- +Tue May 24 17:11:33 CEST 2005 - tiwai@suse.de + +- updated to version 1.0.9rc4. +- enable loaders, use symlinks for identical files. + +------------------------------------------------------------------- +Thu Jan 13 15:28:45 CET 2005 - tiwai@suse.de + +- updated to version 1.0.8-final. + +------------------------------------------------------------------- +Fri Jan 7 12:18:15 CET 2005 - tiwai@suse.de + +- added alsa to neededforpackage for $(datadir)/alsa ownership. + +------------------------------------------------------------------- +Wed Jan 5 15:33:55 CET 2005 - tiwai@suse.de + +- split from alsa-tools: version 1.0.8rc2. + diff --git a/alsa-firmware.spec b/alsa-firmware.spec new file mode 100644 index 0000000..c3fb8e0 --- /dev/null +++ b/alsa-firmware.spec @@ -0,0 +1,126 @@ +# +# spec file for package alsa-firmware (Version 1.0.13) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 + +Name: alsa-firmware +BuildRequires: alsa +%define package_version 1.0.14rc1 +URL: http://www.alsa-project.org/ +Summary: Firmware Data Files for ALSA +Version: 1.0.13 +Release: 19 +License: GNU General Public License (GPL) +Group: Hardware/Other +Autoreqprov: on +Source: ftp://ftp.alsa-project.org/pub/firmware/alsa-firmware-%{package_version}.tar.bz2 +Source1: 52-usx2yaudio.rules +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArchitectures: noarch + +%description +Various firmware data files for ALSA drivers. + + + +%prep +%setup -n %{name}-%{package_version} + +%build +%{?suse_update_config:%{suse_update_config -f}} +autoreconf -fi +CFLAGS="$RPM_OPT_FLAGS" ./configure \ + --prefix=%{_prefix} \ + --libdir=%{_libdir} \ + --mandir=%{_mandir} \ + --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 +# 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 +install -c -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/etc/udev/rules.d + +%clean +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) +%doc %{_docdir}/%{name} +%dir /lib/firmware +/lib/firmware/* +%{_datadir}/alsa/firmware +/etc/udev + +%changelog -n alsa-firmware +* Wed Dec 20 2006 - tiwai@suse.de +- updated to version 1.0.14rc1: + * added ymfpci, maestro3, korg1212 firmwares + * added wavefront and sb16 firmwares + * added emi26/emi62 firmwares +* Thu Oct 05 2006 - tiwai@suse.de +- updated to version 1.0.13-final: + * no real change since rc2 +* Fri Sep 22 2006 - tiwai@suse.de +- updated to version 1.0.13rc2: + * echoaduio firmware fixes +* Wed Aug 16 2006 - tiwai@suse.de +- moved firmware-specific udev rules for usx2yaudio from alsa + package. +* Tue Jul 04 2006 - tiwai@suse.de +- updated to version 1.0.12rc1: + * new firmwares for asihpi driver +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Wed Oct 12 2005 - tiwai@suse.de +- updated to version 1.0.10rc2. +* Sat Aug 20 2005 - schwab@suse.de +- Don't require hotplug. +* Thu Jun 02 2005 - tiwai@suse.de +- updated to version 1.0.9-final. +* Tue May 24 2005 - tiwai@suse.de +- updated to version 1.0.9rc4. +- enable loaders, use symlinks for identical files. +* Thu Jan 13 2005 - tiwai@suse.de +- updated to version 1.0.8-final. +* Fri Jan 07 2005 - tiwai@suse.de +- added alsa to neededforpackage for $(datadir)/alsa ownership. +* Wed Jan 05 2005 - tiwai@suse.de +- split from alsa-tools: version 1.0.8rc2. diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4