/[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 293813 - (show annotations) (download)
Fri Sep 14 09:52:00 2012 UTC (11 years, 7 months ago) by fwang
File size: 17806 byte(s)
update file list
1 %define version 0.11.94
2 %define release %mkrel 1
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(opencv)
65 BuildRequires: pkgconfig(opus)
66
67 %ifarch %ix86
68 BuildRequires: nasm => 0.90
69 %endif
70
71 BuildRequires: pkgconfig(valgrind)
72 BuildRequires: pkgconfig(check)
73 BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= %{version}
74 BuildRequires: pkgconfig(gstreamer-1.0) >= %{version}
75 BuildRequires: pkgconfig(libcdaudio)
76 BuildRequires: pkgconfig(sndfile)
77 BuildRequires: pkgconfig(libmimic)
78 BuildRequires: pkgconfig(libass)
79 %if %build_plf
80 BuildRequires: pkgconfig(vo-aacenc)
81 BuildRequires: pkgconfig(vo-amrwbenc)
82 %endif
83 #gw for checks
84 #BuildRequires: gstreamer0.10-plugins-good
85 BuildRequires: fonts-ttf-dejavu
86 #gw for autoreconf
87 BuildRequires: gettext-devel
88 Requires: %{bname}-voip >= %{version}-%{release}
89 Conflicts: gstreamer1.0-plugins-base < 0.11.94
90
91 %description
92 GStreamer is a streaming-media framework, based on graphs of filters which
93 operate on media data. Applications using this library can do anything
94 from real-time sound processing to playing videos, and just about anything
95 else media-related. Its plugin-based architecture means that new data
96 types or processing capabilities can be added simply by installing new
97 plug-ins.
98
99 This package contains a set of plug-ins that aren't up to par compared
100 to the rest. They might be close to being good quality, but they're
101 missing something - be it a good code review, some documentation, a
102 set of tests, a real live maintainer, or some actual wide use. If the
103 blanks are filled in they might be upgraded to become part of either
104 gstreamer-plugins-good or gstreamer-plugins-ugly, depending on the
105 other factors. If the plug-ins break, you can't complain - instead,
106 you can fix the problem and send us a patch, or bribe someone into
107 fixing them for you. New contributors can start here for things to
108 work on.
109
110 %if %build_plf
111 This package is in the 'tainted' section as it violates some patents.
112 %endif
113
114
115 %package -n %{libnamephoto}
116 Summary: Libraries for GStreamer streaming-media framework
117 Group: System/Libraries
118
119 %description -n %{libnamephoto}
120 GStreamer is a streaming-media framework, based on graphs of filters which
121 operate on media data. Applications using this library can do anything
122 from real-time sound processing to playing videos, and just about anything
123 else media-related. Its plugin-based architecture means that new data
124 types or processing capabilities can be added simply by installing new
125 plugins.
126
127 This package contains the libraries.
128
129 %package -n %{develnamephoto}
130 Summary: Libraries and include files for GStreamer streaming-media framework
131 Group: Development/C
132 Requires: %{libnamephoto} = %{version}-%{release}
133 Provides: gstphotography%{api}-devel = %{version}-%{release}
134
135 %description -n %{develnamephoto}
136 GStreamer is a streaming-media framework, based on graphs of filters which
137 operate on media data. Applications using this library can do anything
138 from real-time sound processing to playing videos, and just about anything
139 else media-related. Its plugin-based architecture means that new data
140 types or processing capabilities can be added simply by installing new
141 plugins.
142
143 This package contains the libraries and includes files necessary to develop
144 applications and plugins for GStreamer.
145
146 %package -n %{libnamebase}
147 Summary: Libraries for GStreamer streaming-media framework
148 Group: System/Libraries
149
150 %description -n %{libnamebase}
151 GStreamer is a streaming-media framework, based on graphs of filters which
152 operate on media data. Applications using this library can do anything
153 from real-time sound processing to playing videos, and just about anything
154 else media-related. Its plugin-based architecture means that new data
155 types or processing capabilities can be added simply by installing new
156 plugins.
157
158 This package contains the libraries.
159
160 %package -n %{develnamebase}
161 Summary: Libraries and include files for GStreamer streaming-media framework
162 Group: Development/C
163 Requires: %{libnamebase} = %{version}-%{release}
164 Provides: gstbasevideo%{api}-devel = %{version}-%{release}
165
166 %description -n %{develnamebase}
167 GStreamer is a streaming-media framework, based on graphs of filters which
168 operate on media data. Applications using this library can do anything
169 from real-time sound processing to playing videos, and just about anything
170 else media-related. Its plugin-based architecture means that new data
171 types or processing capabilities can be added simply by installing new
172 plugins.
173
174 This package contains the libraries and includes files necessary to develop
175 applications and plugins for GStreamer.
176
177 %package -n %{bname}-curl
178 Summary: GStreamer Curl plugin
179 Group: Networking/Other
180 BuildRequires: libcurl-devel
181
182 %description -n %{bname}-curl
183 This is a HTTP plugin for GStreamer based on the curl library.
184
185 %files -n %{bname}-curl
186 %{_libdir}/gstreamer-%{api}/libgstcurl.so
187
188 %package -n %{bname}-mpeg2enc
189 Summary: GStreamer mjpegtools plug-in
190 Group: Video
191 BuildRequires: pkgconfig(mjpegtools)
192
193 %description -n %{bname}-mpeg2enc
194 mjpegtools-based encoding and decoding plug-in.
195
196 %files -n %{bname}-mpeg2enc
197 %{_libdir}/gstreamer-%{api}/libgstmpeg2enc.so
198 %{_libdir}/gstreamer-%{api}/libgstmplex.so
199
200 %if %build_gme
201 %package -n %{bname}-gme
202 Summary: GStreamer Game Music plug-in
203 Group: Sound
204 BuildRequires: libgme-devel
205
206 %description -n %{bname}-gme
207 Game Music decoding plug-in.
208
209 %files -n %{bname}-gme
210 %{_libdir}/gstreamer-%{api}/libgstgme.so
211 %endif
212
213 %if %build_dirac
214 %package -n %{bname}-dirac
215 Summary: GStreamer dirac plug-in
216 Group: Video
217 BuildRequires: pkgconfig(dirac) >= 0.9
218
219 %description -n %{bname}-dirac
220 Dirac encoding and decoding plug-in.
221
222 %files -n %{bname}-dirac
223 %{_libdir}/gstreamer-%{api}/libgstdirac.so
224 %endif
225
226 %package -n %{bname}-schroedinger
227 Summary: GStreamer dirac plug-in based on Schroedinger
228 Group: Video
229 BuildRequires: pkgconfig(schroedinger-1.0)
230 Epoch: 1
231
232 %description -n %{bname}-schroedinger
233 Dirac encoding and decoding plug-in based on Schroedinger.
234
235 %files -n %{bname}-schroedinger
236 %{_libdir}/gstreamer-%{api}/libgstschro.so
237
238 %package -n %{bname}-vp8
239 Summary: GStreamer VP8 plug-in
240 Group: Video
241 BuildRequires: pkgconfig(libvpx)
242
243 %description -n %{bname}-vp8
244 VP8 encoding and decoding plug-in.
245
246 %files -n %{bname}-vp8
247 %{_libdir}/gstreamer-%{api}/libgstvp8.so
248 %{_libdir}/gstreamer-%{api}/libgstrtpvp8.so
249 %{_datadir}/gstreamer-%{api}/presets/GstVP8Enc.prs
250
251 %if %build_dts
252 %package -n %{bname}-dts
253 Summary: GStreamer plug-ins for DTS audio playback
254 Group: Sound
255 BuildRequires: dtsdec-devel
256
257 %description -n %{bname}-dts
258 Plug-ins for decoding DTS audio.
259
260 %files -n %{bname}-dts
261 %{_libdir}/gstreamer-%{api}/libgstdtsdec.so
262 %endif
263
264 %if %build_xvid
265 %package -n %{bname}-xvid
266 Summary: GStreamer plug-ins for XVID video encoding and decoding
267 Group: Video
268 BuildRequires: xvid-devel >= 1.1
269
270 %description -n %{bname}-xvid
271 Plug-ins for encoding and decoding XVID video.
272
273 This package is in the 'tainted' section as it violates some patents.
274 %files -n %{bname}-xvid
275 %{_libdir}/gstreamer-%{api}/libgstxvid.so
276 %endif
277
278 %package -n %{bname}-mms
279 Summary: GStreamer plug-in for mms streams
280 Group: System/Libraries
281 Requires: %{bname}-plugins = %{version}
282 BuildRequires: pkgconfig(libmms)
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 BuildRequires: pkgconfig(librtmp)
295
296 %description -n %{bname}-rtmp
297 Plug-in supporting the rtmp protocol based on the librtmp library.
298
299 %files -n %{bname}-rtmp
300 %{_libdir}/gstreamer-%{api}/libgstrtmp.so
301
302 %package -n %{bname}-soundtouch
303 Summary: GStreamer plug-in for SoundTouch support
304 Group: Sound
305 Requires: %{bname}-plugins = %{version}
306 BuildRequires: pkgconfig(soundtouch)
307
308 %description -n %{bname}-soundtouch
309 Plug-in supporting the SoundTouch audio manipulation support.
310
311 %files -n %{bname}-soundtouch
312 %{_libdir}/gstreamer-%{api}/libgstsoundtouch.so
313
314 %package -n %{bname}-libass
315 Summary: GStreamer subtitles plugin
316 Group: Video
317 BuildRequires: pkgconfig(libass)
318
319 %description -n %{bname}-libass
320 This is a subtitle plugin for GStreamer based on libass.
321
322 %files -n %{bname}-libass
323 %{_libdir}/gstreamer-%{api}/libgstassrender.so
324
325 %package -n %{bname}-voip
326 Summary: GStreamer voip plugins
327 Group: Sound
328
329 %description -n %{bname}-voip
330 This is a collection of VoIP plugins for GStreamer.
331
332 %files -n %{bname}-voip
333 %{_libdir}/gstreamer-%{api}/libgstrtpmux.so
334 %{_libdir}/gstreamer-%{api}/libgstdtmf.so
335
336 %package doc
337 Group: Books/Computer books
338 Summary: GStreamer application library
339 BuildArch: noarch
340
341 %description doc
342 This is the documentation of %{name}.
343
344 %prep
345 %setup -q -n gst-plugins-bad-%{version}
346 %apply_patches
347
348 %build
349 %configure2_5x --disable-dependency-tracking --disable-static \
350 --with-package-name='%distribution %{name} package' \
351 --with-package-origin='http://www.mageia.org/' \
352 %if ! %build_celt
353 --disable-celt \
354 %endif
355 %if ! %build_faac
356 --disable-faac \
357 %endif
358 %if ! %build_faad
359 --disable-faad \
360 %endif
361 %if ! %build_dirac
362 --disable-dirac \
363 %endif
364 %if ! %build_xvid
365 --disable-xvid \
366 %endif
367 %if ! %build_dts
368 --disable-dts \
369 %endif
370 %if ! %build_plf
371 --disable-voamrwbenc --disable-voaacenc \
372 %endif
373 %if %build_experimental
374 --enable-experimental
375 %endif
376
377 make
378
379 %install
380 %makeinstall_std
381
382 %find_lang gst-plugins-bad-%{api}
383
384 # Clean out files that should not be part of the rpm.
385 # This is the recommended way of dealing with it for RH8
386 find %{buildroot} -name '*.la' -delete
387
388 %files doc
389 %doc docs/plugins/html
390 %{_datadir}/gtk-doc/html/
391
392 %files -f gst-plugins-bad-%{api}.lang
393 %doc AUTHORS COPYING README NEWS
394
395 %{_libdir}/gstreamer-%{api}/libgstadpcmdec.so
396 %{_libdir}/gstreamer-%{api}/libgstadpcmenc.so
397 %{_libdir}/gstreamer-%{api}/libgstasfmux.so
398 #%{_libdir}/gstreamer-%{api}/libgstaudioparsersbad.so
399 %{_libdir}/gstreamer-%{api}/libgstaudiovisualizers.so
400 %{_libdir}/gstreamer-%{api}/libgstautoconvert.so
401 %{_libdir}/gstreamer-%{api}/libgstbayer.so
402 %{_libdir}/gstreamer-%{api}/libgstcamerabin2.so
403 %{_libdir}/gstreamer-%{api}/libgstcoloreffects.so
404 #{_libdir}/gstreamer-%{api}/libgstcolorspace.so
405 %{_libdir}/gstreamer-%{api}/libgstdataurisrc.so
406 %{_libdir}/gstreamer-%{api}/libgstdebugutilsbad.so
407 %{_libdir}/gstreamer-%{api}/libgstdvb.so
408 %{_libdir}/gstreamer-%{api}/libgstdvbsuboverlay.so
409 %{_libdir}/gstreamer-%{api}/libgstdvdspu.so
410 %{_libdir}/gstreamer-%{api}/libgstfestival.so
411 %{_libdir}/gstreamer-%{api}/libgstfreeze.so
412 %{_libdir}/gstreamer-%{api}/libgstgaudieffects.so
413 %{_libdir}/gstreamer-%{api}/libgstgdp.so
414 %{_libdir}/gstreamer-%{api}/libgstgeometrictransform.so
415 %{_libdir}/gstreamer-%{api}/libgstid3tag.so
416 %{_libdir}/gstreamer-%{api}/libgstinter.so
417 %{_libdir}/gstreamer-%{api}/libgstinterlace.so
418 %{_libdir}/gstreamer-%{api}/libgstjpegformat.so
419 %{_libdir}/gstreamer-%{api}/libgstliveadder.so
420 # This appears to have been removed. Commenting out (at least temporarily).
421 # -- shlomif
422 # %{_libdir}/gstreamer-%{api}/libgstinvtelecine.so
423 %{_libdir}/gstreamer-%{api}/libgstmpegtsmux.so
424 # This appears to have been removed. Commenting out (at least temporarily).
425 # -- shlomif
426 # %{_libdir}/gstreamer-%{api}/libgstmpeg4videoparse.so
427 %{_libdir}/gstreamer-%{api}/libgstmimic.so
428 #{_libdir}/gstreamer-%{api}/libgstopencv.so
429
430 %{_libdir}/gstreamer-%{api}/libgstmpegpsdemux.so
431
432 %{_libdir}/gstreamer-%{api}/libgstopus.so
433 %{_libdir}/gstreamer-%{api}/libgstpcapparse.so
434 %{_libdir}/gstreamer-%{api}/libgstpnm.so
435 #%{_libdir}/gstreamer-%{api}/libgstqtmux.so
436 %{_libdir}/gstreamer-%{api}/libgstscaletempoplugin.so
437 %{_libdir}/gstreamer-%{api}/libgstrawparse.so
438 %{_libdir}/gstreamer-%{api}/libgstremovesilence.so
439 %{_libdir}/gstreamer-%{api}/libgstsdpelem.so
440 %{_libdir}/gstreamer-%{api}/libgstsegmentclip.so
441 %{_libdir}/gstreamer-%{api}/libgstshm.so
442 %{_libdir}/gstreamer-%{api}/libgstsiren.so
443 %{_libdir}/gstreamer-%{api}/libgstsmooth.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