Martin Stransky 1f34d9
%define         version_tar  1.0.10
Martin Stransky 1f34d9
%define         version_pack 1.0.10rf
Martin Stransky 0de5fe
cvsdist 8e872d
Summary: 	Advanced Linux Sound Architecture (ALSA) utilities
cvsdist 8e872d
Name: 		alsa-utils
Martin Stransky 34adb9
Version: 	%{version_pack}
Martin Stransky 1f34d9
Release:	1
cvsdist 8e872d
License: 	GPL
cvsdist 8e872d
Group: 		Applications/Multimedia
cvsdist 8e872d
URL: 		http://www.alsa-project.org/
Martin Stransky 34adb9
Source: 	ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version_tar}%{?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
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 cc6405
BuildRequires:	gettext-devel
Bill Nottingham a18ce4
Conflicts:	udev < 062
Martin Stransky 2351ac
BuildRequires:	autoconf
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 34adb9
%setup -q -n %{name}-%{version_tar}%{?prever}
cvsdist c576bd
cvsdist c576bd
%build
Colin Walters a49c19
autoreconf -f -i
Martin Stransky cc6405
%configure CFLAGS="$RPM_OPT_FLAGS" --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
Martin Stransky f4893a
%find_lang alsaconf
Bill Nottingham ef3897
%{__rm} -f $RPM_BUILD_ROOT/sbin/alsaconf \
cvsdist 8e872d
	$RPM_BUILD_ROOT%{_mandir}/man*/alsaconf*
cvsdist c576bd
Bill Nottingham ef3897
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
Bill Nottingham ef3897
ln -s ../../sbin/alsactl $RPM_BUILD_ROOT/%{_sbindir}/alsactl
Bill Nottingham ef3897
Bill Nottingham a18ce4
install -m 755 salsa $RPM_BUILD_ROOT/sbin
Bill Nottingham a18ce4
mkdir -p -m755 $RPM_BUILD_ROOT/etc/udev/rules.d/
Bill Nottingham a18ce4
install -m 755 %{SOURCE10} $RPM_BUILD_ROOT/etc/udev/rules.d
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
cvsdist c576bd
cvsdist c576bd
%clean
cvsdist 8e872d
%{__rm} -rf $RPM_BUILD_ROOT
cvsdist c576bd
Martin Stransky f4893a
%files -f alsaconf.lang
cvsdist 8e872d
%defattr(-,root,root,-)
cvsdist 8e872d
%doc COPYING ChangeLog README TODO
Bill Nottingham a18ce4
/etc/udev/rules.d/*
Bill Nottingham 6a536a
/bin/*
cvsdist 8e872d
%{_bindir}/*
cvsdist 8e872d
%{_sbindir}/*
Bill Nottingham ef3897
/sbin/*
cvsdist 8e872d
%{_mandir}/man?/*
Martin Stransky f4893a
%{_mandir}/fr/man?/*
Martin Stransky 0de5fe
/usr/share/sounds/alsa/*
Martin Stransky 0de5fe
/usr/share/alsa/speaker-test/*
Martin Stransky c66d6c
/usr/share/locale/*
cvsdist c576bd
cvsdist c576bd
%changelog
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.