]>
Commit | Line | Data |
---|---|---|
8e4892da JB |
1 | # |
2 | # Conditional build: | |
b61825c5 | 3 | %bcond_without apidocs # disable gtk-doc (requires opengl library enabled) |
8e4892da | 4 | %bcond_without libvisual # don't build libvisual plugin |
b61825c5 | 5 | %bcond_without opengl # OpenGL support (gstgl library and opengl plugin) |
1287b817 | 6 | %bcond_without tremor # ivorbisdec plugin (Tremor integer Ogg Vorbis decoder) |
e604a4d4 | 7 | %bcond_with v4l1 # Video4Linux 1 plugin (for Linux < 2.6.35 or so) |
e92bb8d6 | 8 | |
8e4892da | 9 | %define gstname gst-plugins-base |
3c79c21d | 10 | %define vmajor 1.0 |
b61825c5 | 11 | %define gst_req_ver 1.14.4 |
e92bb8d6 | 12 | |
8e4892da | 13 | Summary: GStreamer Streaming-media framework base plugins |
51fd5c44 | 14 | Summary(pl.UTF-8): Podstawowe wtyczki do środowiska obróbki strumieni GStreamer |
8e4892da | 15 | Name: gstreamer-plugins-base |
b61825c5 | 16 | Version: 1.14.4 |
90927192 | 17 | Release: 1 |
aeaab2d2 | 18 | License: LGPL v2+ |
8e4892da | 19 | Group: Libraries |
15d70724 | 20 | Source0: https://gstreamer.freedesktop.org/src/gst-plugins-base/%{gstname}-%{version}.tar.xz |
b61825c5 | 21 | # Source0-md5: 4dbe20c1bf44191c2b8833234df5cb2a |
15d70724 | 22 | URL: https://gstreamer.freedesktop.org/ |
cf99eead JB |
23 | BuildRequires: autoconf >= 2.69 |
24 | BuildRequires: automake >= 1:1.14 | |
ab95cdd4 | 25 | %{?with_apidocs:BuildRequires: docbook-dtd412-xml} |
6782cf65 | 26 | BuildRequires: gettext-tools >= 0.17 |
9779541a | 27 | BuildRequires: glib2-devel >= 1:2.40.0 |
ac2cf487 JB |
28 | %if %(locale -a | grep -q '^C.UTF-8$'; echo $?) |
29 | BuildRequires: glibc-localedb-all | |
30 | %endif | |
a331b9a3 | 31 | BuildRequires: glibc-misc |
6a3401f2 | 32 | BuildRequires: gobject-introspection-devel >= 1.31.1 |
8e4892da | 33 | BuildRequires: gstreamer-devel >= %{gst_req_ver} |
cf99eead | 34 | BuildRequires: gtk+3-devel >= 3.10 |
3c79c21d | 35 | %{?with_apidocs:BuildRequires: gtk-doc >= 1.12} |
67891444 | 36 | BuildRequires: iso-codes |
cf99eead | 37 | BuildRequires: libtool >= 2:2.2.6 |
b00de5af | 38 | BuildRequires: libxml2-devel >= 2.0 |
1f6de547 | 39 | BuildRequires: orc-devel >= 0.4.24 |
cf99eead | 40 | BuildRequires: pkgconfig >= 1:0.9.0 |
b00de5af | 41 | BuildRequires: python >= 2.1 |
8937db81 JB |
42 | BuildRequires: tar >= 1:1.22 |
43 | BuildRequires: xz | |
b65e54b2 | 44 | BuildRequires: zlib-devel |
8e4892da JB |
45 | ## |
46 | ## plugins | |
47 | ## | |
f9dfa9e5 | 48 | BuildRequires: alsa-lib-devel >= 1.0.11 |
b00de5af | 49 | BuildRequires: cdparanoia-III-devel >= 2:10.2 |
8e4892da | 50 | BuildRequires: libogg-devel >= 2:1.0 |
67891444 | 51 | BuildRequires: libtheora-devel >= 1.1 |
563679df | 52 | %{?with_libvisual:BuildRequires: libvisual-devel >= 0.4.0} |
8e4892da | 53 | BuildRequires: libvorbis-devel >= 1:1.0 |
58d929ff | 54 | BuildRequires: opus-devel >= 0.9.4 |
6a3401f2 | 55 | BuildRequires: pango-devel >= 1:1.22.0 |
5ae7c062 | 56 | BuildRequires: rpmbuild(macros) >= 1.98 |
1287b817 | 57 | %{?with_tremor:BuildRequires: tremor-devel} |
82c29f94 | 58 | BuildRequires: xorg-lib-libX11-devel |
59 | BuildRequires: xorg-lib-libXext-devel | |
60 | BuildRequires: xorg-lib-libXv-devel | |
b61825c5 JB |
61 | %if %{with opengl} |
62 | BuildRequires: EGL-devel | |
63 | BuildRequires: Mesa-libgbm-devel | |
64 | BuildRequires: OpenGL-GLX-devel | |
65 | # examples only: clutter clutter-glx clutter-x11 | |
66 | #BuildRequires: SDL-devel >= 1.2.0 clutter-devel >= 1.8 xorg-lib-libXcomposite-devel | |
67 | BuildRequires: graphene-devel >= 1.4.0 | |
68 | BuildRequires: libdrm-devel >= 2.4.55 | |
69 | BuildRequires: libpng-devel >= 1.0 | |
70 | BuildRequires: libjpeg-devel | |
71 | # wayland-client, wayland-cursor | |
72 | BuildRequires: wayland-devel >= 1.0 | |
73 | BuildRequires: wayland-egl-devel | |
74 | %endif | |
d9016439 PZ |
75 | # old GIR format |
76 | BuildConflicts: gstreamer-plugins-base-devel < 0.10.30 | |
9779541a | 77 | Requires: glib2 >= 1:2.40.0 |
8e4892da | 78 | Requires: gstreamer >= %{gst_req_ver} |
1f6de547 | 79 | Requires: orc >= 0.4.24 |
b948a26a | 80 | Suggests: iso-codes |
0fe86343 | 81 | # here go all the obsoleted gstreamer plugins |
7acf022e | 82 | Obsoletes: gstreamer-artsd |
240f6f27 | 83 | Obsoletes: gstreamer-audio-effects |
7acf022e | 84 | Obsoletes: gstreamer-audiofile |
0fe86343 | 85 | Obsoletes: gstreamer-audiosink-esd |
7acf022e | 86 | Obsoletes: gstreamer-avi |
7acf022e JB |
87 | Obsoletes: gstreamer-cdplayer |
88 | Obsoletes: gstreamer-colorspace | |
7acf022e | 89 | Obsoletes: gstreamer-festival |
0fe86343 | 90 | Obsoletes: gstreamer-hal |
8e4892da | 91 | Obsoletes: gstreamer-interfaces |
7acf022e | 92 | Obsoletes: gstreamer-interleave |
8e4892da | 93 | Obsoletes: gstreamer-kio |
7acf022e JB |
94 | Obsoletes: gstreamer-libdvdnav |
95 | Obsoletes: gstreamer-libfame | |
8e4892da | 96 | Obsoletes: gstreamer-media-info |
7acf022e | 97 | Obsoletes: gstreamer-mikmod |
d5e1d660 | 98 | Obsoletes: gstreamer-mimic |
8e4892da | 99 | Obsoletes: gstreamer-misc |
c1287c81 | 100 | Obsoletes: gstreamer-musicbrainz |
7981e4e7 | 101 | Obsoletes: gstreamer-mythtv |
8e4892da JB |
102 | Obsoletes: gstreamer-oneton |
103 | Obsoletes: gstreamer-play | |
104 | Obsoletes: gstreamer-plugins | |
105 | Obsoletes: gstreamer-qcam | |
7acf022e | 106 | Obsoletes: gstreamer-snapshot |
c4a92642 | 107 | Obsoletes: gstreamer-swfdec |
8e4892da JB |
108 | Obsoletes: gstreamer-tcp |
109 | Obsoletes: gstreamer-tuner | |
8e4892da | 110 | Obsoletes: gstreamer-v4l |
8e4892da JB |
111 | Obsoletes: gstreamer-vbidec |
112 | Obsoletes: gstreamer-videosink-xv | |
113 | Obsoletes: gstreamer-videotest | |
7acf022e | 114 | Obsoletes: gstreamer-xine |
8e4892da JB |
115 | Obsoletes: gstreamer-xoverlay |
116 | Obsoletes: gstreamer-yuv4mjpeg | |
7acf022e | 117 | Obsoletes: gtk-loaders-gstreamer |
6ce3fcb3 | 118 | Conflicts: gstreamer-plugins-bad < 1.12.0 |
8e4892da JB |
119 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
120 | ||
6a3401f2 ŁK |
121 | %define gstlibdir %{_libdir}/gstreamer-%{vmajor} |
122 | %define gstincludedir %{_includedir}/gstreamer-%{vmajor} | |
8e4892da JB |
123 | |
124 | %description | |
125 | GStreamer is a streaming-media framework, based on graphs of filters | |
126 | which operate on media data. Applications using this library can do | |
127 | anything from real-time sound processing to playing videos, and just | |
128 | about anything else media-related. Its plugin-based architecture means | |
129 | that new data types or processing capabilities can be added simply by | |
130 | installing new plugins. | |
131 | ||
265bb6e4 JR |
132 | %description -l pl.UTF-8 |
133 | GStreamer to środowisko obróbki danych strumieniowych, bazujące na | |
134 | grafie filtrów operujących na danych medialnych. Aplikacje używające | |
135 | tej biblioteki mogą robić wszystko od przetwarzania dźwięku w czasie | |
136 | rzeczywistym, do odtwarzania filmów i czegokolwiek innego związego z | |
137 | mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie | |
138 | nowych typów danych lub możliwości obróbki. | |
8e4892da JB |
139 | |
140 | %package devel | |
141 | Summary: Include files for GStreamer streaming-media framework plugins | |
51fd5c44 | 142 | Summary(pl.UTF-8): Pliki nagłówkowe do wtyczek środowiska obróbki strumieni GStreamer |
8e4892da JB |
143 | Group: Development/Libraries |
144 | Requires: %{name} = %{version}-%{release} | |
9779541a | 145 | Requires: glib2-devel >= 1:2.40.0 |
8e4892da JB |
146 | Requires: gstreamer-devel >= %{gst_req_ver} |
147 | Obsoletes: gstreamer-interfaces-devel | |
148 | Obsoletes: gstreamer-media-info-devel | |
149 | Obsoletes: gstreamer-mixer-devel | |
150 | Obsoletes: gstreamer-navigation-devel | |
151 | Obsoletes: gstreamer-play-devel | |
152 | Obsoletes: gstreamer-plugins-devel | |
153 | Obsoletes: gstreamer-tuner-devel | |
154 | Obsoletes: gstreamer-xoverlay-devel | |
155 | ||
156 | %description devel | |
157 | Include files for GStreamer streaming-media framework plugins. | |
158 | ||
265bb6e4 JR |
159 | %description devel -l pl.UTF-8 |
160 | Pliki nagłówkowe do wtyczek środowiska obróbki strumieni GStreamer. | |
8e4892da | 161 | |
ca029c64 MB |
162 | %package apidocs |
163 | Summary: GStreamer streaming-media framework plugins API documentation | |
164 | Summary(pl.UTF-8): Dokumentacja API wtyczek środowiska obróbki strumieni GStreamer | |
165 | Group: Documentation | |
166 | Requires: gtk-doc-common | |
770dd52a ER |
167 | %if "%{_rpmversion}" >= "5" |
168 | BuildArch: noarch | |
169 | %endif | |
ca029c64 MB |
170 | |
171 | %description apidocs | |
172 | GStreamer streaming-media framework plugins API documentation. | |
173 | ||
174 | %description apidocs -l pl.UTF-8 | |
175 | Dokumentacja API wtyczek środowiska obróbki strumieni GStreamer. | |
176 | ||
d6e4213b JB |
177 | %package -n gstreamer-gl-libs |
178 | Summary: GStreamer OpenGL plugins library | |
179 | Summary(pl.UTF-8): Biblioteka wtyczek OpenGL dla GStreamera | |
180 | Group: Libraries | |
181 | Requires: %{name} = %{version}-%{release} | |
182 | Requires: graphene >= 1.4.0 | |
183 | Requires: libdrm >= 2.4.55 | |
184 | Requires: libpng >= 1.0 | |
185 | Requires: wayland >= 1.0 | |
186 | Obsoletes: gstreamer-opengl < 1.14 | |
187 | ||
188 | %description -n gstreamer-gl-libs | |
189 | OpenGL plugins library for GStreamer streaming media framework, | |
190 | together with actual OpenGL plugin. | |
191 | ||
192 | %description -n gstreamer-gl-libs -l pl.UTF-8 | |
193 | Biblioteka wtyczek OpenGL dla szkieletu strumieni multimedialnych | |
194 | GStreamer wraz z właściwą wtyczką OpenGL. | |
195 | ||
196 | %package -n gstreamer-gl-devel | |
197 | Summary: Header files for GStreamer OpenGL library | |
198 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GStreamera OpenGL | |
199 | Group: Development/Libraries | |
200 | Requires: gstreamer-gl-devel = %{version}-%{release} | |
201 | Requires: %{name}-devel = %{version}-%{release} | |
202 | ||
203 | %description -n gstreamer-gl-devel | |
204 | Header files for GStreamer OpenGL library. | |
205 | ||
206 | %description -n gstreamer-gl-devel -l pl.UTF-8 | |
207 | Pliki nagłówkowe biblioteki GStreamera OpenGL. | |
208 | ||
8e4892da JB |
209 | ## |
210 | ## Plugins | |
211 | ## | |
212 | ||
213 | %package -n gstreamer-audiosink-alsa | |
214 | Summary: GStreamer plugins for the ALSA sound architecture | |
51fd5c44 | 215 | Summary(pl.UTF-8): Wtyczki GStreamera do obsługi architektury ALSA |
8e4892da JB |
216 | Group: Libraries |
217 | Requires: %{name} = %{version}-%{release} | |
218 | Provides: gstreamer-audiosink = %{version} | |
219 | Obsoletes: gstreamer-alsa | |
80ccf6d0 | 220 | Obsoletes: gstreamer-audiosink-alsaspdif |
8e4892da JB |
221 | |
222 | %description -n gstreamer-audiosink-alsa | |
223 | Input and output plugin for the ALSA soundcard driver architecture. | |
224 | ||
265bb6e4 JR |
225 | %description -n gstreamer-audiosink-alsa -l pl.UTF-8 |
226 | Wtyczka wejścia i wyjścia ze sterowników dźwiękowych architektury ALSA | |
8e4892da JB |
227 | do GStreamera. |
228 | ||
5ae7c062 JB |
229 | %package -n gstreamer-audio-effects-base |
230 | Summary: GStreamer base audio effects plugins | |
51fd5c44 | 231 | Summary(pl.UTF-8): Podstawowe wtyczki efektów dźwiękowych do GStreamera |
8e4892da JB |
232 | Group: Libraries |
233 | Requires: %{name} = %{version}-%{release} | |
5ae7c062 | 234 | Obsoletes: gstreamer-audio-effects |
8e4892da | 235 | |
5ae7c062 JB |
236 | %description -n gstreamer-audio-effects-base |
237 | GStreamer base audio effects plugins. | |
8e4892da | 238 | |
265bb6e4 JR |
239 | %description -n gstreamer-audio-effects-base -l pl.UTF-8 |
240 | Podstawowe wtyczki efektów dźwiękowych do GStreamera. | |
8e4892da JB |
241 | |
242 | %package -n gstreamer-cdparanoia | |
243 | Summary: GStreamer plugin for CD audio input using CDParanoia IV | |
51fd5c44 | 244 | Summary(pl.UTF-8): Wtyczka do GStreamera odtwarzająca płyty CD-Audio przy użyciu CDParanoia IV |
8e4892da | 245 | Group: Libraries |
5ae7c062 | 246 | Requires: %{name} = %{version}-%{release} |
1287b817 | 247 | Requires: cdparanoia-III-libs >= 2:10.2 |
8e4892da JB |
248 | |
249 | %description -n gstreamer-cdparanoia | |
250 | Plugin for ripping audio tracks using cdparanoia under GStreamer. | |
251 | ||
265bb6e4 JR |
252 | %description -n gstreamer-cdparanoia -l pl.UTF-8 |
253 | Wtyczka do ripowania ścieżek dźwiękowych pod GStreamerem za pomocą | |
8e4892da JB |
254 | cdparanoia. |
255 | ||
1287b817 JB |
256 | %package -n gstreamer-ivorbisdec |
257 | Summary: GStreamer plugin for decoding Ogg Vorbis audio files using Tremor | |
258 | Summary(pl.UTF-8): Wtyczka GStreamera dekodująca pliki dźwiękowe Ogg Vorbis (przy użyciu Tremora) | |
259 | Group: Libraries | |
260 | Requires: %{name} = %{version}-%{release} | |
261 | ||
262 | %description -n gstreamer-ivorbisdec | |
263 | Plugin for playing Ogg Vorbis audio files using Tremor. | |
264 | ||
265 | %description -n gstreamer-ivorbisdec -l pl.UTF-8 | |
266 | Wtyczka do odtwarzania plików dźwiękowych Ogg Vorbis przy użyciu | |
267 | Tremora. | |
268 | ||
8e4892da JB |
269 | %package -n gstreamer-libvisual |
270 | Summary: GStreamer libvisual plugin | |
51fd5c44 | 271 | Summary(pl.UTF-8): Wtyczka libvisual do GStreamera |
8e4892da | 272 | Group: Libraries |
cf99eead JB |
273 | Requires: %{name} = %{version}-%{release} |
274 | Requires: libvisual >= 0.4.0 | |
8e4892da JB |
275 | |
276 | %description -n gstreamer-libvisual | |
277 | GStreamer libvisual plugin. | |
278 | ||
265bb6e4 | 279 | %description -n gstreamer-libvisual -l pl.UTF-8 |
8e4892da JB |
280 | Wtyczka libvisual do GStreamera. |
281 | ||
58d929ff ŁK |
282 | %package -n gstreamer-opus |
283 | Summary: GStreamer OPUS plugins | |
284 | Summary(pl.UTF-8): Wtyczki OPUS do GStreamera | |
285 | Group: Libraries | |
286 | Requires: %{name} = %{version}-%{release} | |
287 | Requires: opus >= 0.9.4 | |
288 | ||
289 | %description -n gstreamer-opus | |
290 | This package contains GStreamer plugins encoding/decoding OPUS codec | |
291 | streams. | |
292 | ||
293 | %description -n gstreamer-opus -l pl.UTF-8 | |
294 | Ten pakiet zawiera wtyczki do GStreamera obsługujące strumienie kodeka | |
295 | OPUS. | |
296 | ||
8e4892da JB |
297 | %package -n gstreamer-pango |
298 | Summary: GStreamer pango plugins | |
51fd5c44 | 299 | Summary(pl.UTF-8): Wtyczki pango do GStreamera |
8e4892da | 300 | Group: Libraries |
cf99eead | 301 | Requires: %{name} = %{version}-%{release} |
3c79c21d | 302 | Requires: pango >= 1:1.22.0 |
8e4892da JB |
303 | |
304 | %description -n gstreamer-pango | |
305 | This package contains textoverlay and timeoverlay GStreamer plugins. | |
306 | ||
265bb6e4 | 307 | %description -n gstreamer-pango -l pl.UTF-8 |
8e4892da JB |
308 | Ten pakiet zawiera wtyczki textoverlay i timeoverlay do GStreamera. |
309 | ||
310 | %package -n gstreamer-theora | |
311 | Summary: GStreamer Ogg Theora plugin | |
51fd5c44 | 312 | Summary(pl.UTF-8): Wtyczka Ogg Theora do GStreamera |
8e4892da | 313 | Group: Libraries |
cf99eead | 314 | Requires: %{name} = %{version}-%{release} |
67891444 | 315 | Requires: libtheora >= 1.1 |
8e4892da JB |
316 | |
317 | %description -n gstreamer-theora | |
318 | GStreamer Ogg Theora plugin. | |
319 | ||
265bb6e4 | 320 | %description -n gstreamer-theora -l pl.UTF-8 |
8e4892da JB |
321 | Wtyczka Ogg Theora do GStreamera. |
322 | ||
57fca938 JB |
323 | %package -n gstreamer-video4linux |
324 | Summary: GStreamer plugin for Video 4 Linux source | |
325 | Summary(pl.UTF-8): Wtyczka GStreamera dla źródła Video 4 Linux | |
326 | Group: Libraries | |
327 | Requires: %{name} = %{version}-%{release} | |
328 | Requires: udev-glib >= 143 | |
329 | ||
330 | %description -n gstreamer-video4linux | |
331 | GStreamer plugin for Video 4 Linux source. | |
332 | ||
333 | %description -n gstreamer-video4linux -l pl.UTF-8 | |
334 | Wtyczka GStreamera dla źródła Video 4 Linux. | |
335 | ||
8e4892da JB |
336 | %package -n gstreamer-vorbis |
337 | Summary: GStreamer plugin for encoding and decoding Ogg Vorbis audio files | |
51fd5c44 | 338 | Summary(pl.UTF-8): Wtyczki do GStreamera kodujące i dekodujące pliki dźwiękowe Ogg Vorbis |
8e4892da | 339 | Group: Libraries |
5ae7c062 | 340 | Requires: %{name} = %{version}-%{release} |
8e4892da JB |
341 | |
342 | %description -n gstreamer-vorbis | |
343 | Plugins for creating and playing Ogg Vorbis audio files. | |
344 | ||
265bb6e4 JR |
345 | %description -n gstreamer-vorbis -l pl.UTF-8 |
346 | Wtyczki do tworzenia i odtwarzania plików dźwiękowych Ogg Vorbis. | |
8e4892da JB |
347 | |
348 | %package -n gstreamer-imagesink-x | |
349 | Summary: GStreamer XFree86/X.org output plugin | |
51fd5c44 | 350 | Summary(pl.UTF-8): Wtyczka wyjścia obrazu XFree86/X.org dla GStreamera |
8e4892da JB |
351 | Group: Libraries |
352 | Requires: %{name} = %{version}-%{release} | |
353 | Provides: gstreamer-videosink = %{version} | |
354 | ||
355 | %description -n gstreamer-imagesink-x | |
356 | Standard XFree86/X.org image sink. | |
357 | ||
265bb6e4 JR |
358 | %description -n gstreamer-imagesink-x -l pl.UTF-8 |
359 | Standardowa wtyczka wyjścia obrazu XFree86/X.org dla GStreamera. | |
8e4892da JB |
360 | |
361 | %package -n gstreamer-imagesink-xv | |
362 | Summary: GStreamer Xvideo output plugin | |
51fd5c44 | 363 | Summary(pl.UTF-8): Wtyczka wyjścia obrazu Xvideo dla GStreamera |
8e4892da JB |
364 | Group: Libraries |
365 | Requires: %{name} = %{version}-%{release} | |
366 | Provides: gstreamer-videosink = %{version} | |
367 | ||
368 | %description -n gstreamer-imagesink-xv | |
369 | XFree86/X.org image sink via Xvideo extension. | |
370 | ||
265bb6e4 JR |
371 | %description -n gstreamer-imagesink-xv -l pl.UTF-8 |
372 | Wtyczka wyjścia obrazu Xvideo dla GStreamera. | |
8e4892da JB |
373 | |
374 | %prep | |
375 | %setup -q -n %{gstname}-%{version} | |
b2950cd3 | 376 | |
8e4892da JB |
377 | %build |
378 | %{__libtoolize} | |
379 | %{__aclocal} -I m4 -I common/m4 | |
380 | %{__autoconf} | |
381 | %{__autoheader} | |
382 | %{__automake} | |
383 | %configure \ | |
b61825c5 JB |
384 | --disable-examples \ |
385 | %{!?with_opengl:--disable-egl} \ | |
1287b817 | 386 | %{!?with_tremor:--disable-ivorbis} \ |
8e4892da | 387 | %{!?with_libvisual:--disable-libvisual} \ |
b61825c5 | 388 | %{!?with_opengl:--disable-opengl} \ |
67891444 | 389 | --disable-silent-rules \ |
8e4892da | 390 | --disable-static \ |
544126f1 | 391 | --enable-experimental \ |
67891444 | 392 | --enable-gtk-doc%{!?with_apidocs:=no} \ |
544126f1 | 393 | --enable-orc \ |
5ae7c062 | 394 | --with-html-dir=%{_gtkdocdir} |
8e4892da | 395 | |
ac2cf487 | 396 | LC_ALL=C.UTF-8 \ |
67891444 | 397 | %{__make} |
8e4892da JB |
398 | |
399 | %install | |
400 | rm -rf $RPM_BUILD_ROOT | |
401 | ||
402 | %{__make} install \ | |
403 | DESTDIR=$RPM_BUILD_ROOT | |
404 | ||
405 | # We don't need plugins' *.la files | |
57fca938 | 406 | %{__rm} $RPM_BUILD_ROOT%{gstlibdir}/*.la |
3c79c21d JB |
407 | # obsoleted by pkg-config |
408 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgst*.la | |
8e4892da | 409 | |
6a3401f2 | 410 | %find_lang %{gstname}-%{vmajor} |
8e4892da JB |
411 | |
412 | %clean | |
413 | rm -rf $RPM_BUILD_ROOT | |
414 | ||
415 | %post -p /sbin/ldconfig | |
416 | %postun -p /sbin/ldconfig | |
417 | ||
6a3401f2 | 418 | %files -f %{gstname}-%{vmajor}.lang |
8e4892da JB |
419 | %defattr(644,root,root,755) |
420 | %doc AUTHORS ChangeLog NEWS README RELEASE | |
d9b679ea | 421 | %attr(755,root,root) %{_bindir}/gst-device-monitor-%{vmajor} |
6a3401f2 | 422 | %attr(755,root,root) %{_bindir}/gst-discoverer-%{vmajor} |
20526432 AM |
423 | %attr(755,root,root) %{_bindir}/gst-play-%{vmajor} |
424 | %attr(755,root,root) %{_libdir}/libgstallocators-%{vmajor}.so.*.*.* | |
425 | %attr(755,root,root) %ghost %{_libdir}/libgstallocators-%{vmajor}.so.0 | |
6a3401f2 ŁK |
426 | %attr(755,root,root) %{_libdir}/libgstapp-%{vmajor}.so.*.*.* |
427 | %attr(755,root,root) %ghost %{_libdir}/libgstapp-%{vmajor}.so.0 | |
428 | %attr(755,root,root) %{_libdir}/libgstaudio-%{vmajor}.so.*.*.* | |
429 | %attr(755,root,root) %ghost %{_libdir}/libgstaudio-%{vmajor}.so.0 | |
430 | %attr(755,root,root) %{_libdir}/libgstfft-%{vmajor}.so.*.*.* | |
431 | %attr(755,root,root) %ghost %{_libdir}/libgstfft-%{vmajor}.so.0 | |
432 | %attr(755,root,root) %{_libdir}/libgstpbutils-%{vmajor}.so.*.*.* | |
433 | %attr(755,root,root) %ghost %{_libdir}/libgstpbutils-%{vmajor}.so.0 | |
434 | %attr(755,root,root) %{_libdir}/libgstriff-%{vmajor}.so.*.*.* | |
435 | %attr(755,root,root) %ghost %{_libdir}/libgstriff-%{vmajor}.so.0 | |
436 | %attr(755,root,root) %{_libdir}/libgstrtp-%{vmajor}.so.*.*.* | |
437 | %attr(755,root,root) %ghost %{_libdir}/libgstrtp-%{vmajor}.so.0 | |
438 | %attr(755,root,root) %{_libdir}/libgstrtsp-%{vmajor}.so.*.*.* | |
439 | %attr(755,root,root) %ghost %{_libdir}/libgstrtsp-%{vmajor}.so.0 | |
440 | %attr(755,root,root) %{_libdir}/libgstsdp-%{vmajor}.so.*.*.* | |
441 | %attr(755,root,root) %ghost %{_libdir}/libgstsdp-%{vmajor}.so.0 | |
442 | %attr(755,root,root) %{_libdir}/libgsttag-%{vmajor}.so.*.*.* | |
443 | %attr(755,root,root) %ghost %{_libdir}/libgsttag-%{vmajor}.so.0 | |
444 | %attr(755,root,root) %{_libdir}/libgstvideo-%{vmajor}.so.*.*.* | |
445 | %attr(755,root,root) %ghost %{_libdir}/libgstvideo-%{vmajor}.so.0 | |
d9b679ea | 446 | %{_mandir}/man1/gst-device-monitor-%{vmajor}.1* |
25e9bc5d | 447 | %{_mandir}/man1/gst-discoverer-%{vmajor}.1* |
20526432 | 448 | %{_mandir}/man1/gst-play-%{vmajor}.1* |
ff7b5407 | 449 | # plugins with no external dependencies |
0e2defa5 | 450 | %attr(755,root,root) %{gstlibdir}/libgstapp.so |
8e4892da | 451 | %attr(755,root,root) %{gstlibdir}/libgstaudioconvert.so |
9e6e4f5d | 452 | %attr(755,root,root) %{gstlibdir}/libgstaudiomixer.so |
8e4892da JB |
453 | %attr(755,root,root) %{gstlibdir}/libgstaudiorate.so |
454 | %attr(755,root,root) %{gstlibdir}/libgstaudiotestsrc.so | |
1f6de547 | 455 | %attr(755,root,root) %{gstlibdir}/libgstencoding.so |
75bbf2ea | 456 | %attr(755,root,root) %{gstlibdir}/libgstgio.so |
1f6de547 | 457 | %attr(755,root,root) %{gstlibdir}/libgstpbtypes.so |
6a3401f2 | 458 | %attr(755,root,root) %{gstlibdir}/libgstplayback.so |
1f6de547 | 459 | %attr(755,root,root) %{gstlibdir}/libgstrawparse.so |
8e4892da JB |
460 | %attr(755,root,root) %{gstlibdir}/libgstsubparse.so |
461 | %attr(755,root,root) %{gstlibdir}/libgsttcp.so | |
462 | %attr(755,root,root) %{gstlibdir}/libgsttypefindfunctions.so | |
6a3401f2 | 463 | %attr(755,root,root) %{gstlibdir}/libgstvideoconvert.so |
8e4892da JB |
464 | %attr(755,root,root) %{gstlibdir}/libgstvideorate.so |
465 | %attr(755,root,root) %{gstlibdir}/libgstvideoscale.so | |
466 | %attr(755,root,root) %{gstlibdir}/libgstvideotestsrc.so | |
20526432 | 467 | %{_libdir}/girepository-1.0/GstAllocators-%{vmajor}.typelib |
6a3401f2 ŁK |
468 | %{_libdir}/girepository-1.0/GstApp-%{vmajor}.typelib |
469 | %{_libdir}/girepository-1.0/GstAudio-%{vmajor}.typelib | |
6a3401f2 | 470 | %{_libdir}/girepository-1.0/GstPbutils-%{vmajor}.typelib |
6a3401f2 ŁK |
471 | %{_libdir}/girepository-1.0/GstRtp-%{vmajor}.typelib |
472 | %{_libdir}/girepository-1.0/GstRtsp-%{vmajor}.typelib | |
473 | %{_libdir}/girepository-1.0/GstSdp-%{vmajor}.typelib | |
474 | %{_libdir}/girepository-1.0/GstTag-%{vmajor}.typelib | |
475 | %{_libdir}/girepository-1.0/GstVideo-%{vmajor}.typelib | |
8937db81 | 476 | %{_datadir}/gst-plugins-base |
8e4892da JB |
477 | |
478 | %files devel | |
479 | %defattr(644,root,root,755) | |
20526432 | 480 | %attr(755,root,root) %{_libdir}/libgstallocators-%{vmajor}.so |
6a3401f2 ŁK |
481 | %attr(755,root,root) %{_libdir}/libgstapp-%{vmajor}.so |
482 | %attr(755,root,root) %{_libdir}/libgstaudio-%{vmajor}.so | |
483 | %attr(755,root,root) %{_libdir}/libgstfft-%{vmajor}.so | |
484 | %attr(755,root,root) %{_libdir}/libgstpbutils-%{vmajor}.so | |
485 | %attr(755,root,root) %{_libdir}/libgstriff-%{vmajor}.so | |
486 | %attr(755,root,root) %{_libdir}/libgstrtp-%{vmajor}.so | |
487 | %attr(755,root,root) %{_libdir}/libgstrtsp-%{vmajor}.so | |
488 | %attr(755,root,root) %{_libdir}/libgstsdp-%{vmajor}.so | |
489 | %attr(755,root,root) %{_libdir}/libgsttag-%{vmajor}.so | |
490 | %attr(755,root,root) %{_libdir}/libgstvideo-%{vmajor}.so | |
20526432 | 491 | %{gstincludedir}/gst/allocators |
0e2defa5 | 492 | %{gstincludedir}/gst/app |
8e4892da | 493 | %{gstincludedir}/gst/audio |
aeaab2d2 | 494 | %{gstincludedir}/gst/fft |
9ab6cf72 | 495 | %{gstincludedir}/gst/pbutils |
8e4892da JB |
496 | %{gstincludedir}/gst/riff |
497 | %{gstincludedir}/gst/rtp | |
b2950cd3 JB |
498 | %{gstincludedir}/gst/rtsp |
499 | %{gstincludedir}/gst/sdp | |
8e4892da JB |
500 | %{gstincludedir}/gst/tag |
501 | %{gstincludedir}/gst/video | |
20526432 | 502 | %{_pkgconfigdir}/gstreamer-allocators-%{vmajor}.pc |
6a3401f2 ŁK |
503 | %{_pkgconfigdir}/gstreamer-app-%{vmajor}.pc |
504 | %{_pkgconfigdir}/gstreamer-audio-%{vmajor}.pc | |
505 | %{_pkgconfigdir}/gstreamer-fft-%{vmajor}.pc | |
506 | %{_pkgconfigdir}/gstreamer-pbutils-%{vmajor}.pc | |
507 | %{_pkgconfigdir}/gstreamer-plugins-base-%{vmajor}.pc | |
508 | %{_pkgconfigdir}/gstreamer-riff-%{vmajor}.pc | |
509 | %{_pkgconfigdir}/gstreamer-rtp-%{vmajor}.pc | |
510 | %{_pkgconfigdir}/gstreamer-rtsp-%{vmajor}.pc | |
511 | %{_pkgconfigdir}/gstreamer-sdp-%{vmajor}.pc | |
512 | %{_pkgconfigdir}/gstreamer-tag-%{vmajor}.pc | |
513 | %{_pkgconfigdir}/gstreamer-video-%{vmajor}.pc | |
20526432 | 514 | %{_datadir}/gir-1.0/GstAllocators-%{vmajor}.gir |
6a3401f2 ŁK |
515 | %{_datadir}/gir-1.0/GstApp-%{vmajor}.gir |
516 | %{_datadir}/gir-1.0/GstAudio-%{vmajor}.gir | |
6a3401f2 | 517 | %{_datadir}/gir-1.0/GstPbutils-%{vmajor}.gir |
6a3401f2 ŁK |
518 | %{_datadir}/gir-1.0/GstRtp-%{vmajor}.gir |
519 | %{_datadir}/gir-1.0/GstRtsp-%{vmajor}.gir | |
520 | %{_datadir}/gir-1.0/GstSdp-%{vmajor}.gir | |
521 | %{_datadir}/gir-1.0/GstTag-%{vmajor}.gir | |
522 | %{_datadir}/gir-1.0/GstVideo-%{vmajor}.gir | |
ca029c64 MB |
523 | |
524 | %if %{with apidocs} | |
525 | %files apidocs | |
526 | %defattr(644,root,root,755) | |
6a3401f2 ŁK |
527 | %{_gtkdocdir}/gst-plugins-base-libs-%{vmajor} |
528 | %{_gtkdocdir}/gst-plugins-base-plugins-%{vmajor} | |
ca029c64 | 529 | %endif |
8e4892da | 530 | |
d6e4213b JB |
531 | %if %{with opengl} |
532 | %files -n gstreamer-gl-libs | |
533 | %defattr(644,root,root,755) | |
534 | %attr(755,root,root) %{_libdir}/libgstgl-%{vmajor}.so.*.*.* | |
535 | %attr(755,root,root) %ghost %{_libdir}/libgstgl-%{vmajor}.so.0 | |
536 | %{_libdir}/girepository-1.0/GstGL-%{vmajor}.typelib | |
537 | # plugin itself | |
538 | %attr(755,root,root) %{gstlibdir}/libgstopengl.so | |
539 | ||
540 | %files -n gstreamer-gl-devel | |
541 | %defattr(644,root,root,755) | |
542 | %attr(755,root,root) %{_libdir}/libgstgl-%{vmajor}.so | |
543 | # currently only gl lib provides header in this location, so package top dirs here | |
544 | %dir %{gstlibdir}/include | |
545 | %dir %{gstlibdir}/include/gst | |
546 | %{gstlibdir}/include/gst/gl | |
547 | %{gstincludedir}/gst/gl | |
548 | %{_datadir}/gir-1.0/GstGL-%{vmajor}.gir | |
549 | %{_pkgconfigdir}/gstreamer-gl-%{vmajor}.pc | |
550 | %endif | |
551 | ||
8e4892da JB |
552 | ## |
553 | ## Plugins | |
554 | ## | |
555 | ||
556 | %files -n gstreamer-audiosink-alsa | |
557 | %defattr(644,root,root,755) | |
558 | %attr(755,root,root) %{gstlibdir}/libgstalsa.so | |
559 | ||
5ae7c062 | 560 | %files -n gstreamer-audio-effects-base |
8e4892da JB |
561 | %defattr(644,root,root,755) |
562 | %attr(755,root,root) %{gstlibdir}/libgstadder.so | |
563 | %attr(755,root,root) %{gstlibdir}/libgstaudioresample.so | |
564 | %attr(755,root,root) %{gstlibdir}/libgstvolume.so | |
565 | ||
46767f04 JB |
566 | %files -n gstreamer-cdparanoia |
567 | %defattr(644,root,root,755) | |
568 | %attr(755,root,root) %{gstlibdir}/libgstcdparanoia.so | |
8e4892da | 569 | |
1287b817 JB |
570 | %if %{with tremor} |
571 | %files -n gstreamer-ivorbisdec | |
572 | %defattr(644,root,root,755) | |
573 | %attr(755,root,root) %{gstlibdir}/libgstivorbisdec.so | |
574 | %endif | |
575 | ||
8e4892da JB |
576 | %if %{with libvisual} |
577 | %files -n gstreamer-libvisual | |
578 | %defattr(644,root,root,755) | |
579 | %attr(755,root,root) %{gstlibdir}/libgstlibvisual.so | |
580 | %endif | |
581 | ||
58d929ff ŁK |
582 | %files -n gstreamer-opus |
583 | %defattr(644,root,root,755) | |
584 | %attr(755,root,root) %{gstlibdir}/libgstopus.so | |
585 | ||
8e4892da JB |
586 | %files -n gstreamer-pango |
587 | %defattr(644,root,root,755) | |
588 | %attr(755,root,root) %{gstlibdir}/libgstpango.so | |
589 | ||
590 | %files -n gstreamer-theora | |
591 | %defattr(644,root,root,755) | |
592 | %attr(755,root,root) %{gstlibdir}/libgsttheora.so | |
593 | ||
e604a4d4 | 594 | %if %{with v4l1} |
57fca938 JB |
595 | %files -n gstreamer-video4linux |
596 | %defattr(644,root,root,755) | |
597 | %attr(755,root,root) %{gstlibdir}/libgstvideo4linux.so | |
e604a4d4 | 598 | %endif |
57fca938 | 599 | |
8e4892da JB |
600 | %files -n gstreamer-vorbis |
601 | %defattr(644,root,root,755) | |
602 | %attr(755,root,root) %{gstlibdir}/libgstvorbis.so | |
603 | %attr(755,root,root) %{gstlibdir}/libgstogg.so | |
604 | ||
605 | %files -n gstreamer-imagesink-x | |
606 | %defattr(644,root,root,755) | |
607 | %attr(755,root,root) %{gstlibdir}/libgstximagesink.so | |
608 | ||
609 | %files -n gstreamer-imagesink-xv | |
610 | %defattr(644,root,root,755) | |
611 | %attr(755,root,root) %{gstlibdir}/libgstxvimagesink.so |