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

  ViewVC Help
Powered by ViewVC 1.1.28