2005-05-30 15:41:45 +00:00
|
|
|
%define version_main 1.0.9
|
|
|
|
%define version_app rf
|
|
|
|
|
2004-09-09 02:55:41 +00:00
|
|
|
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
|
|
|
Name: alsa-utils
|
2005-05-30 15:41:45 +00:00
|
|
|
Version: %{version_main}%{?version_app}
|
|
|
|
Release: 1
|
2004-09-09 02:55:41 +00:00
|
|
|
License: GPL
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
URL: http://www.alsa-project.org/
|
2005-05-30 15:41:45 +00:00
|
|
|
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version_main}%{?prever}.tar.bz2
|
2005-04-01 22:25:04 +00:00
|
|
|
Source2: salsa.c
|
2005-05-30 15:41:45 +00:00
|
|
|
Source3: alsacard.c
|
2004-09-09 02:55:41 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2004-09-09 02:56:47 +00:00
|
|
|
BuildRequires: alsa-lib-devel >= %{version}
|
2004-09-09 02:55:41 +00:00
|
|
|
BuildRequires: ncurses-devel
|
2005-02-16 13:09:09 +00:00
|
|
|
BuildRequires: gettext-devel
|
2004-09-09 02:55:32 +00:00
|
|
|
|
|
|
|
|
2004-09-09 02:55:41 +00:00
|
|
|
%description
|
|
|
|
This package contains command line utilities for the Advanced Linux Sound
|
|
|
|
Architecture (ALSA).
|
2004-09-09 02:55:32 +00:00
|
|
|
|
|
|
|
%prep
|
2005-05-30 15:41:45 +00:00
|
|
|
%setup -q -n %{name}-%{version_main}%{?prever}
|
2004-09-09 02:55:32 +00:00
|
|
|
|
|
|
|
%build
|
2005-01-08 06:18:20 +00:00
|
|
|
autoreconf -f -i
|
2005-02-16 13:09:09 +00:00
|
|
|
%configure CFLAGS="$RPM_OPT_FLAGS" --sbindir=/sbin
|
2004-09-09 02:55:41 +00:00
|
|
|
%{__make} %{?_smp_mflags}
|
2005-04-01 22:25:04 +00:00
|
|
|
%{__cc} $RPM_OPT_FLAGS -o salsa %{SOURCE2} -lasound
|
2005-05-30 15:41:45 +00:00
|
|
|
%{__cc} $RPM_OPT_FLAGS -o alsacard %{SOURCE3} -lasound
|
2004-09-09 02:55:32 +00:00
|
|
|
|
|
|
|
%install
|
2004-09-09 02:55:41 +00:00
|
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
2004-10-14 21:58:30 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2005-04-25 10:39:04 +00:00
|
|
|
%find_lang alsaconf
|
2004-10-14 21:58:30 +00:00
|
|
|
%{__rm} -f $RPM_BUILD_ROOT/sbin/alsaconf \
|
2004-09-09 02:55:41 +00:00
|
|
|
$RPM_BUILD_ROOT%{_mandir}/man*/alsaconf*
|
2004-09-09 02:55:32 +00:00
|
|
|
|
2004-10-14 21:58:30 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
|
|
|
|
ln -s ../../sbin/alsactl $RPM_BUILD_ROOT/%{_sbindir}/alsactl
|
|
|
|
|
|
|
|
mkdir -p -m755 $RPM_BUILD_ROOT/etc/dev.d/sound
|
2005-04-01 22:25:04 +00:00
|
|
|
install -m 755 salsa $RPM_BUILD_ROOT/etc/dev.d/sound/alsa.dev
|
2005-05-30 15:41:45 +00:00
|
|
|
install -m 755 alsacard %{buildroot}%{_bindir}
|
2004-09-09 02:55:32 +00:00
|
|
|
|
|
|
|
%clean
|
2004-09-09 02:55:41 +00:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2004-09-09 02:55:32 +00:00
|
|
|
|
2005-04-25 10:39:04 +00:00
|
|
|
%files -f alsaconf.lang
|
2004-09-09 02:55:41 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING ChangeLog README TODO
|
2004-10-14 21:58:30 +00:00
|
|
|
%dir /etc/dev.d/sound
|
|
|
|
/etc/dev.d/sound/*
|
2004-09-09 02:55:41 +00:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_sbindir}/*
|
2004-10-14 21:58:30 +00:00
|
|
|
/sbin/*
|
2004-09-09 02:55:41 +00:00
|
|
|
%{_mandir}/man?/*
|
2005-04-25 10:39:04 +00:00
|
|
|
%{_mandir}/fr/man?/*
|
2005-05-30 15:41:45 +00:00
|
|
|
/usr/share/sounds/alsa/*
|
|
|
|
/usr/share/alsa/speaker-test/*
|
|
|
|
%{_bindir}/alsacard
|
2005-01-26 13:23:17 +00:00
|
|
|
|
2004-09-09 02:55:32 +00:00
|
|
|
|
|
|
|
%changelog
|
2005-05-30 15:41:45 +00:00
|
|
|
* Mon May 30 2005 Martin Stransky <stransky@redhat.com> 1.0.9-1
|
|
|
|
- New upstream version.
|
|
|
|
- moved alsacard utility from alsa-lib to alsa-tools
|
|
|
|
|
2005-05-16 20:44:56 +00:00
|
|
|
* Mon May 16 2005 Bill Nottingham <notting@redhat.com> 1.0.9rc2-2
|
|
|
|
- make sure 'Wave' playback channel isn't muted (#157850)
|
|
|
|
|
2005-04-25 10:39:04 +00:00
|
|
|
* Mon Apr 25 2005 Martin Stransky <stransky@redhat.com> 1.0.9rc2-1
|
|
|
|
- New upstream version
|
|
|
|
- add %find_lang macro (#155719)
|
|
|
|
|
2005-04-01 22:25:04 +00:00
|
|
|
* Fri Apr 1 2005 Bill Nottingham <notting@redhat.com> 1.0.8-4
|
|
|
|
- replace the dev.d script with a program that calls alsactl to
|
|
|
|
restore the volume if there is a saved config, and just unmutes
|
|
|
|
the playback channels if there isn't one (#132575)
|
|
|
|
|
2005-03-07 14:24:27 +00:00
|
|
|
* Mon Mar 7 2005 Martin Stransky <stransky@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Wed Feb 16 2005 Martin Stransky <stransky@redhat.com> 1.0.8-2
|
2005-02-16 13:09:09 +00:00
|
|
|
- fix #148011 (add gettext-devel to BuildRequires)
|
|
|
|
- add $RPM_OPT_FLAGS to CFLAGS
|
|
|
|
|
2005-01-26 13:23:17 +00:00
|
|
|
* Wed Jan 26 2005 Martin Stransky <stransky@redhat.com> 1.0.8-1
|
|
|
|
- update to 1.0.8
|
|
|
|
- temporarily removed alsa-lauch.patch
|
|
|
|
|
2005-01-08 06:18:20 +00:00
|
|
|
* Sat Jan 08 2005 Colin Walters <walters@redhat.com> 1.0.7-2
|
|
|
|
- New patch alsa-utils-1.0.7-alsa-launch.patch, adds the
|
|
|
|
alsa-launch command.
|
|
|
|
- New source file xinit-alsa-launch.sh, integrates alsa-launch
|
|
|
|
into X startup
|
|
|
|
- BR xorg-x11-devel
|
|
|
|
|
2005-01-06 18:07:16 +00:00
|
|
|
* Thu Jan 06 2005 Colin Walters <walters@redhat.com> 1.0.7-1
|
|
|
|
- New upstream version
|
|
|
|
|
2004-10-20 03:11:19 +00:00
|
|
|
* Tue Oct 19 2004 Bill Nottingham <notting@redhat.com> 1.0.6-3
|
|
|
|
- tweak dev.d sound restore script (#133535, revisited)
|
|
|
|
|
2004-10-14 21:58:30 +00:00
|
|
|
* Thu Oct 14 2004 Bill Nottingham <notting@redhat.com> 1.0.6-2
|
|
|
|
- move alsactl to /sbin
|
|
|
|
- include a dev.d script for mixer restoring (#133535)
|
|
|
|
|
2004-09-09 02:57:16 +00:00
|
|
|
* Mon Aug 30 2004 Bill Nottingham <notting@redhat.com> 1.0.6-1
|
|
|
|
- update to 1.0.6
|
|
|
|
|
2004-09-09 02:57:13 +00:00
|
|
|
* Fri Jul 2 2004 Bill Nottingham <notting@redhat.com> 1.0.5-1
|
|
|
|
- update to 1.0.5
|
|
|
|
|
2004-09-09 02:56:49 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 02:56:47 +00:00
|
|
|
* Thu Mar 11 2004 Bill Nottingham <notting@redhat.com> 1.0.3-1
|
|
|
|
- update to 1.0.3
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 02:55:41 +00:00
|
|
|
* Wed Jan 28 2004 Bill Nottingham <notting@redhat.com> 1.0.2-1
|
|
|
|
- update to 1.0.2
|
2004-09-09 02:55:32 +00:00
|
|
|
|
2004-09-09 02:55:41 +00:00
|
|
|
* Wed Dec 17 2003 Bill Nottingham <notting@redhat.com> 1.0.0-0.rc2
|
|
|
|
- import fedora.us RPM, take out save-alsamixer & alsaconf for now
|
2004-09-09 02:55:32 +00:00
|
|
|
|
2004-09-09 02:55:41 +00:00
|
|
|
* Thu Dec 11 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.4.rc2
|
|
|
|
- rename alsamixer-saver save-alsamixer
|
2004-09-09 02:55:32 +00:00
|
|
|
|
2004-09-09 02:55:41 +00:00
|
|
|
* Mon Dec 8 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.3.rc2
|
|
|
|
- Integrate Michael Schwendt's script alsamixer-saver; Still not quite sure if
|
|
|
|
this script is the right way -- but mine didn't work...
|
2004-09-09 02:55:32 +00:00
|
|
|
|
2004-09-09 02:55:41 +00:00
|
|
|
* Sat Dec 6 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.2.rc2
|
|
|
|
- Update to 1.0.0rc2
|
|
|
|
- added alsamixer Script -- stores settings on shutdown, does nothing on startup
|
|
|
|
- some minor corrections in spec-file style
|
2004-09-09 02:55:32 +00:00
|
|
|
|
2004-09-09 02:55:41 +00:00
|
|
|
* Wed Dec 3 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.1.rc1
|
|
|
|
- Update to 1.0.0rc1
|
2004-09-09 02:55:32 +00:00
|
|
|
|
2004-09-09 02:55:41 +00:00
|
|
|
* Wed Aug 6 2003 Dams <anvil[AT]livna.org> 0:utils-0.fdr.1
|
|
|
|
- Initial build.
|