]>
Commit | Line | Data |
---|---|---|
d65e967c | 1 | Summary: Advanced Linux Sound Architecture (ALSA) - Utils |
afd89176 JR |
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 | |
32daebaa | 7 | Name: alsa-utils |
50194a3c JB |
8 | Version: 1.0.13 |
9 | Release: 1 | |
d65e967c JR |
10 | License: GPL |
11 | Group: Applications/Sound | |
b8790ce7 | 12 | Source0: ftp://ftp.alsa-project.org/pub/utils/%{name}-%{version}.tar.bz2 |
50194a3c | 13 | # Source0-md5: dfe4bb5d3217f3ec662b172ce8397cf0 |
f3d4c6d1 | 14 | Source1: alsasound.init |
f73e6f7d | 15 | Source2: alsa-oss-pcm |
d65e967c | 16 | URL: http://www.alsa-project.org/ |
50194a3c | 17 | BuildRequires: alsa-lib-devel >= 1.0.13 |
24e3ff50 | 18 | BuildRequires: autoconf >= 2.59 |
d65e967c JR |
19 | BuildRequires: automake |
20 | BuildRequires: flex | |
24e3ff50 | 21 | BuildRequires: gettext-devel >= 0.14 |
d65e967c | 22 | BuildRequires: libtool |
e04cffb1 | 23 | BuildRequires: ncurses-devel |
050dcd74 | 24 | BuildRequires: rpmbuild(macros) >= 1.268 |
50194a3c | 25 | Requires: alsa-lib >= 1.0.13 |
ba1c10bb | 26 | Requires: awk |
926e95d0 | 27 | Requires: dialog |
1a95c759 | 28 | Requires: diffutils |
f5f4f960 | 29 | Requires: which |
9b8b7f70 | 30 | Obsoletes: alsaconf |
36fa7ed8 | 31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
d65e967c | 32 | |
d65e967c | 33 | %description |
28e3e077 | 34 | This packages contains command line utilities for the ALSA project: |
050dcd74 ER |
35 | - alsactl - utility for store / restore of soundcard settings |
36 | - aplay/arecord - utility for playback / record of .wav, .voc, .au | |
37 | files | |
38 | - amixer - a command line mixer | |
39 | - alsamixer - ncurses mixer | |
28e3e077 | 40 | |
afd89176 | 41 | %description -l es.UTF-8 |
6addc92a | 42 | Utilitarios para el sistema ALSA, la arquitetura avanzada de sonido |
43 | para Linux. | |
44 | ||
afd89176 JR |
45 | %description -l pl.UTF-8 |
46 | Pakiet zawiera następujące, działające z linii poleceń, narzędzia dla | |
28e3e077 | 47 | projektu ALSA (Advanced Linux Sound Architecture): |
afd89176 JR |
48 | - alsactl - narzędzie do zapamiętywania / przywracania ustawień karty |
49 | dźwiękowej | |
50 | - aplay/arecord - narzędzia do odtwarzania / nagrywania plików .wav, | |
050dcd74 | 51 | .voc, .au |
afd89176 | 52 | - amixer - mikser działający z linii poleceń |
050dcd74 | 53 | - alsamixer - mikser z interfejsem opartym o ncurses |
28e3e077 | 54 | |
afd89176 JR |
55 | %description -l pt_BR.UTF-8 |
56 | Utilitários para o ALSA, a arquitetura de som avançada para o Linux. | |
6addc92a | 57 | |
afd89176 JR |
58 | %description -l ru.UTF-8 |
59 | Этот пакет содержит утилиты командной строки для ALSA project: | |
60 | - alsactl - утилита для сохранения/восстановления настроек звуковой | |
61 | карты | |
62 | - aplay/arecord - утилита для записи/проигрывания файлов .wav, .voc, | |
050dcd74 | 63 | .au |
afd89176 JR |
64 | - amixer - микшер, управляемый из командной строки |
65 | - alsamixer - микшер с интерфейсом ncurses | |
28e3e077 | 66 | |
afd89176 JR |
67 | %description -l uk.UTF-8 |
68 | Цей пакет містить утиліти командного рядка для ALSA project: | |
69 | - alsactl - утиліта для збереження/відновлення настанов звукової карти | |
70 | - aplay/arecord - утиліта для запису/програвання файлів .wav, .voc, | |
050dcd74 | 71 | .au |
afd89176 JR |
72 | - amixer - мікшер, який керується з командного рядка |
73 | - alsamixer - мікшер з інтерфейсом ncurses | |
28e3e077 | 74 | |
ebbc860f | 75 | %package init |
76 | Summary: Init script for Advanced Linux Sound Architecture | |
afd89176 | 77 | Summary(pl.UTF-8): Skrypt init dla Advanced Linux Sound Architecture |
ebbc860f | 78 | Group: Applications/Sound |
e04cffb1 | 79 | Requires(post,preun): /sbin/chkconfig |
d622cef3 | 80 | Requires: %{name} = %{version}-%{release} |
24e3ff50 | 81 | Requires: rc-scripts |
ebbc860f | 82 | |
83 | %description init | |
84 | Init script for Advanced Linux Sound Architecture. | |
85 | ||
afd89176 | 86 | %description init -l pl.UTF-8 |
ebbc860f | 87 | Skrypt init dla Advanced Linux Sound Architecture. |
28e3e077 | 88 | |
d65e967c | 89 | %prep |
b8790ce7 | 90 | %setup -q |
d65e967c JR |
91 | |
92 | %build | |
24e3ff50 | 93 | %{__gettextize} |
1e49d7db | 94 | %{__aclocal} |
95 | %{__autoconf} | |
f0c02276 | 96 | %{__autoheader} |
e04cffb1 | 97 | %{__automake} |
651cbf6b | 98 | CFLAGS="%{rpmcflags} -I/usr/include/ncurses" |
12e59f21 | 99 | CXXFLAGS="%{rpmcxxflags} -fno-rtti -fno-exceptions" |
d65e967c | 100 | %configure |
5218357d | 101 | %{__make} |
d65e967c | 102 | |
d65e967c JR |
103 | %install |
104 | rm -rf $RPM_BUILD_ROOT | |
d65e967c | 105 | |
5ee9e436 PG |
106 | %{__make} install \ |
107 | DESTDIR=$RPM_BUILD_ROOT | |
d65e967c | 108 | |
5ee9e436 | 109 | install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/alsasound |
4cd990c0 | 110 | install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/alsa-oss-pcm |
d65e967c | 111 | |
b3430ee4 | 112 | rm -f $RPM_BUILD_ROOT%{_mandir}/man1/arecord.1 |
113 | echo ".so aplay.1" > $RPM_BUILD_ROOT%{_mandir}/man1/arecord.1 | |
114 | ||
a9091e20 | 115 | touch $RPM_BUILD_ROOT%{_sysconfdir}/asound.conf |
d65e967c | 116 | |
12e59f21 | 117 | %find_lang alsa-utils --all-name |
fa934432 | 118 | |
e04cffb1 JB |
119 | %clean |
120 | rm -rf $RPM_BUILD_ROOT | |
121 | ||
ebbc860f | 122 | %post init |
45cec1b8 | 123 | /sbin/chkconfig --add alsasound |
050dcd74 | 124 | %service alsasound restart "ALSA %{version} services" |
d65e967c | 125 | |
ebbc860f | 126 | %preun init |
45cec1b8 | 127 | if [ "$1" = "0" ]; then |
050dcd74 | 128 | %service alsasound stop |
45cec1b8 | 129 | /sbin/chkconfig --del alsasound |
130 | fi | |
d65e967c | 131 | |
12e59f21 | 132 | %files -f alsa-utils.lang |
d65e967c | 133 | %defattr(644,root,root,755) |
ebbc860f | 134 | %doc README ChangeLog |
75e3e1b5 | 135 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asound.conf |
d65e967c JR |
136 | %attr(755,root,root) %{_bindir}/* |
137 | %attr(755,root,root) %{_sbindir}/* | |
75e3e1b5 JB |
138 | %{_datadir}/alsa/speaker-test |
139 | %{_datadir}/sounds/alsa | |
27994876 | 140 | %{_mandir}/man1/aconnect.1* |
d65e967c JR |
141 | %{_mandir}/man1/alsactl.1* |
142 | %{_mandir}/man1/alsamixer.1* | |
6e09d0e3 | 143 | %{_mandir}/man1/amidi.1* |
d65e967c JR |
144 | %{_mandir}/man1/amixer.1* |
145 | %{_mandir}/man1/aplay.1* | |
d622cef3 | 146 | %{_mandir}/man1/aplaymidi.1* |
d65e967c | 147 | %{_mandir}/man1/arecord.1* |
d622cef3 | 148 | %{_mandir}/man1/arecordmidi.1* |
27994876 | 149 | %{_mandir}/man1/aseqnet.1* |
75e3e1b5 | 150 | %{_mandir}/man1/aseqdump.1* |
6e09d0e3 | 151 | %{_mandir}/man1/iecset.1* |
5b3a1229 | 152 | %{_mandir}/man1/speaker-test.1* |
6e09d0e3 | 153 | %{_mandir}/man8/alsaconf.8* |
75e3e1b5 | 154 | %lang(fr) %{_mandir}/fr/man8/alsaconf.8* |
ebbc860f | 155 | |
156 | %files init | |
157 | %defattr(644,root,root,755) | |
158 | %attr(754,root,root) /etc/rc.d/init.d/* | |
75e3e1b5 | 159 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/* |