]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # TODO: | |
3 | # Cairo plugin has not been ported yet. Temporarily disabled. | |
4 | # | |
5 | # Conditional build: | |
6 | %bcond_without apidocs # disable gtk-doc | |
7 | %bcond_without aalib # aa videosink plugin | |
8 | %bcond_without caca # caca videosink plugin | |
9 | %bcond_with cairo # cairo plugin [not ported yet - as of 1.0.0] | |
10 | %bcond_without jack # JACK audio plugin | |
11 | %bcond_without soup # libsoup 2.4 http source plugin | |
12 | %bcond_without speex # speex plugin | |
13 | %bcond_without wavpack # wavpack plugin | |
14 | ||
15 | %define gstname gst-plugins-good | |
16 | %define major_ver 1.0 | |
17 | %define gst_req_ver 1.0.0 | |
18 | %define gstpb_req_ver 1.0.0 | |
19 | ||
20 | %include /usr/lib/rpm/macros.gstreamer | |
21 | Summary: Good GStreamer Streaming-media framework plugins | |
22 | Summary(pl.UTF-8): Dobre wtyczki do środowiska obróbki strumieni GStreamer | |
23 | Name: gstreamer-plugins-good | |
24 | Version: 1.0.0 | |
25 | Release: 1 | |
26 | License: LGPL v2+ | |
27 | Group: Libraries | |
28 | Source0: http://gstreamer.freedesktop.org/src/gst-plugins-good/%{gstname}-%{version}.tar.xz | |
29 | # Source0-md5: f711832cd8a9b033eb424fabe89ca9d1 | |
30 | URL: http://gstreamer.freedesktop.org/ | |
31 | BuildRequires: autoconf >= 2.62 | |
32 | BuildRequires: automake >= 1:1.11 | |
33 | BuildRequires: docbook-dtd412-xml | |
34 | BuildRequires: gdk-pixbuf2-devel >= 2.8.0 | |
35 | BuildRequires: gettext-devel >= 0.17 | |
36 | BuildRequires: glib2-devel >= 1:2.32 | |
37 | BuildRequires: gstreamer-devel >= %{gst_req_ver} | |
38 | BuildRequires: gstreamer-plugins-base-devel >= %{gstpb_req_ver} | |
39 | BuildRequires: gtk+3-devel >= 3.0.0 | |
40 | %{?with_apidocs:BuildRequires: gtk-doc >= 1.12} | |
41 | BuildRequires: libtool >= 1.4 | |
42 | BuildRequires: orc-devel >= 0.4.16 | |
43 | BuildRequires: pkgconfig >= 1:0.9.0 | |
44 | BuildRequires: python >= 2.1 | |
45 | BuildRequires: rpmbuild(macros) >= 1.198 | |
46 | BuildRequires: tar >= 1:1.22 | |
47 | BuildRequires: xz | |
48 | ## | |
49 | ## plugins | |
50 | ## | |
51 | %{?with_aalib:BuildRequires: aalib-devel >= 0.11.0} | |
52 | BuildRequires: bzip2-devel | |
53 | %{?with_cairo:BuildRequires: cairo-devel >= 1.0.0} | |
54 | %{?with_cairo:BuildRequires: cairo-gobject-devel >= 1.10.0} | |
55 | BuildRequires: dbus-devel >= 0.91 | |
56 | BuildRequires: flac-devel >= 1.1.4 | |
57 | %{?with_jack:BuildRequires: jack-audio-connection-kit-devel >= 0.99.10} | |
58 | BuildRequires: libavc1394-devel | |
59 | %{?with_caca:BuildRequires: libcaca-devel} | |
60 | BuildRequires: libdv-devel >= 0.104 | |
61 | BuildRequires: libiec61883-devel >= 1.0.0 | |
62 | BuildRequires: libjpeg-devel | |
63 | BuildRequires: libpng-devel >= 1.2.0 | |
64 | BuildRequires: libraw1394-devel >= 2.0.0 | |
65 | BuildRequires: libshout-devel >= 2.0 | |
66 | %{?with_soup:BuildRequires: libsoup-devel >= 2.26.1} | |
67 | %{?with_soup:BuildRequires: libsoup-gnome-devel >= 2.3.2} | |
68 | # for taglib | |
69 | BuildRequires: libstdc++-devel | |
70 | BuildRequires: libv4l-devel | |
71 | BuildRequires: libvpx-devel >= 1.1.0 | |
72 | BuildRequires: libxml2-devel >= 1:2.6.26 | |
73 | BuildRequires: pulseaudio-devel >= 1.0 | |
74 | %{?with_speex:BuildRequires: speex-devel >= 1:1.1.6} | |
75 | BuildRequires: taglib-devel >= 1.5 | |
76 | BuildRequires: udev-glib-devel >= 1:143 | |
77 | %{?with_wavpack:BuildRequires: wavpack-devel >= 4.40.0} | |
78 | BuildRequires: xorg-lib-libX11-devel | |
79 | BuildRequires: xorg-lib-libXdamage-devel | |
80 | BuildRequires: xorg-lib-libXext-devel | |
81 | BuildRequires: xorg-lib-libXfixes-devel | |
82 | BuildRequires: xorg-lib-libXv-devel | |
83 | BuildRequires: zlib-devel | |
84 | Requires: glib2 >= 1:2.32 | |
85 | Requires: gstreamer >= %{gst_req_ver} | |
86 | Requires: gstreamer-plugins-base >= %{gstpb_req_ver} | |
87 | Requires: orc >= 0.4.16 | |
88 | Obsoletes: gstreamer-avi | |
89 | Obsoletes: gstreamer-flx | |
90 | Obsoletes: gstreamer-matroska | |
91 | Obsoletes: gstreamer-mixer | |
92 | Obsoletes: gstreamer-navigation | |
93 | Obsoletes: gstreamer-oss4 | |
94 | Obsoletes: gstreamer-rtp | |
95 | Obsoletes: gstreamer-udp | |
96 | %if %{without esd} | |
97 | Obsoletes: gstreamer-audiosink-esd | |
98 | %endif | |
99 | Conflicts: gstreamer-plugins-bad < 0.10.19 | |
100 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
101 | ||
102 | %define gstlibdir %{_libdir}/gstreamer-%{major_ver} | |
103 | ||
104 | %description | |
105 | GStreamer is a streaming-media framework, based on graphs of filters | |
106 | which operate on media data. Applications using this library can do | |
107 | anything from real-time sound processing to playing videos, and just | |
108 | about anything else media-related. Its plugin-based architecture means | |
109 | that new data types or processing capabilities can be added simply by | |
110 | installing new plugins. | |
111 | ||
112 | %description -l pl.UTF-8 | |
113 | GStreamer to środowisko obróbki danych strumieniowych, bazujące na | |
114 | grafie filtrów operujących na danych medialnych. Aplikacje używające | |
115 | tej biblioteki mogą robić wszystko od przetwarzania dźwięku w czasie | |
116 | rzeczywistym, do odtwarzania filmów i czegokolwiek innego związego z | |
117 | mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie | |
118 | nowych typów danych lub możliwości obróbki. | |
119 | ||
120 | %package apidocs | |
121 | Summary: Good GStreamer streaming-media framework plugins API documentation | |
122 | Summary(pl.UTF-8): Dokumentacja API dobrych wtyczek środowiska obróbki strumieni GStreamer | |
123 | Group: Documentation | |
124 | Requires: gtk-doc-common | |
125 | ||
126 | %description apidocs | |
127 | Good GStreamer streaming-media framework plugins API documentation. | |
128 | ||
129 | %description apidocs -l pl.UTF-8 | |
130 | Dokumentacja API dobrych wtyczek środowiska obróbki strumieni | |
131 | GStreamer. | |
132 | ||
133 | ## ## Plugins ## | |
134 | ||
135 | %package -n gstreamer-videosink-aa | |
136 | Summary: GStreamer plugin for Ascii-art output | |
137 | Summary(pl.UTF-8): Wtyczka wyjścia obrazu Ascii-art do GStreamera | |
138 | Group: Libraries | |
139 | Requires: gstreamer >= %{gst_req_ver} | |
140 | Provides: gstreamer-videosink = %{version} | |
141 | Obsoletes: gstreamer-aalib | |
142 | ||
143 | %description -n gstreamer-videosink-aa | |
144 | Plugin for viewing movies in Ascii-art using aalib library. | |
145 | ||
146 | %description -n gstreamer-videosink-aa -l pl.UTF-8 | |
147 | Wtyczka wyjścia obrazu Ascii-art używająca biblioteki aalib. | |
148 | ||
149 | %package -n gstreamer-audio-effects-good | |
150 | Summary: Good GStreamer audio effects plugins | |
151 | Summary(pl.UTF-8): Dobre wtyczki efektów dźwiękowych do GStreamera | |
152 | Group: Libraries | |
153 | Requires: gstreamer-plugins-base >= %{gstpb_req_ver} | |
154 | Obsoletes: gstreamer-audio-effects | |
155 | ||
156 | %description -n gstreamer-audio-effects-good | |
157 | Good GStreamer audio effects plugins. | |
158 | ||
159 | %description -n gstreamer-audio-effects-good -l pl.UTF-8 | |
160 | Dobre wtyczki efektów dźwiękowych do GStreamera. | |
161 | ||
162 | %package -n gstreamer-audio-formats | |
163 | Summary: GStreamer audio format plugins | |
164 | Summary(pl.UTF-8): Wtyczki formatów dźwięku | |
165 | Group: Libraries | |
166 | #Requires: gstreamer-plugins-base >= %{gstpb_req_ver} | |
167 | # for locales in wavparse module | |
168 | Requires: %{name} = %{version}-%{release} | |
169 | ||
170 | %description -n gstreamer-audio-formats | |
171 | Plugin for playback of WAV, au and mod audio files as well as MP3 | |
172 | type. | |
173 | ||
174 | %description -n gstreamer-audio-formats -l pl.UTF-8 | |
175 | Wtyczka do odwarzania dźwięku w formacie au, WAV, mod oraz MP3. | |
176 | ||
177 | %package -n gstreamer-cairo | |
178 | Summary: GStreamer cairo plugin | |
179 | Summary(pl.UTF-8): Wtyczka cairo do GStreamera | |
180 | Group: Libraries | |
181 | Requires: gstreamer >= %{gst_req_ver} | |
182 | Requires: cairo >= 1.0.0 | |
183 | Requires: cairo-gobject >= 1.10.0 | |
184 | ||
185 | %description -n gstreamer-cairo | |
186 | GStreamer cairo plugin. | |
187 | ||
188 | %description -n gstreamer-cairo -l pl.UTF-8 | |
189 | Wtyczka cairo do GStreamera. | |
190 | ||
191 | %package -n gstreamer-dv | |
192 | Summary: GStreamer dv plugin | |
193 | Summary(pl.UTF-8): Wtyczka dv do GStreamera | |
194 | Group: Libraries | |
195 | Requires: gstreamer-plugins-base >= %{gstpb_req_ver} | |
196 | Requires: libdv >= 0.104 | |
197 | ||
198 | %description -n gstreamer-dv | |
199 | Plugin for digital video support. | |
200 | ||
201 | %description -n gstreamer-dv -l pl.UTF-8 | |
202 | Wtyczka do GStreamera obsługująca cyfrowy obraz. | |
203 | ||
204 | %package -n gstreamer-flac | |
205 | Summary: GStreamer plugin for FLAC lossless audio format | |
206 | Summary(pl.UTF-8): Wtyczka do GStreamera obsługująca bezstratny format dźwięku FLAC | |
207 | Group: Libraries | |
208 | Requires: gstreamer-plugins-base >= %{gstpb_req_ver} | |
209 | Requires: flac >= 1.1.4 | |
210 | ||
211 | %description -n gstreamer-flac | |
212 | Plugin for the free FLAC lossless audio format. | |
213 | ||
214 | %description -n gstreamer-flac -l pl.UTF-8 | |
215 | Wtyczka obsługująca wolnodostępny, bezstratny format dźwięku FLAC. | |
216 | ||
217 | %package -n gstreamer-gdkpixbuf | |
218 | Summary: GStreamer images input plugin | |
219 | Summary(pl.UTF-8): Wtyczka do GStreamera wczytująca obrazki | |
220 | Group: Libraries | |
221 | Requires: gstreamer >= %{gst_req_ver} | |
222 | ||
223 | %description -n gstreamer-gdkpixbuf | |
224 | This GStreamer plugin load images via gdkpixbuf library. | |
225 | ||
226 | %description -n gstreamer-gdkpixbuf -l pl.UTF-8 | |
227 | Ta wtyczka GStreamera wczytuje obrazki za pośrednictwem biblioteki | |
228 | gdkpixbuf. | |
229 | ||
230 | %package -n gstreamer-jack | |
231 | Summary: GStreamer plugin for the JACK Sound Server | |
232 | Summary(pl.UTF-8): Wtyczka serwera dźwięku JACK dla GStreamera | |
233 | Group: Libraries | |
234 | Requires: gstreamer-plugins-base >= %{gstpb_req_ver} | |
235 | Provides: gstreamer-audiosink = %{version} | |
236 | ||
237 | %description -n gstreamer-jack | |
238 | Plugin for the JACK professional sound server. | |
239 | ||
240 | %description -n gstreamer-jack -l pl.UTF-8 | |
241 | Wtyczka dla profesjonalnego serwera dźwięku JACK. | |
242 | ||
243 | %package -n gstreamer-videosink-libcaca | |
244 | Summary: GStreamer plugin for libcaca Ascii-art output | |
245 | Summary(pl.UTF-8): Wtyczka libcaca do GStreamera | |
246 | Group: Libraries | |
247 | Requires: gstreamer-plugins-base >= %{gstpb_req_ver} | |
248 | Provides: gstreamer-videosink = %{version} | |
249 | ||
250 | %description -n gstreamer-videosink-libcaca | |
251 | GStreamer plug-in for libcaca Ascii-art output. | |
252 | ||
253 | %description -n gstreamer-videosink-libcaca -l pl.UTF-8 | |
254 | Wtyczka libcaca do GStreamera. | |
255 | ||
256 | %package -n gstreamer-libpng | |
257 | Summary: GStreamer plugin to encode png images | |
258 | Summary(pl.UTF-8): Wtyczka GStreamera kodująca pliki png | |
259 | Group: Libraries | |
260 | #Requires: gstreamer >= %{gst_req_ver} | |
261 | # for locales | |
262 | Requires: %{name} = %{version}-%{release} | |
263 | Requires: libpng >= 1.2.0 | |
264 | ||
265 | %description -n gstreamer-libpng | |
266 | Plugin for encoding png images. | |
267 | ||
268 | %description -n gstreamer-libpng -l pl.UTF-8 | |
269 | Wtyczka kodująca pliki png. | |
270 | ||
271 | %package -n gstreamer-audiosink-oss | |
272 | Summary: GStreamer plugins for input and output using OSS | |
273 | Summary(pl.UTF-8): Wtyczki wejścia i wyjścia dźwięku OSS do GStreamera | |
274 | Group: Libraries | |
275 | #Requires: gstreamer-plugins-base >= %{gstpb_req_ver} | |
276 | # for locales | |
277 | Requires: %{name} = %{version}-%{release} | |
278 | Provides: gstreamer-audiosink = %{version} | |
279 | Obsoletes: gstreamer-oss | |
280 | ||
281 | %description -n gstreamer-audiosink-oss | |
282 | Plugins for output and input to the OpenSoundSystem audio drivers | |
283 | found in the Linux kernels or commercially available from OpenSound. | |
284 | ||
285 | %description -n gstreamer-audiosink-oss -l pl.UTF-8 | |
286 | Wtyczki wyjścia i wejścia dźwięku używające sterowników | |
287 | OpenSoundSystem obecnych w jądrach Linuksa lub dostępnych komercyjnie | |
288 | od OpenSound. | |
289 | ||
290 | %package -n gstreamer-pulseaudio | |
291 | Summary: GStreamer plugin for PulseAudio sound server | |
292 | Summary(pl.UTF-8): Wtyczka GStreamera dla serwera dźwięku PulseAudio | |
293 | Group: Libraries | |
294 | Requires: gstreamer >= %{gst_req_ver} | |
295 | Requires: gstreamer-plugins-base >= %{gstpb_req_ver} | |
296 | Requires: pulseaudio >= 1.0 | |
297 | Obsoletes: gstreamer-audiosink-polypaudio | |
298 | Provides: gstreamer-audiosink = %{version} | |
299 | Obsoletes: gstreamer-polypaudio | |
300 | ||
301 | %description -n gstreamer-pulseaudio | |
302 | GStreamer plugin for PulseAudio sound server. | |
303 | ||
304 | %description -n gstreamer-pulseaudio -l pl.UTF-8 | |
305 | Wtyczka GStreamera dla serwera dźwięku PulseAudio. | |
306 | ||
307 | %package -n gstreamer-raw1394 | |
308 | Summary: GStreamer raw1394 Firewire plugin | |
309 | Summary(pl.UTF-8): Wtyczka FireWire dla GStreamera | |
310 | Group: Libraries | |
311 | Requires: gstreamer >= %{gst_req_ver} | |
312 | ||
313 | %description -n gstreamer-raw1394 | |
314 | Plugin for digital video support using raw1394. | |
315 | ||
316 | %description -n gstreamer-raw1394 -l pl.UTF-8 | |
317 | Wtyczka dająca dostęp do cyfrowego obrazu przy użyciu raw1394. | |
318 | ||
319 | %package -n gstreamer-shout2 | |
320 | Summary: GStreamer plugin for communicating with Shoutcast servers | |
321 | Summary(pl.UTF-8): Wtyczka do GStreamera umożliwiająca komunikację z serwerami Shoutcast | |
322 | Group: Libraries | |
323 | Requires: gstreamer >= %{gst_req_ver} | |
324 | ||
325 | %description -n gstreamer-shout2 | |
326 | GStreamer plugin for communicating with Shoutcast servers. | |
327 | ||
328 | %description -n gstreamer-shout2 -l pl.UTF-8 | |
329 | Wtyczka do GStreamera umożliwiająca komunikację z serwerami Shoutcast. | |
330 | ||
331 | %package -n gstreamer-soup | |
332 | Summary: GStreamer Soup plugin | |
333 | Summary(pl.UTF-8): Wtyczka biblioteki Soup dla GStreamera | |
334 | Group: Libraries | |
335 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
336 | Requires: libsoup >= 2.26.1 | |
337 | Requires: libsoup-gnome >= 2.3.2 | |
338 | ||
339 | %description -n gstreamer-soup | |
340 | GStreamer Plugin for downloading files with Soup library. | |
341 | ||
342 | %description -n gstreamer-soup -l pl.UTF-8 | |
343 | Wtyczka GStreamera umożliwiająca ściąganie plików za pomocą biblioteki | |
344 | Soup. | |
345 | ||
346 | %package -n gstreamer-speex | |
347 | Summary: GStreamer speex codec decoder/encoder plugin | |
348 | Summary(pl.UTF-8): Wtyczka do GStreamera obsługująca kodek Speex | |
349 | Group: Libraries | |
350 | #Requires: gstreamer-plugins-base >= %{gstpb_req_ver} | |
351 | Requires: speex >= 1:1.1.6 | |
352 | ||
353 | %description -n gstreamer-speex | |
354 | GStreamer speex codec decoder/encoder plugin. | |
355 | ||
356 | %description -n gstreamer-speex -l pl.UTF-8 | |
357 | Wtyczka do GStreamera obsługująca kodek Speex. | |
358 | ||
359 | %package -n gstreamer-taglib | |
360 | Summary: GStreamer tag writing plugin based on taglib | |
361 | Summary(pl.UTF-8): Wtyczka GStreamera zapisująca znaczniki oparta na bibliotece taglib | |
362 | Group: Libraries | |
363 | Requires: gstreamer >= %{gst_req_ver} | |
364 | Requires: taglib >= 1.5 | |
365 | ||
366 | %description -n gstreamer-taglib | |
367 | GStreamer tag writing plugin based on taglib. | |
368 | ||
369 | %description -n gstreamer-taglib -l pl.UTF-8 | |
370 | Wtyczka GStreamera zapisująca znaczniki oparta na bibliotece taglib. | |
371 | ||
372 | %package -n gstreamer-v4l2 | |
373 | Summary: GStreamer Video4Linux2 input plugin | |
374 | Summary(pl.UTF-8): Wtyczka wejścia Video4Linux2 dla GStreamera | |
375 | Group: Libraries | |
376 | Requires: %{name} = %{version}-%{release} | |
377 | Requires: udev-glib >= 1:143 | |
378 | ||
379 | %description -n gstreamer-v4l2 | |
380 | GStreamer plugin for accessing Video4Linux2 devices. | |
381 | ||
382 | %description -n gstreamer-v4l2 -l pl.UTF-8 | |
383 | Wtyczka GStreamera pozwalająca na dostęp do urządzeń Video4Linux2. | |
384 | ||
385 | %package -n gstreamer-video-effects | |
386 | Summary: GStreamer video effects plugins | |
387 | Summary(pl.UTF-8): Wtyczki efektów wideo do GStreamera | |
388 | Group: Libraries | |
389 | # for locales in jpeg module | |
390 | Requires: %{name} = %{version}-%{release} | |
391 | ||
392 | %description -n gstreamer-video-effects | |
393 | GStreamer video effects plugins. | |
394 | ||
395 | %description -n gstreamer-video-effects -l pl.UTF-8 | |
396 | Wtyczki efektów wideo do GStreamera. | |
397 | ||
398 | %package -n gstreamer-visualisation | |
399 | Summary: GStreamer visualisations plugins | |
400 | Summary(pl.UTF-8): Wtyczki wizualizacji do GStreamera | |
401 | Group: Libraries | |
402 | Requires: gstreamer >= %{gst_req_ver} | |
403 | ||
404 | %description -n gstreamer-visualisation | |
405 | Various plugins for visual effects to use with audio. Included are | |
406 | monoscope, spectrum, goom (2k4) and goom2k1. | |
407 | ||
408 | %description -n gstreamer-visualisation -l pl.UTF-8 | |
409 | Różne wtyczki efektów wizualnych do używania z dźwiękiem. Załączone: | |
410 | monoscope, spectrum, goom (2k4) i goom2k1. | |
411 | ||
412 | %package -n gstreamer-ximagesrc | |
413 | Summary: GStreamer X11 video input plugin using standard Xlib calls | |
414 | Summary(pl.UTF-8): Wtyczka wejścia obrazu X11 GStreamera używająca standardowych wywołań Xlib | |
415 | Group: Libraries | |
416 | Requires: %{name} = %{version}-%{release} | |
417 | ||
418 | %description -n gstreamer-ximagesrc | |
419 | GStreamer X11 video input plugin using standard Xlib calls. | |
420 | ||
421 | %description -n gstreamer-ximagesrc -l pl.UTF-8 | |
422 | Wtyczka wejścia obrazu X11 GStreamera używająca standardowych wywołań | |
423 | Xlib. | |
424 | ||
425 | %package -n gstreamer-vpx | |
426 | Summary: GStreamer plugin for VP8 video format | |
427 | Summary(pl.UTF-8): Wtyczka do GStreamera obsługująca format obrazu VP8 | |
428 | Group: Libraries | |
429 | Requires: gstreamer >= %{gst_req_ver} | |
430 | Requires: libvpx >= 1.1.0 | |
431 | ||
432 | %description -n gstreamer-vpx | |
433 | GStreamer plugin for VP8 video format using libvpx library. | |
434 | ||
435 | %description -n gstreamer-vpx -l pl.UTF-8 | |
436 | Wtyczka do GStreamera obsługująca format obrazu VP8 przy użyciu | |
437 | biblioteki libvpx. | |
438 | ||
439 | %package -n gstreamer-wavpack | |
440 | Summary: GStreamer plugin for Wavpack lossless audio format | |
441 | Summary(pl.UTF-8): Wtyczka do GStreamera obsługująca bezstratny format dźwięku Wavpack | |
442 | Group: Libraries | |
443 | Requires: gstreamer >= %{gst_req_ver} | |
444 | Requires: wavpack-libs >= 4.40.0 | |
445 | ||
446 | %description -n gstreamer-wavpack | |
447 | Plugin for lossless Wavpack audio format. | |
448 | ||
449 | %description -n gstreamer-wavpack -l pl.UTF-8 | |
450 | Wtyczka obsługująca bezstratny format dźwięku Wavpack. | |
451 | ||
452 | %prep | |
453 | %setup -q -n %{gstname}-%{version} | |
454 | ||
455 | %build | |
456 | %{__libtoolize} | |
457 | %{__aclocal} -I m4 -I common/m4 | |
458 | %{__autoconf} | |
459 | %{__autoheader} | |
460 | %{__automake} | |
461 | %configure \ | |
462 | ac_cv_lib_jpeg_mmx_jpeg_set_defaults=no \ | |
463 | --disable-silent-rules \ | |
464 | --disable-static \ | |
465 | --enable-experimental \ | |
466 | %{!?with_aalib:--disable-aalib} \ | |
467 | %{!?with_cairo:--disable-cairo} \ | |
468 | %{!?with_jack:--disable-jack} \ | |
469 | %{!?with_caca:--disable-libcaca} \ | |
470 | %{!?with_soup:--disable-soup} \ | |
471 | %{!?with_speex:--disable-speex} \ | |
472 | %{!?with_wavpack:--disable-wavpack} \ | |
473 | --enable-gtk-doc%{!?with_apidocs:=no} \ | |
474 | --enable-orc \ | |
475 | --with-html-dir=%{_gtkdocdir} | |
476 | ||
477 | %{__make} | |
478 | ||
479 | %install | |
480 | rm -rf $RPM_BUILD_ROOT | |
481 | ||
482 | %{__make} install \ | |
483 | DESTDIR=$RPM_BUILD_ROOT | |
484 | ||
485 | # We don't need plugins' *.la files | |
486 | %{__rm} $RPM_BUILD_ROOT%{gstlibdir}/*.la | |
487 | ||
488 | %find_lang %{gstname}-%{major_ver} | |
489 | ||
490 | %clean | |
491 | rm -rf $RPM_BUILD_ROOT | |
492 | ||
493 | %files -f %{gstname}-%{major_ver}.lang | |
494 | %defattr(644,root,root,755) | |
495 | %doc AUTHORS ChangeLog NEWS README RELEASE | |
496 | %attr(755,root,root) %{gstlibdir}/libgstalphacolor.so | |
497 | %attr(755,root,root) %{gstlibdir}/libgstalpha.so | |
498 | %attr(755,root,root) %{gstlibdir}/libgstapetag.so | |
499 | %attr(755,root,root) %{gstlibdir}/libgstaudiofx.so | |
500 | %attr(755,root,root) %{gstlibdir}/libgstautodetect.so | |
501 | %attr(755,root,root) %{gstlibdir}/libgstavi.so | |
502 | %attr(755,root,root) %{gstlibdir}/libgstdebug.so | |
503 | %attr(755,root,root) %{gstlibdir}/libgstequalizer.so | |
504 | %attr(755,root,root) %{gstlibdir}/libgstdeinterlace.so | |
505 | %attr(755,root,root) %{gstlibdir}/libgstflv.so | |
506 | %attr(755,root,root) %{gstlibdir}/libgstflxdec.so | |
507 | %attr(755,root,root) %{gstlibdir}/libgsticydemux.so | |
508 | %attr(755,root,root) %{gstlibdir}/libgstid3demux.so | |
509 | %attr(755,root,root) %{gstlibdir}/libgstimagefreeze.so | |
510 | %attr(755,root,root) %{gstlibdir}/libgstinterleave.so | |
511 | %attr(755,root,root) %{gstlibdir}/libgstisomp4.so | |
512 | %attr(755,root,root) %{gstlibdir}/libgstmatroska.so | |
513 | %attr(755,root,root) %{gstlibdir}/libgstmultifile.so | |
514 | %attr(755,root,root) %{gstlibdir}/libgstmultipart.so | |
515 | %attr(755,root,root) %{gstlibdir}/libgstnavigationtest.so | |
516 | %attr(755,root,root) %{gstlibdir}/libgstoss4audio.so | |
517 | %attr(755,root,root) %{gstlibdir}/libgstreplaygain.so | |
518 | %attr(755,root,root) %{gstlibdir}/libgstrtp.so | |
519 | %attr(755,root,root) %{gstlibdir}/libgstrtpmanager.so | |
520 | %attr(755,root,root) %{gstlibdir}/libgstrtsp.so | |
521 | %attr(755,root,root) %{gstlibdir}/libgstshapewipe.so | |
522 | %attr(755,root,root) %{gstlibdir}/libgstudp.so | |
523 | %attr(755,root,root) %{gstlibdir}/libgstvideobox.so | |
524 | %attr(755,root,root) %{gstlibdir}/libgstvideocrop.so | |
525 | %attr(755,root,root) %{gstlibdir}/libgstvideofilter.so | |
526 | %attr(755,root,root) %{gstlibdir}/libgstvideomixer.so | |
527 | %attr(755,root,root) %{gstlibdir}/libgsty4menc.so | |
528 | %dir %{_datadir}/gstreamer-%{major_ver} | |
529 | %{_datadir}/gstreamer-%{major_ver}/presets | |
530 | ||
531 | %if %{with apidocs} | |
532 | %files apidocs | |
533 | %defattr(644,root,root,755) | |
534 | %{_gtkdocdir}/gst-plugins-good-plugins-%{major_ver} | |
535 | %endif | |
536 | ||
537 | ## | |
538 | ## Plugins | |
539 | ## | |
540 | ||
541 | %if %{with aalib} | |
542 | %files -n gstreamer-videosink-aa | |
543 | %defattr(644,root,root,755) | |
544 | %attr(755,root,root) %{gstlibdir}/libgstaasink.so | |
545 | %endif | |
546 | ||
547 | %files -n gstreamer-audio-effects-good | |
548 | %defattr(644,root,root,755) | |
549 | %attr(755,root,root) %{gstlibdir}/libgstalaw.so | |
550 | %attr(755,root,root) %{gstlibdir}/libgstcutter.so | |
551 | %attr(755,root,root) %{gstlibdir}/libgstlevel.so | |
552 | %attr(755,root,root) %{gstlibdir}/libgstmulaw.so | |
553 | ||
554 | %files -n gstreamer-audio-formats | |
555 | %defattr(644,root,root,755) | |
556 | %attr(755,root,root) %{gstlibdir}/libgstauparse.so | |
557 | %attr(755,root,root) %{gstlibdir}/libgstaudioparsers.so | |
558 | %attr(755,root,root) %{gstlibdir}/libgstwavparse.so | |
559 | %attr(755,root,root) %{gstlibdir}/libgstwavenc.so | |
560 | ||
561 | %if %{with cairo} | |
562 | %files -n gstreamer-cairo | |
563 | %defattr(644,root,root,755) | |
564 | %attr(755,root,root) %{gstlibdir}/libgstcairo.so | |
565 | %endif | |
566 | ||
567 | %files -n gstreamer-dv | |
568 | %defattr(644,root,root,755) | |
569 | %attr(755,root,root) %{gstlibdir}/libgstdv.so | |
570 | ||
571 | %files -n gstreamer-flac | |
572 | %defattr(644,root,root,755) | |
573 | %attr(755,root,root) %{gstlibdir}/libgstflac.so | |
574 | ||
575 | %files -n gstreamer-gdkpixbuf | |
576 | %defattr(644,root,root,755) | |
577 | %attr(755,root,root) %{gstlibdir}/libgstgdkpixbuf.so | |
578 | ||
579 | %if %{with jack} | |
580 | %files -n gstreamer-jack | |
581 | %defattr(644,root,root,755) | |
582 | %attr(755,root,root) %{gstlibdir}/libgstjack.so | |
583 | %endif | |
584 | ||
585 | %if %{with caca} | |
586 | %files -n gstreamer-videosink-libcaca | |
587 | %defattr(644,root,root,755) | |
588 | %attr(755,root,root) %{gstlibdir}/libgstcacasink.so | |
589 | %endif | |
590 | ||
591 | %files -n gstreamer-libpng | |
592 | %defattr(644,root,root,755) | |
593 | %attr(755,root,root) %{gstlibdir}/libgstpng.so | |
594 | ||
595 | %files -n gstreamer-audiosink-oss | |
596 | %defattr(644,root,root,755) | |
597 | %attr(755,root,root) %{gstlibdir}/libgstossaudio.so | |
598 | ||
599 | %files -n gstreamer-pulseaudio | |
600 | %defattr(644,root,root,755) | |
601 | %attr(755,root,root) %{gstlibdir}/libgstpulse.so | |
602 | ||
603 | %files -n gstreamer-raw1394 | |
604 | %defattr(644,root,root,755) | |
605 | %attr(755,root,root) %{gstlibdir}/libgst1394.so | |
606 | ||
607 | %files -n gstreamer-shout2 | |
608 | %defattr(644,root,root,755) | |
609 | %attr(755,root,root) %{gstlibdir}/libgstshout2.so | |
610 | ||
611 | %if %{with soup} | |
612 | %files -n gstreamer-soup | |
613 | %defattr(644,root,root,755) | |
614 | %attr(755,root,root) %{gstlibdir}/libgstsouphttpsrc.so | |
615 | %endif | |
616 | ||
617 | %if %{with speex} | |
618 | %files -n gstreamer-speex | |
619 | %defattr(644,root,root,755) | |
620 | %attr(755,root,root) %{gstlibdir}/libgstspeex.so | |
621 | %endif | |
622 | ||
623 | %files -n gstreamer-taglib | |
624 | %defattr(644,root,root,755) | |
625 | %attr(755,root,root) %{gstlibdir}/libgsttaglib.so | |
626 | ||
627 | %files -n gstreamer-v4l2 | |
628 | %defattr(644,root,root,755) | |
629 | %attr(755,root,root) %{gstlibdir}/libgstvideo4linux2.so | |
630 | ||
631 | %files -n gstreamer-video-effects | |
632 | %defattr(644,root,root,755) | |
633 | %attr(755,root,root) %{gstlibdir}/libgsteffectv.so | |
634 | %attr(755,root,root) %{gstlibdir}/libgstjpeg.so | |
635 | %attr(755,root,root) %{gstlibdir}/libgstsmpte.so | |
636 | ||
637 | %files -n gstreamer-visualisation | |
638 | %defattr(644,root,root,755) | |
639 | %attr(755,root,root) %{gstlibdir}/libgstgoom.so | |
640 | %attr(755,root,root) %{gstlibdir}/libgstgoom2k1.so | |
641 | %attr(755,root,root) %{gstlibdir}/libgstmonoscope.so | |
642 | %attr(755,root,root) %{gstlibdir}/libgstspectrum.so | |
643 | ||
644 | %files -n gstreamer-vpx | |
645 | %defattr(644,root,root,755) | |
646 | %attr(755,root,root) %{gstlibdir}/libgstvpx.so | |
647 | ||
648 | %if %{with wavpack} | |
649 | %files -n gstreamer-wavpack | |
650 | %defattr(644,root,root,755) | |
651 | %attr(755,root,root) %{gstlibdir}/libgstwavpack.so | |
652 | %endif | |
653 | ||
654 | %files -n gstreamer-ximagesrc | |
655 | %defattr(644,root,root,755) | |
656 | %attr(755,root,root) %{gstlibdir}/libgstximagesrc.so |