From 9708cdbb7eb44a5bcadf44fb91f9fb29ddbf8a71 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Jan 21 2008 14:19:16 +0000 Subject: Added salsa man page, Resolves: #428763 --- diff --git a/alsa-utils.spec b/alsa-utils.spec index 4d098cb..200b116 100644 --- a/alsa-utils.spec +++ b/alsa-utils.spec @@ -12,6 +12,7 @@ Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}%{?prever}.ta Source2: salsa.c Source3: alsacard.c Source4: alsaunmute.c +Source5: salsa.1 Source10: alsa.rules Patch0: alsa-utils-1.0.14-alsaconf.patch Patch1: alsa-utils-1.0.14-statedir.patch @@ -36,6 +37,7 @@ Architecture (ALSA). %{__cc} $RPM_OPT_FLAGS -o salsa %{SOURCE2} -lasound %{__cc} $RPM_OPT_FLAGS -o alsacard %{SOURCE3} -lasound %{__cc} $RPM_OPT_FLAGS -o alsaunmute %{SOURCE4} -lasound +%{__cp} %{SOURCE5} . %install %{__rm} -rf $RPM_BUILD_ROOT @@ -59,6 +61,10 @@ ln -s ../../sbin/alsactl $RPM_BUILD_ROOT/%{_sbindir}/alsactl mkdir -p $RPM_BUILD_ROOT/etc/alsa touch $RPM_BUILD_ROOT/etc/alsa/asound.state +# Install salsa man page +mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1 +install -p -m 644 salsa.1 %{buildroot}/usr/share/man/man1 + %clean %{__rm} -rf $RPM_BUILD_ROOT @@ -78,6 +84,9 @@ touch $RPM_BUILD_ROOT/etc/alsa/asound.state %changelog +* Tue Jan 15 2008 Mikel Ward +- add salsa man page + * Mon Oct 29 2007 Martin Stransky 1.0.15-1 - updated to 1.0.15 final diff --git a/salsa.1 b/salsa.1 new file mode 100644 index 0000000..a7ac6ad --- /dev/null +++ b/salsa.1 @@ -0,0 +1,23 @@ +.TH SALSA "1" "January 2008" "alsa-utils" "User Commands" +.SH NAME +salsa \- ALSA sound card volume settings handler +.SH SYNOPSIS +.B salsa +[\fB-ls\fR] [\fIcard number\fR] +.SH DESCRIPTION +.PP +salsa is used to save or load the volume settings for sound cards. +.PP +The card number is optional. If you don't specify one, all +installed sound cards will be configured. +.SH OPTIONS +.TP +\fB\-l\fR +Load volume settings +.TP +\fB\-s\fR +Save volume settings +.SH FILES +/etc/alsa/asound.state +.SH "SEE ALSO" +alsactl(1)