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