/[packages]/cauldron/gstreamer1.0-plugins-bad/current/SPECS/gstreamer1.0-plugins-bad.spec
ViewVC logotype

Contents of /cauldron/gstreamer1.0-plugins-bad/current/SPECS/gstreamer1.0-plugins-bad.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 483053 - (show annotations) (download)
Sat Sep 21 17:23:36 2013 UTC (10 years, 6 months ago) by fwang
File size: 17340 byte(s)
drop in-exist br
1 %define api 1.0
2 %define bname gstreamer%{api}
3 %define name %{bname}-plugins-bad
4
5 %define build_plf 0
6 %if "%{?distro_section}" == "tainted"
7 %define build_plf 1
8 %endif
9
10 %define build_experimental 0
11 %{?_with_experimental: %{expand: %%global build_experimental 1}}
12 %define build_amrwb 0
13 %define build_faac 0
14 %define build_faad 0
15 %define build_xvid 0
16 %define build_dts 0
17 %define build_dirac 0
18 %define build_gme 1
19 %define build_celt 1
20
21 %if %build_plf
22 %define build_amrwb 0
23 %define build_faac 0
24 %define build_faad 1
25 %define build_xvid 0
26 %define build_dts 1
27 %endif
28
29 %define libmajor 0
30 %define libnamephoto %mklibname gstphotography %{api} %{libmajor}
31 %define develnamephoto %mklibname -d gstphotographyi %{api}
32 %define libnamebase %mklibname gstbasevideo %{api} %{libmajor}
33 %define develnamebase %mklibname -d gstbasevideo %{api}
34
35 Summary: GStreamer Streaming-media framework plug-ins
36 Name: %{name}
37 Version: 1.1.90
38 Release: %mkrel 1
39 License: LGPLv2+ and GPLv2+
40 Group: Sound/Utilities
41 Source: http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.xz
42 Patch0: gst-plugins-bad-0.10.7-wildmidi-timidity.cfg.patch
43 # ovitters: doesn't apply
44 #Patch1: gst-plugins-bad-0.10.22-disable-example.patch
45 # gw: fix for bug #36437 (paths to realplayer codecs)
46 # prefer codecs from the RealPlayer package in restricted
47 Patch10: gst-plugins-bad-0.10.6-real-codecs-path.patch
48 URL: http://gstreamer.freedesktop.org/
49
50 %ifarch %ix86
51 BuildRequires: nasm => 0.90
52 %endif
53
54 %ifnarch %arm %mips
55 BuildRequires: pkgconfig(valgrind)
56 %endif
57 BuildRequires: pkgconfig(bluez)
58 BuildRequires: pkgconfig(cairo)
59 BuildRequires: pkgconfig(dbus-1)
60 BuildRequires: pkgconfig(directfb) >= 0.9.24
61 BuildRequires: pkgconfig(dvdnav) >= 4.1.2
62 BuildRequires: pkgconfig(dvdread) >= 4.1.2
63 BuildRequires: pkgconfig(egl)
64 BuildRequires: pkgconfig(fluidsynth) >= 1.0
65 BuildRequires: pkgconfig(gio-2.0) >= 2.25.0
66 BuildRequires: pkgconfig(glesv2)
67 BuildRequires: pkgconfig(gmodule-export-2.0)
68 BuildRequires: pkgconfig(gmodule-no-export-2.0)
69 BuildRequires: pkgconfig(gnutls) >= 2.11.3
70 BuildRequires: pkgconfig(gstreamer-video-1.0)
71 BuildRequires: pkgconfig(gudev-1.0)
72 BuildRequires: pkgconfig(libass) >= 0.9.4
73 BuildRequires: pkgconfig(libcdaudio)
74 BuildRequires: pkgconfig(libchromaprint)
75 BuildRequires: pkgconfig(libcrypto)
76 BuildRequires: pkgconfig(libcurl) >= 7.21.0
77 BuildRequires: pkgconfig(libdc1394-2) >= 2.0.0
78 BuildRequires: pkgconfig(libexif) >= 0.6.16
79 BuildRequires: pkgconfig(libmimic) >= 1.0
80 BuildRequires: pkgconfig(libmms) >= 0.4
81 BuildRequires: pkgconfig(libmodplug)
82 BuildRequires: pkgconfig(libmpg123) >= 1.13
83 BuildRequires: pkgconfig(libofa) >= 0.9.3
84 BuildRequires: pkgconfig(librsvg-2.0) >= 2.36
85 BuildRequires: pkgconfig(librtmp)
86 BuildRequires: pkgconfig(libusb-1.0)
87 BuildRequires: pkgconfig(libwebp) >= 0.2.1
88 BuildRequires: pkgconfig(libxml-2.0) >= 2.4
89 BuildRequires: pkgconfig(lrdf)
90 BuildRequires: pkgconfig(mjpegtools)
91 BuildRequires: pkgconfig(neon) >= 0.27.0
92 BuildRequires: pkgconfig(neon) <= 0.30.99
93 BuildRequires: pkgconfig(openal) >= 1.14
94 BuildRequires: pkgconfig(opencv) >= 2.0.0
95 BuildRequires: pkgconfig(opencv) <= 2.4.6.1
96 BuildRequires: pkgconfig(openssl) >= 0.9.5
97 BuildRequires: pkgconfig(opus) >= 0.9.4
98 BuildRequires: pkgconfig(schroedinger-1.0) >= 1.0.10
99 BuildRequires: pkgconfig(slv2) >= 0.6.6
100 BuildRequires: pkgconfig(sndfile) >= 1.0.16
101 BuildRequires: pkgconfig(soundtouch)
102 BuildRequires: pkgconfig(spandsp) >= 0.0.6
103 BuildRequires: pkgconfig(vdpau)
104 BuildRequires: pkgconfig(wayland-client) >= 1.0.0
105 BuildRequires: pkgconfig(x11)
106 BuildRequires: pkgconfig(zvbi-0.2)
107 BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= %{version}
108 BuildRequires: pkgconfig(gstreamer-1.0) >= %{version}
109 %if %build_plf
110 BuildRequires: pkgconfig(vo-aacenc)
111 BuildRequires: pkgconfig(vo-amrwbenc)
112 %endif
113 BuildRequires: libgme-devel
114 #gw for autoreconf
115 BuildRequires: gettext-devel
116 Conflicts: gstreamer1.0-plugins-base < 0.11.94
117
118 %description
119 GStreamer is a streaming-media framework, based on graphs of filters which
120 operate on media data. Applications using this library can do anything
121 from real-time sound processing to playing videos, and just about anything
122 else media-related. Its plugin-based architecture means that new data
123 types or processing capabilities can be added simply by installing new
124 plug-ins.
125
126 This package contains a set of plug-ins that aren't up to par compared
127 to the rest. They might be close to being good quality, but they're
128 missing something - be it a good code review, some documentation, a
129 set of tests, a real live maintainer, or some actual wide use. If the
130 blanks are filled in they might be upgraded to become part of either
131 gstreamer-plugins-good or gstreamer-plugins-ugly, depending on the
132 other factors. If the plug-ins break, you can't complain - instead,
133 you can fix the problem and send us a patch, or bribe someone into
134 fixing them for you. New contributors can start here for things to
135 work on.
136
137 %if %build_plf
138 This package is in the 'tainted' section as it violates some patents.
139 %endif
140
141
142 %package -n %{libnamephoto}
143 Summary: Libraries for GStreamer streaming-media framework
144 Group: System/Libraries
145
146 %description -n %{libnamephoto}
147 GStreamer is a streaming-media framework, based on graphs of filters which
148 operate on media data. Applications using this library can do anything
149 from real-time sound processing to playing videos, and just about anything
150 else media-related. Its plugin-based architecture means that new data
151 types or processing capabilities can be added simply by installing new
152 plugins.
153
154 This package contains the libraries.
155
156 %package -n %{develnamephoto}
157 Summary: Libraries and include files for GStreamer streaming-media framework
158 Group: Development/C
159 Requires: %{libnamephoto} = %{version}-%{release}
160 Provides: gstphotography%{api}-devel = %{version}-%{release}
161
162 %description -n %{develnamephoto}
163 GStreamer is a streaming-media framework, based on graphs of filters which
164 operate on media data. Applications using this library can do anything
165 from real-time sound processing to playing videos, and just about anything
166 else media-related. Its plugin-based architecture means that new data
167 types or processing capabilities can be added simply by installing new
168 plugins.
169
170 This package contains the libraries and includes files necessary to develop
171 applications and plugins for GStreamer.
172
173 %package -n %{libnamebase}
174 Summary: Libraries for GStreamer streaming-media framework
175 Group: System/Libraries
176
177 %description -n %{libnamebase}
178 GStreamer is a streaming-media framework, based on graphs of filters which
179 operate on media data. Applications using this library can do anything
180 from real-time sound processing to playing videos, and just about anything
181 else media-related. Its plugin-based architecture means that new data
182 types or processing capabilities can be added simply by installing new
183 plugins.
184
185 This package contains the libraries.
186
187 %package -n %{develnamebase}
188 Summary: Libraries and include files for GStreamer streaming-media framework
189 Group: Development/C
190 Requires: %{libnamebase} = %{version}-%{release}
191 Provides: gstbasevideo%{api}-devel = %{version}-%{release}
192
193 %description -n %{develnamebase}
194 GStreamer is a streaming-media framework, based on graphs of filters which
195 operate on media data. Applications using this library can do anything
196 from real-time sound processing to playing videos, and just about anything
197 else media-related. Its plugin-based architecture means that new data
198 types or processing capabilities can be added simply by installing new
199 plugins.
200
201 This package contains the libraries and includes files necessary to develop
202 applications and plugins for GStreamer.
203
204 %package -n %{bname}-curl
205 Summary: GStreamer Curl plugin
206 Group: Networking/Other
207
208 %description -n %{bname}-curl
209 This is a HTTP plugin for GStreamer based on the curl library.
210
211 %files -n %{bname}-curl
212 %{_libdir}/gstreamer-%{api}/libgstcurl.so
213
214 %package -n %{bname}-mpeg2enc
215 Summary: GStreamer mjpegtools plug-in
216 Group: Video/Utilities
217
218 %description -n %{bname}-mpeg2enc
219 mjpegtools-based encoding and decoding plug-in.
220
221 %files -n %{bname}-mpeg2enc
222 %{_libdir}/gstreamer-%{api}/libgstmpeg2enc.so
223 %{_libdir}/gstreamer-%{api}/libgstmplex.so
224
225 %if %build_gme
226 %package -n %{bname}-gme
227 Summary: GStreamer Game Music plug-in
228 Group: Sound/Utilities
229
230 %description -n %{bname}-gme
231 Game Music decoding plug-in.
232
233 %files -n %{bname}-gme
234 %{_libdir}/gstreamer-%{api}/libgstgme.so
235 %endif
236
237 %package -n %{bname}-schroedinger
238 Summary: GStreamer dirac plug-in based on Schroedinger
239 Group: Video/Utilities
240 Epoch: 1
241
242 %description -n %{bname}-schroedinger
243 Dirac encoding and decoding plug-in based on Schroedinger.
244
245 %files -n %{bname}-schroedinger
246 %{_libdir}/gstreamer-%{api}/libgstschro.so
247
248 %package -n %{bname}-rtpvp8
249 Summary: GStreamer VP8 RTP payloader plug-in
250 Group: Video/Utilities
251 Conflicts: %{bname}-vp8 < 1.0.2-2
252
253 %description -n %{bname}-rtpvp8
254 VP8 RTP payloader and depayloader plug-in.
255
256 %files -n %{bname}-rtpvp8
257 %{_libdir}/gstreamer-%{api}/libgstrtpvp8.so
258
259 %if %build_xvid
260 %package -n %{bname}-xvid
261 Summary: GStreamer plug-ins for XVID video encoding and decoding
262 Group: Video/Utilities
263 BuildRequires: xvid-devel >= 1.1
264
265 %description -n %{bname}-xvid
266 Plug-ins for encoding and decoding XVID video.
267
268 This package is in the 'tainted' section as it violates some patents.
269 %files -n %{bname}-xvid
270 %{_libdir}/gstreamer-%{api}/libgstxvid.so
271 %endif
272
273 %package -n %{bname}-mms
274 Summary: GStreamer plug-in for mms streams
275 Group: System/Libraries
276 Requires: %{bname}-plugins = %{version}
277
278 %description -n %{bname}-mms
279 Plug-in supporting the mms protocol based on the libmms library.
280
281 %files -n %{bname}-mms
282 %{_libdir}/gstreamer-%{api}/libgstmms.so
283
284 %package -n %{bname}-rtmp
285 Summary: GStreamer plug-in for rtmp streams
286 Group: System/Libraries
287 Requires: %{bname}-plugins = %{version}
288
289 %description -n %{bname}-rtmp
290 Plug-in supporting the rtmp protocol based on the librtmp library.
291
292 %files -n %{bname}-rtmp
293 %{_libdir}/gstreamer-%{api}/libgstrtmp.so
294
295 %package -n %{bname}-soundtouch
296 Summary: GStreamer plug-in for SoundTouch support
297 Group: Sound/Utilities
298 Requires: %{bname}-plugins = %{version}
299
300 %description -n %{bname}-soundtouch
301 Plug-in supporting the SoundTouch audio manipulation support.
302
303 %files -n %{bname}-soundtouch
304 %{_libdir}/gstreamer-%{api}/libgstsoundtouch.so
305
306 %package -n %{bname}-libass
307 Summary: GStreamer subtitles plugin
308 Group: Video/Utilities
309
310 %description -n %{bname}-libass
311 This is a subtitle plugin for GStreamer based on libass.
312
313 %files -n %{bname}-libass
314 %{_libdir}/gstreamer-%{api}/libgstassrender.so
315
316 %package doc
317 Group: Documentation
318 Summary: GStreamer application library
319 BuildArch: noarch
320
321 %description doc
322 This is the documentation of %{name}.
323
324 %prep
325 %setup -q -n gst-plugins-bad-%{version}
326 %apply_patches
327
328 %build
329 %configure2_5x --disable-dependency-tracking --disable-static \
330 --with-package-name='%distribution %{name} package' \
331 --with-package-origin='http://www.mageia.org/' \
332 %if ! %build_celt
333 --disable-celt \
334 %endif
335 %if ! %build_faac
336 --disable-faac \
337 %endif
338 %if ! %build_faad
339 --disable-faad \
340 %endif
341 %if ! %build_dirac
342 --disable-dirac \
343 %endif
344 %if ! %build_xvid
345 --disable-xvid \
346 %endif
347 %if ! %build_dts
348 --disable-dts \
349 %endif
350 %if ! %build_plf
351 --disable-voamrwbenc --disable-voaacenc \
352 %endif
353 %if %build_experimental
354 --enable-experimental
355 %endif
356
357 make
358
359 %install
360 %makeinstall_std
361
362 %find_lang gst-plugins-bad-%{api}
363
364 # Clean out files that should not be part of the rpm.
365 # This is the recommended way of dealing with it for RH8
366 find %{buildroot} -name '*.la' -delete
367
368 %files doc
369 %doc docs/plugins/html
370 %{_datadir}/gtk-doc/html/
371
372 %files -f gst-plugins-bad-%{api}.lang
373 %doc AUTHORS COPYING README NEWS
374
375 %{_libdir}/gstreamer-%{api}/libgstadpcmdec.so
376 %{_libdir}/gstreamer-%{api}/libgstadpcmenc.so
377 %{_libdir}/gstreamer-%{api}/libgstasfmux.so
378 %{_libdir}/gstreamer-%{api}/libgstaudiovisualizers.so
379 %{_libdir}/gstreamer-%{api}/libgstautoconvert.so
380 %{_libdir}/gstreamer-%{api}/libgstbayer.so
381 %{_libdir}/gstreamer-%{api}/libgstcamerabin2.so
382 %{_libdir}/gstreamer-%{api}/libgstcoloreffects.so
383 %{_libdir}/gstreamer-%{api}/libgstdataurisrc.so
384 %{_libdir}/gstreamer-%{api}/libgstdebugutilsbad.so
385 %{_libdir}/gstreamer-%{api}/libgstdvb.so
386 %{_libdir}/gstreamer-%{api}/libgstdvbsuboverlay.so
387 %{_libdir}/gstreamer-%{api}/libgstdvdspu.so
388 %{_libdir}/gstreamer-%{api}/libgstfieldanalysis.so
389 %{_libdir}/gstreamer-%{api}/libgstfestival.so
390 %{_libdir}/gstreamer-%{api}/libgstfrei0r.so
391 %{_libdir}/gstreamer-%{api}/libgstgaudieffects.so
392 %{_libdir}/gstreamer-%{api}/libgstgdp.so
393 %{_libdir}/gstreamer-%{api}/libgstgeometrictransform.so
394 %{_libdir}/gstreamer-%{api}/libgstid3tag.so
395 %{_libdir}/gstreamer-%{api}/libgstinter.so
396 %{_libdir}/gstreamer-%{api}/libgstinterlace.so
397 %{_libdir}/gstreamer-%{api}/libgstjpegformat.so
398 %{_libdir}/gstreamer-%{api}/libgstliveadder.so
399 %{_libdir}/gstreamer-%{api}/libgstmpegtsmux.so
400 %{_libdir}/gstreamer-%{api}/libgstmpegpsmux.so
401 %{_libdir}/gstreamer-%{api}/libgstchromaprint.so
402 %{_libdir}/gstreamer-%{api}/libgstmidi.so
403 %{_libdir}/gstreamer-%{api}/libgstmimic.so
404 %{_libdir}/gstreamer-%{api}/libgstzbar.so
405 %{_libdir}/gstreamer-%{api}/libgstmpegpsdemux.so
406 %{_libdir}/gstreamer-%{api}/libgstopenal.so
407 %{_libdir}/gstreamer-%{api}/libgstopenjpeg.so
408 %{_libdir}/gstreamer-%{api}/libgstopus.so
409 %{_libdir}/gstreamer-%{api}/libgstpcapparse.so
410 %{_libdir}/gstreamer-%{api}/libgstpnm.so
411 %{_libdir}/gstreamer-%{api}/libgstrfbsrc.so
412 %{_libdir}/gstreamer-%{api}/libgstscaletempoplugin.so
413 %{_libdir}/gstreamer-%{api}/libgstrawparse.so
414 %{_libdir}/gstreamer-%{api}/libgstremovesilence.so
415 %{_libdir}/gstreamer-%{api}/libgstsdpelem.so
416 %{_libdir}/gstreamer-%{api}/libgstsegmentclip.so
417 %{_libdir}/gstreamer-%{api}/libgstshm.so
418 %{_libdir}/gstreamer-%{api}/libgstsiren.so
419 %{_libdir}/gstreamer-%{api}/libgstsmooth.so
420 %{_libdir}/gstreamer-%{api}/libgstspeed.so
421 %{_libdir}/gstreamer-%{api}/libgstsubenc.so
422 %{_libdir}/gstreamer-%{api}/libgstbz2.so
423 %{_libdir}/gstreamer-%{api}/libgstfragmented.so
424 %{_libdir}/gstreamer-%{api}/libgstmpegtsdemux.so
425 %{_libdir}/gstreamer-%{api}/libgstvideoparsersbad.so
426 %{_libdir}/gstreamer-%{api}/libgstwaylandsink.so
427 %{_libdir}/gstreamer-%{api}/libgstmpg123.so
428 %{_libdir}/gstreamer-%{api}/libgstresindvd.so
429 %{_libdir}/gstreamer-%{api}/libgstdecklink.so
430 %if %{build_plf}
431 %{_libdir}/gstreamer-%{api}/libgstvoaacenc.so
432 %{_libdir}/gstreamer-%{api}/libgstvoamrwbenc.so
433 %{_datadir}/gstreamer-%{api}/presets/GstVoAmrwbEnc.prs
434 %endif
435 %{_libdir}/gstreamer-%{api}/libgstmodplug.so
436 %{_libdir}/gstreamer-%{api}/libgsty4mdec.so
437
438 %if %build_faad
439 %package -n %{bname}-faad
440 Summary: GStreamer plug-in for AAC audio playback
441 Group: Sound/Utilities
442 Requires: %{bname}-plugins >= %version
443 BuildRequires: libfaad2-devel => 2.0
444
445 %description -n %{bname}-faad
446 Plug-ins for playing AAC audio
447
448 This package is in the 'tainted' section as it violates some patents.
449
450 %files -n %{bname}-faad
451 %{_libdir}/gstreamer-%{api}/libgstfaad.so
452 %endif
453
454 %if %build_faac
455 %package -n %{bname}-faac
456 Summary: GStreamer plug-ins for AAC audio encoding
457 Group: Sound
458 Requires: %{bname}-plugins >= %version
459 BuildRequires: libfaac-devel
460
461 %description -n %{bname}-faac
462 Plug-ins for encoding AAC audio
463
464 This package is in the 'tainted' section as it violates some patents.
465
466 %files -n %{bname}-faac
467 %{_libdir}/gstreamer-%{api}/libgstfaac.so
468 %endif
469
470 %package -n %{bname}-gsm
471 Summary: GStreamer plugin for GSM lossy audio format
472 Group: Sound/Utilities
473 Requires: %{bname}-plugins >= %{version}
474 BuildRequires: gsm-devel >= 1.0.10
475
476 %description -n %{bname}-gsm
477 Output plugin for GStreamer to convert to GSM lossy audio format.
478
479 %files -n %{bname}-gsm
480 %{_libdir}/gstreamer-%{api}/libgstgsm.so
481
482 %if %build_amrwb
483 %package -n %{bname}-amrwb
484 Summary: GStreamer plug-in for AMR-WB support
485 Group: Sound/Utilities
486 Requires: %{bname}-plugins >= %{version}
487 BuildRequires: libamrwb-devel
488
489 %description -n %{bname}-amrwb
490 Plug-in for decoding AMR-WB under GStreamer.
491
492 This package is in the 'tainted' section as it violates some patents.
493
494 %files -n %{bname}-amrwb
495 %{_datadir}/gstreamer-%{api}/presets/GstAmrwbEnc.prs
496 %{_libdir}/gstreamer-%{api}/libgstamrwbenc.so
497 %endif
498
499 %if %build_celt
500 %package -n %{bname}-celt
501 Summary: GStreamer plug-in for CELT support
502 Group: Video/Utilities
503 Requires: %{bname}-plugins >= %{version}
504 BuildRequires: pkgconfig(celt) >= 0.7.0
505
506 %description -n %{bname}-celt
507 Plug-in for CELT support under GStreamer.
508
509 %files -n %{bname}-celt
510 %{_libdir}/gstreamer-%{api}/libgstcelt.so
511 %endif
512
513 %files -n %{libnamephoto}
514 %{_libdir}/libgstphotography-%{api}.so.%{libmajor}*
515 %{_libdir}/libgstsignalprocessor-%{api}.so.%{libmajor}*
516 %{_libdir}/libgstcodecparsers-%{api}.so.%{libmajor}*
517
518 %files -n %{develnamephoto}
519 %{_libdir}/libgstcodecparsers-%{api}.so
520 %{_libdir}/libgstphotography-%{api}.so
521 %{_libdir}/libgstsignalprocessor-%{api}.so
522 %{_includedir}/gstreamer-%{api}/gst/codecparsers/
523 %{_includedir}/gstreamer-%{api}/gst/interfaces/photography*
524 %{_includedir}/gstreamer-%{api}/gst/signalprocessor/gstsignalprocessor.h
525 %{_includedir}/gstreamer-%{api}/gst/video/
526 %{_libdir}/pkgconfig/gstreamer-plugins-bad-%{api}.pc
527 %{_libdir}/pkgconfig/gstreamer-codecparsers-%{api}.pc
528
529 %files -n %{libnamebase}
530 %{_libdir}/libgstbasecamerabinsrc-%{api}.so.%{libmajor}*
531
532 %files -n %develnamebase
533 %{_libdir}/libgstbasecamerabinsrc-%{api}.so
534 %{_includedir}/gstreamer-%{api}/gst/basecamerabinsrc

  ViewVC Help
Powered by ViewVC 1.1.30