rpms/alsa-utils/F-13 alsaunmute.1, NONE, 1.1 alsa-info.sh, 1.7, 1.8 alsa-utils.spec, 1.90, 1.91

perex perex at fedoraproject.org
Mon Jun 28 12:02:36 UTC 2010


Author: perex

Update of /cvs/pkgs/rpms/alsa-utils/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv3569

Modified Files:
	alsa-info.sh alsa-utils.spec 
Added Files:
	alsaunmute.1 
Log Message:
more fixes for 1.0.23 release


--- NEW FILE alsaunmute.1 ---
.TH ALSAUNMUTE 1 "21 April 2010"
.SH NAME
alsaunmute \- a simple script to initialize ALSA sound devices

.SH DESCRIPTION
\fBalsaunmute\fP is a shell script which runs the \fBalsactl(1)\fP
utility with \fIinit\fP argument (see the script for details).

.SH OPTIONS
None

.SS
Example:
\fBalsaunmute\fR

.SH SEE ALSO
\fB
alsactl(1),
alsamixer(1),
amixer(1)
\fP

.SH BUGS 
None known.

.SH AUTHOR
\fBalsaunmute\fP is by Jaroslav Kysela <perex at perex.cz>



Index: alsa-info.sh
===================================================================
RCS file: /cvs/pkgs/rpms/alsa-utils/F-13/alsa-info.sh,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- alsa-info.sh	3 Sep 2009 10:57:30 -0000	1.7
+++ alsa-info.sh	28 Jun 2010 12:02:36 -0000	1.8
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-SCRIPT_VERSION=0.4.58
+SCRIPT_VERSION=0.4.59
 CHANGELOG="http://www.alsa-project.org/alsa-info.sh.changelog"
 
 #################################################################################
@@ -439,6 +439,9 @@ cat /proc/asound/card*/codec\#* > $TEMPD
 cat /proc/asound/card*/codec97\#0/ac97\#0-0 > $TEMPDIR/alsa-ac97.tmp 2> /dev/null
 cat /proc/asound/card*/codec97\#0/ac97\#0-0+regs > $TEMPDIR/alsa-ac97-regs.tmp 2> /dev/null
 
+#Check for USB mixer setup
+cat /proc/asound/card*/usbmixer > $TEMPDIR/alsa-usbmixer.tmp 2> /dev/null
+
 #Fetch the info, and put it in $FILE in a nice readable format.
 if [[ -z $PASTEBIN ]]; then
 echo "upload=true&script=true&cardinfo=" > $FILE
@@ -596,6 +599,17 @@ then
 	echo "" >> $FILE
 fi
 
+if [ -s "$TEMPDIR/alsa-usbmixer.tmp" ]
+then
+        echo "!!USB Mixer information" >> $FILE
+        echo "!!---------------------------" >> $FILE
+        echo "--startcollapse--" >> $FILE
+        echo "" >> $FILE
+        cat $TEMPDIR/alsa-usbmixer.tmp >> $FILE
+        echo "--endcollapse--" >> $FILE
+	echo "" >> $FILE
+	echo "" >> $FILE
+fi
 
 #If no command line options are specified, then run as though --with-all was specified
 if [[ -z "$1" ]]


Index: alsa-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/alsa-utils/F-13/alsa-utils.spec,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -p -r1.90 -r1.91
--- alsa-utils.spec	28 Jun 2010 11:27:33 -0000	1.90
+++ alsa-utils.spec	28 Jun 2010 12:02:36 -0000	1.91
@@ -4,12 +4,13 @@
 Summary: Advanced Linux Sound Architecture (ALSA) utilities
 Name:    alsa-utils
 Version: 1.0.23
-Release: 1%{?prever_dot}%{?dist}
+Release: 3%{?prever_dot}%{?dist}
 License: GPLv2+
 Group:   Applications/Multimedia
 URL:     http://www.alsa-project.org/
 Source:  ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}%{?prever}.tar.bz2
 Source4: alsaunmute
+Source5: alsaunmute.1
 Source6: alsa-info.sh
 Source10: alsa.rules
 Source11: alsactl.conf
@@ -19,6 +20,7 @@ BuildRequires: ncurses-devel
 BuildRequires: gettext-devel
 BuildRequires: xmlto
 Conflicts: udev < 062
+Requires: alsa-lib >= %{version}, dialog
 
 %description
 This package contains command line utilities for the Advanced Linux Sound
@@ -44,6 +46,10 @@ install -p -m 644 %{SOURCE10} $RPM_BUILD
 # Install support utilities
 mkdir -p -m755 $RPM_BUILD_ROOT/bin
 install -p -m 755 alsaunmute %{buildroot}/bin/
+mkdir -p -m755 $RPM_BUILD_ROOT/%{_mandir}/man1
+gzip -9 -c %{SOURCE5} > $RPM_BUILD_ROOT/alsaunmute.1.gz
+install -p -m 755 $RPM_BUILD_ROOT/alsaunmute.1.gz %{buildroot}/%{_mandir}/man1
+rm $RPM_BUILD_ROOT/alsaunmute.1.gz
 
 # Link alsactl to /usr/sbin
 mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
@@ -92,6 +98,12 @@ if [ -s /etc/alsa/asound.state -a ! -s /
 fi
 
 %changelog
+* Mon Jun 28 2010 Jaroslav Kysela <jkysela at redhat.com> 1.0.23-3
+- add requires line (bug#526492) for specific alsa-lib package
+- add requires line for dialog package (bug#561988)
+- added man page for alsaunmute (bug#526174)
+- updated alsa-info.sh script to 0.4.59
+
 * Mon Jun 28 2010 Jaroslav Kysela <jkysela at redhat.com> 1.0.23-1
 - updated to 1.0.23 final
 



More information about the scm-commits mailing list