Summary: Advanced Linux Sound Architecture (ALSA) - Utils
+Summary(es): Utilitarios para ALSA (Advanced Linux Sound Architecture)
Summary(pl): Advanced Linux Sound Architecture (ALSA) - Narzêdzia
+Summary(pt_BR): Utilitários para o ALSA (Advanced Linux Sound Architecture)
+Summary(ru): õÔÉÌÉÔÙ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ ÄÌÑ ALSA project
+Summary(uk): õÔÉ̦ÔÉ ËÏÍÁÎÄÎÏÇÏ ÒÑÄËÁ ÄÌÑ ALSA project
Name: alsa-utils
-Version: 0.5.10
-Release: 3
+Version: 0.9.0rc4
+Release: 1
License: GPL
Group: Applications/Sound
-Group(de): Applikationen/Laut
-Group(pl): Aplikacje/D¼wiêk
Source0: ftp://ftp.alsa-project.org/pub/utils/%{name}-%{version}.tar.bz2
Source1: alsasound
-Patch0: %{name}-DESTDIR.patch
-Patch1: %{name}-LDFLAGS.patch
+Source2: alsa-oss-pcm
URL: http://www.alsa-project.org/
-Requires: alsaconf
BuildRequires: libstdc++-devel
BuildRequires: ncurses-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: flex
BuildRequires: libtool
-BuildRequires: alsa-lib-devel >= 0.5.10
+BuildRequires: alsa-lib-devel >= 0.9.0rc4
+Prereq: awk
Prereq: /sbin/depmod
Prereq: /sbin/ldconfig
Prereq: /sbin/chkconfig
%define _sysconfdir /etc
%description
-Advanced Linux Sound Architecture (ALSA) - Utils alsamixer, amixer,
-aplay, arecord.
+This packages contains command line utilities for the ALSA project:
+
+ - alsactl - utility for store / restore of soundcard settings
+ - aplay/arecord - utility for playback / record of .wav, .voc, .au files
+ - amixer - a command line mixer
+ - alsamixer - ncurses mixer
+
+
+%description -l es
+Utilitarios para el sistema ALSA, la arquitetura avanzada de sonido
+para Linux.
+
%description -l pl
-Advanced Linux Sound Architecture (ALSA) - Narzêdzia alsamixer,
-amixer, aplay, arecord.
+Pakiet zawiera nastêpuj±ce, dzia³aj±ce z linii poleceñ, narzêdzia dla
+projektu ALSA (Advanced Linux Sound Architecture):
+
+ - alsactl - narzêdzie do zapamiêtywania / przywracania ustawieñ
+ karty sieciowej
+ - aplay/arecord - narzêdzia do odtwarzania / nagrywania plików .wav,
+ .voc, .au
+ - amixer - mikser dzia³aj±cy z linii poleceñ
+ - alsamixer - mikser z interfejsem opartym o ncurses
+
+
+%description -l pt_BR
+Utilitários para o ALSA, a arquitetura de som avançada para o Linux.
+
+
+%description -l ru
+üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÕÔÉÌÉÔÙ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ ÄÌÑ ALSA project:
+
+ - alsactl - ÕÔÉÌÉÔÁ ÄÌÑ ÓÏÈÒÁÎÅÎÉÑ/×ÏÓÓÔÁÎÏ×ÌÅÎÉÑ ÎÁÓÔÒÏÅË
+ Ú×ÕËÏ×ÏÊ ËÁÒÔÙ
+ - aplay/arecord - ÕÔÉÌÉÔÁ ÄÌÑ ÚÁÐÉÓÉ/ÐÒÏÉÇÒÙ×ÁÎÉÑ ÆÁÊÌÏ× .wav, .voc,
+ .au
+ - amixer - ÍÉËÛÅÒ, ÕÐÒÁ×ÌÑÅÍÙÊ ÉÚ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ
+ - alsamixer - ÍÉËÛÅÒ Ó ÉÎÔÅÒÆÅÊÓÏÍ ncurses
+
+
+%description -l uk
+ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÕÔÉ̦ÔÉ ËÏÍÁÎÄÎÏÇÏ ÒÑÄËÁ ÄÌÑ ALSA project:
+
+ - alsactl - ÕÔÉ̦ÔÁ ÄÌÑ ÚÂÅÒÅÖÅÎÎÑ/צÄÎÏ×ÌÅÎÎÑ ÎÁÓÔÁÎÏ×
+ Ú×ÕËÏ×ϧ ËÁÒÔÉ
+ - aplay/arecord - ÕÔÉ̦ÔÁ ÄÌÑ ÚÁÐÉÓÕ/ÐÒÏÇÒÁ×ÁÎÎÑ ÆÁÊÌ¦× .wav, .voc,
+ .au
+ - amixer - ͦËÛÅÒ, ÑËÉÊ ËÅÒÕ¤ÔØÓÑ Ú ËÏÍÁÎÄÎÏÇÏ ÒÑÄËÁ
+ - alsamixer - ͦËÛÅÒ Ú ¦ÎÔÅÒÆÅÊÓÏÍ ncurses
+
+%package init
+Summary: Init script for Advanced Linux Sound Architecture
+Summary(pl): Skrypt init dla Advanced Linux Sound Architecture
+Group: Applications/Sound
+Requires: %{name} = %{version}
+
+%description init
+Init script for Advanced Linux Sound Architecture.
+
+%description init -l pl
+Skrypt init dla Advanced Linux Sound Architecture.
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
%build
-aclocal
-autoconf
-automake -a -c
+rm -f missing
+%{__aclocal}
+%{__autoconf}
+%{__automake}
CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
%configure
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
+install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
%{__make} install DESTDIR=$RPM_BUILD_ROOT
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/alsasound
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/arecord.1
echo ".so aplay.1" > $RPM_BUILD_ROOT%{_mandir}/man1/arecord.1
touch $RPM_BUILD_ROOT%{_sysconfdir}/asound.conf
-gzip -9nf README ChangeLog
-
-%post
+%post init
/sbin/chkconfig --add alsasound
if [ -f /var/lock/subsys/alsasound ]; then
/etc/rc.d/init.d/alsasound restart >&2
echo "Run \"/etc/rc.d/init.d/alsasound start\" to start ALSA %{version} services."
fi
-%preun
+%preun init
if [ "$1" = "0" ]; then
if [ -f /var/lock/subsys/alsasound ]; then
/etc/rc.d/init.d/alsasound stop >&2
%files
%defattr(644,root,root,755)
-%doc {README,ChangeLog}.gz
+%doc README ChangeLog
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/asound.conf
-
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_sbindir}/*
-%attr(754,root,root) /etc/rc.d/init.d/*
-
+%{_mandir}/man1/aconnect.1*
%{_mandir}/man1/alsactl.1*
%{_mandir}/man1/alsamixer.1*
%{_mandir}/man1/amixer.1*
%{_mandir}/man1/aplay.1*
%{_mandir}/man1/arecord.1*
+%{_mandir}/man1/aseqnet.1*
+
+%files init
+%defattr(644,root,root,755)
+%attr(754,root,root) /etc/rc.d/init.d/*
+%config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*