Added salsa man page, Resolves: #428763
This commit is contained in:
parent
8853f21677
commit
9708cdbb7e
@ -12,6 +12,7 @@ Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}%{?prever}.ta
|
|||||||
Source2: salsa.c
|
Source2: salsa.c
|
||||||
Source3: alsacard.c
|
Source3: alsacard.c
|
||||||
Source4: alsaunmute.c
|
Source4: alsaunmute.c
|
||||||
|
Source5: salsa.1
|
||||||
Source10: alsa.rules
|
Source10: alsa.rules
|
||||||
Patch0: alsa-utils-1.0.14-alsaconf.patch
|
Patch0: alsa-utils-1.0.14-alsaconf.patch
|
||||||
Patch1: alsa-utils-1.0.14-statedir.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 salsa %{SOURCE2} -lasound
|
||||||
%{__cc} $RPM_OPT_FLAGS -o alsacard %{SOURCE3} -lasound
|
%{__cc} $RPM_OPT_FLAGS -o alsacard %{SOURCE3} -lasound
|
||||||
%{__cc} $RPM_OPT_FLAGS -o alsaunmute %{SOURCE4} -lasound
|
%{__cc} $RPM_OPT_FLAGS -o alsaunmute %{SOURCE4} -lasound
|
||||||
|
%{__cp} %{SOURCE5} .
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__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
|
mkdir -p $RPM_BUILD_ROOT/etc/alsa
|
||||||
touch $RPM_BUILD_ROOT/etc/alsa/asound.state
|
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
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
@ -78,6 +84,9 @@ touch $RPM_BUILD_ROOT/etc/alsa/asound.state
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Oct 29 2007 Martin Stransky <stransky@redhat.com> 1.0.15-1
|
||||||
- updated to 1.0.15 final
|
- updated to 1.0.15 final
|
||||||
|
|
||||||
|
23
salsa.1
Normal file
23
salsa.1
Normal 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)
|
Loading…
Reference in New Issue
Block a user