/[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 321184 - (show annotations) (download)
Fri Nov 23 05:07:25 2012 UTC (11 years, 5 months ago) by fwang
File size: 18025 byte(s)
new version 1.0.3
1 %define version 1.0.3
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/Utilities
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/Utilities
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/Utilities
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/Utilities
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/Utilities
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}-rtpvp8
238 Summary: GStreamer VP8 RTP payloader plug-in
239 Group: Video/Utilities
240 BuildRequires: pkgconfig(libvpx)
241 Conflicts: %{bname}-vp8 < 1.0.2-2
242
243 %description -n %{bname}-rtpvp8
244 VP8 RTP payloader and depayloader plug-in.
245
246 %files -n %{bname}-rtpvp8
247 %{_libdir}/gstreamer-%{api}/libgstrtpvp8.so
248
249 %if %build_dts
250 %package -n %{bname}-dts
251 Summary: GStreamer plug-ins for DTS audio playback
252 Group: Sound/Utilities
253 BuildRequires: dtsdec-devel
254
255 %description -n %{bname}-dts
256 Plug-ins for decoding DTS audio.
257
258 %files -n %{bname}-dts
259 %{_libdir}/gstreamer-%{api}/libgstdtsdec.so
260 %endif
261
262 %if %build_xvid
263 %package -n %{bname}-xvid
264 Summary: GStreamer plug-ins for XVID video encoding and decoding
265 Group: Video/Utilities
266 BuildRequires: xvid-devel >= 1.1
267
268 %description -n %{bname}-xvid
269 Plug-ins for encoding and decoding XVID video.
270
271 This package is in the 'tainted' section as it violates some patents.
272 %files -n %{bname}-xvid
273 %{_libdir}/gstreamer-%{api}/libgstxvid.so
274 %endif
275
276 %package -n %{bname}-mms
277 Summary: GStreamer plug-in for mms streams
278 Group: System/Libraries
279 Requires: %{bname}-plugins = %{version}
280 BuildRequires: pkgconfig(libmms)
281
282 %description -n %{bname}-mms
283 Plug-in supporting the mms protocol based on the libmms library.
284
285 %files -n %{bname}-mms
286 %{_libdir}/gstreamer-%{api}/libgstmms.so
287
288 %package -n %{bname}-rtmp
289 Summary: GStreamer plug-in for rtmp streams
290 Group: System/Libraries
291 Requires: %{bname}-plugins = %{version}
292 BuildRequires: pkgconfig(librtmp)
293
294 %description -n %{bname}-rtmp
295 Plug-in supporting the rtmp protocol based on the librtmp library.
296
297 %files -n %{bname}-rtmp
298 %{_libdir}/gstreamer-%{api}/libgstrtmp.so
299
300 %package -n %{bname}-soundtouch
301 Summary: GStreamer plug-in for SoundTouch support
302 Group: Sound/Utilities
303 Requires: %{bname}-plugins = %{version}
304 BuildRequires: pkgconfig(soundtouch)
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 BuildRequires: pkgconfig(libass)
316
317 %description -n %{bname}-libass
318 This is a subtitle plugin for GStreamer based on libass.
319
320 %files -n %{bname}-libass
321 %{_libdir}/gstreamer-%{api}/libgstassrender.so
322
323 %package -n %{bname}-voip
324 Summary: GStreamer voip plugins
325 Group: Sound/Utilities
326
327 %description -n %{bname}-voip
328 This is a collection of VoIP plugins for GStreamer.
329
330 %files -n %{bname}-voip
331 %{_libdir}/gstreamer-%{api}/libgstrtpmux.so
332 %{_libdir}/gstreamer-%{api}/libgstdtmf.so
333
334 %package doc
335 Group: Documentation
336 Summary: GStreamer application library
337 BuildArch: noarch
338
339 %description doc
340 This is the documentation of %{name}.
341
342 %prep
343 %setup -q -n gst-plugins-bad-%{version}
344 %apply_patches
345
346 %build
347 %configure2_5x --disable-dependency-tracking --disable-static \
348 --with-package-name='%distribution %{name} package' \
349 --with-package-origin='http://www.mageia.org/' \
350 %if ! %build_celt
351 --disable-celt \
352 %endif
353 %if ! %build_faac
354 --disable-faac \
355 %endif
356 %if ! %build_faad
357 --disable-faad \
358 %endif
359 %if ! %build_dirac
360 --disable-dirac \
361 %endif
362 %if ! %build_xvid
363 --disable-xvid \
364 %endif
365 %if ! %build_dts
366 --disable-dts \
367 %endif
368 %if ! %build_plf
369 --disable-voamrwbenc --disable-voaacenc \
370 %endif
371 %if %build_experimental
372 --enable-experimental
373 %endif
374
375 make
376
377 %install
378 %makeinstall_std
379
380 %find_lang gst-plugins-bad-%{api}
381
382 # Clean out files that should not be part of the rpm.
383 # This is the recommended way of dealing with it for RH8
384 find %{buildroot} -name '*.la' -delete
385
386 %files doc
387 %doc docs/plugins/html
388 %{_datadir}/gtk-doc/html/
389
390 %files -f gst-plugins-bad-%{api}.lang
391 %doc AUTHORS COPYING README NEWS
392
393 %{_libdir}/gstreamer-%{api}/libgstadpcmdec.so
394 %{_libdir}/gstreamer-%{api}/libgstadpcmenc.so
395 %{_libdir}/gstreamer-%{api}/libgstasfmux.so
396 #%{_libdir}/gstreamer-%{api}/libgstaudioparsersbad.so
397 %{_libdir}/gstreamer-%{api}/libgstaudiovisualizers.so
398 %{_libdir}/gstreamer-%{api}/libgstautoconvert.so
399 %{_libdir}/gstreamer-%{api}/libgstbayer.so
400 %{_libdir}/gstreamer-%{api}/libgstcamerabin2.so
401 %{_libdir}/gstreamer-%{api}/libgstcoloreffects.so
402 #{_libdir}/gstreamer-%{api}/libgstcolorspace.so
403 %{_libdir}/gstreamer-%{api}/libgstdataurisrc.so
404 %{_libdir}/gstreamer-%{api}/libgstdebugutilsbad.so
405 %{_libdir}/gstreamer-%{api}/libgstdvb.so
406 %{_libdir}/gstreamer-%{api}/libgstdvbsuboverlay.so
407 %{_libdir}/gstreamer-%{api}/libgstdvdspu.so
408 %{_libdir}/gstreamer-%{api}/libgstfieldanalysis.so
409 %{_libdir}/gstreamer-%{api}/libgstfestival.so
410 %{_libdir}/gstreamer-%{api}/libgstfrei0r.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}/libgstsubenc.so
445 %{_libdir}/gstreamer-%{api}/libgstbz2.so
446 %{_libdir}/gstreamer-%{api}/libgstfragmented.so
447 %{_libdir}/gstreamer-%{api}/libgstmpegtsdemux.so
448 %{_libdir}/gstreamer-%{api}/libgstvideoparsersbad.so
449 %{_libdir}/gstreamer-%{api}/libgstwaylandsink.so
450 %if %{build_plf}
451 %{_libdir}/gstreamer-%{api}/libgstvoaacenc.so
452 %{_libdir}/gstreamer-%{api}/libgstvoamrwbenc.so
453 %{_datadir}/gstreamer-%{api}/presets/GstVoAmrwbEnc.prs
454 %endif
455 %if %build_experimental
456 #%{_libdir}/gstreamer-%{api}/libgstdeinterlace2.so
457 %endif
458
459 %{_libdir}/gstreamer-%{api}/libgstmodplug.so
460 %{_libdir}/gstreamer-%{api}/libgsty4mdec.so
461
462 #%package examples
463 #Summary:GStreamer example applications
464 #Group: Video
465
466 #%description examples
467 #This contains example applications to test %{name}
468
469 #%files examples
470
471 %if %build_faad
472 %package -n %{bname}-faad
473 Summary: GStreamer plug-in for AAC audio playback
474 Group: Sound/Utilities
475 Requires: %{bname}-plugins >= %version
476 BuildRequires: libfaad2-devel => 2.0
477
478 %description -n %{bname}-faad
479 Plug-ins for playing AAC audio
480
481 This package is in the 'tainted' section as it violates some patents.
482
483 %files -n %{bname}-faad
484 %{_libdir}/gstreamer-%{api}/libgstfaad.so
485 %endif
486
487 %if %build_faac
488 %package -n %{bname}-faac
489 Summary: GStreamer plug-ins for AAC audio encoding
490 Group: Sound
491 Requires: %{bname}-plugins >= %version
492 BuildRequires: libfaac-devel
493
494 %description -n %{bname}-faac
495 Plug-ins for encoding AAC audio
496
497 This package is in the 'tainted' section as it violates some patents.
498
499 %files -n %{bname}-faac
500 %{_libdir}/gstreamer-%{api}/libgstfaac.so
501 %endif
502
503 %package -n %{bname}-gsm
504 Summary: GStreamer plugin for GSM lossy audio format
505 Group: Sound/Utilities
506 Requires: %{bname}-plugins >= %{version}
507 BuildRequires: gsm-devel >= 1.0.10
508
509 %description -n %{bname}-gsm
510 Output plugin for GStreamer to convert to GSM lossy audio format.
511
512 %files -n %{bname}-gsm
513 %{_libdir}/gstreamer-%{api}/libgstgsm.so
514
515 %if 0
516 ### SWFDEC FLASH PLUGIN ###
517 %package -n %{bname}-swfdec
518 Summary: GStreamer Flash rendering plug-in
519 Group: System/Libraries
520 Requires: %{bname}-plugins = %{version}
521 BuildRequires: libswfdec-devel => 0.3.0
522
523 %description -n %{bname}-swfdec
524 Plug-in for rendering Flash animations using swfdec library
525
526 %files -n %{bname}-swfdec
527 %{_libdir}/gstreamer-%{api}/libgstswfdec.so
528 %endif
529
530 %if %build_amrwb
531 %package -n %{bname}-amrwb
532 Summary: GStreamer plug-in for AMR-WB support
533 Group: Sound/Utilities
534 Requires: %{bname}-plugins >= %{version}
535 BuildRequires: libamrwb-devel
536
537 %description -n %{bname}-amrwb
538 Plug-in for decoding AMR-WB under GStreamer.
539
540 This package is in the 'tainted' section as it violates some patents.
541
542 %files -n %{bname}-amrwb
543 %{_datadir}/gstreamer-%{api}/presets/GstAmrwbEnc.prs
544 %{_libdir}/gstreamer-%{api}/libgstamrwbenc.so
545 %endif
546
547 %if %build_celt
548 %package -n %{bname}-celt
549 Summary: GStreamer plug-in for CELT support
550 Group: Video/Utilities
551 Requires: %{bname}-plugins >= %{version}
552 BuildRequires: pkgconfig(celt) >= 0.7.0
553
554 %description -n %{bname}-celt
555 Plug-in for CELT support under GStreamer.
556
557 %files -n %{bname}-celt
558 %{_libdir}/gstreamer-%{api}/libgstcelt.so
559 %endif
560
561 %files -n %{libnamephoto}
562 %{_libdir}/libgstphotography-%{api}.so.%{libmajor}*
563 %{_libdir}/libgstsignalprocessor-%{api}.so.%{libmajor}*
564 %{_libdir}/libgstcodecparsers-%{api}.so.%{libmajor}*
565
566 %files -n %{develnamephoto}
567 %{_libdir}/libgstcodecparsers-%{api}.so
568 %{_libdir}/libgstphotography-%{api}.so
569 %{_libdir}/libgstsignalprocessor-%{api}.so
570 %{_includedir}/gstreamer-%{api}/gst/codecparsers/
571 %{_includedir}/gstreamer-%{api}/gst/interfaces/photography*
572 %{_includedir}/gstreamer-%{api}/gst/signalprocessor/gstsignalprocessor.h
573 %{_includedir}/gstreamer-%{api}/gst/video/
574 %{_libdir}/pkgconfig/gstreamer-plugins-bad-%{api}.pc
575 %{_libdir}/pkgconfig/gstreamer-codecparsers-%{api}.pc
576
577 %files -n %{libnamebase}
578 %{_libdir}/libgstbasecamerabinsrc-%{api}.so.%{libmajor}*
579 %{_libdir}/libgstbasevideo-%{api}.so.%{libmajor}*
580
581 %files -n %develnamebase
582 %{_libdir}/libgstbasecamerabinsrc-%{api}.so
583 %{_libdir}/libgstbasevideo-%{api}.so
584 %{_includedir}/gstreamer-%{api}/gst/basecamerabinsrc/*
585 %{_libdir}/pkgconfig/gstreamer-basevideo-%{api}.pc

  ViewVC Help
Powered by ViewVC 1.1.30