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