cvsdist 8e872d
Summary: 	Advanced Linux Sound Architecture (ALSA) utilities
cvsdist 8e872d
Name: 		alsa-utils
Martin Stransky 91eb8a
Version: 	1.0.8
Martin Stransky cc6405
Release:	2
cvsdist 8e872d
License: 	GPL
cvsdist 8e872d
Group: 		Applications/Multimedia
cvsdist 8e872d
URL: 		http://www.alsa-project.org/
cvsdist 8e872d
Source: 	ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}%{?prever}.tar.bz2
Bill Nottingham ef3897
Source2:	alsa.dev
Martin Stransky 91eb8a
#Source3:	xinit-alsa-launch.sh
Martin Stransky 91eb8a
#Patch1:	alsa-utils-1.0.7-alsa-launch.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 cc6405
BuildRequires:	gettext-devel
Martin Stransky 91eb8a
#BuildRequires:	xorg-x11-devel
cvsdist c576bd
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
cvsdist 8e872d
%setup -q -n %{name}-%{version}%{?prever}
Martin Stransky 91eb8a
#%patch1 -p1 -b .alsa-launch
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}
cvsdist c576bd
cvsdist c576bd
%install
cvsdist 8e872d
%{__rm} -rf ${RPM_BUILD_ROOT}
Bill Nottingham ef3897
make install DESTDIR=$RPM_BUILD_ROOT
Bill Nottingham ef3897
%{__rm} -f $RPM_BUILD_ROOT/sbin/alsaconf \
cvsdist 8e872d
	$RPM_BUILD_ROOT%{_mandir}/man*/alsaconf*
Martin Stransky 91eb8a
#install -D %{SOURCE3} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/alsa-launch.sh
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 ef3897
mkdir -p -m755 $RPM_BUILD_ROOT/etc/dev.d/sound
Bill Nottingham ef3897
install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/dev.d/sound/alsa.dev
cvsdist c576bd
cvsdist c576bd
%clean
cvsdist 8e872d
%{__rm} -rf $RPM_BUILD_ROOT
cvsdist c576bd
cvsdist c576bd
%files
cvsdist 8e872d
%defattr(-,root,root,-)
cvsdist 8e872d
%doc COPYING ChangeLog README TODO
Bill Nottingham ef3897
%dir /etc/dev.d/sound
Bill Nottingham ef3897
/etc/dev.d/sound/*
cvsdist 8e872d
%{_bindir}/*
cvsdist 8e872d
%{_sbindir}/*
Bill Nottingham ef3897
/sbin/*
Martin Stransky 91eb8a
#%{_sysconfdir}/X11/xinit/xinitrc.d/*
cvsdist 8e872d
%{_mandir}/man?/*
Martin Stransky 91eb8a
/usr/share/locale/*/LC_MESSAGES/*.mo
Martin Stransky 91eb8a
cvsdist c576bd
cvsdist c576bd
%changelog
Martin Stransky cc6405
* Wed Feb 16 2008 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.