/[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 295771 - (show annotations) (download)
Tue Sep 18 02:24:57 2012 UTC (11 years, 7 months ago) by fwang
File size: 17772 byte(s)
update file list
1 %define version 0.11.99
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(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}/libgstgaudieffects.so
411 %{_libdir}/gstreamer-%{api}/libgstgdp.so
412 %{_libdir}/gstreamer-%{api}/libgstgeometrictransform.so
413 %{_libdir}/gstreamer-%{api}/libgstid3tag.so
414 %{_libdir}/gstreamer-%{api}/libgstinter.so
415 %{_libdir}/gstreamer-%{api}/libgstinterlace.so
416 %{_libdir}/gstreamer-%{api}/libgstjpegformat.so
417 %{_libdir}/gstreamer-%{api}/libgstliveadder.so
418 # This appears to have been removed. Commenting out (at least temporarily).
419 # -- shlomif
420 # %{_libdir}/gstreamer-%{api}/libgstinvtelecine.so
421 %{_libdir}/gstreamer-%{api}/libgstmpegtsmux.so
422 # This appears to have been removed. Commenting out (at least temporarily).
423 # -- shlomif
424 # %{_libdir}/gstreamer-%{api}/libgstmpeg4videoparse.so
425 %{_libdir}/gstreamer-%{api}/libgstmimic.so
426 #{_libdir}/gstreamer-%{api}/libgstopencv.so
427
428 %{_libdir}/gstreamer-%{api}/libgstmpegpsdemux.so
429
430 %{_libdir}/gstreamer-%{api}/libgstopus.so
431 %{_libdir}/gstreamer-%{api}/libgstpcapparse.so
432 %{_libdir}/gstreamer-%{api}/libgstpnm.so
433 #%{_libdir}/gstreamer-%{api}/libgstqtmux.so
434 %{_libdir}/gstreamer-%{api}/libgstscaletempoplugin.so
435 %{_libdir}/gstreamer-%{api}/libgstrawparse.so
436 %{_libdir}/gstreamer-%{api}/libgstremovesilence.so
437 %{_libdir}/gstreamer-%{api}/libgstsdpelem.so
438 %{_libdir}/gstreamer-%{api}/libgstsegmentclip.so
439 %{_libdir}/gstreamer-%{api}/libgstshm.so
440 %{_libdir}/gstreamer-%{api}/libgstsiren.so
441 %{_libdir}/gstreamer-%{api}/libgstsmooth.so
442 %{_libdir}/gstreamer-%{api}/libgstspeed.so
443 %{_libdir}/gstreamer-%{api}/libgstbz2.so
444 %{_libdir}/gstreamer-%{api}/libgstfragmented.so
445 %{_libdir}/gstreamer-%{api}/libgstmpegtsdemux.so
446 %{_libdir}/gstreamer-%{api}/libgstvideoparsersbad.so
447 %{_libdir}/gstreamer-%{api}/libgstwaylandsink.so
448 %if %{build_plf}
449 %{_libdir}/gstreamer-%{api}/libgstvoaacenc.so
450 %{_libdir}/gstreamer-%{api}/libgstvoamrwbenc.so
451 %{_datadir}/gstreamer-%{api}/presets/GstVoAmrwbEnc.prs
452 %endif
453 %if %build_experimental
454 #%{_libdir}/gstreamer-%{api}/libgstdeinterlace2.so
455 %endif
456
457 %{_libdir}/gstreamer-%{api}/libgstmodplug.so
458 %{_libdir}/gstreamer-%{api}/libgsty4mdec.so
459
460 #%package examples
461 #Summary:GStreamer example applications
462 #Group: Video
463
464 #%description examples
465 #This contains example applications to test %{name}
466
467 #%files examples
468
469 %if %build_faad
470 %package -n %{bname}-faad
471 Summary: GStreamer plug-in for AAC audio playback
472 Group: Sound
473 Requires: %{bname}-plugins >= %version
474 BuildRequires: libfaad2-devel => 2.0
475
476 %description -n %{bname}-faad
477 Plug-ins for playing AAC audio
478
479 This package is in the 'tainted' section as it violates some patents.
480
481 %files -n %{bname}-faad
482 %{_libdir}/gstreamer-%{api}/libgstfaad.so
483 %endif
484
485 %if %build_faac
486 %package -n %{bname}-faac
487 Summary: GStreamer plug-ins for AAC audio encoding
488 Group: Sound
489 Requires: %{bname}-plugins >= %version
490 BuildRequires: libfaac-devel
491
492 %description -n %{bname}-faac
493 Plug-ins for encoding AAC audio
494
495 This package is in the 'tainted' section as it violates some patents.
496
497 %files -n %{bname}-faac
498 %{_libdir}/gstreamer-%{api}/libgstfaac.so
499 %endif
500
501 %package -n %{bname}-gsm
502 Summary: GStreamer plugin for GSM lossy audio format
503 Group: Sound
504 Requires: %{bname}-plugins >= %{version}
505 BuildRequires: gsm-devel >= 1.0.10
506
507 %description -n %{bname}-gsm
508 Output plugin for GStreamer to convert to GSM lossy audio format.
509
510 %files -n %{bname}-gsm
511 %{_libdir}/gstreamer-%{api}/libgstgsm.so
512
513 %if 0
514 ### SWFDEC FLASH PLUGIN ###
515 %package -n %{bname}-swfdec
516 Summary: GStreamer Flash rendering plug-in
517 Group: System/Libraries
518 Requires: %{bname}-plugins = %{version}
519 BuildRequires: libswfdec-devel => 0.3.0
520
521 %description -n %{bname}-swfdec
522 Plug-in for rendering Flash animations using swfdec library
523
524 %files -n %{bname}-swfdec
525 %{_libdir}/gstreamer-%{api}/libgstswfdec.so
526 %endif
527
528 %if %build_amrwb
529 %package -n %{bname}-amrwb
530 Summary: GStreamer plug-in for AMR-WB support
531 Group: Sound
532 Requires: %{bname}-plugins >= %{version}
533 BuildRequires: libamrwb-devel
534
535 %description -n %{bname}-amrwb
536 Plug-in for decoding AMR-WB under GStreamer.
537
538 This package is in the 'tainted' section as it violates some patents.
539
540 %files -n %{bname}-amrwb
541 %{_datadir}/gstreamer-%{api}/presets/GstAmrwbEnc.prs
542 %{_libdir}/gstreamer-%{api}/libgstamrwbenc.so
543 %endif
544
545 %if %build_celt
546 %package -n %{bname}-celt
547 Summary: GStreamer plug-in for CELT support
548 Group: Video
549 Requires: %{bname}-plugins >= %{version}
550 BuildRequires: pkgconfig(celt) >= 0.7.0
551
552 %description -n %{bname}-celt
553 Plug-in for CELT support under GStreamer.
554
555 %files -n %{bname}-celt
556 %{_libdir}/gstreamer-%{api}/libgstcelt.so
557 %endif
558
559 %files -n %{libnamephoto}
560 %{_libdir}/libgstphotography-%{api}.so.%{libmajor}*
561 %{_libdir}/libgstsignalprocessor-%{api}.so.%{libmajor}*
562 %{_libdir}/libgstcodecparsers-%{api}.so.%{libmajor}*
563
564 %files -n %{develnamephoto}
565 %{_libdir}/libgstcodecparsers-%{api}.so
566 %{_libdir}/libgstphotography-%{api}.so
567 %{_libdir}/libgstsignalprocessor-%{api}.so
568 %{_includedir}/gstreamer-%{api}/gst/codecparsers/
569 %{_includedir}/gstreamer-%{api}/gst/interfaces/photography*
570 %{_includedir}/gstreamer-%{api}/gst/signalprocessor/gstsignalprocessor.h
571 %{_includedir}/gstreamer-%{api}/gst/video/
572 %{_libdir}/pkgconfig/gstreamer-plugins-bad-%{api}.pc
573 %{_libdir}/pkgconfig/gstreamer-codecparsers-%{api}.pc
574
575 %files -n %{libnamebase}
576 %{_libdir}/libgstbasecamerabinsrc-%{api}.so.%{libmajor}*
577 %{_libdir}/libgstbasevideo-%{api}.so.%{libmajor}*
578
579 %files -n %develnamebase
580 %{_libdir}/libgstbasecamerabinsrc-%{api}.so
581 %{_libdir}/libgstbasevideo-%{api}.so
582 %{_includedir}/gstreamer-%{api}/gst/basecamerabinsrc/*
583 %{_libdir}/pkgconfig/gstreamer-basevideo-%{api}.pc

  ViewVC Help
Powered by ViewVC 1.1.30