]>
Commit | Line | Data |
---|---|---|
5c6ad0b4 JR |
1 | # |
2 | # Conditional build: | |
1492ea02 | 3 | %bcond_without lavrate # lavrate plugins |
b85ba00c | 4 | %bcond_without libavtp # AAF (AVTP) plugin |
5c6ad0b4 | 5 | # |
ddc4e342 | 6 | Summary: Advanced Linux Sound Architecture - plugins |
95a170fc | 7 | Summary(pl.UTF-8): Advanced Linux Sound Architecture - wtyczki |
ddc4e342 | 8 | Name: alsa-plugins |
3e10ca9a | 9 | Version: 1.2.7.1 |
6c23a93e | 10 | Release: 2 |
ddc4e342 JB |
11 | License: LGPL v2.1+ |
12 | Group: Libraries | |
13 | Source0: ftp://ftp.alsa-project.org/pub/plugins/%{name}-%{version}.tar.bz2 | |
3e10ca9a | 14 | # Source0-md5: 8fb7e05b84c87f30655a8997a9a983d1 |
334a9e06 | 15 | Source1: %{name}-pulse.conf |
ddc4e342 | 16 | URL: http://www.alsa-project.org/ |
a523c211 | 17 | BuildRequires: alsa-lib-devel >= 1.1.6 |
4a652ecf | 18 | BuildRequires: autoconf >= 2.59 |
ddc4e342 | 19 | BuildRequires: automake |
f8269d3c | 20 | BuildRequires: dbus-devel >= 0.35 |
ff2a3391 | 21 | BuildRequires: ffmpeg-devel >= 0.9 |
5c36a303 | 22 | BuildRequires: jack-audio-connection-kit-devel >= 0.98 |
b85ba00c | 23 | %{?with_libavtp:BuildRequires: libavtp-devel >= 0.1} |
5c36a303 | 24 | BuildRequires: libsamplerate-devel |
4a652ecf | 25 | BuildRequires: libtool |
ddc4e342 | 26 | BuildRequires: pkgconfig |
423de0b0 | 27 | BuildRequires: pulseaudio-devel >= 0.9.11 |
0b2a2973 | 28 | # for <speex/speex_types.h> |
f8269d3c | 29 | BuildRequires: speex-devel >= 1:1.2 |
87691bf9 | 30 | BuildRequires: speexdsp-devel >= 1:1.2 |
ddc4e342 JB |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %description | |
34 | ALSA plugins. | |
35 | ||
f2555293 | 36 | %description -l pl.UTF-8 |
ddc4e342 JB |
37 | Wtyczki ALSA. |
38 | ||
5c36a303 JB |
39 | %package a52 |
40 | Summary: A52 output plugin for ALSA | |
95a170fc | 41 | Summary(pl.UTF-8): Wtyczka wyjściowa A52 dla systemu ALSA |
5c36a303 | 42 | Group: Libraries |
a523c211 | 43 | Requires: alsa-lib >= 1.1.6 |
5c36a303 JB |
44 | |
45 | %description a52 | |
46 | A52 output plugin for ALSA. | |
47 | ||
f2555293 JR |
48 | %description a52 -l pl.UTF-8 |
49 | Wtyczka wyjściowa A52 dla systemu ALSA. | |
5c36a303 | 50 | |
b85ba00c JB |
51 | %package aaf |
52 | Summary: AAF plugin for ALSA | |
53 | Summary(pl.UTF-8): Wtyczka AAF dla systemu ALSA | |
54 | Group: Libraries | |
55 | Requires: alsa-lib >= 1.1.6 | |
56 | Requires: libavtp >= 0.1 | |
57 | ||
58 | %description aaf | |
59 | AAF plugin for ALSA. | |
60 | ||
61 | %description aaf -l pl.UTF-8 | |
62 | Wtyczka AAF dla systemu ALSA. | |
63 | ||
d28758d4 AG |
64 | %package arcam-av |
65 | Summary: Controls for an Arcam AV amplifier | |
66 | Summary(pl.UTF-8): Kontrolki do wzmacniacza Arcam AV | |
67 | Group: Libraries | |
a523c211 | 68 | Requires: alsa-lib >= 1.1.6 |
d28758d4 AG |
69 | |
70 | %description arcam-av | |
71 | This plugin exposes the controls for an Arcam AV amplifier (see: | |
72 | http://www.arcam.co.uk/) as an ALSA mixer device. | |
73 | ||
74 | %description arcam-av -l pl.UTF-8 | |
75 | Wtyczka ta umożliwia kontrolę nad wzmacniaczem Arcam AV | |
76 | (http://www.arcam.co.uk/) tak jakby to było urządzenie miksujące ALSA. | |
77 | ||
ddc4e342 JB |
78 | %package jack |
79 | Summary: JACK <--> ALSA PCM plugin | |
95a170fc | 80 | Summary(pl.UTF-8): Wtyczka PCM JACK <--> ALSA |
ddc4e342 | 81 | Group: Libraries |
a523c211 | 82 | Requires: alsa-lib >= 1.1.6 |
5c36a303 | 83 | Requires: jack-audio-connection-kit >= 0.98 |
ddc4e342 JB |
84 | |
85 | %description jack | |
86 | This plugin converts the ALSA API over JACK (Jack Audio Connection | |
87 | Kit) API. ALSA native applications can work transparently together | |
88 | with jackd for both playback and capture. | |
89 | ||
f2555293 | 90 | %description jack -l pl.UTF-8 |
ddc4e342 | 91 | Ta wtyczka konwertuje API ALSA na API JACK (Jack Audio Connection |
f2555293 JR |
92 | Kit). Aplikacje korzystające natywnie z biblioteki ALSA mogą w sposób |
93 | przezroczysty działać z jackd zarówno przy odtwarzaniu dźwięku, jak i | |
ddc4e342 JB |
94 | nagrywaniu. |
95 | ||
a523c211 | 96 | %package lavrate |
f8269d3c JB |
97 | Summary: libavcodec-based rate converter plugin for ALSA |
98 | Summary(pl.UTF-8): Wtyczka konwertera tempa dla systemu ALSA oparta na libavcodec | |
99 | Group: Libraries | |
a523c211 JB |
100 | Requires: alsa-lib >= 1.1.6 |
101 | Obsoletes: alsa-plugins-lavcrate < 1.1.7 | |
f8269d3c | 102 | |
a523c211 | 103 | %description lavrate |
f8269d3c JB |
104 | libavcodec-based rate converter plugin for ALSA. |
105 | ||
a523c211 | 106 | %description lavrate -l pl.UTF-8 |
f8269d3c JB |
107 | Wtyczka konwertera tempa dla systemu ALSA oparta na libavcodec. |
108 | ||
109 | %package maemo | |
110 | Summary: ALSA plugins for Nokia DSP | |
111 | Summary(pl.UTF-8): Wtyczki systemu ALSA dla DSP Nokii | |
112 | Group: Libraries | |
a523c211 | 113 | Requires: alsa-lib >= 1.1.6 |
f8269d3c JB |
114 | |
115 | %description maemo | |
116 | ALSA plugins for Nokia DSP. | |
117 | ||
118 | %description maemo -l pl.UTF-8 | |
119 | Wtyczki systemu ALSA dla DSP Nokii. | |
120 | ||
5c36a303 JB |
121 | %package mix |
122 | Summary: Up/down mixing plugins for ALSA | |
95a170fc | 123 | Summary(pl.UTF-8): Wtyczki up/down-mix dla systemu ALSA |
5c36a303 | 124 | Group: Libraries |
a523c211 | 125 | Requires: alsa-lib >= 1.1.6 |
5c36a303 JB |
126 | |
127 | %description mix | |
128 | Up/down mixing plugins for ALSA. | |
129 | ||
f2555293 | 130 | %description mix -l pl.UTF-8 |
5c36a303 JB |
131 | Wtyczki up/down-mix dla systemu ALSA. |
132 | ||
ddc4e342 JB |
133 | %package oss |
134 | Summary: OSS <--> ALSA plugins | |
95a170fc | 135 | Summary(pl.UTF-8): Wtyczki OSS <--> ALSA |
ddc4e342 | 136 | Group: Libraries |
a523c211 | 137 | Requires: alsa-lib >= 1.1.6 |
ddc4e342 JB |
138 | |
139 | %description oss | |
140 | These plugins converts the ALSA API over OSS API. ALSA native | |
141 | applications can run on OSS drivers. | |
142 | ||
f2555293 JR |
143 | %description oss -l pl.UTF-8 |
144 | Te wtyczki konwertują API ALSA na API OSS. Aplikacje korzystające | |
145 | natywnie z biblioteki ALSA mogą działać na sterownikach OSS. | |
ddc4e342 | 146 | |
72583e48 | 147 | %package pulse |
0b22a8b2 | 148 | Summary: PulseAudio <--> ALSA plugins |
95a170fc | 149 | Summary(pl.UTF-8): Wtyczki PulseAudio <--> ALSA |
5c36a303 | 150 | Group: Libraries |
a523c211 | 151 | Requires: alsa-lib >= 1.1.6 |
423de0b0 | 152 | Requires: pulseaudio-libs >= 0.9.11 |
b85ba00c | 153 | Obsoletes: alsa-plugins-polyp < 1.0.12 |
5c36a303 | 154 | |
72583e48 | 155 | %description pulse |
5c36a303 | 156 | These plugins allows any program that uses the ALSA API to access a |
0b22a8b2 | 157 | PulseAudio sound daemon. In other words, native ALSA applications can |
5c36a303 JB |
158 | play and record sound across a network. |
159 | ||
f2555293 JR |
160 | %description pulse -l pl.UTF-8 |
161 | Te wtyczki umożliwiają dowolnemu programowi korzystającego z API ALSA | |
162 | dostęp do demona dźwięku PulseAudio. Innymi słowy, aplikacje ALSA mogą | |
163 | odtwarzać i nagrywać dźwięk poprzez sieć. | |
5c36a303 JB |
164 | |
165 | %package samplerate | |
f8269d3c JB |
166 | Summary: libsamplerate-based rate converter plugin for ALSA |
167 | Summary(pl.UTF-8): Wtyczka konwertera tempa dla systemu ALSA oparta na libsamplerate | |
5c36a303 | 168 | Group: Libraries |
a523c211 | 169 | Requires: alsa-lib >= 1.1.6 |
5c36a303 JB |
170 | |
171 | %description samplerate | |
f8269d3c | 172 | libsamplerate-based rate converter plugin for ALSA. |
5c36a303 | 173 | |
f2555293 | 174 | %description samplerate -l pl.UTF-8 |
f8269d3c JB |
175 | Wtyczka konwertera tempa dla systemu ALSA oparta na libsamplerate. |
176 | ||
d28758d4 AG |
177 | %package speex |
178 | Summary: speex-based PCM plugin for ALSA | |
179 | Summary(pl.UTF-8): Wtyczka PCM speex dla systemu ALSA | |
180 | License: BSD | |
181 | Group: Libraries | |
a523c211 | 182 | Requires: alsa-lib >= 1.1.6 |
0b2a2973 | 183 | Requires: speexdsp >= 1:1.2 |
d28758d4 AG |
184 | |
185 | %description speex | |
186 | speex-based PCM plugin for ALSA. | |
187 | ||
188 | %description speex -l pl.UTF-8 | |
189 | Wtyczka PCM speex dla systemu ALSA. | |
190 | ||
f8269d3c JB |
191 | %package speexrate |
192 | Summary: speex-based rate converter plugin for ALSA | |
193 | Summary(pl.UTF-8): Wtyczka konwertera tempa dla systemu ALSA oparta na bibliotece speex | |
194 | License: BSD | |
195 | Group: Libraries | |
a523c211 | 196 | Requires: alsa-lib >= 1.1.6 |
0b2a2973 | 197 | Requires: speexdsp >= 1:1.2 |
f8269d3c JB |
198 | |
199 | %description speexrate | |
200 | speex-based rate converter plugin for ALSA. | |
201 | ||
202 | %description speexrate -l pl.UTF-8 | |
203 | Wtyczka konwertera tempa dla systemu ALSA oparta na bibliotece speex. | |
5c36a303 | 204 | |
aa41f8ce JB |
205 | %package usb_stream |
206 | Summary: usb_stream PCM I/O plugin for ALSA | |
207 | Summary(pl.UTF-8): Wtyczka wejścia-wyjścia PCM usb_stream dla systemu ALSA | |
208 | Group: Libraries | |
a523c211 | 209 | Requires: alsa-lib >= 1.1.6 |
aa41f8ce JB |
210 | |
211 | %description usb_stream | |
212 | usb_stream PCM I/O plugin for ALSA. | |
213 | ||
214 | %description usb_stream -l pl.UTF-8 | |
215 | Wtyczka wejścia-wyjścia PCM usb_stream dla systemu ALSA. | |
216 | ||
ddc4e342 JB |
217 | %prep |
218 | %setup -q | |
219 | ||
220 | %build | |
4a652ecf JB |
221 | %{__libtoolize} |
222 | %{__aclocal} -I m4 | |
223 | %{__autoconf} | |
224 | %{__autoheader} | |
225 | %{__automake} | |
e677e9f7 | 226 | %configure \ |
b85ba00c | 227 | %{!?with_libavtp:--disable-aaf} \ |
a523c211 | 228 | %{!?with_lavrate:--disable-lavrate} \ |
e677e9f7 | 229 | --enable-maemo-plugin \ |
230 | --enable-maemo-resource-manager \ | |
231 | --with-speex=lib | |
ddc4e342 JB |
232 | |
233 | %{__make} | |
234 | ||
235 | %install | |
236 | rm -rf $RPM_BUILD_ROOT | |
334a9e06 | 237 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/alsa |
ddc4e342 JB |
238 | |
239 | %{__make} install \ | |
240 | DESTDIR=$RPM_BUILD_ROOT | |
241 | ||
88423f10 | 242 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/alsa-lib/*.la |
334a9e06 | 243 | install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/alsa/pulse-default.conf |
ddc4e342 JB |
244 | |
245 | %clean | |
246 | rm -rf $RPM_BUILD_ROOT | |
247 | ||
5c36a303 JB |
248 | %files a52 |
249 | %defattr(644,root,root,755) | |
250 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_pcm_a52.so | |
a523c211 JB |
251 | %config(noreplace,missingok) %verify(not link) %{_sysconfdir}/alsa/conf.d/60-a52-encoder.conf |
252 | %{_datadir}/alsa/alsa.conf.d/60-a52-encoder.conf | |
5c36a303 | 253 | |
b85ba00c JB |
254 | %if %{with libavtp} |
255 | %files aaf | |
256 | %defattr(644,root,root,755) | |
257 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_pcm_aaf.so | |
258 | %endif | |
259 | ||
d28758d4 AG |
260 | %files arcam-av |
261 | %defattr(644,root,root,755) | |
262 | %doc doc/README-arcam-av | |
263 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_ctl_arcam_av.so | |
a523c211 JB |
264 | %config(noreplace,missingok) %verify(not link) %{_sysconfdir}/alsa/conf.d/50-arcam-av-ctl.conf |
265 | %{_datadir}/alsa/alsa.conf.d/50-arcam-av-ctl.conf | |
d28758d4 | 266 | |
ddc4e342 JB |
267 | %files jack |
268 | %defattr(644,root,root,755) | |
5c36a303 | 269 | %doc doc/README-jack |
ddc4e342 | 270 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_pcm_jack.so |
a523c211 JB |
271 | %config(noreplace,missingok) %verify(not link) %{_sysconfdir}/alsa/conf.d/50-jack.conf |
272 | %{_datadir}/alsa/alsa.conf.d/50-jack.conf | |
ddc4e342 | 273 | |
a523c211 JB |
274 | %if %{with lavrate} |
275 | %files lavrate | |
f8269d3c | 276 | %defattr(644,root,root,755) |
a523c211 JB |
277 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_rate_lavrate.so |
278 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_rate_lavrate_fast.so | |
279 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_rate_lavrate_faster.so | |
280 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_rate_lavrate_high.so | |
281 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_rate_lavrate_higher.so | |
282 | %config(noreplace,missingok) %verify(not link) %{_sysconfdir}/alsa/conf.d/10-rate-lav.conf | |
283 | %{_datadir}/alsa/alsa.conf.d/10-rate-lav.conf | |
5c6ad0b4 | 284 | %endif |
f8269d3c JB |
285 | |
286 | %files maemo | |
287 | %defattr(644,root,root,755) | |
288 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_ctl_dsp_ctl.so | |
289 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_pcm_alsa_dsp.so | |
a523c211 JB |
290 | %config(noreplace,missingok) %verify(not link) %{_sysconfdir}/alsa/conf.d/98-maemo.conf |
291 | %{_datadir}/alsa/alsa.conf.d/98-maemo.conf | |
f8269d3c | 292 | |
5c36a303 JB |
293 | %files mix |
294 | %defattr(644,root,root,755) | |
295 | %doc doc/{upmix,vdownmix}.txt | |
296 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_pcm_upmix.so | |
297 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so | |
a523c211 JB |
298 | %config(noreplace,missingok) %verify(not link) %{_sysconfdir}/alsa/conf.d/60-upmix.conf |
299 | %config(noreplace,missingok) %verify(not link) %{_sysconfdir}/alsa/conf.d/60-vdownmix.conf | |
300 | %{_datadir}/alsa/alsa.conf.d/60-upmix.conf | |
301 | %{_datadir}/alsa/alsa.conf.d/60-vdownmix.conf | |
5c36a303 | 302 | |
ddc4e342 JB |
303 | %files oss |
304 | %defattr(644,root,root,755) | |
5c36a303 | 305 | %doc doc/README-pcm-oss |
ddc4e342 JB |
306 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_ctl_oss.so |
307 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_pcm_oss.so | |
a523c211 JB |
308 | %config(noreplace,missingok) %verify(not link) %{_sysconfdir}/alsa/conf.d/50-oss.conf |
309 | %{_datadir}/alsa/alsa.conf.d/50-oss.conf | |
5c36a303 | 310 | |
72583e48 | 311 | %files pulse |
5c36a303 | 312 | %defattr(644,root,root,755) |
72583e48 | 313 | %doc doc/README-pulse |
294d44f5 | 314 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_conf_pulse.so |
72583e48 JB |
315 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_ctl_pulse.so |
316 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_pcm_pulse.so | |
88423f10 | 317 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/alsa/pulse-default.conf |
a523c211 JB |
318 | %config(noreplace,missingok) %verify(not link) %{_sysconfdir}/alsa/conf.d/50-pulseaudio.conf |
319 | #%{_sysconfdir}/alsa/alsa.conf.d/99-pulseaudio-default.conf.example | |
88423f10 | 320 | %{_datadir}/alsa/alsa.conf.d/50-pulseaudio.conf |
5c36a303 JB |
321 | |
322 | %files samplerate | |
323 | %defattr(644,root,root,755) | |
324 | %doc doc/samplerate.txt | |
325 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_rate_samplerate.so | |
6dbdd701 JB |
326 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_rate_samplerate_best.so |
327 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_rate_samplerate_linear.so | |
328 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_rate_samplerate_medium.so | |
329 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_rate_samplerate_order.so | |
a523c211 JB |
330 | %config(noreplace,missingok) %verify(not link) %{_sysconfdir}/alsa/conf.d/10-samplerate.conf |
331 | %{_datadir}/alsa/alsa.conf.d/10-samplerate.conf | |
f8269d3c | 332 | |
d28758d4 AG |
333 | %files speex |
334 | %defattr(644,root,root,755) | |
335 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_pcm_speex.so | |
a523c211 JB |
336 | %config(noreplace,missingok) %verify(not link) %{_sysconfdir}/alsa/conf.d/60-speex.conf |
337 | %{_datadir}/alsa/alsa.conf.d/60-speex.conf | |
d28758d4 | 338 | |
f8269d3c JB |
339 | %files speexrate |
340 | %defattr(644,root,root,755) | |
341 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_rate_speexrate.so | |
6dbdd701 JB |
342 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_rate_speexrate_best.so |
343 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_rate_speexrate_medium.so | |
a523c211 JB |
344 | %config(noreplace,missingok) %verify(not link) %{_sysconfdir}/alsa/conf.d/10-speexrate.conf |
345 | %{_datadir}/alsa/alsa.conf.d/10-speexrate.conf | |
aa41f8ce JB |
346 | |
347 | %files usb_stream | |
348 | %defattr(644,root,root,755) | |
349 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_pcm_usb_stream.so | |
a523c211 JB |
350 | %config(noreplace,missingok) %verify(not link) %{_sysconfdir}/alsa/conf.d/98-usb-stream.conf |
351 | %{_datadir}/alsa/alsa.conf.d/98-usb-stream.conf |