- drop obsolete and outdated manual inclusion of rpm macros
[packages/gstreamer-plugins-good.git] / gstreamer-plugins-good.spec
CommitLineData
519aa733
JB
1#
2# Conditional build:
2172819b 3%bcond_without apidocs # disable gtk-doc
207603e7
JB
4%bcond_without aalib # aa videosink plugin
5%bcond_without caca # caca videosink plugin
25188504 6%bcond_without cairo # cairo plugin
a90be14c 7%bcond_without gtk # GTK+ (3.x) elements (video sink plugin)
207603e7 8%bcond_without jack # JACK audio plugin
f9f098db 9%bcond_with jack1 # JACK 1 (0.12x) instead of JACK 2 (1.9.x)
a90be14c
JB
10%bcond_without lame # LAME MP2/MP3 encoding plugin
11%bcond_without mpg123 # MPG123-based MP3 plugin
12%bcond_without qt # Qt (5.x) elements (video sink plugin)
7c30bde7 13%bcond_without soup # libsoup (2.4 API) http source plugin
207603e7
JB
14%bcond_without speex # speex plugin
15%bcond_without wavpack # wavpack plugin
a5d314f0 16
519aa733 17%define gstname gst-plugins-good
03ef5bac
JB
18%define gstmver 1.0
19%define gst_ver 1.16.0
20%define gstpb_ver 1.16.0
a5d314f0 21
519aa733 22Summary: Good GStreamer Streaming-media framework plugins
b4b37edd 23Summary(pl.UTF-8): Dobre wtyczki do środowiska obróbki strumieni GStreamer
519aa733 24Name: gstreamer-plugins-good
a9316bb6
BS
25Version: 1.16.0
26Release: 1
aae141a8 27License: LGPL v2+
519aa733 28Group: Libraries
dca21395 29Source0: https://gstreamer.freedesktop.org/src/gst-plugins-good/%{gstname}-%{version}.tar.xz
a9316bb6 30# Source0-md5: d1a7b442994d9522418de4af4330e034
dca21395 31URL: https://gstreamer.freedesktop.org/
ff7f1192
JB
32BuildRequires: autoconf >= 2.69
33BuildRequires: automake >= 1:1.14
5900243e 34BuildRequires: docbook-dtd412-xml
ae17eea4 35BuildRequires: gettext-tools >= 0.17
ee290314 36BuildRequires: glib2-devel >= 1:2.40
a90be14c 37%if %(locale -a | grep -q '^C\.utf8$'; echo $?)
79c068e2
JB
38BuildRequires: glibc-localedb-all
39%endif
03ef5bac
JB
40BuildRequires: gstreamer-devel >= %{gst_ver}
41BuildRequires: gstreamer-gl-devel >= %{gstpb_ver}
42BuildRequires: gstreamer-plugins-base-devel >= %{gstpb_ver}
87bf42ec
ŁK
43BuildRequires: gtk+3-devel >= 3.0.0
44%{?with_apidocs:BuildRequires: gtk-doc >= 1.12}
ff7f1192 45BuildRequires: libtool >= 2:2.2.6
2c026b27 46BuildRequires: orc-devel >= 0.4.17
519aa733 47BuildRequires: pkgconfig >= 1:0.9.0
133ea663 48BuildRequires: python >= 2.1
133ea663 49BuildRequires: rpmbuild(macros) >= 1.198
818d997b
JB
50BuildRequires: tar >= 1:1.22
51BuildRequires: xz
519aa733
JB
52##
53## plugins
54##
a90be14c
JB
55%{?with_qt:BuildRequires: Qt5Core-devel >= 5.4.0}
56%{?with_qt:BuildRequires: Qt5Gui-devel >= 5.4.0}
57%{?with_qt:BuildRequires: Qt5Quick-devel >= 5.4.0}
58%{?with_qt:BuildRequires: Qt5Qml-devel >= 5.4.0}
59%{?with_qt:BuildRequires: Qt5X11Extras-devel >= 5.4.0}
60%{?with_qt:BuildRequires: Qt5WaylandClient-devel >= 5.4.0}
519aa733 61%{?with_aalib:BuildRequires: aalib-devel >= 0.11.0}
d99b8ce4 62BuildRequires: bzip2-devel
62ae3ec1 63%{?with_cairo:BuildRequires: cairo-devel >= 1.10.0}
207603e7 64%{?with_cairo:BuildRequires: cairo-gobject-devel >= 1.10.0}
34f159cd 65BuildRequires: dbus-devel >= 0.91
59467759 66BuildRequires: flac-devel >= 1.1.4
c2020cc0 67BuildRequires: gdk-pixbuf2-devel >= 2.8.0
a90be14c 68%{?with_gtk:BuildRequires: gtk+3-devel >= 3.15.0}
f9f098db
JB
69%if %{with jack}
70%{?with_jack1:BuildRequires: jack-audio-connection-kit-devel >= 0.120.1}
71%{!?with_jack1:BuildRequires: jack-audio-connection-kit-devel >= 1.9.7}
72%endif
a90be14c 73%{?with_lame:BuildRequires: lame-libs-devel}
519aa733
JB
74BuildRequires: libavc1394-devel
75%{?with_caca:BuildRequires: libcaca-devel}
76BuildRequires: libdv-devel >= 0.104
14660e55 77BuildRequires: libiec61883-devel >= 1.0.0
519aa733 78BuildRequires: libjpeg-devel
a90be14c
JB
79%{?with_mpg123:BuildRequires: libmpg123-devel >= 1.14}
80BuildRequires: libpng-devel >= 2:1.5.1
59467759 81BuildRequires: libraw1394-devel >= 2.0.0
519aa733 82BuildRequires: libshout-devel >= 2.0
ee290314 83%{?with_soup:BuildRequires: libsoup-devel >= 2.48}
844dbfcf 84BuildRequires: libstdc++-devel
59467759 85BuildRequires: libv4l-devel
03ef5bac 86BuildRequires: libvpx-devel >= 1.8.0
2c026b27 87BuildRequires: pulseaudio-devel >= 2.0
a90be14c 88%{?with_qt:BuildRequires: qt5-build >= 5.4.0}
519aa733 89%{?with_speex:BuildRequires: speex-devel >= 1:1.1.6}
59467759 90BuildRequires: taglib-devel >= 1.5
a90be14c 91%{?with_lame:BuildRequires: twolame-devel >= 0.3.10}
7c30bde7 92BuildRequires: udev-glib-devel >= 1:147
ff7f1192 93%{?with_wavpack:BuildRequires: wavpack-devel >= 4.60.0}
844dbfcf
JB
94BuildRequires: xorg-lib-libX11-devel
95BuildRequires: xorg-lib-libXdamage-devel
96BuildRequires: xorg-lib-libXext-devel
97BuildRequires: xorg-lib-libXfixes-devel
519aa733 98BuildRequires: zlib-devel
ee290314 99Requires: glib2 >= 1:2.40
03ef5bac
JB
100Requires: gstreamer >= %{gst_ver}
101Requires: gstreamer-plugins-base >= %{gstpb_ver}
2c026b27 102Requires: orc >= 0.4.17
519aa733
JB
103Obsoletes: gstreamer-avi
104Obsoletes: gstreamer-flx
105Obsoletes: gstreamer-matroska
106Obsoletes: gstreamer-mixer
107Obsoletes: gstreamer-navigation
49ba75d8 108Obsoletes: gstreamer-oss4
519aa733
JB
109Obsoletes: gstreamer-rtp
110Obsoletes: gstreamer-udp
49ba75d8 111Conflicts: gstreamer-plugins-bad < 0.10.19
519aa733
JB
112BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
113
03ef5bac 114%define gstlibdir %{_libdir}/gstreamer-%{gstmver}
519aa733
JB
115
116%description
117GStreamer is a streaming-media framework, based on graphs of filters
118which operate on media data. Applications using this library can do
119anything from real-time sound processing to playing videos, and just
120about anything else media-related. Its plugin-based architecture means
121that new data types or processing capabilities can be added simply by
122installing new plugins.
123
2929b21b
JR
124%description -l pl.UTF-8
125GStreamer to środowisko obróbki danych strumieniowych, bazujące na
126grafie filtrów operujących na danych medialnych. Aplikacje używające
127tej biblioteki mogą robić wszystko od przetwarzania dźwięku w czasie
128rzeczywistym, do odtwarzania filmów i czegokolwiek innego związego z
129mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie
130nowych typów danych lub możliwości obróbki.
519aa733 131
2172819b
MB
132%package apidocs
133Summary: Good GStreamer streaming-media framework plugins API documentation
134Summary(pl.UTF-8): Dokumentacja API dobrych wtyczek środowiska obróbki strumieni GStreamer
135Group: Documentation
136Requires: gtk-doc-common
48248d0b
ER
137%if "%{_rpmversion}" >= "5"
138BuildArch: noarch
139%endif
2172819b
MB
140
141%description apidocs
142Good GStreamer streaming-media framework plugins API documentation.
143
144%description apidocs -l pl.UTF-8
145Dokumentacja API dobrych wtyczek środowiska obróbki strumieni
146GStreamer.
147
359ebc48 148## ## Plugins ##
519aa733
JB
149
150%package -n gstreamer-videosink-aa
151Summary: GStreamer plugin for Ascii-art output
b4b37edd 152Summary(pl.UTF-8): Wtyczka wyjścia obrazu Ascii-art do GStreamera
519aa733 153Group: Libraries
03ef5bac
JB
154Requires: gstreamer >= %{gst_ver}
155Requires: gstreamer-plugins-base >= %{gstpb_ver}
519aa733
JB
156Provides: gstreamer-videosink = %{version}
157Obsoletes: gstreamer-aalib
158
159%description -n gstreamer-videosink-aa
160Plugin for viewing movies in Ascii-art using aalib library.
161
2929b21b
JR
162%description -n gstreamer-videosink-aa -l pl.UTF-8
163Wtyczka wyjścia obrazu Ascii-art używająca biblioteki aalib.
519aa733
JB
164
165%package -n gstreamer-audio-effects-good
166Summary: Good GStreamer audio effects plugins
b4b37edd 167Summary(pl.UTF-8): Dobre wtyczki efektów dźwiękowych do GStreamera
519aa733 168Group: Libraries
03ef5bac
JB
169Requires: gstreamer >= %{gst_ver}
170Requires: gstreamer-plugins-base >= %{gstpb_ver}
065845d8 171Obsoletes: gstreamer-audio-effects
519aa733
JB
172
173%description -n gstreamer-audio-effects-good
174Good GStreamer audio effects plugins.
175
2929b21b
JR
176%description -n gstreamer-audio-effects-good -l pl.UTF-8
177Dobre wtyczki efektów dźwiękowych do GStreamera.
519aa733
JB
178
179%package -n gstreamer-audio-formats
180Summary: GStreamer audio format plugins
b4b37edd 181Summary(pl.UTF-8): Wtyczki formatów dźwięku
519aa733 182Group: Libraries
03ef5bac
JB
183Requires: gstreamer >= %{gst_ver}
184Requires: gstreamer-plugins-base >= %{gstpb_ver}
519aa733
JB
185# for locales in wavparse module
186Requires: %{name} = %{version}-%{release}
187
188%description -n gstreamer-audio-formats
359ebc48
AM
189Plugin for playback of WAV, au and mod audio files as well as MP3
190type.
519aa733 191
2929b21b
JR
192%description -n gstreamer-audio-formats -l pl.UTF-8
193Wtyczka do odwarzania dźwięku w formacie au, WAV, mod oraz MP3.
519aa733 194
207603e7
JB
195%package -n gstreamer-cairo
196Summary: GStreamer cairo plugin
197Summary(pl.UTF-8): Wtyczka cairo do GStreamera
198Group: Libraries
62ae3ec1 199Requires: cairo >= 1.10.0
207603e7 200Requires: cairo-gobject >= 1.10.0
03ef5bac
JB
201Requires: gstreamer >= %{gst_ver}
202Requires: gstreamer-plugins-base >= %{gstpb_ver}
207603e7
JB
203
204%description -n gstreamer-cairo
205GStreamer cairo plugin.
206
207%description -n gstreamer-cairo -l pl.UTF-8
208Wtyczka cairo do GStreamera.
519aa733
JB
209
210%package -n gstreamer-dv
211Summary: GStreamer dv plugin
b4b37edd 212Summary(pl.UTF-8): Wtyczka dv do GStreamera
519aa733 213Group: Libraries
03ef5bac
JB
214Requires: gstreamer >= %{gst_ver}
215Requires: gstreamer-plugins-base >= %{gstpb_ver}
207603e7 216Requires: libdv >= 0.104
519aa733
JB
217
218%description -n gstreamer-dv
219Plugin for digital video support.
220
2929b21b
JR
221%description -n gstreamer-dv -l pl.UTF-8
222Wtyczka do GStreamera obsługująca cyfrowy obraz.
519aa733 223
519aa733
JB
224%package -n gstreamer-flac
225Summary: GStreamer plugin for FLAC lossless audio format
b4b37edd 226Summary(pl.UTF-8): Wtyczka do GStreamera obsługująca bezstratny format dźwięku FLAC
519aa733 227Group: Libraries
59467759 228Requires: flac >= 1.1.4
03ef5bac
JB
229Requires: gstreamer >= %{gst_ver}
230Requires: gstreamer-plugins-base >= %{gstpb_ver}
519aa733
JB
231
232%description -n gstreamer-flac
233Plugin for the free FLAC lossless audio format.
234
2929b21b
JR
235%description -n gstreamer-flac -l pl.UTF-8
236Wtyczka obsługująca wolnodostępny, bezstratny format dźwięku FLAC.
519aa733 237
844dbfcf
JB
238%package -n gstreamer-gdkpixbuf
239Summary: GStreamer images input plugin
b4b37edd 240Summary(pl.UTF-8): Wtyczka do GStreamera wczytująca obrazki
844dbfcf 241Group: Libraries
c2020cc0 242Requires: gdk-pixbuf2 >= 2.8.0
03ef5bac
JB
243Requires: gstreamer >= %{gst_ver}
244Requires: gstreamer-plugins-base >= %{gstpb_ver}
844dbfcf
JB
245
246%description -n gstreamer-gdkpixbuf
247This GStreamer plugin load images via gdkpixbuf library.
248
2929b21b
JR
249%description -n gstreamer-gdkpixbuf -l pl.UTF-8
250Ta wtyczka GStreamera wczytuje obrazki za pośrednictwem biblioteki
844dbfcf
JB
251gdkpixbuf.
252
a90be14c
JB
253%package -n gstreamer-videosink-gtk
254Summary: GStreamer GTK+ (3.x) output plugin
255Summary(pl.UTF-8): Wtyczka wyjścia obrazu GTK+ (3.x) dla GStreamera
256Group: Libraries
03ef5bac
JB
257Requires: gstreamer >= %{gst_ver}
258Requires: gstreamer-gl-libs >= %{gstpb_ver}
259Requires: gstreamer-plugins-base >= %{gstpb_ver}
a90be14c
JB
260Requires: gtk+3 >= 3.15.0
261Provides: gstreamer-videosink = %{version}
262
263%description -n gstreamer-videosink-gtk
264GStreamer GTK+ (3.x) output plugin.
265
266%description -n gstreamer-videosink-gtk -l pl.UTF-8
267Wtyczka wyjścia obrazu GTK+ (3.x) dla GStreamera.
268
d99b8ce4
JB
269%package -n gstreamer-jack
270Summary: GStreamer plugin for the JACK Sound Server
271Summary(pl.UTF-8): Wtyczka serwera dźwięku JACK dla GStreamera
519aa733 272Group: Libraries
03ef5bac
JB
273Requires: gstreamer >= %{gst_ver}
274Requires: gstreamer-plugins-base >= %{gstpb_ver}
f9f098db
JB
275%{?with_jack1:Requires: jack-audio-connection-kit-libs >= 0.120.1}
276%{!?with_jack1:Requires: jack-audio-connection-kit-libs >= 1.9.7}
e2d6e145 277# for locales
7f3ab26b 278Requires: %{name} = %{version}-%{release}
d99b8ce4 279Provides: gstreamer-audiosink = %{version}
519aa733 280
d99b8ce4
JB
281%description -n gstreamer-jack
282Plugin for the JACK professional sound server.
519aa733 283
d99b8ce4
JB
284%description -n gstreamer-jack -l pl.UTF-8
285Wtyczka dla profesjonalnego serwera dźwięku JACK.
519aa733
JB
286
287%package -n gstreamer-videosink-libcaca
288Summary: GStreamer plugin for libcaca Ascii-art output
b4b37edd 289Summary(pl.UTF-8): Wtyczka libcaca do GStreamera
519aa733 290Group: Libraries
03ef5bac
JB
291Requires: gstreamer >= %{gst_ver}
292Requires: gstreamer-plugins-base >= %{gstpb_ver}
519aa733
JB
293Provides: gstreamer-videosink = %{version}
294
295%description -n gstreamer-videosink-libcaca
296GStreamer plug-in for libcaca Ascii-art output.
297
2929b21b 298%description -n gstreamer-videosink-libcaca -l pl.UTF-8
519aa733
JB
299Wtyczka libcaca do GStreamera.
300
a90be14c
JB
301%package -n gstreamer-lame
302Summary: GStreamer plugin encoding MP3 songs
303Summary(pl.UTF-8): Wtyczka do GStreamera kodująca pliki MP3
304Group: Libraries
305# for NLS
306Requires: %{name} = %{version}-%{release}
03ef5bac
JB
307Requires: gstreamer >= %{gst_ver}
308Requires: gstreamer-plugins-base >= %{gstpb_ver}
a90be14c
JB
309Requires: twolame-libs >= 0.3.10
310
311%description -n gstreamer-lame
312Plugin for encoding MP3 with lame.
313
314%description -n gstreamer-lame -l pl.UTF-8
315Wtyczka do GStreamera kodująca pliki MP3 przy użyciu lame.
316
317%package -n gstreamer-mpg123
318Summary: GStreamer mpg123 plugin
319Summary(pl.UTF-8): Wtyczka mpg123 do GStreamera
320Group: Libraries
03ef5bac
JB
321Requires: gstreamer >= %{gst_ver}
322Requires: gstreamer-plugins-base >= %{gstpb_ver}
a90be14c
JB
323Requires: libmpg123 >= 1.14
324# plugin obsoleted in 1.12.0, functionality in mpg123 plugin (or libav)
325Obsoletes: gstreamer-mad < 1.12.0
326
327%description -n gstreamer-mpg123
328GStreamer mpg123 plugin for MP3 playback.
329
330%description -n gstreamer-mpg123 -l pl.UTF-8
331Wtyczka mpg123 do GStreamera, odtwarzająca MP3.
332
519aa733
JB
333%package -n gstreamer-libpng
334Summary: GStreamer plugin to encode png images
b4b37edd 335Summary(pl.UTF-8): Wtyczka GStreamera kodująca pliki png
519aa733 336Group: Libraries
03ef5bac
JB
337Requires: gstreamer >= %{gst_ver}
338Requires: gstreamer-plugins-base >= %{gstpb_ver}
519aa733
JB
339# for locales
340Requires: %{name} = %{version}-%{release}
a90be14c 341Requires: libpng >= 2:1.5.1
519aa733
JB
342
343%description -n gstreamer-libpng
344Plugin for encoding png images.
345
2929b21b
JR
346%description -n gstreamer-libpng -l pl.UTF-8
347Wtyczka kodująca pliki png.
519aa733
JB
348
349%package -n gstreamer-audiosink-oss
350Summary: GStreamer plugins for input and output using OSS
b4b37edd 351Summary(pl.UTF-8): Wtyczki wejścia i wyjścia dźwięku OSS do GStreamera
519aa733 352Group: Libraries
03ef5bac
JB
353Requires: gstreamer >= %{gst_ver}
354Requires: gstreamer-plugins-base >= %{gstpb_ver}
519aa733
JB
355# for locales
356Requires: %{name} = %{version}-%{release}
357Provides: gstreamer-audiosink = %{version}
358Obsoletes: gstreamer-oss
359
360%description -n gstreamer-audiosink-oss
361Plugins for output and input to the OpenSoundSystem audio drivers
362found in the Linux kernels or commercially available from OpenSound.
363
2929b21b
JR
364%description -n gstreamer-audiosink-oss -l pl.UTF-8
365Wtyczki wyjścia i wejścia dźwięku używające sterowników
366OpenSoundSystem obecnych w jądrach Linuksa lub dostępnych komercyjnie
519aa733
JB
367od OpenSound.
368
aae141a8
JB
369%package -n gstreamer-pulseaudio
370Summary: GStreamer plugin for PulseAudio sound server
371Summary(pl.UTF-8): Wtyczka GStreamera dla serwera dźwięku PulseAudio
372Group: Libraries
03ef5bac
JB
373Requires: gstreamer >= %{gst_ver}
374Requires: gstreamer-plugins-base >= %{gstpb_ver}
2c026b27 375Requires: pulseaudio >= 2.0
e2d6e145
JB
376# for locales
377Requires: %{name} = %{version}-%{release}
7d3fb33f 378Provides: gstreamer-audiosink = %{version}
48248d0b 379Obsoletes: gstreamer-audiosink-polypaudio
aae141a8
JB
380Obsoletes: gstreamer-polypaudio
381
382%description -n gstreamer-pulseaudio
383GStreamer plugin for PulseAudio sound server.
384
385%description -n gstreamer-pulseaudio -l pl.UTF-8
386Wtyczka GStreamera dla serwera dźwięku PulseAudio.
387
a90be14c
JB
388%package -n gstreamer-videosink-qt
389Summary: GStreamer Qt (5.x) output plugin
390Summary(pl.UTF-8): Wtyczka wyjścia obrazu Qt (5.x) dla GStreamera
391Group: Libraries
392Requires: Qt5Core >= 5.4.0
393Requires: Qt5Gui >= 5.4.0
394Requires: Qt5Quick >= 5.4.0
03ef5bac
JB
395Requires: gstreamer >= %{gst_ver}
396Requires: gstreamer-gl-libs >= %{gstpb_ver}
397Requires: gstreamer-plugins-base >= %{gstpb_ver}
a90be14c
JB
398Provides: gstreamer-videosink = %{version}
399
400%description -n gstreamer-videosink-qt
401GStreamer Qt (5.x) output plugin.
402
403%description -n gstreamer-videosink-qt -l pl.UTF-8
404Wtyczka wyjścia obrazu Qt (5.x) dla GStreamera.
405
519aa733
JB
406%package -n gstreamer-raw1394
407Summary: GStreamer raw1394 Firewire plugin
b4b37edd 408Summary(pl.UTF-8): Wtyczka FireWire dla GStreamera
519aa733 409Group: Libraries
03ef5bac 410Requires: gstreamer >= %{gst_ver}
519aa733
JB
411
412%description -n gstreamer-raw1394
413Plugin for digital video support using raw1394.
414
2929b21b
JR
415%description -n gstreamer-raw1394 -l pl.UTF-8
416Wtyczka dająca dostęp do cyfrowego obrazu przy użyciu raw1394.
519aa733
JB
417
418%package -n gstreamer-shout2
419Summary: GStreamer plugin for communicating with Shoutcast servers
b4b37edd 420Summary(pl.UTF-8): Wtyczka do GStreamera umożliwiająca komunikację z serwerami Shoutcast
519aa733 421Group: Libraries
03ef5bac 422Requires: gstreamer >= %{gst_ver}
e2d6e145
JB
423# for locales
424Requires: %{name} = %{version}-%{release}
519aa733
JB
425
426%description -n gstreamer-shout2
427GStreamer plugin for communicating with Shoutcast servers.
428
2929b21b
JR
429%description -n gstreamer-shout2 -l pl.UTF-8
430Wtyczka do GStreamera umożliwiająca komunikację z serwerami Shoutcast.
519aa733 431
4bfcc885
PZ
432%package -n gstreamer-soup
433Summary: GStreamer Soup plugin
434Summary(pl.UTF-8): Wtyczka biblioteki Soup dla GStreamera
435Group: Libraries
03ef5bac
JB
436Requires: gstreamer >= %{gst_ver}
437Requires: gstreamer-plugins-base >= %{gstpb_ver}
ee290314 438Requires: libsoup >= 2.48
e2d6e145
JB
439# for locales
440Requires: %{name} = %{version}-%{release}
4bfcc885
PZ
441
442%description -n gstreamer-soup
443GStreamer Plugin for downloading files with Soup library.
444
445%description -n gstreamer-soup -l pl.UTF-8
446Wtyczka GStreamera umożliwiająca ściąganie plików za pomocą biblioteki
447Soup.
448
519aa733
JB
449%package -n gstreamer-speex
450Summary: GStreamer speex codec decoder/encoder plugin
b4b37edd 451Summary(pl.UTF-8): Wtyczka do GStreamera obsługująca kodek Speex
519aa733 452Group: Libraries
03ef5bac
JB
453Requires: gstreamer >= %{gst_ver}
454Requires: gstreamer-plugins-base >= %{gstpb_ver}
519aa733
JB
455Requires: speex >= 1:1.1.6
456
457%description -n gstreamer-speex
458GStreamer speex codec decoder/encoder plugin.
459
2929b21b
JR
460%description -n gstreamer-speex -l pl.UTF-8
461Wtyczka do GStreamera obsługująca kodek Speex.
519aa733 462
844dbfcf
JB
463%package -n gstreamer-taglib
464Summary: GStreamer tag writing plugin based on taglib
b4b37edd 465Summary(pl.UTF-8): Wtyczka GStreamera zapisująca znaczniki oparta na bibliotece taglib
844dbfcf 466Group: Libraries
03ef5bac
JB
467Requires: gstreamer >= %{gst_ver}
468Requires: gstreamer-plugins-base >= %{gstpb_ver}
59467759 469Requires: taglib >= 1.5
844dbfcf
JB
470
471%description -n gstreamer-taglib
472GStreamer tag writing plugin based on taglib.
473
2929b21b
JR
474%description -n gstreamer-taglib -l pl.UTF-8
475Wtyczka GStreamera zapisująca znaczniki oparta na bibliotece taglib.
844dbfcf 476
59467759
JB
477%package -n gstreamer-v4l2
478Summary: GStreamer Video4Linux2 input plugin
479Summary(pl.UTF-8): Wtyczka wejścia Video4Linux2 dla GStreamera
480Group: Libraries
481Requires: %{name} = %{version}-%{release}
03ef5bac
JB
482Requires: gstreamer >= %{gst_ver}
483Requires: gstreamer-plugins-base >= %{gstpb_ver}
7c30bde7 484Requires: udev-glib >= 1:147
59467759
JB
485
486%description -n gstreamer-v4l2
487GStreamer plugin for accessing Video4Linux2 devices.
488
489%description -n gstreamer-v4l2 -l pl.UTF-8
490Wtyczka GStreamera pozwalająca na dostęp do urządzeń Video4Linux2.
491
519aa733
JB
492%package -n gstreamer-video-effects
493Summary: GStreamer video effects plugins
b4b37edd 494Summary(pl.UTF-8): Wtyczki efektów wideo do GStreamera
519aa733 495Group: Libraries
03ef5bac
JB
496Requires: gstreamer >= %{gst_ver}
497Requires: gstreamer-plugins-base >= %{gstpb_ver}
519aa733
JB
498# for locales in jpeg module
499Requires: %{name} = %{version}-%{release}
500
501%description -n gstreamer-video-effects
502GStreamer video effects plugins.
503
2929b21b
JR
504%description -n gstreamer-video-effects -l pl.UTF-8
505Wtyczki efektów wideo do GStreamera.
519aa733
JB
506
507%package -n gstreamer-visualisation
508Summary: GStreamer visualisations plugins
b4b37edd 509Summary(pl.UTF-8): Wtyczki wizualizacji do GStreamera
519aa733 510Group: Libraries
03ef5bac
JB
511Requires: gstreamer >= %{gst_ver}
512Requires: gstreamer-plugins-base >= %{gstpb_ver}
519aa733
JB
513
514%description -n gstreamer-visualisation
515Various plugins for visual effects to use with audio. Included are
488bc0e1 516monoscope, spectrum, goom (2k4) and goom2k1.
519aa733 517
2929b21b
JR
518%description -n gstreamer-visualisation -l pl.UTF-8
519Różne wtyczki efektów wizualnych do używania z dźwiękiem. Załączone:
488bc0e1 520monoscope, spectrum, goom (2k4) i goom2k1.
519aa733 521
207603e7 522%package -n gstreamer-vpx
3191fa9a
JB
523Summary: GStreamer plugin for VP8/VP9 video format
524Summary(pl.UTF-8): Wtyczka do GStreamera obsługująca format obrazu VP8/VP9
207603e7 525Group: Libraries
03ef5bac
JB
526Requires: gstreamer >= %{gst_ver}
527Requires: gstreamer-plugins-base >= %{gstpb_ver}
528Requires: libvpx >= 1.8.0
20805e17 529Obsoletes: gstreamer-vp8
207603e7
JB
530
531%description -n gstreamer-vpx
3191fa9a 532GStreamer plugin for VP8/VP9 video format using libvpx library.
207603e7
JB
533
534%description -n gstreamer-vpx -l pl.UTF-8
3191fa9a 535Wtyczka do GStreamera obsługująca format obrazu VP8/VP9 przy użyciu
207603e7
JB
536biblioteki libvpx.
537
359ebc48
AM
538%package -n gstreamer-wavpack
539Summary: GStreamer plugin for Wavpack lossless audio format
540Summary(pl.UTF-8): Wtyczka do GStreamera obsługująca bezstratny format dźwięku Wavpack
541Group: Libraries
03ef5bac
JB
542Requires: gstreamer >= %{gst_ver}
543Requires: gstreamer-plugins-base >= %{gstpb_ver}
ff7f1192 544Requires: wavpack-libs >= 4.60.0
359ebc48
AM
545
546%description -n gstreamer-wavpack
547Plugin for lossless Wavpack audio format.
548
549%description -n gstreamer-wavpack -l pl.UTF-8
550Wtyczka obsługująca bezstratny format dźwięku Wavpack.
551
e2d6e145
JB
552%package -n gstreamer-ximagesrc
553Summary: GStreamer X11 video input plugin using standard Xlib calls
554Summary(pl.UTF-8): Wtyczka wejścia obrazu X11 GStreamera używająca standardowych wywołań Xlib
555Group: Libraries
556Requires: %{name} = %{version}-%{release}
03ef5bac
JB
557Requires: gstreamer >= %{gst_ver}
558Requires: gstreamer-plugins-base >= %{gstpb_ver}
e2d6e145
JB
559
560%description -n gstreamer-ximagesrc
561GStreamer X11 video input plugin using standard Xlib calls.
562
563%description -n gstreamer-ximagesrc -l pl.UTF-8
564Wtyczka wejścia obrazu X11 GStreamera używająca standardowych wywołań
565Xlib.
566
519aa733
JB
567%prep
568%setup -q -n %{gstname}-%{version}
519aa733
JB
569
570%build
571%{__libtoolize}
572%{__aclocal} -I m4 -I common/m4
573%{__autoconf}
574%{__autoheader}
575%{__automake}
576%configure \
577 ac_cv_lib_jpeg_mmx_jpeg_set_defaults=no \
d99b8ce4
JB
578 --disable-silent-rules \
579 --disable-static \
580 --enable-experimental \
519aa733 581 %{!?with_aalib:--disable-aalib} \
519aa733 582 %{!?with_cairo:--disable-cairo} \
a90be14c 583 %{!?with_gtk:--disable-gtk} \
d99b8ce4 584 %{!?with_jack:--disable-jack} \
a90be14c 585 %{!?with_lame:--disable-lame --disable-twolame} \
d99b8ce4 586 %{!?with_caca:--disable-libcaca} \
a90be14c
JB
587 %{!?with_mpg123:--disable-mpg123} \
588 %{!?with_qt:--disable-qt} \
4bfcc885 589 %{!?with_soup:--disable-soup} \
519aa733 590 %{!?with_speex:--disable-speex} \
359ebc48 591 %{!?with_wavpack:--disable-wavpack} \
d99b8ce4
JB
592 --enable-gtk-doc%{!?with_apidocs:=no} \
593 --enable-orc \
519aa733
JB
594 --with-html-dir=%{_gtkdocdir}
595
79c068e2 596LC_ALL=C.UTF-8 \
519aa733
JB
597%{__make}
598
599%install
600rm -rf $RPM_BUILD_ROOT
601
602%{__make} install \
603 DESTDIR=$RPM_BUILD_ROOT
604
605# We don't need plugins' *.la files
59467759 606%{__rm} $RPM_BUILD_ROOT%{gstlibdir}/*.la
519aa733 607
03ef5bac 608%find_lang %{gstname}-%{gstmver}
519aa733
JB
609
610%clean
611rm -rf $RPM_BUILD_ROOT
612
03ef5bac 613%files -f %{gstname}-%{gstmver}.lang
519aa733 614%defattr(644,root,root,755)
359ebc48 615%doc AUTHORS ChangeLog NEWS README RELEASE
519aa733
JB
616%attr(755,root,root) %{gstlibdir}/libgstalphacolor.so
617%attr(755,root,root) %{gstlibdir}/libgstalpha.so
d4436036 618%attr(755,root,root) %{gstlibdir}/libgstapetag.so
133ea663 619%attr(755,root,root) %{gstlibdir}/libgstaudiofx.so
519aa733
JB
620%attr(755,root,root) %{gstlibdir}/libgstautodetect.so
621%attr(755,root,root) %{gstlibdir}/libgstavi.so
622%attr(755,root,root) %{gstlibdir}/libgstdebug.so
b4747b5f 623%attr(755,root,root) %{gstlibdir}/libgstdtmf.so
e2934287 624%attr(755,root,root) %{gstlibdir}/libgstequalizer.so
a4a3b413
PZ
625%attr(755,root,root) %{gstlibdir}/libgstdeinterlace.so
626%attr(755,root,root) %{gstlibdir}/libgstflv.so
519aa733 627%attr(755,root,root) %{gstlibdir}/libgstflxdec.so
844dbfcf 628%attr(755,root,root) %{gstlibdir}/libgsticydemux.so
519aa733 629%attr(755,root,root) %{gstlibdir}/libgstid3demux.so
49ba75d8 630%attr(755,root,root) %{gstlibdir}/libgstimagefreeze.so
aae141a8 631%attr(755,root,root) %{gstlibdir}/libgstinterleave.so
bbbf358f 632%attr(755,root,root) %{gstlibdir}/libgstisomp4.so
519aa733 633%attr(755,root,root) %{gstlibdir}/libgstmatroska.so
e2934287 634%attr(755,root,root) %{gstlibdir}/libgstmultifile.so
519aa733
JB
635%attr(755,root,root) %{gstlibdir}/libgstmultipart.so
636%attr(755,root,root) %{gstlibdir}/libgstnavigationtest.so
f9f098db 637%attr(755,root,root) %{gstlibdir}/libgstoss4.so
aae141a8 638%attr(755,root,root) %{gstlibdir}/libgstreplaygain.so
519aa733 639%attr(755,root,root) %{gstlibdir}/libgstrtp.so
58be2b13 640%attr(755,root,root) %{gstlibdir}/libgstrtpmanager.so
519aa733 641%attr(755,root,root) %{gstlibdir}/libgstrtsp.so
2d635bb4 642%attr(755,root,root) %{gstlibdir}/libgstshapewipe.so
519aa733
JB
643%attr(755,root,root) %{gstlibdir}/libgstudp.so
644%attr(755,root,root) %{gstlibdir}/libgstvideobox.so
359ebc48 645%attr(755,root,root) %{gstlibdir}/libgstvideocrop.so
49ba75d8 646%attr(755,root,root) %{gstlibdir}/libgstvideofilter.so
519aa733 647%attr(755,root,root) %{gstlibdir}/libgstvideomixer.so
a4a3b413 648%attr(755,root,root) %{gstlibdir}/libgsty4menc.so
03ef5bac
JB
649%dir %{_datadir}/gstreamer-%{gstmver}
650%{_datadir}/gstreamer-%{gstmver}/presets
2172819b
MB
651
652%if %{with apidocs}
653%files apidocs
654%defattr(644,root,root,755)
03ef5bac 655%{_gtkdocdir}/gst-plugins-good-plugins-%{gstmver}
519aa733
JB
656%endif
657
658##
659## Plugins
660##
661
662%if %{with aalib}
663%files -n gstreamer-videosink-aa
664%defattr(644,root,root,755)
665%attr(755,root,root) %{gstlibdir}/libgstaasink.so
666%endif
667
668%files -n gstreamer-audio-effects-good
669%defattr(644,root,root,755)
670%attr(755,root,root) %{gstlibdir}/libgstalaw.so
488bc0e1 671%attr(755,root,root) %{gstlibdir}/libgstcutter.so
519aa733
JB
672%attr(755,root,root) %{gstlibdir}/libgstlevel.so
673%attr(755,root,root) %{gstlibdir}/libgstmulaw.so
519aa733
JB
674
675%files -n gstreamer-audio-formats
676%defattr(644,root,root,755)
677%attr(755,root,root) %{gstlibdir}/libgstauparse.so
bbbf358f 678%attr(755,root,root) %{gstlibdir}/libgstaudioparsers.so
519aa733
JB
679%attr(755,root,root) %{gstlibdir}/libgstwavparse.so
680%attr(755,root,root) %{gstlibdir}/libgstwavenc.so
681
207603e7
JB
682%if %{with cairo}
683%files -n gstreamer-cairo
684%defattr(644,root,root,755)
685%attr(755,root,root) %{gstlibdir}/libgstcairo.so
686%endif
519aa733
JB
687
688%files -n gstreamer-dv
689%defattr(644,root,root,755)
690%attr(755,root,root) %{gstlibdir}/libgstdv.so
691
519aa733
JB
692%files -n gstreamer-flac
693%defattr(644,root,root,755)
694%attr(755,root,root) %{gstlibdir}/libgstflac.so
695
844dbfcf
JB
696%files -n gstreamer-gdkpixbuf
697%defattr(644,root,root,755)
698%attr(755,root,root) %{gstlibdir}/libgstgdkpixbuf.so
699
a90be14c
JB
700%if %{with gtk}
701%files -n gstreamer-videosink-gtk
702%defattr(644,root,root,755)
703%attr(755,root,root) %{gstlibdir}/libgstgtk.so
704%endif
705
d99b8ce4
JB
706%if %{with jack}
707%files -n gstreamer-jack
708%defattr(644,root,root,755)
709%attr(755,root,root) %{gstlibdir}/libgstjack.so
710%endif
711
519aa733
JB
712%if %{with caca}
713%files -n gstreamer-videosink-libcaca
714%defattr(644,root,root,755)
715%attr(755,root,root) %{gstlibdir}/libgstcacasink.so
716%endif
717
a90be14c
JB
718%files -n gstreamer-lame
719%defattr(644,root,root,755)
720%attr(755,root,root) %{gstlibdir}/libgstlame.so
721%attr(755,root,root) %{gstlibdir}/libgsttwolame.so
722
723%if %{with mpg123}
724%files -n gstreamer-mpg123
725%defattr(644,root,root,755)
726%attr(755,root,root) %{gstlibdir}/libgstmpg123.so
727%endif
728
519aa733
JB
729%files -n gstreamer-libpng
730%defattr(644,root,root,755)
731%attr(755,root,root) %{gstlibdir}/libgstpng.so
732
733%files -n gstreamer-audiosink-oss
734%defattr(644,root,root,755)
735%attr(755,root,root) %{gstlibdir}/libgstossaudio.so
736
aae141a8
JB
737%files -n gstreamer-pulseaudio
738%defattr(644,root,root,755)
f9f098db 739%attr(755,root,root) %{gstlibdir}/libgstpulseaudio.so
aae141a8 740
a90be14c
JB
741%if %{with qt}
742%files -n gstreamer-videosink-qt
743%defattr(644,root,root,755)
744%attr(755,root,root) %{gstlibdir}/libgstqmlgl.so
745%endif
746
519aa733
JB
747%files -n gstreamer-raw1394
748%defattr(644,root,root,755)
749%attr(755,root,root) %{gstlibdir}/libgst1394.so
750
751%files -n gstreamer-shout2
752%defattr(644,root,root,755)
753%attr(755,root,root) %{gstlibdir}/libgstshout2.so
754
4bfcc885
PZ
755%if %{with soup}
756%files -n gstreamer-soup
757%defattr(644,root,root,755)
f9f098db 758%attr(755,root,root) %{gstlibdir}/libgstsoup.so
4bfcc885
PZ
759%endif
760
519aa733
JB
761%if %{with speex}
762%files -n gstreamer-speex
763%defattr(644,root,root,755)
764%attr(755,root,root) %{gstlibdir}/libgstspeex.so
765%endif
766
844dbfcf
JB
767%files -n gstreamer-taglib
768%defattr(644,root,root,755)
769%attr(755,root,root) %{gstlibdir}/libgsttaglib.so
770
59467759
JB
771%files -n gstreamer-v4l2
772%defattr(644,root,root,755)
773%attr(755,root,root) %{gstlibdir}/libgstvideo4linux2.so
774
519aa733
JB
775%files -n gstreamer-video-effects
776%defattr(644,root,root,755)
777%attr(755,root,root) %{gstlibdir}/libgsteffectv.so
778%attr(755,root,root) %{gstlibdir}/libgstjpeg.so
779%attr(755,root,root) %{gstlibdir}/libgstsmpte.so
519aa733
JB
780
781%files -n gstreamer-visualisation
782%defattr(644,root,root,755)
783%attr(755,root,root) %{gstlibdir}/libgstgoom.so
488bc0e1
JB
784%attr(755,root,root) %{gstlibdir}/libgstgoom2k1.so
785%attr(755,root,root) %{gstlibdir}/libgstmonoscope.so
786%attr(755,root,root) %{gstlibdir}/libgstspectrum.so
844dbfcf 787
207603e7
JB
788%files -n gstreamer-vpx
789%defattr(644,root,root,755)
790%attr(755,root,root) %{gstlibdir}/libgstvpx.so
791
359ebc48
AM
792%if %{with wavpack}
793%files -n gstreamer-wavpack
794%defattr(644,root,root,755)
795%attr(755,root,root) %{gstlibdir}/libgstwavpack.so
796%endif
797
844dbfcf
JB
798%files -n gstreamer-ximagesrc
799%defattr(644,root,root,755)
800%attr(755,root,root) %{gstlibdir}/libgstximagesrc.so
This page took 0.385802 seconds and 4 git commands to generate.