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.14
24 BuildRequires: autoconf >= 2.59
25 BuildRequires: automake
27 BuildRequires: gettext-devel >= 0.14
28 BuildRequires: libtool
29 BuildRequires: ncurses-devel
30 BuildRequires: ncurses-ext-devel
31 BuildRequires: rpmbuild(macros) >= 1.268
33 Requires: alsa-lib >= 1.0.20-2
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44 This packages contains command line utilities for the ALSA project:
45 - alsactl - utility for store / restore of soundcard settings
46 - aplay/arecord - utility for playback / record of .wav, .voc, .au
48 - amixer - a command line mixer
49 - alsamixer - ncurses mixer
51 %description -l es.UTF-8
52 Utilitarios para el sistema ALSA, la arquitetura avanzada de sonido
55 %description -l pl.UTF-8
56 Pakiet zawiera następujące, działające z linii poleceń, narzędzia dla
57 projektu ALSA (Advanced Linux Sound Architecture):
58 - alsactl - narzędzie do zapamiętywania / przywracania ustawień karty
60 - aplay/arecord - narzędzia do odtwarzania / nagrywania plików .wav,
62 - amixer - mikser działający z linii poleceń
63 - alsamixer - mikser z interfejsem opartym o ncurses
65 %description -l pt_BR.UTF-8
66 Utilitários para o ALSA, a arquitetura de som avançada para o Linux.
68 %description -l ru.UTF-8
69 Этот пакет содержит утилиты командной строки для ALSA project:
70 - alsactl - утилита для сохранения/восстановления настроек звуковой
72 - aplay/arecord - утилита для записи/проигрывания файлов .wav, .voc,
74 - amixer - микшер, управляемый из командной строки
75 - alsamixer - микшер с интерфейсом ncurses
77 %description -l uk.UTF-8
78 Цей пакет містить утиліти командного рядка для ALSA project:
79 - alsactl - утиліта для збереження/відновлення настанов звукової карти
80 - aplay/arecord - утиліта для запису/програвання файлів .wav, .voc,
82 - amixer - мікшер, який керується з командного рядка
83 - alsamixer - мікшер з інтерфейсом ncurses
86 Summary: udev rules for Advanced Linux Sound Architecture
87 Summary(pl.UTF-8): Reguły udeva dla Advanced Linux Sound Architecture
88 Group: Applications/Sound
89 Requires: %{name} = %{version}-%{release}
92 %description -n udev-alsa
93 udev rules for Advanced Linux Sound Architecture.
95 %description -n udev-alsa -l pl.UTF-8
96 Reguły udeva dla Advanced Linux Sound Architecture.
99 Summary: Init script for Advanced Linux Sound Architecture
100 Summary(pl.UTF-8): Skrypt init dla Advanced Linux Sound Architecture
101 Group: Applications/Sound
102 Requires(post,preun): /sbin/chkconfig
103 Requires: %{name} = %{version}-%{release}
108 Init script for Advanced Linux Sound Architecture.
110 %description init -l pl.UTF-8
111 Skrypt init dla Advanced Linux Sound Architecture.
125 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
126 CXXFLAGS="%{rpmcxxflags} -fno-rtti -fno-exceptions"
127 # we need alsactl for udev as early as possible
133 rm -rf $RPM_BUILD_ROOT
136 DESTDIR=$RPM_BUILD_ROOT
138 install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/alsasound
139 install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/alsa-oss-pcm
140 install -D %{SOURCE3} $RPM_BUILD_ROOT/etc/alsa/alsactl.conf
142 install -d $RPM_BUILD_ROOT/lib/alsa
143 mv $RPM_BUILD_ROOT%{_datadir}/alsa/init $RPM_BUILD_ROOT/lib/alsa
145 ln -s /lib/alsa/init $RPM_BUILD_ROOT%{_datadir}/alsa/init
146 install -d $RPM_BUILD_ROOT%{_sbindir}
147 ln -s /sbin/alsactl $RPM_BUILD_ROOT%{_sbindir}/alsactl
149 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/arecord.1
150 echo ".so aplay.1" > $RPM_BUILD_ROOT%{_mandir}/man1/arecord.1
152 %find_lang alsa-utils --all-name
155 rm -rf $RPM_BUILD_ROOT
158 # this needs to be a dir
159 if [ -d %{_datadir}/alsa/init ]; then
160 mv -b %{_datadir}/alsa/init{,.dir}
161 %banner -e %{name} <<EOF
162 Check %{_datadir}/alsa/init.dir for your own files and remove it when done.
167 /sbin/chkconfig --add alsasound
168 %service alsasound restart "ALSA %{version} services"
171 if [ "$1" = "0" ]; then
172 %service alsasound stop
173 /sbin/chkconfig --del alsasound
176 %files -f alsa-utils.lang
177 %defattr(644,root,root,755)
178 %doc ChangeLog README TODO
179 %attr(755,root,root) /sbin/alsaconf
180 %attr(755,root,root) /sbin/alsactl
181 %attr(755,root,root) %{_bindir}/aconnect
182 %attr(755,root,root) %{_bindir}/alsaloop
183 %attr(755,root,root) %{_bindir}/alsamixer
184 %attr(755,root,root) %{_bindir}/alsaucm
185 %attr(755,root,root) %{_bindir}/amidi
186 %attr(755,root,root) %{_bindir}/amixer
187 %attr(755,root,root) %{_bindir}/aplay
188 %attr(755,root,root) %{_bindir}/aplaymidi
189 %attr(755,root,root) %{_bindir}/arecord
190 %attr(755,root,root) %{_bindir}/arecordmidi
191 %attr(755,root,root) %{_bindir}/aseqdump
192 %attr(755,root,root) %{_bindir}/aseqnet
193 %attr(755,root,root) %{_bindir}/iecset
194 %attr(755,root,root) %{_bindir}/speaker-test
196 %attr(755,root,root) %{_sbindir}/alsactl
197 %{_sysconfdir}/alsa/alsactl.conf
200 %{_datadir}/alsa/init
201 %{_datadir}/alsa/speaker-test
202 %{_datadir}/sounds/alsa
203 %{_mandir}/man1/aconnect.1*
204 %{_mandir}/man1/alsactl.1*
205 %{_mandir}/man1/alsaloop.1*
206 %{_mandir}/man1/alsamixer.1*
207 %{_mandir}/man1/amidi.1*
208 %{_mandir}/man1/amixer.1*
209 %{_mandir}/man1/aplay.1*
210 %{_mandir}/man1/aplaymidi.1*
211 %{_mandir}/man1/arecord.1*
212 %{_mandir}/man1/arecordmidi.1*
213 %{_mandir}/man1/aseqnet.1*
214 %{_mandir}/man1/aseqdump.1*
215 %{_mandir}/man1/iecset.1*
216 %{_mandir}/man1/speaker-test.1*
217 %{_mandir}/man7/alsactl_init.7*
218 %{_mandir}/man8/alsaconf.8*
219 %lang(fr) %{_mandir}/fr/man8/alsaconf.8*
222 %defattr(644,root,root,755)
223 /lib/udev/rules.d/90-alsa-restore.rules
226 %defattr(644,root,root,755)
227 %attr(754,root,root) /etc/rc.d/init.d/alsasound
228 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/alsa-oss-pcm