1 Summary: Advanced Linux Sound Architecture (ALSA) - Utils
2 Summary(es.UTF-8): Utilitarios para ALSA (Advanced Linux Sound Architecture)
3 Summary(pl.UTF-8): Advanced Linux Sound Architecture (ALSA) - Narzędzia
4 Summary(pt_BR.UTF-8): Utilitários para o ALSA (Advanced Linux Sound Architecture)
5 Summary(ru.UTF-8): Утилиты командной строки для ALSA project
6 Summary(uk.UTF-8): Утиліти командного рядка для ALSA project
10 # some apps GPL v2, some GPL v2+
12 Group: Applications/Sound
13 Source0: ftp://ftp.alsa-project.org/pub/utils/%{name}-%{version}.tar.bz2
14 # Source0-md5: 8238cd57cb301d1c36bcf0ecb59ce6b2
15 Source1: alsasound.init
16 # does anything use this (probably outdated) file? not alsasound.init
19 Patch0: %{name}-fast_sampling.patch
20 Patch1: %{name}-modprobe.patch
21 Patch2: %{name}-link.patch
22 URL: http://www.alsa-project.org/
23 BuildRequires: alsa-lib-devel >= 1.0.24
24 BuildRequires: autoconf >= 2.59
25 BuildRequires: automake
26 BuildRequires: gettext-devel >= 0.15
27 BuildRequires: libsamplerate-devel >= 0.1.3
28 BuildRequires: libtool
29 BuildRequires: ncurses-devel
30 BuildRequires: ncurses-ext-devel
31 BuildRequires: pkgconfig
32 BuildRequires: rpmbuild(macros) >= 1.268
34 Requires: alsa-lib >= 1.0.20-2
42 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45 This packages contains command line utilities for the ALSA project:
46 - alsactl - utility for store / restore of soundcard settings
47 - aplay/arecord - utility for playback / record of .wav, .voc, .au
49 - amixer - a command line mixer
50 - alsamixer - ncurses mixer
52 %description -l es.UTF-8
53 Utilitarios para el sistema ALSA, la arquitetura avanzada de sonido
56 %description -l pl.UTF-8
57 Pakiet zawiera następujące, działające z linii poleceń, narzędzia dla
58 projektu ALSA (Advanced Linux Sound Architecture):
59 - alsactl - narzędzie do zapamiętywania / przywracania ustawień karty
61 - aplay/arecord - narzędzia do odtwarzania / nagrywania plików .wav,
63 - amixer - mikser działający z linii poleceń
64 - alsamixer - mikser z interfejsem opartym o ncurses
66 %description -l pt_BR.UTF-8
67 Utilitários para o ALSA, a arquitetura de som avançada para o Linux.
69 %description -l ru.UTF-8
70 Этот пакет содержит утилиты командной строки для ALSA project:
71 - alsactl - утилита для сохранения/восстановления настроек звуковой
73 - aplay/arecord - утилита для записи/проигрывания файлов .wav, .voc,
75 - amixer - микшер, управляемый из командной строки
76 - alsamixer - микшер с интерфейсом ncurses
78 %description -l uk.UTF-8
79 Цей пакет містить утиліти командного рядка для ALSA project:
80 - alsactl - утиліта для збереження/відновлення настанов звукової карти
81 - aplay/arecord - утиліта для запису/програвання файлів .wav, .voc,
83 - amixer - мікшер, який керується з командного рядка
84 - alsamixer - мікшер з інтерфейсом ncurses
87 Summary: udev rules for Advanced Linux Sound Architecture
88 Summary(pl.UTF-8): Reguły udeva dla Advanced Linux Sound Architecture
89 Group: Applications/Sound
90 Requires: %{name} = %{version}-%{release}
93 %description -n udev-alsa
94 udev rules for Advanced Linux Sound Architecture.
96 %description -n udev-alsa -l pl.UTF-8
97 Reguły udeva dla Advanced Linux Sound Architecture.
100 Summary: Init script for Advanced Linux Sound Architecture
101 Summary(pl.UTF-8): Skrypt init dla Advanced Linux Sound Architecture
102 Group: Applications/Sound
103 Requires(post,preun): /sbin/chkconfig
104 Requires: %{name} = %{version}-%{release}
109 Init script for Advanced Linux Sound Architecture.
111 %description init -l pl.UTF-8
112 Skrypt init dla Advanced Linux Sound Architecture.
126 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
127 CXXFLAGS="%{rpmcxxflags} -fno-rtti -fno-exceptions"
128 # we need alsactl for udev as early as possible
134 rm -rf $RPM_BUILD_ROOT
137 DESTDIR=$RPM_BUILD_ROOT
139 install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/alsasound
140 install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/alsa-oss-pcm
141 install -D %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/alsa/alsactl.conf
143 install -d $RPM_BUILD_ROOT/lib/alsa
144 mv $RPM_BUILD_ROOT%{_datadir}/alsa/init $RPM_BUILD_ROOT/lib/alsa
146 ln -s /lib/alsa/init $RPM_BUILD_ROOT%{_datadir}/alsa/init
147 install -d $RPM_BUILD_ROOT%{_sbindir}
148 ln -s /sbin/alsactl $RPM_BUILD_ROOT%{_sbindir}/alsactl
150 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/arecord.1
151 echo ".so aplay.1" > $RPM_BUILD_ROOT%{_mandir}/man1/arecord.1
153 %find_lang alsa-utils --all-name
156 rm -rf $RPM_BUILD_ROOT
159 # this needs to be a dir
160 if [ -d %{_datadir}/alsa/init ]; then
161 mv -b %{_datadir}/alsa/init{,.dir}
162 %banner -e %{name} <<EOF
163 Check %{_datadir}/alsa/init.dir for your own files and remove it when done.
168 /sbin/chkconfig --add alsasound
169 %service alsasound restart "ALSA %{version} services"
172 if [ "$1" = "0" ]; then
173 %service alsasound stop
174 /sbin/chkconfig --del alsasound
177 %triggerpostun -- %{name} < 1.0.24.2-2
178 install -d /var/lib/alsa
179 if [ -f /etc/asound.state ]; then
180 mv -f /etc/asound.state /var/lib/alsa/asound.state
183 %files -f alsa-utils.lang
184 %defattr(644,root,root,755)
185 %doc ChangeLog README TODO
186 %attr(755,root,root) /sbin/alsaconf
187 %attr(755,root,root) /sbin/alsactl
188 %attr(755,root,root) %{_bindir}/aconnect
189 %attr(755,root,root) %{_bindir}/alsaloop
190 %attr(755,root,root) %{_bindir}/alsamixer
191 %attr(755,root,root) %{_bindir}/alsaucm
192 %attr(755,root,root) %{_bindir}/amidi
193 %attr(755,root,root) %{_bindir}/amixer
194 %attr(755,root,root) %{_bindir}/aplay
195 %attr(755,root,root) %{_bindir}/aplaymidi
196 %attr(755,root,root) %{_bindir}/arecord
197 %attr(755,root,root) %{_bindir}/arecordmidi
198 %attr(755,root,root) %{_bindir}/aseqdump
199 %attr(755,root,root) %{_bindir}/aseqnet
200 %attr(755,root,root) %{_bindir}/iecset
201 %attr(755,root,root) %{_bindir}/speaker-test
203 %attr(755,root,root) %{_sbindir}/alsactl
204 %{_sysconfdir}/alsa/alsactl.conf
208 %{_datadir}/alsa/init
209 %{_datadir}/alsa/speaker-test
210 %{_datadir}/sounds/alsa
211 %{_mandir}/man1/aconnect.1*
212 %{_mandir}/man1/alsactl.1*
213 %{_mandir}/man1/alsaloop.1*
214 %{_mandir}/man1/alsamixer.1*
215 %{_mandir}/man1/amidi.1*
216 %{_mandir}/man1/amixer.1*
217 %{_mandir}/man1/aplay.1*
218 %{_mandir}/man1/aplaymidi.1*
219 %{_mandir}/man1/arecord.1*
220 %{_mandir}/man1/arecordmidi.1*
221 %{_mandir}/man1/aseqnet.1*
222 %{_mandir}/man1/aseqdump.1*
223 %{_mandir}/man1/iecset.1*
224 %{_mandir}/man1/speaker-test.1*
225 %{_mandir}/man7/alsactl_init.7*
226 %{_mandir}/man8/alsaconf.8*
227 %lang(fr) %{_mandir}/fr/man8/alsaconf.8*
230 %defattr(644,root,root,755)
231 /lib/udev/rules.d/90-alsa-restore.rules
234 %defattr(644,root,root,755)
235 %attr(754,root,root) /etc/rc.d/init.d/alsasound
236 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/alsa-oss-pcm