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