]>
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 | |
e9554c69 | 29 | %define gst_req_ver 0.10.13 |
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 |
32fcd46a | 34 | Version: 0.10.5 |
6f489ca4 | 35 | Release: 5 |
8b49609c | 36 | License: LPL |
2fbdaa36 JB |
37 | Group: Libraries |
38 | Source0: http://gstreamer.freedesktop.org/src/gst-plugins-bad/%{gstname}-%{version}.tar.bz2 | |
32fcd46a | 39 | # Source0-md5: 395f3ed705928e77e5620cccf11a8cff |
2fbdaa36 | 40 | Patch0: %{name}-bashish.patch |
58c82848 JB |
41 | Patch1: %{name}-libdts.patch |
42 | Patch2: %{name}-divx4linux.patch | |
43 | Patch3: %{name}-soundtouch.patch | |
32fcd46a | 44 | Patch4: %{name}-link.patch |
0305f206 | 45 | Patch5: %{name}-vcd.patch |
466f1e46 | 46 | Patch6: %{name}-gmyth.patch |
b738f0a0 | 47 | Patch7: %{name}-neon27.patch |
2fbdaa36 | 48 | URL: http://gstreamer.freedesktop.org/ |
c1cb81af | 49 | BuildRequires: autoconf >= 2.59-9 |
2fbdaa36 | 50 | BuildRequires: automake >= 1.6 |
546ec67a | 51 | BuildRequires: glib2-devel >= 1:2.12.0 |
2fbdaa36 JB |
52 | BuildRequires: gstreamer-devel >= %{gst_req_ver} |
53 | BuildRequires: gstreamer-plugins-base-devel >= %{gst_req_ver} | |
546ec67a | 54 | BuildRequires: gtk-doc >= 1.6 |
c1cb81af | 55 | BuildRequires: liboil-devel >= 0.3.6 |
2fbdaa36 JB |
56 | BuildRequires: libtool >= 1.4 |
57 | BuildRequires: pkgconfig >= 1:0.9.0 | |
a34ff6a9 | 58 | BuildRequires: python-PyXML |
2fbdaa36 JB |
59 | BuildRequires: rpmbuild(macros) >= 1.98 |
60 | ## | |
61 | ## plugins | |
62 | ## | |
e4ce896a | 63 | %{?with_directfb:BuildRequires: DirectFB-devel >= 1:0.9.24} |
0c737202 | 64 | BuildRequires: OpenGL-devel |
2fbdaa36 | 65 | %{?with_sdl:BuildRequires: SDL-devel >= 0.11} |
c1cb81af JB |
66 | BuildRequires: alsa-lib-devel >= 0.9.1 |
67 | %{?with_amr:BuildRequires: amrwb-devel} | |
68 | BuildRequires: bzip2-devel | |
0c737202 | 69 | %{?with_divx4linux:BuildRequires: divx4linux-devel >= 1:5.05.20030428} |
2fbdaa36 JB |
70 | BuildRequires: faac-devel |
71 | %{?with_faad:BuildRequires: faad2-devel >= 2.0-2} | |
466f1e46 | 72 | BuildRequires: gmyth-devel >= 0.3 |
c1cb81af JB |
73 | %{?with_jack:BuildRequires: jack-audio-connection-kit-devel >= 0.99.10} |
74 | %{?with_ladspa:BuildRequires: ladspa-devel >= 1.12} | |
75 | %{?with_cdaudio:BuildRequires: libcdaudio-devel} | |
0c737202 | 76 | %{?with_dts:BuildRequires: libdts-devel} |
2fbdaa36 | 77 | %{?with_gsm:BuildRequires: libgsm-devel} |
58c82848 | 78 | %{?with_mms:BuildRequires: libmms-devel >= 0.2} |
2fbdaa36 | 79 | %{?with_musepack:BuildRequires: libmpcdec-devel >= 1.2} |
58c82848 | 80 | BuildRequires: libmusicbrainz-devel >= 2.1.0 |
3a8fb9fb | 81 | %{?with_spc:BuildRequires: libopenspc-devel >= 0.3.99} |
58c82848 JB |
82 | # for modplug and libSoundTouch |
83 | BuildRequires: libstdc++-devel | |
466f1e46 | 84 | BuildRequires: libtimidity-devel |
32fcd46a | 85 | BuildRequires: libx264-devel |
3a8fb9fb | 86 | %{?with_mjpegtools:BuildRequires: mjpegtools-devel < 1.9.0} |
ffd9dcf1 | 87 | %{?with_mjpegtools:BuildRequires: mjpegtools-devel >= 1.8.0-0.2} |
8b49609c | 88 | %{?with_neon:BuildRequires: neon-devel >= 0.26} |
32fcd46a | 89 | BuildRequires: libsndfile-devel |
b738f0a0 | 90 | BuildRequires: nas-devel |
58c82848 | 91 | BuildRequires: soundtouch-devel >= 1.3.1 |
ffd9dcf1 AM |
92 | %if %{with swfdec} |
93 | BuildRequires: swfdec-devel < 0.4.0 | |
94 | BuildRequires: swfdec-devel >= 0.3.6 | |
95 | %endif | |
466f1e46 | 96 | BuildRequires: wildmidi-devel |
c1cb81af | 97 | BuildRequires: xorg-lib-libX11-devel |
0c737202 | 98 | %{?with_xvid:BuildRequires: xvid-devel >= 1.0.0} |
2fbdaa36 | 99 | Requires: gstreamer >= %{gst_req_ver} |
58c82848 | 100 | Requires: gstreamer-plugins-base >= %{gst_req_ver} |
2fbdaa36 | 101 | Obsoletes: gstreamer-quicktime |
3ad2741a | 102 | Obsoletes: gstreamer-vcd |
2fbdaa36 JB |
103 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
104 | ||
105 | %define gstlibdir %{_libdir}/gstreamer-%{gst_major_ver} | |
106 | ||
107 | %description | |
108 | GStreamer is a streaming-media framework, based on graphs of filters | |
109 | which operate on media data. Applications using this library can do | |
110 | anything from real-time sound processing to playing videos, and just | |
111 | about anything else media-related. Its plugin-based architecture means | |
112 | that new data types or processing capabilities can be added simply by | |
113 | installing new plugins. | |
114 | ||
e4fae186 JR |
115 | %description -l pl.UTF-8 |
116 | GStreamer to środowisko obróbki danych strumieniowych, bazujące na | |
117 | grafie filtrów operujących na danych medialnych. Aplikacje używające | |
118 | tej biblioteki mogą robić wszystko od przetwarzania dźwięku w czasie | |
119 | rzeczywistym, do odtwarzania filmów i czegokolwiek innego związego z | |
120 | mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie | |
121 | nowych typów danych lub możliwości obróbki. | |
2fbdaa36 | 122 | |
32fcd46a | 123 | %package devel |
59aa193d JB |
124 | Summary: Header files and API documentation for gstapp library |
125 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja API biblioteki gstapp | |
32fcd46a | 126 | Group: Development/Libraries |
59aa193d | 127 | Requires: %{name} = %{version}-%{release} |
32fcd46a AM |
128 | |
129 | %description devel | |
59aa193d | 130 | Header files and API documentation for gstapp library. |
32fcd46a | 131 | |
59aa193d JB |
132 | %description devel -l pl.UTF-8 |
133 | Pliki nagłówkowe i dokumentacja API biblioteki gstapp. | |
32fcd46a | 134 | |
59aa193d | 135 | ## Plugins ## |
2fbdaa36 JB |
136 | |
137 | %package -n gstreamer-aac | |
138 | Summary: GStreamer plugin for AAC audio encoding and decoding | |
63d1273e | 139 | Summary(pl.UTF-8): Wtyczka do GStreamera do kodowania i dekodowania plików audio AAC |
2fbdaa36 JB |
140 | Group: Libraries |
141 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
142 | ||
143 | %description -n gstreamer-aac | |
144 | GStreamer plugin for AAC audio encoding and decoding. | |
145 | ||
e4fae186 JR |
146 | %description -n gstreamer-aac -l pl.UTF-8 |
147 | Wtyczka do GStreamera do kodowania i dekodowania plików audio AAC. | |
2fbdaa36 | 148 | |
c1cb81af JB |
149 | %package -n gstreamer-amrwb |
150 | Summary: GStreamer plugin for AMR-WB audio encoding and decoding | |
63d1273e | 151 | Summary(pl.UTF-8): Wtyczka GStreamera do kodowania i dekodowania dźwięku w formacie AMR-WB |
c1cb81af JB |
152 | Group: Libraries |
153 | Requires: gstreamer >= %{gst_req_ver} | |
154 | ||
155 | %description -n gstreamer-amrwb | |
156 | GStreamer plugin for AMR-WB audio encoding and decoding. | |
157 | ||
e4fae186 JR |
158 | %description -n gstreamer-amrwb -l pl.UTF-8 |
159 | Wtyczka GStreamera do kodowania i dekodowania dźwięku w formacie | |
c1cb81af JB |
160 | AMR-WB. |
161 | ||
2fbdaa36 JB |
162 | %package -n gstreamer-audio-effects-bad |
163 | Summary: Bad GStreamer audio effects plugins | |
63d1273e | 164 | Summary(pl.UTF-8): Złe wtyczki efektów dźwiękowych do GStreamera |
2fbdaa36 JB |
165 | Group: Libraries |
166 | Requires: gstreamer >= %{gst_req_ver} | |
167 | Obsoletes: gstreamer-audio-effects | |
168 | ||
169 | %description -n gstreamer-audio-effects-bad | |
170 | Bad GStreamer audio effects plugins. | |
171 | ||
e4fae186 JR |
172 | %description -n gstreamer-audio-effects-bad -l pl.UTF-8 |
173 | Złe wtyczki efektów dźwiękowych do GStreamera. | |
2fbdaa36 | 174 | |
c1cb81af JB |
175 | %package -n gstreamer-audiosink-alsaspdif |
176 | Summary: GStreamer ALSA plugin for S/PDIF output | |
63d1273e | 177 | Summary(pl.UTF-8): Wtyczka ALSA GStreamera do wyjścia S/PDIF |
c1cb81af JB |
178 | Group: Libraries |
179 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
342ef0a1 | 180 | Provides: gstreamer-audiosink = %{version} |
c1cb81af JB |
181 | |
182 | %description -n gstreamer-audiosink-alsaspdif | |
183 | GStreamer ALSA plugin for S/PDIF output. | |
184 | ||
e4fae186 JR |
185 | %description -n gstreamer-audiosink-alsaspdif -l pl.UTF-8 |
186 | Wtyczka ALSA GStreamera do wyjścia S/PDIF. | |
c1cb81af | 187 | |
f137ef01 JB |
188 | %package -n gstreamer-audiosink-nas |
189 | Summary: GStreamer NAS audio output plugin | |
190 | Summary(pl.UTF-8): Wtyczka wyjścia dźwięku NAS dla GStreamera | |
191 | Group: Libraries | |
192 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
193 | Provides: gstreamer-audiosink = %{version} | |
194 | ||
195 | %description -n gstreamer-audiosink-nas | |
196 | GStreamer NAS audio output plugin. | |
197 | ||
198 | %description -n gstreamer-audiosink-nas -l pl.UTF-8 | |
199 | Wtyczka wyjścia dźwięku NAS dla GStreamera. | |
200 | ||
c1cb81af JB |
201 | %package -n gstreamer-cdaudio |
202 | Summary: GStreamer plugin for CD audio input using libcdaudio | |
63d1273e | 203 | Summary(pl.UTF-8): Wtyczka do GStreamera odtwarzająca płyty CD-Audio przy użyciu libcdaudio |
c1cb81af JB |
204 | Group: Libraries |
205 | Requires: gstreamer >= %{gst_req_ver} | |
206 | ||
207 | %description -n gstreamer-cdaudio | |
208 | Plugin for playing audio tracks using libcdaudio under GStreamer. | |
209 | ||
e4fae186 JR |
210 | %description -n gstreamer-cdaudio -l pl.UTF-8 |
211 | Wtyczka do odtwarzania ścieżek dźwiękowych pod GStreamerem za pomocą | |
c1cb81af JB |
212 | libcdaudio. |
213 | ||
0c737202 JB |
214 | %package -n gstreamer-divx |
215 | Summary: GStreamer divx plugin | |
63d1273e | 216 | Summary(pl.UTF-8): Wtyczka divx do GStreamera |
0c737202 JB |
217 | Group: Libraries |
218 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
219 | ||
220 | %description -n gstreamer-divx | |
221 | GStreamer divx plugin. | |
222 | ||
e4fae186 | 223 | %description -n gstreamer-divx -l pl.UTF-8 |
0c737202 JB |
224 | Wtyczka divx do GStreamera. |
225 | ||
226 | %package -n gstreamer-dts | |
227 | Summary: GStreamer DTS plugin | |
63d1273e | 228 | Summary(pl.UTF-8): Wtyczka DTS do GStreamera |
0c737202 JB |
229 | Group: Libraries |
230 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
231 | ||
232 | %description -n gstreamer-dts | |
233 | Plugin for DTS Coherent Acoustics support. | |
234 | ||
e4fae186 JR |
235 | %description -n gstreamer-dts -l pl.UTF-8 |
236 | Wtyczka do GStreamera obsługująca DTS Coherent Acoustics. | |
0c737202 | 237 | |
2fbdaa36 JB |
238 | %package -n gstreamer-gsm |
239 | Summary: GStreamer plugin for GSM lossy audio format | |
63d1273e | 240 | Summary(pl.UTF-8): Wtyczka do GStreamera obsługująca stratny format dźwięku GSM |
2fbdaa36 JB |
241 | Group: Libraries |
242 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
243 | ||
244 | %description -n gstreamer-gsm | |
245 | Output plugin for GStreamer to convert to GSM lossy audio format. | |
246 | ||
e4fae186 JR |
247 | %description -n gstreamer-gsm -l pl.UTF-8 |
248 | Wtyczka wyjścia dźwięku GSteamera konwertująca do stratnego formatu | |
2fbdaa36 JB |
249 | GSM. |
250 | ||
0c737202 JB |
251 | %package -n gstreamer-imagesink-gl |
252 | Summary: GStreamer plugin for outputing to OpenGL | |
63d1273e | 253 | Summary(pl.UTF-8): Wtyczka wyjścia OpenGL do GStreamera |
0c737202 JB |
254 | Group: Libraries |
255 | Requires: gstreamer >= %{gst_req_ver} | |
256 | Provides: gstreamer-imagesink = %{version} | |
257 | ||
258 | %description -n gstreamer-imagesink-gl | |
259 | GStreamer plugin for outputing to OpenGL. | |
260 | ||
e4fae186 JR |
261 | %description -n gstreamer-imagesink-gl -l pl.UTF-8 |
262 | Wtyczka wyjścia OpenGL do GStreamera. | |
0c737202 | 263 | |
c1cb81af JB |
264 | %package -n gstreamer-jack |
265 | Summary: GStreamer plugin for the JACK Sound Server | |
63d1273e | 266 | Summary(pl.UTF-8): Wtyczka serwera dźwięku JACK dla GStreamera |
c1cb81af | 267 | Group: Libraries |
73399bb9 | 268 | Requires: gstreamer-plugins-base >= %{gst_req_ver} |
c1cb81af JB |
269 | Provides: gstreamer-audiosink = %{version} |
270 | ||
271 | %description -n gstreamer-jack | |
272 | Plugin for the JACK professional sound server. | |
273 | ||
e4fae186 JR |
274 | %description -n gstreamer-jack -l pl.UTF-8 |
275 | Wtyczka dla profesjonalnego serwera dźwięku JACK. | |
c1cb81af JB |
276 | |
277 | %package -n gstreamer-ladspa | |
278 | Summary: GStreamer wrapper for LADSPA plugins | |
63d1273e | 279 | Summary(pl.UTF-8): Wrapper do wtyczek LADSPA dla GStreamera |
c1cb81af | 280 | Group: Libraries |
73399bb9 | 281 | Requires: gstreamer-plugins-base >= %{gst_req_ver} |
c1cb81af JB |
282 | |
283 | %description -n gstreamer-ladspa | |
284 | Plugin which wraps LADSPA plugins for use by GStreamer applications. | |
285 | ||
e4fae186 JR |
286 | %description -n gstreamer-ladspa -l pl.UTF-8 |
287 | Wtyczka pozwalająca na używanie wtyczek LADSPA przez aplikacje | |
c1cb81af JB |
288 | GStreamera. |
289 | ||
3a8fb9fb JB |
290 | %package -n gstreamer-mjpegtools |
291 | Summary: GStreamer mpeg2enc plugin | |
63d1273e | 292 | Summary(pl.UTF-8): Wtyczka mpeg2enc do GStreamera |
1a2f531c | 293 | Group: Libraries |
3a8fb9fb JB |
294 | |
295 | %description -n gstreamer-mjpegtools | |
296 | GStreamer mpeg2enc plugin (based on mjpegtools libraries). | |
297 | ||
e4fae186 | 298 | %description -n gstreamer-mjpegtools -l pl.UTF-8 |
3a8fb9fb JB |
299 | Wtyczka mpeg2enc do GStreamera (oparta na bibliotekach mjpegtools). |
300 | ||
2fbdaa36 JB |
301 | %package -n gstreamer-mms |
302 | Summary: GStreamer mms plugin | |
63d1273e | 303 | Summary(pl.UTF-8): Wtyczka mms do GStreamera |
2fbdaa36 JB |
304 | Group: Libraries |
305 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
306 | ||
307 | %description -n gstreamer-mms | |
308 | GStreamer mms plugin. | |
309 | ||
e4fae186 | 310 | %description -n gstreamer-mms -l pl.UTF-8 |
2fbdaa36 JB |
311 | Wtyczka mms do GStreamera. |
312 | ||
313 | %package -n gstreamer-musepack | |
314 | Summary: GStreamer musepack plugin | |
63d1273e | 315 | Summary(pl.UTF-8): Wtyczka musepack do GStreamera |
2fbdaa36 JB |
316 | Group: Libraries |
317 | Requires: gstreamer >= %{gst_req_ver} | |
318 | ||
319 | %description -n gstreamer-musepack | |
320 | GStreamer musepack plugin. | |
321 | ||
e4fae186 | 322 | %description -n gstreamer-musepack -l pl.UTF-8 |
2fbdaa36 JB |
323 | Wtyczka musepack do GStreamera. |
324 | ||
466f1e46 JB |
325 | %package -n gstreamer-mythtv |
326 | Summary: GStreamer MythTV plugin | |
327 | Summary(pl.UTF-8): Wtyczka MythTV do GStreamera | |
328 | Group: Libraries | |
329 | Requires: gstreamer >= %{gst_req_ver} | |
330 | ||
331 | %description -n gstreamer-mythtv | |
332 | GStreamer MythTV plugin. | |
333 | ||
334 | %description -n gstreamer-mythtv -l pl.UTF-8 | |
335 | Wtyczka MythTV do GStreamera. | |
336 | ||
58c82848 JB |
337 | %package -n gstreamer-musicbrainz |
338 | Summary: GStreamer musicbrainz plugin | |
63d1273e | 339 | Summary(pl.UTF-8): Wtyczka musicbrainz do GStreamera |
58c82848 JB |
340 | Group: Libraries |
341 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
342 | ||
343 | %description -n gstreamer-musicbrainz | |
344 | GStreamer musicbrainz plugin - a TRM signature producer. | |
345 | ||
e4fae186 JR |
346 | %description -n gstreamer-musicbrainz -l pl.UTF-8 |
347 | Wtyczka musicbrainz do GStreamera, tworząca sygnatury TRM. | |
58c82848 | 348 | |
0c737202 JB |
349 | %package -n gstreamer-neon |
350 | Summary: GStreamer neon HTTP source plugin | |
63d1273e | 351 | Summary(pl.UTF-8): Wtyczka źródła HTTP neon do GStreamera |
0c737202 JB |
352 | Group: Libraries |
353 | Requires: gstreamer >= %{gst_req_ver} | |
354 | ||
355 | %description -n gstreamer-neon | |
356 | GStreamer neon HTTP source plugin. | |
357 | ||
e4fae186 JR |
358 | %description -n gstreamer-neon -l pl.UTF-8 |
359 | Wtyczka źródła HTTP neon do GStreamera. | |
0c737202 | 360 | |
58c82848 JB |
361 | %package -n gstreamer-soundtouch |
362 | Summary: GStreamer soundtouch plugin | |
63d1273e | 363 | Summary(pl.UTF-8): Wtyczka soundtouch do GStreamera |
58c82848 JB |
364 | Group: Libraries |
365 | Requires: gstreamer >= %{gst_req_ver} | |
366 | ||
367 | %description -n gstreamer-soundtouch | |
368 | GStreamer soundtouch source plugin - audio pitch controller. | |
369 | ||
e4fae186 JR |
370 | %description -n gstreamer-soundtouch -l pl.UTF-8 |
371 | Wtyczka soundtouch do GStreamera, sterująca wysokością dźwięku. | |
58c82848 | 372 | |
32fcd46a AM |
373 | %package -n gstreamer-sndfile |
374 | Summary: GStreamer sndfile plugin | |
375 | Summary(pl.UTF-8): Wtyczka sndfile do GStreamera | |
376 | Group: Libraries | |
377 | Requires: gstreamer >= %{gst_req_ver} | |
378 | ||
379 | %description -n gstreamer-sndfile | |
380 | GStreamer sndfile source plugin. | |
381 | ||
382 | %description -n gstreamer-sndfile -l pl.UTF-8 | |
383 | Wtyczka sndfile do GStreamera. | |
384 | ||
3a8fb9fb JB |
385 | %package -n gstreamer-spc |
386 | Summary: GStreamer SPC plugin | |
63d1273e | 387 | Summary(pl.UTF-8): Wtyczka SPC dla GStreamera |
3a8fb9fb JB |
388 | Group: Libraries |
389 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
390 | Requires: libopenspc >= 0.3.99 | |
391 | ||
392 | %description -n gstreamer-spc | |
393 | GStreamer Plugin for playing SPC files using OpenSPC library. | |
394 | ||
e4fae186 JR |
395 | %description -n gstreamer-spc -l pl.UTF-8 |
396 | Wtyczka GStreamera odtwarzająca pliki SPC przy użyciu biblioteki | |
3a8fb9fb JB |
397 | OpenSPC. |
398 | ||
0c737202 JB |
399 | %package -n gstreamer-swfdec |
400 | Summary: GStreamer Flash redering plugin | |
63d1273e | 401 | Summary(pl.UTF-8): Wtyczka renderująca animacje flash dla GStreamera |
0c737202 JB |
402 | Group: Libraries |
403 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
404 | Requires: swfdec >= 0.3.6 | |
405 | ||
406 | %description -n gstreamer-swfdec | |
407 | Plugin for rendering Flash animations using swfdec library. | |
408 | ||
e4fae186 JR |
409 | %description -n gstreamer-swfdec -l pl.UTF-8 |
410 | Wtyczka renderująca animacje flash w oparciu o bibliotekę swfdec. | |
0c737202 | 411 | |
466f1e46 JB |
412 | %package -n gstreamer-timidity |
413 | Summary: timidity plugin for GStreamer | |
414 | Summary(pl.UTF-8): Wtyczka timidity do GStreamera | |
415 | Group: Libraries | |
416 | Requires: gstreamer >= %{gst_req_ver} | |
417 | ||
418 | %description -n gstreamer-timidity | |
419 | timidity plugin for GStreamer. | |
420 | ||
421 | %description -n gstreamer-timidity -l pl.UTF-8 | |
422 | Wtyczka timidity do GStreamera. | |
423 | ||
2fbdaa36 JB |
424 | %package -n gstreamer-videosink-sdl |
425 | Summary: GStreamer plugin for outputing to SDL | |
63d1273e | 426 | Summary(pl.UTF-8): Wtyczka wyjścia SDL do GStreamera |
2fbdaa36 JB |
427 | Group: Libraries |
428 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
429 | Provides: gstreamer-videosink = %{version} | |
430 | Obsoletes: gstreamer-SDL | |
431 | ||
432 | %description -n gstreamer-videosink-sdl | |
433 | Plugin for sending output to the Simple Direct Media architecture. | |
434 | (http://www.libsdl.org/). Usefull for fullscreen playback. | |
435 | ||
e4fae186 JR |
436 | %description -n gstreamer-videosink-sdl -l pl.UTF-8 |
437 | Wtyczka przekazująca wyjście do architektury SDL. Użyteczna do | |
438 | odtwarzania na pełnym ekranie. | |
2fbdaa36 JB |
439 | |
440 | %package -n gstreamer-videosink-directfb | |
441 | Summary: GStreamer DirectFB output plugin | |
63d1273e | 442 | Summary(pl.UTF-8): Wtyczka wyjścia obrazu DirectFB do GStreamera |
2fbdaa36 JB |
443 | Group: Libraries |
444 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
445 | Provides: gstreamer-videosink = %{version} | |
446 | ||
447 | %description -n gstreamer-videosink-directfb | |
448 | GStreamer DirectFB output plugin. | |
449 | ||
e4fae186 JR |
450 | %description -n gstreamer-videosink-directfb -l pl.UTF-8 |
451 | Wtyczka wyjścia obrazu DirectFB do GStreamera. | |
2fbdaa36 | 452 | |
466f1e46 JB |
453 | %package -n gstreamer-wildmidi |
454 | Summary: wildmidi plugin for GStreamer | |
455 | Summary(pl.UTF-8): Wtyczka wildmidi do GStreamera | |
456 | Group: Libraries | |
457 | Requires: gstreamer >= %{gst_req_ver} | |
458 | ||
459 | %description -n gstreamer-wildmidi | |
460 | wildmidi plugin for GStreamer. | |
461 | ||
462 | %description -n gstreamer-wildmidi -l pl.UTF-8 | |
463 | Wtyczka wildmidi do GStreamera. | |
464 | ||
0c737202 JB |
465 | %package -n gstreamer-xvid |
466 | Summary: GStreamer xvid decoder plugin | |
63d1273e | 467 | Summary(pl.UTF-8): Wtyczka do GStreamera dekodująca przy użyciu biblioteki xvid |
0c737202 JB |
468 | Group: Libraries |
469 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
470 | ||
471 | %description -n gstreamer-xvid | |
472 | GStreamer xvid decoder plugin. | |
473 | ||
e4fae186 JR |
474 | %description -n gstreamer-xvid -l pl.UTF-8 |
475 | Wtyczka do GStreamera dekodująca przy użyciu biblioteki xvid. | |
0c737202 | 476 | |
32fcd46a AM |
477 | %package -n gstreamer-x264 |
478 | Summary: GStreamer x264 decoder plugin | |
479 | Summary(pl.UTF-8): Wtyczka do GStreamera dekodująca przy użyciu biblioteki x264 | |
480 | Group: Libraries | |
481 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
482 | ||
483 | %description -n gstreamer-x264 | |
484 | GStreamer x264 decoder plugin. | |
485 | ||
486 | %description -n gstreamer-x264 -l pl.UTF-8 | |
487 | Wtyczka do GStreamera dekodująca przy użyciu biblioteki x264. | |
488 | ||
2fbdaa36 JB |
489 | %prep |
490 | %setup -q -n %{gstname}-%{version} | |
491 | %patch0 -p1 | |
0c737202 JB |
492 | %patch1 -p1 |
493 | %patch2 -p1 | |
58c82848 | 494 | %patch3 -p1 |
8b49609c | 495 | %patch4 -p1 |
0305f206 | 496 | %patch5 -p1 |
466f1e46 | 497 | %patch6 -p1 |
b738f0a0 | 498 | %patch7 -p1 |
2fbdaa36 JB |
499 | |
500 | %build | |
501 | %{__libtoolize} | |
502 | %{__aclocal} -I m4 -I common/m4 | |
503 | %{__autoconf} | |
504 | %{__autoheader} | |
505 | %{__automake} | |
506 | %configure \ | |
0305f206 | 507 | %{!?with_amr:--disable-amrwb} \ |
c1cb81af | 508 | %{!?with_cdaudio:--disable-cdaudio} \ |
0c737202 JB |
509 | %{!?with_divx4linux:--disable-divx} \ |
510 | %{!?with_dts:--disable-dts} \ | |
2fbdaa36 JB |
511 | %{!?with_faad:--disable-faad} \ |
512 | %{!?with_gsm:--disable-gsm} \ | |
c1cb81af JB |
513 | %{!?with_jack:--disable-jack} \ |
514 | %{!?with_ladspa:--disable-ladspa} \ | |
2fbdaa36 | 515 | %{!?with_mms:--disable-libmms} \ |
3a8fb9fb | 516 | %{!?with_mjpegtools:--disable-mpeg2enc} \ |
2fbdaa36 | 517 | %{!?with_musepack:--disable-musepack} \ |
0c737202 | 518 | %{!?with_neon:--disable-neon} \ |
2fbdaa36 JB |
519 | %{!?with_sdl:--disable-sdl} \ |
520 | %{!?with_sdl:--disable-sdltest} \ | |
3a8fb9fb | 521 | %{!?with_spc:--disable-spc} \ |
0c737202 | 522 | %{!?with_swfdec:--disable-swfdec} \ |
0c737202 | 523 | %{!?with_xvid:--disable-xvid} \ |
2fbdaa36 JB |
524 | --disable-static \ |
525 | --enable-gtk-doc \ | |
526 | --with-html-dir=%{_gtkdocdir} | |
527 | ||
528 | %{__make} | |
529 | ||
530 | %install | |
531 | rm -rf $RPM_BUILD_ROOT | |
532 | ||
533 | %{__make} install \ | |
534 | DESTDIR=$RPM_BUILD_ROOT | |
535 | ||
536 | # We don't need plugins' *.la files | |
537 | rm -f $RPM_BUILD_ROOT%{gstlibdir}/*.la | |
538 | ||
58c82848 JB |
539 | %find_lang %{gstname}-%{gst_major_ver} |
540 | ||
2fbdaa36 JB |
541 | %clean |
542 | rm -rf $RPM_BUILD_ROOT | |
543 | ||
f137ef01 JB |
544 | %post -p /sbin/ldconfig |
545 | %postun -p /sbin/ldconfig | |
32fcd46a | 546 | |
58c82848 | 547 | %files -f %{gstname}-%{gst_major_ver}.lang |
2fbdaa36 JB |
548 | %defattr(644,root,root,755) |
549 | %doc AUTHORS ChangeLog NEWS README RELEASE | |
59aa193d | 550 | %attr(755,root,root) %{_libdir}/libgstapp-*.so.*.*.* |
f137ef01 | 551 | %attr(755,root,root) %ghost %{_libdir}/libgstapp-*.so.0 |
0305f206 | 552 | # R: libgstapp-* |
32fcd46a AM |
553 | %attr(755,root,root) %{gstlibdir}/libgstapp.so |
554 | %attr(755,root,root) %{gstlibdir}/libgstbayer.so | |
0c737202 JB |
555 | %attr(755,root,root) %{gstlibdir}/libgstbz2.so |
556 | %attr(755,root,root) %{gstlibdir}/libgstcdxaparse.so | |
c1cb81af | 557 | %attr(755,root,root) %{gstlibdir}/libgstdeinterlace.so |
0305f206 | 558 | # R: gst-plugins-bad locales |
c1cb81af | 559 | %attr(755,root,root) %{gstlibdir}/libgstdvbsrc.so |
32fcd46a | 560 | %attr(755,root,root) %{gstlibdir}/libgstequalizer.so |
c1cb81af | 561 | %attr(755,root,root) %{gstlibdir}/libgstfilter.so |
0c737202 | 562 | %attr(755,root,root) %{gstlibdir}/libgstfreeze.so |
c1cb81af | 563 | %attr(755,root,root) %{gstlibdir}/libgsth264parse.so |
32fcd46a | 564 | %attr(755,root,root) %{gstlibdir}/libgstinterleave.so |
58c82848 | 565 | %attr(755,root,root) %{gstlibdir}/libgstmodplug.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}/libgstmultifile.so |
569 | %attr(755,root,root) %{gstlibdir}/libgstnsf.so | |
570 | %attr(755,root,root) %{gstlibdir}/libgstnuvdemux.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 |
c1cb81af | 577 | %attr(755,root,root) %{gstlibdir}/libgstspectrum.so |
32fcd46a | 578 | %attr(755,root,root) %{gstlibdir}/libgstswitch.so |
2fbdaa36 | 579 | %attr(755,root,root) %{gstlibdir}/libgsttta.so |
0305f206 | 580 | %attr(755,root,root) %{gstlibdir}/libgstvcdsrc.so |
c1cb81af | 581 | %attr(755,root,root) %{gstlibdir}/libgstvideoparse.so |
32fcd46a AM |
582 | %attr(755,root,root) %{gstlibdir}/libgstvideosignal.so |
583 | %attr(755,root,root) %{gstlibdir}/libgstvmnc.so | |
58c82848 | 584 | %attr(755,root,root) %{gstlibdir}/libgstxingheader.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 | ||
0c737202 JB |
629 | %if %{with divx4linux} |
630 | %files -n gstreamer-divx | |
631 | %defattr(644,root,root,755) | |
632 | %attr(755,root,root) %{gstlibdir}/libgstdivxdec.so | |
633 | %attr(755,root,root) %{gstlibdir}/libgstdivxenc.so | |
634 | %endif | |
635 | ||
636 | %if %{with dts} | |
637 | %files -n gstreamer-dts | |
638 | %defattr(644,root,root,755) | |
639 | %attr(755,root,root) %{gstlibdir}/libgstdtsdec.so | |
640 | %endif | |
641 | ||
2fbdaa36 JB |
642 | %if %{with gsm} |
643 | %files -n gstreamer-gsm | |
644 | %defattr(644,root,root,755) | |
645 | %attr(755,root,root) %{gstlibdir}/libgstgsm.so | |
646 | %endif | |
647 | ||
0c737202 JB |
648 | %files -n gstreamer-imagesink-gl |
649 | %defattr(644,root,root,755) | |
650 | %attr(755,root,root) %{gstlibdir}/libgstglimagesink.so | |
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) |
58c82848 | 698 | %attr(755,root,root) %{gstlibdir}/libgstpitch.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 |