Added salsa man page, Resolves: #428763

This commit is contained in:
Martin Stransky 2008-01-21 14:19:16 +00:00
parent 8853f21677
commit 9708cdbb7e
2 changed files with 32 additions and 0 deletions

View File

@ -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 <mikel@mikelward.com>
- add salsa man page
* Mon Oct 29 2007 Martin Stransky <stransky@redhat.com> 1.0.15-1
- updated to 1.0.15 final

23
salsa.1 Normal file
View File

@ -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)