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

  ViewVC Help
Powered by ViewVC 1.1.30