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