Martin Stransky 0fa50a
%define 	prever		rc2
Martin Stransky 8c11c4
%define 	prever_dot	.%{prever}
Martin Stransky 8c11c4
cvsdist 8e872d
Summary: 	Advanced Linux Sound Architecture (ALSA) utilities
cvsdist 8e872d
Name: 		alsa-utils
Martin Stransky 8c11c4
Version: 	1.0.14
Martin Stransky 50b08a
Release: 	0.6%{?prever_dot}%{?dist}
cvsdist 8e872d
License: 	GPL
cvsdist 8e872d
Group: 		Applications/Multimedia
cvsdist 8e872d
URL: 		http://www.alsa-project.org/
Martin Stransky ca7214
Source: 	ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}%{?prever}.tar.bz2
Bill Nottingham 6c53f8
Source2:	salsa.c
Martin Stransky 0de5fe
Source3: 	alsacard.c
Martin Stransky 2351ac
Source4: 	alsaunmute.c
Bill Nottingham a18ce4
Source10:	alsa.rules
Martin Stransky ce3a06
Patch:		alsa-utils-1.0.14-alsaconf.patch
cvsdist 8e872d
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsdist ff6b82
BuildRequires:	alsa-lib-devel >= %{version}
cvsdist 8e872d
BuildRequires:	ncurses-devel
Martin Stransky d58768
BuildRequires:	gettext-devel
Bill Nottingham a18ce4
Conflicts:	udev < 062
cvsdist c576bd
cvsdist 8e872d
%description
cvsdist 8e872d
This package contains command line utilities for the Advanced Linux Sound
cvsdist 8e872d
Architecture (ALSA).
cvsdist c576bd
cvsdist c576bd
%prep
Martin Stransky ca7214
%setup -q -n %{name}-%{version}%{?prever}
Martin Stransky ce3a06
%patch -p1
cvsdist c576bd
cvsdist c576bd
%build
Martin Stransky ce3a06
%configure CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" --sbindir=/sbin
cvsdist 8e872d
%{__make} %{?_smp_mflags}
Bill Nottingham 6c53f8
%{__cc} $RPM_OPT_FLAGS -o salsa %{SOURCE2} -lasound
Martin Stransky 0de5fe
%{__cc} $RPM_OPT_FLAGS -o alsacard %{SOURCE3} -lasound
Martin Stransky 2351ac
%{__cc} $RPM_OPT_FLAGS -o alsaunmute %{SOURCE4} -lasound
cvsdist c576bd
cvsdist c576bd
%install
cvsdist 8e872d
%{__rm} -rf ${RPM_BUILD_ROOT}
Bill Nottingham ef3897
make install DESTDIR=$RPM_BUILD_ROOT
cvsdist c576bd
Martin Stransky 5e20f4
# Install ALSA udev rules
Bill Nottingham a18ce4
mkdir -p -m755 $RPM_BUILD_ROOT/etc/udev/rules.d/
Martin Stransky e8799f
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/udev/rules.d/90-alsa.rules
Martin Stransky 5e20f4
Martin Stransky 5e20f4
# Install support utilities
Bill Nottingham 6a536a
mkdir -p -m755 $RPM_BUILD_ROOT/bin
Bill Nottingham 6a536a
install -m 755 alsaunmute  %{buildroot}/bin
Bill Nottingham 6a536a
install -m 755 alsacard  %{buildroot}/bin
Martin Stransky 5e20f4
install -m 755 salsa %{buildroot}/sbin
Martin Stransky 5e20f4
Martin Stransky 5e20f4
# Link alsactl to /usr/sbin
Martin Stransky 5e20f4
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
Martin Stransky 5e20f4
ln -s ../../sbin/alsactl $RPM_BUILD_ROOT/%{_sbindir}/alsactl
cvsdist c576bd
cvsdist c576bd
%clean
cvsdist 8e872d
%{__rm} -rf $RPM_BUILD_ROOT
cvsdist c576bd
Martin Stransky ce3a06
%files
cvsdist 8e872d
%defattr(-,root,root,-)
cvsdist 8e872d
%doc COPYING ChangeLog README TODO
Bill Nottingham a18ce4
/etc/udev/rules.d/*
Bill Nottingham 6a536a
/bin/*
Martin Stransky 5e20f4
/sbin/*
cvsdist 8e872d
%{_bindir}/*
cvsdist 8e872d
%{_sbindir}/*
cvsdist 8e872d
%{_mandir}/man?/*
Martin Stransky db08b0
%dir %{_datadir}/sounds
Martin Stransky db08b0
%dir %{_datadir}/sounds/alsa
Martin Stransky db08b0
%{_datadir}/sounds/alsa/*
Martin Stransky db08b0
%dir %{_datadir}/alsa
Martin Stransky db08b0
%dir %{_datadir}/alsa/speaker-test
Martin Stransky db08b0
%{_datadir}/alsa/speaker-test/*
Martin Stransky c66d6c
/usr/share/locale/*
cvsdist c576bd
cvsdist c576bd
%changelog
Martin Stransky 50b08a
* Wed May 2 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.6.rc2
Martin Stransky 50b08a
- added fix for #238442 (unmute Mono channel for w4550, 
Martin Stransky 50b08a
  xw4600, xw6600, and xw8600)
Martin Stransky 50b08a
Martin Stransky 5e20f4
* Wed Apr 18 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.5.rc2
Martin Stransky 5e20f4
- added more funcionality to salsa (save/load sound settings),
Martin Stransky 5e20f4
  moved volume settings to /etc/alsa/
Martin Stransky 5e20f4
Martin Stransky ce3a06
* Thu Apr 10 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.4.rc2
Martin Stransky ce3a06
- added support for large files
Martin Stransky ce3a06
- minor fix in alsaunmute
Martin Stransky ce3a06
- fixed #209239 - alsaconf: Stale language-dependent files
Martin Stransky db08b0
- fixed #233765 - alsa-utils : unowned directories
Martin Stransky ce3a06
Martin Stransky 0fa50a
* Fri Jan 19 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.3.rc2
Martin Stransky 0fa50a
- new upstream
Martin Stransky 0fa50a
Martin Stransky 9e2571
* Wed Jan 10 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.2.rc1
Martin Stransky 9e2571
- added a config line for hda-intel driver
Martin Stransky 9e2571
Martin Stransky 8c11c4
* Mon Dec 11 2006 Martin Stransky <stransky@redhat.com> 1.0.14-0.1.rc1
Martin Stransky 8c11c4
- new upstream
Martin Stransky 8c11c4
Martin Stransky 6c0d91
* Mon Oct 2 2006 Martin Stransky <stransky@redhat.com> 1.0.12-3
Martin Stransky 6c0d91
- fix for #207384 - Audio test fails during firstboot
Martin Stransky 6c0d91
Martin Stransky 50e25f
* Fri Aug 25 2006 Martin Stransky <stransky@redhat.com> 1.0.12-2
Martin Stransky 50e25f
- new upstream
Martin Stransky 50e25f
Martin Stransky 78a848
* Mon Aug 07 2006 Martin Stransky <stransky@redhat.com> 1.0.12-1.rc2
Martin Stransky 78a848
- new upstream
Martin Stransky 78a848
Martin Stransky 60aea0
* Thu Jul 20 2006 Martin Stransky <stransky@redhat.com> 1.0.12-1.rc1
Martin Stransky 60aea0
- new upstream
Martin Stransky 60aea0
Jesse Keating b547b3
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
Jesse Keating b547b3
- rebuild
Jesse Keating b547b3
Martin Stransky 609130
* Tue May 30 2006 Martin Stransky <stransky@redhat.com> 1.0.11-7
Martin Stransky 609130
- new upstream
Martin Stransky 609130
Martin Stransky 923a7e
* Wed May 3  2006 Martin Stransky <stransky@redhat.com> 1.0.11-6.rc2
Martin Stransky 923a7e
- removed HW specific switch - it should be set by driver
Martin Stransky 923a7e
Martin Stransky a46c6a
* Thu Apr 6  2006 Martin Stransky <stransky@redhat.com> 1.0.11-5.rc2
Martin Stransky e8799f
- fixed rules file (#186494)
Martin Stransky 18dbe2
- fixed Audigi mixer switch (#187807)
Martin Stransky e8799f
Martin Stransky 4e6922
* Mon Feb 20 2006 Martin Stransky <stransky@redhat.com> 1.0.11-3.rc2
Martin Stransky 4e6922
- removed autoreconf
Martin Stransky 4e6922
Jesse Keating 178341
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.11-2.rc2.2
Jesse Keating 178341
- bump again for double-long bug on ppc(64)
Jesse Keating 178341
Jesse Keating fd60a0
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.11-2.rc2.1
Jesse Keating fd60a0
- rebuilt for new gcc4.1 snapshot and glibc changes
Jesse Keating fd60a0
Martin Stransky 55ae1d
* Wed Jan 25 2006 Martin Stransky <stransky@redhat.com> 1.0.11-2.rc2
Martin Stransky 55ae1d
- added volume option to alsaunmute utility (for s-c-s)
Martin Stransky 55ae1d
Martin Stransky ca7214
* Thu Jan 12 2006 Martin Stransky <stransky@redhat.com> 1.0.11-1.rc2
Martin Stransky ca7214
- new upstream
Martin Stransky ca7214
Jesse Keating 9d9aaa
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
Jesse Keating 9d9aaa
- rebuilt
Jesse Keating 9d9aaa
Martin Stransky 1f34d9
* Thu Nov 24 2005 Martin Stransky <stransky@redhat.com> 1.0.10rf-1
Martin Stransky 1f34d9
- new upstream version
Martin Stransky 0268ed
- added alias for snd-azx
Martin Stransky 0268ed
Martin Stransky fbbfc1
* Wed Nov 9 2005 Martin Stransky <stransky@redhat.com> 1.0.10rc1-2
Martin Stransky fbbfc1
- fix for #169292 - RHEL4U2 xw4300 IntelHD internal speakers muted by default
Martin Stransky fbbfc1
Martin Stransky c66d6c
* Tue Sep 27 2005 Martin Stransky <stransky@redhat.com> 1.0.10rc1-1
Martin Stransky c66d6c
- new upstream version
Martin Stransky c66d6c
Martin Stransky 241693
* Tue Aug 23 2005 Martin Stransky <stransky@redhat.com> 1.0.9-5
Martin Stransky 241693
- unmute External Amplifier by default (#166153)
Martin Stransky 241693
Bill Nottingham a18ce4
* Wed Jul 13 2005 Bill Nottingham <notting@redhat.com> 1.0.9-4
Bill Nottingham a18ce4
- migrate the alsa restore program to a udev rule, not a dev.d program
Bill Nottingham a18ce4
- conflict with appropriate udev
Bill Nottingham 6a536a
- move alsaunmute, alsacard to /bin
Bill Nottingham a18ce4
Bill Nottingham a18ce4
* Mon Jul 11 2005 Martin Stransky <stransky@redhat.com> 1.0.9-3
Martin Stransky 2351ac
- New alsaunmute utility
Martin Stransky 2351ac
- Add autoconf to BuildRequires (#162483)
Martin Stransky 2351ac
Martin Stransky 34adb9
* Thu Jun 16 2005 Martin Stransky <stransky@redhat.com> 1.0.9-2
Martin Stransky 34adb9
- New upstream version
Martin Stransky 34adb9
Martin Stransky 0de5fe
* Mon May 30 2005 Martin Stransky <stransky@redhat.com> 1.0.9-1
Martin Stransky 0de5fe
- New upstream version.
Martin Stransky 0de5fe
- moved alsacard utility from alsa-lib to alsa-tools
Martin Stransky 0de5fe
Bill Nottingham 5fcade
* Mon May 16 2005 Bill Nottingham <notting@redhat.com> 1.0.9rc2-2
Bill Nottingham 5fcade
- make sure 'Wave' playback channel isn't muted (#157850)
Bill Nottingham 5fcade
Martin Stransky f4893a
* Mon Apr 25 2005 Martin Stransky <stransky@redhat.com> 1.0.9rc2-1
Martin Stransky f4893a
- New upstream version
Martin Stransky f4893a
- add %find_lang macro (#155719)
Martin Stransky f4893a
Bill Nottingham 6c53f8
* Fri Apr 1 2005 Bill Nottingham <notting@redhat.com> 1.0.8-4
Bill Nottingham 6c53f8
- replace the dev.d script with a program that calls alsactl to
Bill Nottingham 6c53f8
  restore the volume if there is a saved config, and just unmutes
Bill Nottingham 6c53f8
  the playback channels if there isn't one (#132575)
Bill Nottingham 6c53f8
Martin Stransky f6b893
* Mon Mar 7 2005 Martin Stransky <stransky@redhat.com>
Martin Stransky f6b893
- rebuilt
Martin Stransky f6b893
Martin Stransky f6b893
* Wed Feb 16 2005 Martin Stransky <stransky@redhat.com> 1.0.8-2
Martin Stransky cc6405
- fix #148011 (add gettext-devel to BuildRequires)
Martin Stransky cc6405
- add $RPM_OPT_FLAGS to CFLAGS
Martin Stransky cc6405
Martin Stransky 91eb8a
* Wed Jan 26 2005 Martin Stransky <stransky@redhat.com> 1.0.8-1
Martin Stransky 91eb8a
- update to 1.0.8
Martin Stransky 91eb8a
- temporarily removed alsa-lauch.patch
Martin Stransky 91eb8a
Colin Walters a49c19
* Sat Jan 08 2005 Colin Walters <walters@redhat.com> 1.0.7-2
Colin Walters a49c19
- New patch alsa-utils-1.0.7-alsa-launch.patch, adds the
Colin Walters a49c19
  alsa-launch command.
Colin Walters a49c19
- New source file xinit-alsa-launch.sh, integrates alsa-launch
Colin Walters a49c19
  into X startup
Colin Walters a49c19
- BR xorg-x11-devel
Colin Walters a49c19
Colin Walters ee99c8
* Thu Jan 06 2005 Colin Walters <walters@redhat.com> 1.0.7-1
Colin Walters ee99c8
- New upstream version
Colin Walters ee99c8
Bill Nottingham 242b76
* Tue Oct 19 2004 Bill Nottingham <notting@redhat.com> 1.0.6-3
Bill Nottingham 242b76
- tweak dev.d sound restore script (#133535, revisited)
Bill Nottingham 242b76
Bill Nottingham ef3897
* Thu Oct 14 2004 Bill Nottingham <notting@redhat.com> 1.0.6-2
Bill Nottingham ef3897
- move alsactl to /sbin
Bill Nottingham ef3897
- include a dev.d script for mixer restoring (#133535)
Bill Nottingham ef3897
cvsdist dd1b47
* Mon Aug 30 2004 Bill Nottingham <notting@redhat.com> 1.0.6-1
cvsdist dd1b47
- update to 1.0.6
cvsdist dd1b47
cvsdist e6932f
* Fri Jul  2 2004 Bill Nottingham <notting@redhat.com> 1.0.5-1
cvsdist e6932f
- update to 1.0.5
cvsdist e6932f
cvsdist 2fc550
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 2fc550
- rebuilt
cvsdist 2fc550
cvsdist ff6b82
* Thu Mar 11 2004 Bill Nottingham <notting@redhat.com> 1.0.3-1
cvsdist ff6b82
- update to 1.0.3
cvsdist ff6b82
cvsdist ff6b82
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist ff6b82
- rebuilt
cvsdist ff6b82
cvsdist 8e872d
* Wed Jan 28 2004 Bill Nottingham <notting@redhat.com> 1.0.2-1
cvsdist 8e872d
- update to 1.0.2
cvsdist c576bd
cvsdist 8e872d
* Wed Dec 17 2003 Bill Nottingham <notting@redhat.com> 1.0.0-0.rc2
cvsdist 8e872d
- import fedora.us RPM, take out save-alsamixer & alsaconf for now
cvsdist c576bd
cvsdist 8e872d
* Thu Dec 11 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.4.rc2
cvsdist 8e872d
- rename alsamixer-saver save-alsamixer
cvsdist c576bd
cvsdist 8e872d
* Mon Dec  8 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.3.rc2
cvsdist 8e872d
- Integrate Michael Schwendt's script alsamixer-saver; Still not quite sure if 
cvsdist 8e872d
  this script is the right way -- but mine didn't work...
cvsdist c576bd
cvsdist 8e872d
* Sat Dec  6 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.2.rc2
cvsdist 8e872d
- Update to 1.0.0rc2 
cvsdist 8e872d
- added alsamixer Script -- stores settings on shutdown, does nothing on startup
cvsdist 8e872d
- some minor corrections in spec-file style
cvsdist c576bd
cvsdist 8e872d
* Wed Dec  3 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.1.rc1
cvsdist 8e872d
- Update to 1.0.0rc1 
cvsdist c576bd
cvsdist 8e872d
* Wed Aug  6 2003 Dams <anvil[AT]livna.org> 0:utils-0.fdr.1
cvsdist 8e872d
- Initial build.