6817025
#define  prever         rc3
6817025
#define  prever_dot     .rc3
09932a2
09932a2
Summary: Advanced Linux Sound Architecture (ALSA) utilities
09932a2
Name:    alsa-utils
78cf770
Version: 1.0.19
78cf770
Release: 1%{?prever_dot}%{?dist}
09932a2
License: GPLv2+
09932a2
Group:   Applications/Multimedia
09932a2
URL:     http://www.alsa-project.org/
09932a2
Source:  ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}%{?prever}.tar.bz2
1e0bef8
Source4: alsaunmute
efe9b52
Source6: alsa-info.sh
09932a2
Source10: alsa.rules
1e0bef8
Source11: alsactl.conf
09932a2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
09932a2
BuildRequires: alsa-lib-devel >= %{version}
09932a2
BuildRequires: ncurses-devel
09932a2
BuildRequires: gettext-devel
745b2e2
BuildRequires: xmlto
09932a2
Conflicts: udev < 062
cvsdist c576bd0
cvsdist 8e872d7
%description
cvsdist 8e872d7
This package contains command line utilities for the Advanced Linux Sound
cvsdist 8e872d7
Architecture (ALSA).
cvsdist c576bd0
cvsdist c576bd0
%prep
ca7214f
%setup -q -n %{name}-%{version}%{?prever}
cvsdist c576bd0
cvsdist c576bd0
%build
964d7e1
%configure CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" --sbindir=/sbin --disable-alsaconf
cvsdist 8e872d7
%{__make} %{?_smp_mflags}
745b2e2
%{__cp} %{SOURCE4} .
cvsdist c576bd0
cvsdist c576bd0
%install
09932a2
%{__rm} -rf $RPM_BUILD_ROOT
ef3897f
make install DESTDIR=$RPM_BUILD_ROOT
93074d6
%find_lang %{name}
cvsdist c576bd0
5e20f4b
# Install ALSA udev rules
93074d6
mkdir -p -m 755 $RPM_BUILD_ROOT/etc/udev/rules.d
93074d6
install -p -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/udev/rules.d/90-alsa.rules
5e20f4b
5e20f4b
# Install support utilities
6a536a9
mkdir -p -m755 $RPM_BUILD_ROOT/bin
1e0bef8
install -p -m 755 alsaunmute %{buildroot}/bin/
5e20f4b
5e20f4b
# Link alsactl to /usr/sbin
5e20f4b
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
5e20f4b
ln -s ../../sbin/alsactl $RPM_BUILD_ROOT/%{_sbindir}/alsactl
cvsdist c576bd0
745b2e2
# Move /usr/share/alsa/init to /lib/alsa/init
ea6ff33
mkdir -p -m 755 %{buildroot}/lib/alsa
ea6ff33
mv %{buildroot}%{_datadir}/alsa/init %{buildroot}/lib/alsa
745b2e2
745b2e2
# Link /lib/alsa/init to /usr/share/alsa/init back
745b2e2
ln -s ../../../lib/alsa/init %{buildroot}%{_datadir}/alsa/init
745b2e2
1e0bef8
# Create a place for global configuration
745b2e2
mkdir -p -m 755 %{buildroot}/etc/alsa
745b2e2
install -p -m 644 %{SOURCE11} %{buildroot}/etc/alsa
745b2e2
touch %{buildroot}/etc/asound.state
9708cdb
efe9b52
# Install alsa-info.sh script
745b2e2
install -p -m 755 %{SOURCE6} %{buildroot}/usr/bin/alsa-info
d4aee04
ln -s alsa-info %{buildroot}/usr/bin/alsa-info.sh
efe9b52
cvsdist c576bd0
%clean
cvsdist 8e872d7
%{__rm} -rf $RPM_BUILD_ROOT
cvsdist c576bd0
93074d6
%files -f %{name}.lang
cvsdist 8e872d7
%defattr(-,root,root,-)
cvsdist 8e872d7
%doc COPYING ChangeLog README TODO
93074d6
%config /etc/udev/rules.d/*
1e0bef8
%config /etc/alsa/*
6a536a9
/bin/*
5e20f4b
/sbin/*
ea6ff33
/lib/alsa/init/*
cvsdist 8e872d7
%{_bindir}/*
cvsdist 8e872d7
%{_sbindir}/*
93074d6
%{_datadir}/alsa/
93074d6
%{_datadir}/sounds/
cvsdist 8e872d7
%{_mandir}/man?/*
857c3b5
%dir /etc/alsa/
1e0bef8
%ghost /etc/asound.state
8e69a62
ea6ff33
%post
ea6ff33
if [ -s /etc/alsa/asound.state -a ! -s /etc/asound.state ] ; then
ea6ff33
  mv /etc/alsa/asound.state /etc/asound.state
ea6ff33
fi
cvsdist c576bd0
cvsdist c576bd0
%changelog
78cf770
* Tue Jan 20 2009 Jaroslav Kysela <jkysela@redhat.com> 1.0.19-1
78cf770
- updated to 1.0.19 final
78cf770
f6b9527
* Fri Nov 21 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.18-6
f6b9527
- fix alsactl restore when driver has more controls than asound.state file
f6b9527
964d7e1
* Tue Nov 04 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.18-5
964d7e1
- fixed building
964d7e1
6817025
* Tue Nov 04 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.18-4
6817025
- updated to 1.0.18 final
6817025
- updated alsa-info.sh script
6817025
d4aee04
* Thu Sep 18 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.18-3.rc3
d4aee04
- fixed alsa-info.sh link
d4aee04
ea6ff33
* Thu Sep 18 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.18-2.rc3
ea6ff33
- fixed /lib/alsa/init path for x86_64 (was /lib64/alsa/init)
ea6ff33
- added /etc/alsa/asound.state -> /etc/asound.state shift to %post section
ea6ff33
- fix udev rules (ommited /dev/ prefix for the alsactl utility)
ea6ff33
- added --ignore option for alsactl (added also to upstream)
ea6ff33
1e0bef8
* Thu Sep 11 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.18-1.rc3
1e0bef8
- updated to 1.0.18rc3
1e0bef8
- updated alsa-info.sh script to 0.4.51
1e0bef8
- removed alsacard utility
1e0bef8
- removed salsa utility
1e0bef8
- changed alsaunmute to use 'alsactl init' now
1e0bef8
- updated ALSA udevd rules to use alsactl
1e0bef8
- moved /etc/alsa/asound.state back to /etc/asound.state
1e0bef8
a657df4
* Mon Jul 21 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.17-1
a657df4
- updated to 1.0.17 final
a657df4
- updated alsa-info.sh script to 0.4.48
a657df4
efe9b52
* Mon Apr 28 2008 Martin Stransky <stransky@redhat.com> 1.0.16-3
efe9b52
- Added alsa-info.sh script to /usr/bin/alsa-info
efe9b52
2a536ae
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.16-2
2a536ae
- Autorebuild for GCC 4.3
2a536ae
2ad6650
* Mon Feb 18 2008 Martin Stransky <stransky@redhat.com> 1.0.16-1
2ad6650
- updated to 1.0.16 final
2ad6650
9708cdb
* Tue Jan 15 2008 Mikel Ward <mikel@mikelward.com>
9708cdb
- add salsa man page
9708cdb
8853f21
* Mon Oct 29 2007 Martin Stransky <stransky@redhat.com> 1.0.15-1
8853f21
- updated to 1.0.15 final
8853f21
857c3b5
* Mon Oct 1 2007 Martin Stransky <stransky@redhat.com> 1.0.15-0.4.rc1
857c3b5
- moved saved volume settings back to /etc/alsa
857c3b5
  (per discussion at #293301)
857c3b5
463ef00
* Mon Sep 24 2007 Martin Stransky <stransky@redhat.com> 1.0.15-0.3.rc1
463ef00
- fixed #303151 - wrong salsa dir in /etc/udev/rules.d/90-alsa.rules
463ef00
93074d6
* Thu Sep 20 2007 Matthias Saou <http://freshrpms.net/> 1.0.15-0.2.rc1
93074d6
- Update License field.
93074d6
- Mark udev rule as config.
93074d6
- Use find_lang macro again to include translations (why was it removed?).
93074d6
8e69a62
* Wed Sep 19 2007 Martin Stransky <stransky@redhat.com> 1.0.15-0.1.rc1
8e69a62
- new upstream
8e69a62
- moved saved volume settings to /var/lib (#293301)
8e69a62
- patched alsactl for that (#255421)
8e69a62
e5abab9
* Thu Aug 16 2007 Martin Stransky <stransky@redhat.com> 1.0.14-2
e5abab9
- added an entry to alsaunmute for HP xw4550 (#252171)
e5abab9
d1093c6
* Wed Jul 25 2007 Martin Stransky <stransky@redhat.com> 1.0.14-1
d1093c6
- release bump
d1093c6
cb18415
* Thu Jun 7 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.8
cb18415
- new upstream
cb18415
cac3527
* Wed May 30 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.7.rc2
cac3527
- updated alsanumute for Siemens Lifebook S7020 (#241639)
cac3527
- unmute Master Mono for all drivers
cac3527
50b08a2
* Wed May 2 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.6.rc2
50b08a2
- added fix for #238442 (unmute Mono channel for w4550, 
50b08a2
  xw4600, xw6600, and xw8600)
50b08a2
5e20f4b
* Wed Apr 18 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.5.rc2
5e20f4b
- added more funcionality to salsa (save/load sound settings),
5e20f4b
  moved volume settings to /etc/alsa/
5e20f4b
ce3a065
* Thu Apr 10 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.4.rc2
ce3a065
- added support for large files
ce3a065
- minor fix in alsaunmute
ce3a065
- fixed #209239 - alsaconf: Stale language-dependent files
db08b0e
- fixed #233765 - alsa-utils : unowned directories
ce3a065
0fa50ad
* Fri Jan 19 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.3.rc2
0fa50ad
- new upstream
0fa50ad
9e25716
* Wed Jan 10 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.2.rc1
9e25716
- added a config line for hda-intel driver
9e25716
8c11c46
* Mon Dec 11 2006 Martin Stransky <stransky@redhat.com> 1.0.14-0.1.rc1
8c11c46
- new upstream
8c11c46
6c0d91a
* Mon Oct 2 2006 Martin Stransky <stransky@redhat.com> 1.0.12-3
6c0d91a
- fix for #207384 - Audio test fails during firstboot
6c0d91a
50e25f1
* Fri Aug 25 2006 Martin Stransky <stransky@redhat.com> 1.0.12-2
50e25f1
- new upstream
50e25f1
78a8484
* Mon Aug 07 2006 Martin Stransky <stransky@redhat.com> 1.0.12-1.rc2
78a8484
- new upstream
78a8484
60aea0f
* Thu Jul 20 2006 Martin Stransky <stransky@redhat.com> 1.0.12-1.rc1
60aea0f
- new upstream
60aea0f
b547b31
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
b547b31
- rebuild
b547b31
609130c
* Tue May 30 2006 Martin Stransky <stransky@redhat.com> 1.0.11-7
609130c
- new upstream
609130c
923a7e8
* Wed May 3  2006 Martin Stransky <stransky@redhat.com> 1.0.11-6.rc2
923a7e8
- removed HW specific switch - it should be set by driver
923a7e8
a46c6ad
* Thu Apr 6  2006 Martin Stransky <stransky@redhat.com> 1.0.11-5.rc2
e8799fc
- fixed rules file (#186494)
18dbe2f
- fixed Audigi mixer switch (#187807)
e8799fc
4e6922e
* Mon Feb 20 2006 Martin Stransky <stransky@redhat.com> 1.0.11-3.rc2
4e6922e
- removed autoreconf
4e6922e
178341d
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.11-2.rc2.2
178341d
- bump again for double-long bug on ppc(64)
178341d
fd60a05
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.11-2.rc2.1
fd60a05
- rebuilt for new gcc4.1 snapshot and glibc changes
fd60a05
55ae1d8
* Wed Jan 25 2006 Martin Stransky <stransky@redhat.com> 1.0.11-2.rc2
55ae1d8
- added volume option to alsaunmute utility (for s-c-s)
55ae1d8
ca7214f
* Thu Jan 12 2006 Martin Stransky <stransky@redhat.com> 1.0.11-1.rc2
ca7214f
- new upstream
ca7214f
9d9aaa9
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
9d9aaa9
- rebuilt
9d9aaa9
1f34d93
* Thu Nov 24 2005 Martin Stransky <stransky@redhat.com> 1.0.10rf-1
1f34d93
- new upstream version
0268ed8
- added alias for snd-azx
0268ed8
fbbfc18
* Wed Nov 9 2005 Martin Stransky <stransky@redhat.com> 1.0.10rc1-2
fbbfc18
- fix for #169292 - RHEL4U2 xw4300 IntelHD internal speakers muted by default
fbbfc18
c66d6c1
* Tue Sep 27 2005 Martin Stransky <stransky@redhat.com> 1.0.10rc1-1
c66d6c1
- new upstream version
c66d6c1
2416933
* Tue Aug 23 2005 Martin Stransky <stransky@redhat.com> 1.0.9-5
2416933
- unmute External Amplifier by default (#166153)
2416933
a18ce49
* Wed Jul 13 2005 Bill Nottingham <notting@redhat.com> 1.0.9-4
a18ce49
- migrate the alsa restore program to a udev rule, not a dev.d program
a18ce49
- conflict with appropriate udev
6a536a9
- move alsaunmute, alsacard to /bin
a18ce49
a18ce49
* Mon Jul 11 2005 Martin Stransky <stransky@redhat.com> 1.0.9-3
2351acf
- New alsaunmute utility
2351acf
- Add autoconf to BuildRequires (#162483)
2351acf
34adb91
* Thu Jun 16 2005 Martin Stransky <stransky@redhat.com> 1.0.9-2
34adb91
- New upstream version
34adb91
0de5feb
* Mon May 30 2005 Martin Stransky <stransky@redhat.com> 1.0.9-1
0de5feb
- New upstream version.
0de5feb
- moved alsacard utility from alsa-lib to alsa-tools
0de5feb
5fcadeb
* Mon May 16 2005 Bill Nottingham <notting@redhat.com> 1.0.9rc2-2
5fcadeb
- make sure 'Wave' playback channel isn't muted (#157850)
5fcadeb
f4893ae
* Mon Apr 25 2005 Martin Stransky <stransky@redhat.com> 1.0.9rc2-1
f4893ae
- New upstream version
93074d6
- add %%find_lang macro (#155719)
f4893ae
6c53f87
* Fri Apr 1 2005 Bill Nottingham <notting@redhat.com> 1.0.8-4
6c53f87
- replace the dev.d script with a program that calls alsactl to
6c53f87
  restore the volume if there is a saved config, and just unmutes
6c53f87
  the playback channels if there isn't one (#132575)
6c53f87
f6b8931
* Mon Mar 7 2005 Martin Stransky <stransky@redhat.com>
f6b8931
- rebuilt
f6b8931
f6b8931
* Wed Feb 16 2005 Martin Stransky <stransky@redhat.com> 1.0.8-2
cc6405c
- fix #148011 (add gettext-devel to BuildRequires)
cc6405c
- add $RPM_OPT_FLAGS to CFLAGS
cc6405c
91eb8a8
* Wed Jan 26 2005 Martin Stransky <stransky@redhat.com> 1.0.8-1
91eb8a8
- update to 1.0.8
91eb8a8
- temporarily removed alsa-lauch.patch
91eb8a8
a49c192
* Sat Jan 08 2005 Colin Walters <walters@redhat.com> 1.0.7-2
a49c192
- New patch alsa-utils-1.0.7-alsa-launch.patch, adds the
a49c192
  alsa-launch command.
a49c192
- New source file xinit-alsa-launch.sh, integrates alsa-launch
a49c192
  into X startup
a49c192
- BR xorg-x11-devel
a49c192
ee99c8f
* Thu Jan 06 2005 Colin Walters <walters@redhat.com> 1.0.7-1
ee99c8f
- New upstream version
ee99c8f
242b767
* Tue Oct 19 2004 Bill Nottingham <notting@redhat.com> 1.0.6-3
242b767
- tweak dev.d sound restore script (#133535, revisited)
242b767
ef3897f
* Thu Oct 14 2004 Bill Nottingham <notting@redhat.com> 1.0.6-2
ef3897f
- move alsactl to /sbin
ef3897f
- include a dev.d script for mixer restoring (#133535)
ef3897f
cvsdist dd1b479
* Mon Aug 30 2004 Bill Nottingham <notting@redhat.com> 1.0.6-1
cvsdist dd1b479
- update to 1.0.6
cvsdist dd1b479
cvsdist e6932f3
* Fri Jul  2 2004 Bill Nottingham <notting@redhat.com> 1.0.5-1
cvsdist e6932f3
- update to 1.0.5
cvsdist e6932f3
cvsdist 2fc5505
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 2fc5505
- rebuilt
cvsdist 2fc5505
cvsdist ff6b829
* Thu Mar 11 2004 Bill Nottingham <notting@redhat.com> 1.0.3-1
cvsdist ff6b829
- update to 1.0.3
cvsdist ff6b829
cvsdist ff6b829
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist ff6b829
- rebuilt
cvsdist ff6b829
cvsdist 8e872d7
* Wed Jan 28 2004 Bill Nottingham <notting@redhat.com> 1.0.2-1
cvsdist 8e872d7
- update to 1.0.2
cvsdist c576bd0
cvsdist 8e872d7
* Wed Dec 17 2003 Bill Nottingham <notting@redhat.com> 1.0.0-0.rc2
cvsdist 8e872d7
- import fedora.us RPM, take out save-alsamixer & alsaconf for now
cvsdist c576bd0
cvsdist 8e872d7
* Thu Dec 11 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.4.rc2
cvsdist 8e872d7
- rename alsamixer-saver save-alsamixer
cvsdist c576bd0
cvsdist 8e872d7
* Mon Dec  8 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.3.rc2
cvsdist 8e872d7
- Integrate Michael Schwendt's script alsamixer-saver; Still not quite sure if 
cvsdist 8e872d7
  this script is the right way -- but mine didn't work...
cvsdist c576bd0
cvsdist 8e872d7
* Sat Dec  6 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.2.rc2
cvsdist 8e872d7
- Update to 1.0.0rc2 
cvsdist 8e872d7
- added alsamixer Script -- stores settings on shutdown, does nothing on startup
cvsdist 8e872d7
- some minor corrections in spec-file style
cvsdist c576bd0
cvsdist 8e872d7
* Wed Dec  3 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.1.rc1
cvsdist 8e872d7
- Update to 1.0.0rc1 
cvsdist c576bd0
cvsdist 8e872d7
* Wed Aug  6 2003 Dams <anvil[AT]livna.org> 0:utils-0.fdr.1
cvsdist 8e872d7
- Initial build.