]>
Commit | Line | Data |
---|---|---|
1 | # TODO: | |
2 | # - new plugins: | |
3 | # - mplex (waiting for mjpegtools 1.9.0) | |
4 | # - ivorbisdec (BR: tremor-devel, CVS versions only, http://www.xiph.org/vorbis/) | |
5 | # - theoraexpdec (BR: libtheora-exp >= 1.0beta3, but currently disabled) | |
6 | # - system libmodplug? | |
7 | # | |
8 | # Conditional build: | |
9 | %bcond_without cdaudio # don't build cdaudio plugin | |
10 | %bcond_without dirac # don't build Dirac plugin | |
11 | %bcond_without directfb # don't build directfb videosink plugin | |
12 | %bcond_without dts # don't build DTS plugin | |
13 | %bcond_without faad # don't build faad plugin | |
14 | %bcond_without gsm # don't build gsm plugin | |
15 | %bcond_without jack # don't build JACK audio plugin | |
16 | %bcond_without ladspa # don't build ladspa plugin | |
17 | %bcond_without mjpegtools # don't build mpeg2enc plugin | |
18 | %bcond_without mms # don't build mms plugin | |
19 | %bcond_without musepack # don't build musepack plugin | |
20 | %bcond_without neon # don't build neonhttpsrc plugin | |
21 | %bcond_without ofa # don't build OFA plugin | |
22 | %bcond_without sdl # don't build sdl plugin | |
23 | %bcond_with swfdec # swfdec plugin | |
24 | %bcond_without spc # don't build spc plugin | |
25 | %bcond_without wavpack # don't build wavpack plugin | |
26 | %bcond_without xvid # don't build XviD plugin | |
27 | %bcond_with amr # build amrwb plugin | |
28 | %bcond_with divx4linux # build divx4linux plugins | |
29 | # | |
30 | %define gstname gst-plugins-bad | |
31 | %define gst_major_ver 0.10 | |
32 | %define gst_req_ver 0.10.21.1 | |
33 | # | |
34 | %include /usr/lib/rpm/macros.gstreamer | |
35 | # | |
36 | Summary: Bad GStreamer Streaming-media framework plugins | |
37 | Summary(pl.UTF-8): Złe wtyczki do środowiska obróbki strumieni GStreamer | |
38 | Name: gstreamer-plugins-bad | |
39 | Version: 0.10.10 | |
40 | Release: 2 | |
41 | License: LGPL v2+ | |
42 | Group: Libraries | |
43 | Source0: http://gstreamer.freedesktop.org/src/gst-plugins-bad/%{gstname}-%{version}.tar.bz2 | |
44 | # Source0-md5: cd13758801f6054006ff1a4755e72484 | |
45 | Patch0: %{name}-bashish.patch | |
46 | Patch1: %{name}-libdts.patch | |
47 | Patch2: %{name}-divx4linux.patch | |
48 | Patch3: %{name}-celt.patch | |
49 | Patch4: %{name}-timidity.patch | |
50 | Patch5: %{name}-nas.patch | |
51 | URL: http://gstreamer.freedesktop.org/ | |
52 | BuildRequires: autoconf >= 2.59-9 | |
53 | BuildRequires: automake >= 1.6 | |
54 | BuildRequires: glib2-devel >= 1:2.12.0 | |
55 | BuildRequires: gstreamer-devel >= %{gst_req_ver} | |
56 | BuildRequires: gstreamer-plugins-base-devel >= %{gst_req_ver} | |
57 | BuildRequires: gtk-doc >= 1.6 | |
58 | BuildRequires: liboil-devel >= 0.3.6 | |
59 | BuildRequires: libtool >= 1.4 | |
60 | BuildRequires: pkgconfig >= 1:0.9.0 | |
61 | BuildRequires: python-PyXML | |
62 | BuildRequires: rpmbuild(macros) >= 1.98 | |
63 | ## | |
64 | ## plugins | |
65 | ## | |
66 | %{?with_directfb:BuildRequires: DirectFB-devel >= 1:0.9.24} | |
67 | BuildRequires: OpenGL-devel | |
68 | %{?with_sdl:BuildRequires: SDL-devel >= 0.11} | |
69 | BuildRequires: alsa-lib-devel >= 0.9.1 | |
70 | %{?with_amr:BuildRequires: amrwb-devel} | |
71 | BuildRequires: bzip2-devel | |
72 | BuildRequires: celt-devel >= 0.5.0 | |
73 | %{?with_dirac:BuildRequires: dirac-devel >= 0.9} | |
74 | %{?with_divx4linux:BuildRequires: divx4linux-devel >= 1:5.05.20030428} | |
75 | BuildRequires: faac-devel | |
76 | %{?with_faad:BuildRequires: faad2-devel >= 2.0-2} | |
77 | BuildRequires: gmyth-devel >= 0.7 | |
78 | %{?with_jack:BuildRequires: jack-audio-connection-kit-devel >= 0.99.10} | |
79 | BuildRequires: jasper-devel | |
80 | %{?with_ladspa:BuildRequires: ladspa-devel >= 1.12} | |
81 | %{?with_cdaudio:BuildRequires: libcdaudio-devel} | |
82 | BuildRequires: libdc1394-devel >= 2.0.0 | |
83 | %{?with_dts:BuildRequires: libdts-devel} | |
84 | BuildRequires: libdvdnav-devel >= 0.1.7 | |
85 | %{?with_gsm:BuildRequires: libgsm-devel} | |
86 | %{?with_mms:BuildRequires: libmms-devel >= 0.2} | |
87 | %{?with_musepack:BuildRequires: libmpcdec-devel >= 1.2} | |
88 | BuildRequires: libmusicbrainz-devel >= 2.1.0 | |
89 | %{?with_ofa:BuildRequires: libofa-devel >= 0.9.3} | |
90 | %{?with_spc:BuildRequires: libopenspc-devel >= 0.3.99} | |
91 | # for modplug and libSoundTouch | |
92 | BuildRequires: libstdc++-devel | |
93 | BuildRequires: libtimidity-devel | |
94 | BuildRequires: libx264-devel >= 0.1.2 | |
95 | %{?with_mjpegtools:BuildRequires: mjpegtools-devel < 1.9.0} | |
96 | %{?with_mjpegtools:BuildRequires: mjpegtools-devel >= 1.8.0-0.2} | |
97 | %{?with_neon:BuildRequires: neon-devel >= 0.26} | |
98 | BuildRequires: libsndfile-devel | |
99 | BuildRequires: nas-devel | |
100 | BuildRequires: soundtouch-devel >= 1.3.1 | |
101 | %if %{with swfdec} | |
102 | BuildRequires: swfdec-devel < 0.4.0 | |
103 | BuildRequires: swfdec-devel >= 0.3.6 | |
104 | %endif | |
105 | BuildRequires: twolame-devel | |
106 | BuildRequires: wildmidi-devel | |
107 | BuildRequires: xorg-lib-libX11-devel | |
108 | %{?with_xvid:BuildRequires: xvid-devel >= 1.0.0} | |
109 | Requires: gstreamer >= %{gst_req_ver} | |
110 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
111 | Obsoletes: gstreamer-quicktime | |
112 | Obsoletes: gstreamer-vcd | |
113 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
114 | ||
115 | %define gstlibdir %{_libdir}/gstreamer-%{gst_major_ver} | |
116 | ||
117 | %description | |
118 | GStreamer is a streaming-media framework, based on graphs of filters | |
119 | which operate on media data. Applications using this library can do | |
120 | anything from real-time sound processing to playing videos, and just | |
121 | about anything else media-related. Its plugin-based architecture means | |
122 | that new data types or processing capabilities can be added simply by | |
123 | installing new plugins. | |
124 | ||
125 | %description -l pl.UTF-8 | |
126 | GStreamer to środowisko obróbki danych strumieniowych, bazujące na | |
127 | grafie filtrów operujących na danych medialnych. Aplikacje używające | |
128 | tej biblioteki mogą robić wszystko od przetwarzania dźwięku w czasie | |
129 | rzeczywistym, do odtwarzania filmów i czegokolwiek innego związego z | |
130 | mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie | |
131 | nowych typów danych lub możliwości obróbki. | |
132 | ||
133 | %package devel | |
134 | Summary: Header files and API documentation for gstapp library | |
135 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja API biblioteki gstapp | |
136 | Group: Development/Libraries | |
137 | Requires: %{name} = %{version}-%{release} | |
138 | ||
139 | %description devel | |
140 | Header files and API documentation for gstapp library. | |
141 | ||
142 | %description devel -l pl.UTF-8 | |
143 | Pliki nagłówkowe i dokumentacja API biblioteki gstapp. | |
144 | ||
145 | ## Plugins ## | |
146 | ||
147 | %package -n gstreamer-aac | |
148 | Summary: GStreamer plugin for AAC audio encoding and decoding | |
149 | Summary(pl.UTF-8): Wtyczka do GStreamera do kodowania i dekodowania plików audio AAC | |
150 | Group: Libraries | |
151 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
152 | ||
153 | %description -n gstreamer-aac | |
154 | GStreamer plugin for AAC audio encoding and decoding. | |
155 | ||
156 | %description -n gstreamer-aac -l pl.UTF-8 | |
157 | Wtyczka do GStreamera do kodowania i dekodowania plików audio AAC. | |
158 | ||
159 | %package -n gstreamer-amrwb | |
160 | Summary: GStreamer plugin for AMR-WB audio encoding and decoding | |
161 | Summary(pl.UTF-8): Wtyczka GStreamera do kodowania i dekodowania dźwięku w formacie AMR-WB | |
162 | Group: Libraries | |
163 | Requires: gstreamer >= %{gst_req_ver} | |
164 | ||
165 | %description -n gstreamer-amrwb | |
166 | GStreamer plugin for AMR-WB audio encoding and decoding. | |
167 | ||
168 | %description -n gstreamer-amrwb -l pl.UTF-8 | |
169 | Wtyczka GStreamera do kodowania i dekodowania dźwięku w formacie | |
170 | AMR-WB. | |
171 | ||
172 | %package -n gstreamer-audio-effects-bad | |
173 | Summary: Bad GStreamer audio effects plugins | |
174 | Summary(pl.UTF-8): Złe wtyczki efektów dźwiękowych do GStreamera | |
175 | Group: Libraries | |
176 | Requires: gstreamer >= %{gst_req_ver} | |
177 | Obsoletes: gstreamer-audio-effects | |
178 | ||
179 | %description -n gstreamer-audio-effects-bad | |
180 | Bad GStreamer audio effects plugins. | |
181 | ||
182 | %description -n gstreamer-audio-effects-bad -l pl.UTF-8 | |
183 | Złe wtyczki efektów dźwiękowych do GStreamera. | |
184 | ||
185 | %package -n gstreamer-audiosink-alsaspdif | |
186 | Summary: GStreamer ALSA plugin for S/PDIF output | |
187 | Summary(pl.UTF-8): Wtyczka ALSA GStreamera do wyjścia S/PDIF | |
188 | Group: Libraries | |
189 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
190 | Provides: gstreamer-audiosink = %{version} | |
191 | ||
192 | %description -n gstreamer-audiosink-alsaspdif | |
193 | GStreamer ALSA plugin for S/PDIF output. | |
194 | ||
195 | %description -n gstreamer-audiosink-alsaspdif -l pl.UTF-8 | |
196 | Wtyczka ALSA GStreamera do wyjścia S/PDIF. | |
197 | ||
198 | %package -n gstreamer-audiosink-nas | |
199 | Summary: GStreamer NAS audio output plugin | |
200 | Summary(pl.UTF-8): Wtyczka wyjścia dźwięku NAS dla GStreamera | |
201 | Group: Libraries | |
202 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
203 | Provides: gstreamer-audiosink = %{version} | |
204 | Obsoletes: gstreamer-nas | |
205 | ||
206 | %description -n gstreamer-audiosink-nas | |
207 | GStreamer NAS audio output plugin. | |
208 | ||
209 | %description -n gstreamer-audiosink-nas -l pl.UTF-8 | |
210 | Wtyczka wyjścia dźwięku NAS dla GStreamera. | |
211 | ||
212 | %package -n gstreamer-cdaudio | |
213 | Summary: GStreamer plugin for CD audio input using libcdaudio | |
214 | Summary(pl.UTF-8): Wtyczka do GStreamera odtwarzająca płyty CD-Audio przy użyciu libcdaudio | |
215 | Group: Libraries | |
216 | Requires: gstreamer >= %{gst_req_ver} | |
217 | ||
218 | %description -n gstreamer-cdaudio | |
219 | Plugin for playing audio tracks using libcdaudio under GStreamer. | |
220 | ||
221 | %description -n gstreamer-cdaudio -l pl.UTF-8 | |
222 | Wtyczka do odtwarzania ścieżek dźwiękowych pod GStreamerem za pomocą | |
223 | libcdaudio. | |
224 | ||
225 | %package -n gstreamer-celt | |
226 | Summary: GStreamer Celt audio codec plugin | |
227 | Summary(pl.UTF-8): Wtyczka kodeka dźwięku Celt do GStreamera | |
228 | Group: Libraries | |
229 | Requires: gstreamer >= %{gst_req_ver} | |
230 | ||
231 | %description -n gstreamer-celt | |
232 | GStreamer Celt audio encoder and decoder plugin. | |
233 | ||
234 | %description -n gstreamer-celt -l pl.UTF-8 | |
235 | Wtyczka GStreamera kodująca i dekodująca dźwięk w formacie Celt. | |
236 | ||
237 | %package -n gstreamer-dc1394 | |
238 | Summary: GStreamer 1394 IIDC (Firewire digital cameras) video source plugin | |
239 | Summary(pl.UTF-8): Wtyczka źródła obrazu 1394 IIDC (z kamer cyfrowych Firewire) do GStreamera | |
240 | Group: Libraries | |
241 | Requires: gstreamer >= %{gst_req_ver} | |
242 | ||
243 | %description -n gstreamer-dc1394 | |
244 | GStreamer 1394 IIDC (Firewire digital cameras) video source plugin. | |
245 | ||
246 | %description -n gstreamer-dc1394 -l pl.UTF-8 | |
247 | Wtyczka źródła obrazu 1394 IIDC (z kamer cyfrowych Firewire) do GStreamera. | |
248 | ||
249 | %package -n gstreamer-dirac | |
250 | Summary: GStreamer Dirac plugin | |
251 | Summary(pl.UTF-8): Wtyczka Dirac do GStreamera | |
252 | Group: Libraries | |
253 | Requires: gstreamer >= %{gst_req_ver} | |
254 | Requires: dirac >= 0.9 | |
255 | ||
256 | %description -n gstreamer-dirac | |
257 | GStreamer Dirac video decoder/encoder plugin. | |
258 | ||
259 | %description -n gstreamer-dirac -l pl.UTF-8 | |
260 | Wtyczka dekodująca i kodująca obraz Dirac do GStreamera. | |
261 | ||
262 | %package -n gstreamer-divx | |
263 | Summary: GStreamer divx plugin | |
264 | Summary(pl.UTF-8): Wtyczka divx do GStreamera | |
265 | Group: Libraries | |
266 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
267 | ||
268 | %description -n gstreamer-divx | |
269 | GStreamer divx plugin. | |
270 | ||
271 | %description -n gstreamer-divx -l pl.UTF-8 | |
272 | Wtyczka divx do GStreamera. | |
273 | ||
274 | %package -n gstreamer-dts | |
275 | Summary: GStreamer DTS plugin | |
276 | Summary(pl.UTF-8): Wtyczka DTS do GStreamera | |
277 | Group: Libraries | |
278 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
279 | ||
280 | %description -n gstreamer-dts | |
281 | Plugin for DTS Coherent Acoustics support. | |
282 | ||
283 | %description -n gstreamer-dts -l pl.UTF-8 | |
284 | Wtyczka do GStreamera obsługująca DTS Coherent Acoustics. | |
285 | ||
286 | %package -n gstreamer-gsm | |
287 | Summary: GStreamer plugin for GSM lossy audio format | |
288 | Summary(pl.UTF-8): Wtyczka do GStreamera obsługująca stratny format dźwięku GSM | |
289 | Group: Libraries | |
290 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
291 | ||
292 | %description -n gstreamer-gsm | |
293 | Output plugin for GStreamer to convert to GSM lossy audio format. | |
294 | ||
295 | %description -n gstreamer-gsm -l pl.UTF-8 | |
296 | Wtyczka wyjścia dźwięku GSteamera konwertująca do stratnego formatu | |
297 | GSM. | |
298 | ||
299 | %package -n gstreamer-jack | |
300 | Summary: GStreamer plugin for the JACK Sound Server | |
301 | Summary(pl.UTF-8): Wtyczka serwera dźwięku JACK dla GStreamera | |
302 | Group: Libraries | |
303 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
304 | Provides: gstreamer-audiosink = %{version} | |
305 | ||
306 | %description -n gstreamer-jack | |
307 | Plugin for the JACK professional sound server. | |
308 | ||
309 | %description -n gstreamer-jack -l pl.UTF-8 | |
310 | Wtyczka dla profesjonalnego serwera dźwięku JACK. | |
311 | ||
312 | %package -n gstreamer-ladspa | |
313 | Summary: GStreamer wrapper for LADSPA plugins | |
314 | Summary(pl.UTF-8): Wrapper do wtyczek LADSPA dla GStreamera | |
315 | Group: Libraries | |
316 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
317 | ||
318 | %description -n gstreamer-ladspa | |
319 | Plugin which wraps LADSPA plugins for use by GStreamer applications. | |
320 | ||
321 | %description -n gstreamer-ladspa -l pl.UTF-8 | |
322 | Wtyczka pozwalająca na używanie wtyczek LADSPA przez aplikacje | |
323 | GStreamera. | |
324 | ||
325 | %package -n gstreamer-mjpegtools | |
326 | Summary: GStreamer mpeg2enc plugin | |
327 | Summary(pl.UTF-8): Wtyczka mpeg2enc do GStreamera | |
328 | Group: Libraries | |
329 | ||
330 | %description -n gstreamer-mjpegtools | |
331 | GStreamer mpeg2enc plugin (based on mjpegtools libraries). | |
332 | ||
333 | %description -n gstreamer-mjpegtools -l pl.UTF-8 | |
334 | Wtyczka mpeg2enc do GStreamera (oparta na bibliotekach mjpegtools). | |
335 | ||
336 | %package -n gstreamer-mms | |
337 | Summary: GStreamer mms plugin | |
338 | Summary(pl.UTF-8): Wtyczka mms do GStreamera | |
339 | Group: Libraries | |
340 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
341 | ||
342 | %description -n gstreamer-mms | |
343 | GStreamer mms plugin. | |
344 | ||
345 | %description -n gstreamer-mms -l pl.UTF-8 | |
346 | Wtyczka mms do GStreamera. | |
347 | ||
348 | %package -n gstreamer-musepack | |
349 | Summary: GStreamer musepack plugin | |
350 | Summary(pl.UTF-8): Wtyczka musepack do GStreamera | |
351 | Group: Libraries | |
352 | Requires: gstreamer >= %{gst_req_ver} | |
353 | ||
354 | %description -n gstreamer-musepack | |
355 | GStreamer musepack plugin. | |
356 | ||
357 | %description -n gstreamer-musepack -l pl.UTF-8 | |
358 | Wtyczka musepack do GStreamera. | |
359 | ||
360 | %package -n gstreamer-mythtv | |
361 | Summary: GStreamer MythTV plugin | |
362 | Summary(pl.UTF-8): Wtyczka MythTV do GStreamera | |
363 | Group: Libraries | |
364 | Requires: gstreamer >= %{gst_req_ver} | |
365 | ||
366 | %description -n gstreamer-mythtv | |
367 | GStreamer MythTV plugin. | |
368 | ||
369 | %description -n gstreamer-mythtv -l pl.UTF-8 | |
370 | Wtyczka MythTV do GStreamera. | |
371 | ||
372 | %package -n gstreamer-musicbrainz | |
373 | Summary: GStreamer musicbrainz plugin | |
374 | Summary(pl.UTF-8): Wtyczka musicbrainz do GStreamera | |
375 | Group: Libraries | |
376 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
377 | ||
378 | %description -n gstreamer-musicbrainz | |
379 | GStreamer musicbrainz plugin - a TRM signature producer. | |
380 | ||
381 | %description -n gstreamer-musicbrainz -l pl.UTF-8 | |
382 | Wtyczka musicbrainz do GStreamera, tworząca sygnatury TRM. | |
383 | ||
384 | %package -n gstreamer-neon | |
385 | Summary: GStreamer neon HTTP source plugin | |
386 | Summary(pl.UTF-8): Wtyczka źródła HTTP neon do GStreamera | |
387 | Group: Libraries | |
388 | Requires: gstreamer >= %{gst_req_ver} | |
389 | ||
390 | %description -n gstreamer-neon | |
391 | GStreamer neon HTTP source plugin. | |
392 | ||
393 | %description -n gstreamer-neon -l pl.UTF-8 | |
394 | Wtyczka źródła HTTP neon do GStreamera. | |
395 | ||
396 | %package -n gstreamer-ofa | |
397 | Summary: GStreamer OFA fingerprint plugin | |
398 | Summary(pl.UTF-8): Wtyczka odcisków OFA do GStreamera | |
399 | Group: Libraries | |
400 | Requires: gstreamer >= %{gst_req_ver} | |
401 | Requires: libofa >= 0.9.3 | |
402 | ||
403 | %description -n gstreamer-ofa | |
404 | GStreamer OFA plugin to calculate MusicIP fingerprints from audio | |
405 | files. | |
406 | ||
407 | %description -n gstreamer-ofa -l pl.UTF-8 | |
408 | Wtyczka OFA do GStreamera służąca do obliczania odcisków MusicIP | |
409 | plików dźwiękowych. | |
410 | ||
411 | %package -n gstreamer-oss4 | |
412 | Summary: GStreamer OSS 4 audio sink, source and mixer plugin | |
413 | Summary(pl.UTF-8): Wtyczka wyjścia, wejścia i miksera dźwięku OSS 4 do GStreamera | |
414 | Group: Libraries | |
415 | # for locales (when added to POTFILES) | |
416 | #Requires: %{name} = %{version}-%{release} | |
417 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
418 | Provides: gstreamer-audiosink = %{version} | |
419 | ||
420 | %description -n gstreamer-oss4 | |
421 | GStreamer OSS (Open Sound System) 4 audio input/output/mixer plugin. | |
422 | ||
423 | %description -n gstreamer-oss4 -l pl.UTF-8 | |
424 | Wtyczka wejścia/wyjścia/miksera dźwięku OSS (Open Sound System) 4 do | |
425 | GStreamera. | |
426 | ||
427 | %package -n gstreamer-resindvd | |
428 | Summary: GStreamer Resin DVD playback plugin | |
429 | Summary(pl.UTF-8): Wtyczka odtwarzania Resin DVD do GStreamera | |
430 | Group: Libraries | |
431 | Requires: gstreamer >= %{gst_req_ver} | |
432 | ||
433 | %description -n gstreamer-resindvd | |
434 | GStreamer Resin DVD playback plugin. | |
435 | ||
436 | %description -n gstreamer-resindvd -l pl.UTF-8 | |
437 | Wtyczka odtwarzania Resin DVD do GStreamera. | |
438 | ||
439 | %package -n gstreamer-soundtouch | |
440 | Summary: GStreamer soundtouch plugin | |
441 | Summary(pl.UTF-8): Wtyczka soundtouch do GStreamera | |
442 | Group: Libraries | |
443 | Requires: gstreamer >= %{gst_req_ver} | |
444 | ||
445 | %description -n gstreamer-soundtouch | |
446 | GStreamer soundtouch source plugin - audio pitch controller. | |
447 | ||
448 | %description -n gstreamer-soundtouch -l pl.UTF-8 | |
449 | Wtyczka soundtouch do GStreamera, sterująca wysokością dźwięku. | |
450 | ||
451 | %package -n gstreamer-sndfile | |
452 | Summary: GStreamer sndfile plugin | |
453 | Summary(pl.UTF-8): Wtyczka sndfile do GStreamera | |
454 | Group: Libraries | |
455 | # for locales | |
456 | Requires: %{name} = %{version}-%{release} | |
457 | Requires: gstreamer >= %{gst_req_ver} | |
458 | ||
459 | %description -n gstreamer-sndfile | |
460 | GStreamer sndfile source plugin. | |
461 | ||
462 | %description -n gstreamer-sndfile -l pl.UTF-8 | |
463 | Wtyczka sndfile do GStreamera. | |
464 | ||
465 | %package -n gstreamer-spc | |
466 | Summary: GStreamer SPC plugin | |
467 | Summary(pl.UTF-8): Wtyczka SPC dla GStreamera | |
468 | Group: Libraries | |
469 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
470 | Requires: libopenspc >= 0.3.99 | |
471 | ||
472 | %description -n gstreamer-spc | |
473 | GStreamer Plugin for playing SPC files using OpenSPC library. | |
474 | ||
475 | %description -n gstreamer-spc -l pl.UTF-8 | |
476 | Wtyczka GStreamera odtwarzająca pliki SPC przy użyciu biblioteki | |
477 | OpenSPC. | |
478 | ||
479 | %package -n gstreamer-swfdec | |
480 | Summary: GStreamer Flash redering plugin | |
481 | Summary(pl.UTF-8): Wtyczka renderująca animacje flash dla GStreamera | |
482 | Group: Libraries | |
483 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
484 | Requires: swfdec >= 0.3.6 | |
485 | ||
486 | %description -n gstreamer-swfdec | |
487 | Plugin for rendering Flash animations using swfdec library. | |
488 | ||
489 | %description -n gstreamer-swfdec -l pl.UTF-8 | |
490 | Wtyczka renderująca animacje flash w oparciu o bibliotekę swfdec. | |
491 | ||
492 | %package -n gstreamer-timidity | |
493 | Summary: timidity plugin for GStreamer | |
494 | Summary(pl.UTF-8): Wtyczka timidity do GStreamera | |
495 | Group: Libraries | |
496 | Requires: gstreamer >= %{gst_req_ver} | |
497 | ||
498 | %description -n gstreamer-timidity | |
499 | timidity plugin for GStreamer. | |
500 | ||
501 | %description -n gstreamer-timidity -l pl.UTF-8 | |
502 | Wtyczka timidity do GStreamera. | |
503 | ||
504 | %package -n gstreamer-videosink-sdl | |
505 | Summary: GStreamer plugin for outputing to SDL | |
506 | Summary(pl.UTF-8): Wtyczka wyjścia SDL do GStreamera | |
507 | Group: Libraries | |
508 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
509 | Provides: gstreamer-videosink = %{version} | |
510 | Obsoletes: gstreamer-SDL | |
511 | ||
512 | %description -n gstreamer-videosink-sdl | |
513 | Plugin for sending output to the Simple Direct Media architecture. | |
514 | (http://www.libsdl.org/). Usefull for fullscreen playback. | |
515 | ||
516 | %description -n gstreamer-videosink-sdl -l pl.UTF-8 | |
517 | Wtyczka przekazująca wyjście do architektury SDL. Użyteczna do | |
518 | odtwarzania na pełnym ekranie. | |
519 | ||
520 | %package -n gstreamer-videosink-directfb | |
521 | Summary: GStreamer DirectFB output plugin | |
522 | Summary(pl.UTF-8): Wtyczka wyjścia obrazu DirectFB do GStreamera | |
523 | Group: Libraries | |
524 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
525 | Provides: gstreamer-videosink = %{version} | |
526 | ||
527 | %description -n gstreamer-videosink-directfb | |
528 | GStreamer DirectFB output plugin. | |
529 | ||
530 | %description -n gstreamer-videosink-directfb -l pl.UTF-8 | |
531 | Wtyczka wyjścia obrazu DirectFB do GStreamera. | |
532 | ||
533 | %package -n gstreamer-wildmidi | |
534 | Summary: wildmidi plugin for GStreamer | |
535 | Summary(pl.UTF-8): Wtyczka wildmidi do GStreamera | |
536 | Group: Libraries | |
537 | Requires: gstreamer >= %{gst_req_ver} | |
538 | ||
539 | %description -n gstreamer-wildmidi | |
540 | wildmidi plugin for GStreamer. | |
541 | ||
542 | %description -n gstreamer-wildmidi -l pl.UTF-8 | |
543 | Wtyczka wildmidi do GStreamera. | |
544 | ||
545 | %package -n gstreamer-xvid | |
546 | Summary: GStreamer xvid decoder plugin | |
547 | Summary(pl.UTF-8): Wtyczka do GStreamera dekodująca przy użyciu biblioteki xvid | |
548 | Group: Libraries | |
549 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
550 | ||
551 | %description -n gstreamer-xvid | |
552 | GStreamer xvid decoder plugin. | |
553 | ||
554 | %description -n gstreamer-xvid -l pl.UTF-8 | |
555 | Wtyczka do GStreamera dekodująca przy użyciu biblioteki xvid. | |
556 | ||
557 | %package -n gstreamer-x264 | |
558 | Summary: GStreamer x264 decoder plugin | |
559 | Summary(pl.UTF-8): Wtyczka do GStreamera dekodująca przy użyciu biblioteki x264 | |
560 | Group: Libraries | |
561 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
562 | ||
563 | %description -n gstreamer-x264 | |
564 | GStreamer x264 decoder plugin. | |
565 | ||
566 | %description -n gstreamer-x264 -l pl.UTF-8 | |
567 | Wtyczka do GStreamera dekodująca przy użyciu biblioteki x264. | |
568 | ||
569 | %prep | |
570 | %setup -q -n %{gstname}-%{version} | |
571 | %patch0 -p1 | |
572 | %patch1 -p1 | |
573 | %patch2 -p1 | |
574 | %patch3 -p1 | |
575 | %patch4 -p1 | |
576 | %patch5 -p1 | |
577 | ||
578 | %build | |
579 | %{__libtoolize} | |
580 | %{__aclocal} -I m4 -I common/m4 | |
581 | %{__autoconf} | |
582 | %{__autoheader} | |
583 | %{__automake} | |
584 | %configure \ | |
585 | %{!?with_amr:--disable-amrwb} \ | |
586 | %{!?with_cdaudio:--disable-cdaudio} \ | |
587 | %{!?with_divx4linux:--disable-divx} \ | |
588 | %{!?with_dirac:--disable-dirac} \ | |
589 | %{!?with_dts:--disable-dts} \ | |
590 | %{!?with_faad:--disable-faad} \ | |
591 | %{!?with_gsm:--disable-gsm} \ | |
592 | %{!?with_jack:--disable-jack} \ | |
593 | %{!?with_ladspa:--disable-ladspa} \ | |
594 | %{!?with_mms:--disable-libmms} \ | |
595 | %{!?with_mjpegtools:--disable-mpeg2enc} \ | |
596 | %{!?with_musepack:--disable-musepack} \ | |
597 | %{!?with_neon:--disable-neon} \ | |
598 | %{!?with_ofa:--disable-ofa} \ | |
599 | %{!?with_sdl:--disable-sdl} \ | |
600 | %{!?with_sdl:--disable-sdltest} \ | |
601 | %{!?with_spc:--disable-spc} \ | |
602 | %{!?with_swfdec:--disable-swfdec} \ | |
603 | %{!?with_xvid:--disable-xvid} \ | |
604 | --disable-static \ | |
605 | --enable-experimental \ | |
606 | --enable-gtk-doc \ | |
607 | --with-html-dir=%{_gtkdocdir} | |
608 | ||
609 | %{__make} | |
610 | ||
611 | %install | |
612 | rm -rf $RPM_BUILD_ROOT | |
613 | ||
614 | %{__make} install \ | |
615 | DESTDIR=$RPM_BUILD_ROOT | |
616 | ||
617 | # We don't need plugins' *.la files | |
618 | rm -f $RPM_BUILD_ROOT%{gstlibdir}/*.la | |
619 | ||
620 | %find_lang %{gstname}-%{gst_major_ver} | |
621 | ||
622 | %clean | |
623 | rm -rf $RPM_BUILD_ROOT | |
624 | ||
625 | %post -p /sbin/ldconfig | |
626 | %postun -p /sbin/ldconfig | |
627 | ||
628 | %files -f %{gstname}-%{gst_major_ver}.lang | |
629 | %defattr(644,root,root,755) | |
630 | %doc AUTHORS ChangeLog NEWS README RELEASE | |
631 | %attr(755,root,root) %{gstlibdir}/libgstaacparse.so | |
632 | %attr(755,root,root) %{gstlibdir}/libgstaiffparse.so | |
633 | %attr(755,root,root) %{gstlibdir}/libgstamrparse.so | |
634 | %attr(755,root,root) %{gstlibdir}/libgstapexsink.so | |
635 | %attr(755,root,root) %{gstlibdir}/libgstbayer.so | |
636 | %attr(755,root,root) %{gstlibdir}/libgstbz2.so | |
637 | %attr(755,root,root) %{gstlibdir}/libgstcdxaparse.so | |
638 | %attr(755,root,root) %{gstlibdir}/libgstdccp.so | |
639 | %attr(755,root,root) %{gstlibdir}/libgstdeinterlace.so | |
640 | %attr(755,root,root) %{gstlibdir}/libgstdeinterlace2.so | |
641 | # R: gst-plugins-bad locales | |
642 | %attr(755,root,root) %{gstlibdir}/libgstdvb.so | |
643 | %attr(755,root,root) %{gstlibdir}/libgstdvdspu.so | |
644 | %attr(755,root,root) %{gstlibdir}/libgstfbdevsink.so | |
645 | %attr(755,root,root) %{gstlibdir}/libgstfestival.so | |
646 | %attr(755,root,root) %{gstlibdir}/libgstfilter.so | |
647 | %attr(755,root,root) %{gstlibdir}/libgstflv.so | |
648 | %attr(755,root,root) %{gstlibdir}/libgstfreeze.so | |
649 | %attr(755,root,root) %{gstlibdir}/libgsth264parse.so | |
650 | %attr(755,root,root) %{gstlibdir}/libgstjp2k.so | |
651 | %attr(755,root,root) %{gstlibdir}/libgstlegacyresample.so | |
652 | %attr(755,root,root) %{gstlibdir}/libgstmetadata.so | |
653 | %attr(755,root,root) %{gstlibdir}/libgstmodplug.so | |
654 | %attr(755,root,root) %{gstlibdir}/libgstmpeg4videoparse.so | |
655 | %attr(755,root,root) %{gstlibdir}/libgstmpegdemux.so | |
656 | %attr(755,root,root) %{gstlibdir}/libgstmpegtsmux.so | |
657 | %attr(755,root,root) %{gstlibdir}/libgstmpegvideoparse.so | |
658 | %attr(755,root,root) %{gstlibdir}/libgstmve.so | |
659 | %attr(755,root,root) %{gstlibdir}/libgstmxf.so | |
660 | %attr(755,root,root) %{gstlibdir}/libgstnsf.so | |
661 | %attr(755,root,root) %{gstlibdir}/libgstnuvdemux.so | |
662 | %attr(755,root,root) %{gstlibdir}/libgstpcapparse.so | |
663 | %attr(755,root,root) %{gstlibdir}/libgstqtmux.so | |
664 | %attr(755,root,root) %{gstlibdir}/libgstrawparse.so | |
665 | %ifarch %{ix86} %{x8664} | |
666 | %attr(755,root,root) %{gstlibdir}/libgstreal.so | |
667 | %endif | |
668 | %attr(755,root,root) %{gstlibdir}/libgstrfbsrc.so | |
669 | %attr(755,root,root) %{gstlibdir}/libgstrtpmanager.so | |
670 | %attr(755,root,root) %{gstlibdir}/libgstscaletempoplugin.so | |
671 | %attr(755,root,root) %{gstlibdir}/libgstsdpelem.so | |
672 | %attr(755,root,root) %{gstlibdir}/libgstselector.so | |
673 | %attr(755,root,root) %{gstlibdir}/libgststereo.so | |
674 | %attr(755,root,root) %{gstlibdir}/libgstsubenc.so | |
675 | %attr(755,root,root) %{gstlibdir}/libgsttta.so | |
676 | %attr(755,root,root) %{gstlibdir}/libgsttwolame.so | |
677 | %attr(755,root,root) %{gstlibdir}/libgstvcdsrc.so | |
678 | %attr(755,root,root) %{gstlibdir}/libgstvideosignal.so | |
679 | %attr(755,root,root) %{gstlibdir}/libgstvmnc.so | |
680 | %attr(755,root,root) %{gstlibdir}/libgsty4menc.so | |
681 | %{_gtkdocdir}/gst-plugins-bad-plugins-* | |
682 | ||
683 | ## | |
684 | ## Plugins | |
685 | ## | |
686 | ||
687 | %if %{with faad} | |
688 | %files -n gstreamer-aac | |
689 | %defattr(644,root,root,755) | |
690 | %attr(755,root,root) %{gstlibdir}/libgstfaac.so | |
691 | %attr(755,root,root) %{gstlibdir}/libgstfaad.so | |
692 | %endif | |
693 | ||
694 | %if %{with amr} | |
695 | %files -n gstreamer-amrwb | |
696 | %defattr(644,root,root,755) | |
697 | %attr(755,root,root) %{gstlibdir}/libgstamrwb.so | |
698 | %endif | |
699 | ||
700 | %files -n gstreamer-audio-effects-bad | |
701 | %defattr(644,root,root,755) | |
702 | %attr(755,root,root) %{gstlibdir}/libgstspeed.so | |
703 | ||
704 | %files -n gstreamer-audiosink-alsaspdif | |
705 | %defattr(644,root,root,755) | |
706 | %attr(755,root,root) %{gstlibdir}/libgstalsaspdif.so | |
707 | ||
708 | %files -n gstreamer-audiosink-nas | |
709 | %defattr(644,root,root,755) | |
710 | %attr(755,root,root) %{gstlibdir}/libgstnassink.so | |
711 | ||
712 | %if %{with cdaudio} | |
713 | %files -n gstreamer-cdaudio | |
714 | %defattr(644,root,root,755) | |
715 | %attr(755,root,root) %{gstlibdir}/libgstcdaudio.so | |
716 | %endif | |
717 | ||
718 | %files -n gstreamer-celt | |
719 | %defattr(644,root,root,755) | |
720 | %attr(755,root,root) %{gstlibdir}/libgstcelt.so | |
721 | ||
722 | %files -n gstreamer-dc1394 | |
723 | %defattr(644,root,root,755) | |
724 | %attr(755,root,root) %{gstlibdir}/libgstdc1394.so | |
725 | ||
726 | %if %{with dirac} | |
727 | %files -n gstreamer-dirac | |
728 | %defattr(644,root,root,755) | |
729 | %attr(755,root,root) %{gstlibdir}/libgstdirac.so | |
730 | %endif | |
731 | ||
732 | %if %{with divx4linux} | |
733 | %files -n gstreamer-divx | |
734 | %defattr(644,root,root,755) | |
735 | %attr(755,root,root) %{gstlibdir}/libgstdivxdec.so | |
736 | %attr(755,root,root) %{gstlibdir}/libgstdivxenc.so | |
737 | %endif | |
738 | ||
739 | %if %{with dts} | |
740 | %files -n gstreamer-dts | |
741 | %defattr(644,root,root,755) | |
742 | %attr(755,root,root) %{gstlibdir}/libgstdtsdec.so | |
743 | %endif | |
744 | ||
745 | %if %{with gsm} | |
746 | %files -n gstreamer-gsm | |
747 | %defattr(644,root,root,755) | |
748 | %attr(755,root,root) %{gstlibdir}/libgstgsm.so | |
749 | %endif | |
750 | ||
751 | %if %{with jack} | |
752 | %files -n gstreamer-jack | |
753 | %defattr(644,root,root,755) | |
754 | %attr(755,root,root) %{gstlibdir}/libgstjack.so | |
755 | %endif | |
756 | ||
757 | %if %{with ladspa} | |
758 | %files -n gstreamer-ladspa | |
759 | %defattr(644,root,root,755) | |
760 | %attr(755,root,root) %{gstlibdir}/libgstladspa.so | |
761 | %endif | |
762 | ||
763 | %if %{with mjpegtools} | |
764 | %files -n gstreamer-mjpegtools | |
765 | %defattr(644,root,root,755) | |
766 | %attr(755,root,root) %{gstlibdir}/libgstmpeg2enc.so | |
767 | %endif | |
768 | ||
769 | %if %{with mms} | |
770 | %files -n gstreamer-mms | |
771 | %defattr(644,root,root,755) | |
772 | %attr(755,root,root) %{gstlibdir}/libgstmms.so | |
773 | %endif | |
774 | ||
775 | %if %{with musepack} | |
776 | %files -n gstreamer-musepack | |
777 | %defattr(644,root,root,755) | |
778 | %attr(755,root,root) %{gstlibdir}/libgstmusepack.so | |
779 | %endif | |
780 | ||
781 | %files -n gstreamer-musicbrainz | |
782 | %defattr(644,root,root,755) | |
783 | %attr(755,root,root) %{gstlibdir}/libgsttrm.so | |
784 | ||
785 | %files -n gstreamer-mythtv | |
786 | %defattr(644,root,root,755) | |
787 | %attr(755,root,root) %{gstlibdir}/libgstmythtvsrc.so | |
788 | ||
789 | %if %{with neon} | |
790 | %files -n gstreamer-neon | |
791 | %defattr(644,root,root,755) | |
792 | %attr(755,root,root) %{gstlibdir}/libgstneonhttpsrc.so | |
793 | %endif | |
794 | ||
795 | %if %{with ofa} | |
796 | %files -n gstreamer-ofa | |
797 | %defattr(644,root,root,755) | |
798 | %attr(755,root,root) %{gstlibdir}/libgstofa.so | |
799 | %endif | |
800 | ||
801 | %files -n gstreamer-oss4 | |
802 | %defattr(644,root,root,755) | |
803 | %attr(755,root,root) %{gstlibdir}/libgstoss4audio.so | |
804 | ||
805 | %files -n gstreamer-resindvd | |
806 | %defattr(644,root,root,755) | |
807 | %attr(755,root,root) %{gstlibdir}/libresindvd.so | |
808 | ||
809 | %files -n gstreamer-soundtouch | |
810 | %defattr(644,root,root,755) | |
811 | %attr(755,root,root) %{gstlibdir}/libgstsoundtouch.so | |
812 | ||
813 | %files -n gstreamer-sndfile | |
814 | %defattr(644,root,root,755) | |
815 | %attr(755,root,root) %{gstlibdir}/libgstsndfile.so | |
816 | ||
817 | %if %{with spc} | |
818 | %files -n gstreamer-spc | |
819 | %defattr(644,root,root,755) | |
820 | %attr(755,root,root) %{gstlibdir}/libgstspc.so | |
821 | %endif | |
822 | ||
823 | %if %{with swfdec} | |
824 | %files -n gstreamer-swfdec | |
825 | %defattr(644,root,root,755) | |
826 | %attr(755,root,root) %{gstlibdir}/libgstswfdec.so | |
827 | %endif | |
828 | ||
829 | %files -n gstreamer-timidity | |
830 | %defattr(644,root,root,755) | |
831 | %attr(755,root,root) %{gstlibdir}/libgsttimidity.so | |
832 | ||
833 | %files -n gstreamer-wildmidi | |
834 | %defattr(644,root,root,755) | |
835 | %attr(755,root,root) %{gstlibdir}/libgstwildmidi.so | |
836 | ||
837 | %if %{with sdl} | |
838 | %files -n gstreamer-videosink-sdl | |
839 | %defattr(644,root,root,755) | |
840 | %attr(755,root,root) %{gstlibdir}/libgstsdl.so | |
841 | %endif | |
842 | ||
843 | %if %{with directfb} | |
844 | %files -n gstreamer-videosink-directfb | |
845 | %defattr(644,root,root,755) | |
846 | %attr(755,root,root) %{gstlibdir}/libgstdfbvideosink.so | |
847 | %endif | |
848 | ||
849 | %if %{with xvid} | |
850 | %files -n gstreamer-xvid | |
851 | %defattr(644,root,root,755) | |
852 | %attr(755,root,root) %{gstlibdir}/libgstxvid.so | |
853 | %endif | |
854 | ||
855 | %files -n gstreamer-x264 | |
856 | %defattr(644,root,root,755) | |
857 | %attr(755,root,root) %{gstlibdir}/libgstx264.so |