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