/[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 297087 - (show annotations) (download)
Mon Sep 24 14:34:28 2012 UTC (11 years, 6 months ago) by fwang
File size: 17678 byte(s)
new version 1.0.0
1 %define version 1.0.0
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}/libgstrtpvp8.so
247
248 %if %build_dts
249 %package -n %{bname}-dts
250 Summary: GStreamer plug-ins for DTS audio playback
251 Group: Sound
252 BuildRequires: dtsdec-devel
253
254 %description -n %{bname}-dts
255 Plug-ins for decoding DTS audio.
256
257 %files -n %{bname}-dts
258 %{_libdir}/gstreamer-%{api}/libgstdtsdec.so
259 %endif
260
261 %if %build_xvid
262 %package -n %{bname}-xvid
263 Summary: GStreamer plug-ins for XVID video encoding and decoding
264 Group: Video
265 BuildRequires: xvid-devel >= 1.1
266
267 %description -n %{bname}-xvid
268 Plug-ins for encoding and decoding XVID video.
269
270 This package is in the 'tainted' section as it violates some patents.
271 %files -n %{bname}-xvid
272 %{_libdir}/gstreamer-%{api}/libgstxvid.so
273 %endif
274
275 %package -n %{bname}-mms
276 Summary: GStreamer plug-in for mms streams
277 Group: System/Libraries
278 Requires: %{bname}-plugins = %{version}
279 BuildRequires: pkgconfig(libmms)
280
281 %description -n %{bname}-mms
282 Plug-in supporting the mms protocol based on the libmms library.
283
284 %files -n %{bname}-mms
285 %{_libdir}/gstreamer-%{api}/libgstmms.so
286
287 %package -n %{bname}-rtmp
288 Summary: GStreamer plug-in for rtmp streams
289 Group: System/Libraries
290 Requires: %{bname}-plugins = %{version}
291 BuildRequires: pkgconfig(librtmp)
292
293 %description -n %{bname}-rtmp
294 Plug-in supporting the rtmp protocol based on the librtmp library.
295
296 %files -n %{bname}-rtmp
297 %{_libdir}/gstreamer-%{api}/libgstrtmp.so
298
299 %package -n %{bname}-soundtouch
300 Summary: GStreamer plug-in for SoundTouch support
301 Group: Sound
302 Requires: %{bname}-plugins = %{version}
303 BuildRequires: pkgconfig(soundtouch)
304
305 %description -n %{bname}-soundtouch
306 Plug-in supporting the SoundTouch audio manipulation support.
307
308 %files -n %{bname}-soundtouch
309 %{_libdir}/gstreamer-%{api}/libgstsoundtouch.so
310
311 %package -n %{bname}-libass
312 Summary: GStreamer subtitles plugin
313 Group: Video
314 BuildRequires: pkgconfig(libass)
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 -n %{bname}-voip
323 Summary: GStreamer voip plugins
324 Group: Sound
325
326 %description -n %{bname}-voip
327 This is a collection of VoIP plugins for GStreamer.
328
329 %files -n %{bname}-voip
330 %{_libdir}/gstreamer-%{api}/libgstrtpmux.so
331 %{_libdir}/gstreamer-%{api}/libgstdtmf.so
332
333 %package doc
334 Group: Books/Computer books
335 Summary: GStreamer application library
336 BuildArch: noarch
337
338 %description doc
339 This is the documentation of %{name}.
340
341 %prep
342 %setup -q -n gst-plugins-bad-%{version}
343 %apply_patches
344
345 %build
346 %configure2_5x --disable-dependency-tracking --disable-static \
347 --with-package-name='%distribution %{name} package' \
348 --with-package-origin='http://www.mageia.org/' \
349 %if ! %build_celt
350 --disable-celt \
351 %endif
352 %if ! %build_faac
353 --disable-faac \
354 %endif
355 %if ! %build_faad
356 --disable-faad \
357 %endif
358 %if ! %build_dirac
359 --disable-dirac \
360 %endif
361 %if ! %build_xvid
362 --disable-xvid \
363 %endif
364 %if ! %build_dts
365 --disable-dts \
366 %endif
367 %if ! %build_plf
368 --disable-voamrwbenc --disable-voaacenc \
369 %endif
370 %if %build_experimental
371 --enable-experimental
372 %endif
373
374 make
375
376 %install
377 %makeinstall_std
378
379 %find_lang gst-plugins-bad-%{api}
380
381 # Clean out files that should not be part of the rpm.
382 # This is the recommended way of dealing with it for RH8
383 find %{buildroot} -name '*.la' -delete
384
385 %files doc
386 %doc docs/plugins/html
387 %{_datadir}/gtk-doc/html/
388
389 %files -f gst-plugins-bad-%{api}.lang
390 %doc AUTHORS COPYING README NEWS
391
392 %{_libdir}/gstreamer-%{api}/libgstadpcmdec.so
393 %{_libdir}/gstreamer-%{api}/libgstadpcmenc.so
394 %{_libdir}/gstreamer-%{api}/libgstasfmux.so
395 #%{_libdir}/gstreamer-%{api}/libgstaudioparsersbad.so
396 %{_libdir}/gstreamer-%{api}/libgstaudiovisualizers.so
397 %{_libdir}/gstreamer-%{api}/libgstautoconvert.so
398 %{_libdir}/gstreamer-%{api}/libgstbayer.so
399 %{_libdir}/gstreamer-%{api}/libgstcamerabin2.so
400 %{_libdir}/gstreamer-%{api}/libgstcoloreffects.so
401 #{_libdir}/gstreamer-%{api}/libgstcolorspace.so
402 %{_libdir}/gstreamer-%{api}/libgstdataurisrc.so
403 %{_libdir}/gstreamer-%{api}/libgstdebugutilsbad.so
404 %{_libdir}/gstreamer-%{api}/libgstdvb.so
405 %{_libdir}/gstreamer-%{api}/libgstdvbsuboverlay.so
406 %{_libdir}/gstreamer-%{api}/libgstdvdspu.so
407 %{_libdir}/gstreamer-%{api}/libgstfestival.so
408 %{_libdir}/gstreamer-%{api}/libgstgaudieffects.so
409 %{_libdir}/gstreamer-%{api}/libgstgdp.so
410 %{_libdir}/gstreamer-%{api}/libgstgeometrictransform.so
411 %{_libdir}/gstreamer-%{api}/libgstid3tag.so
412 %{_libdir}/gstreamer-%{api}/libgstinter.so
413 %{_libdir}/gstreamer-%{api}/libgstinterlace.so
414 %{_libdir}/gstreamer-%{api}/libgstjpegformat.so
415 %{_libdir}/gstreamer-%{api}/libgstliveadder.so
416 # This appears to have been removed. Commenting out (at least temporarily).
417 # -- shlomif
418 # %{_libdir}/gstreamer-%{api}/libgstinvtelecine.so
419 %{_libdir}/gstreamer-%{api}/libgstmpegtsmux.so
420 # This appears to have been removed. Commenting out (at least temporarily).
421 # -- shlomif
422 # %{_libdir}/gstreamer-%{api}/libgstmpeg4videoparse.so
423 %{_libdir}/gstreamer-%{api}/libgstmimic.so
424 #{_libdir}/gstreamer-%{api}/libgstopencv.so
425
426 %{_libdir}/gstreamer-%{api}/libgstmpegpsdemux.so
427
428 %{_libdir}/gstreamer-%{api}/libgstopus.so
429 %{_libdir}/gstreamer-%{api}/libgstpcapparse.so
430 %{_libdir}/gstreamer-%{api}/libgstpnm.so
431 #%{_libdir}/gstreamer-%{api}/libgstqtmux.so
432 %{_libdir}/gstreamer-%{api}/libgstscaletempoplugin.so
433 %{_libdir}/gstreamer-%{api}/libgstrawparse.so
434 %{_libdir}/gstreamer-%{api}/libgstremovesilence.so
435 %{_libdir}/gstreamer-%{api}/libgstsdpelem.so
436 %{_libdir}/gstreamer-%{api}/libgstsegmentclip.so
437 %{_libdir}/gstreamer-%{api}/libgstshm.so
438 %{_libdir}/gstreamer-%{api}/libgstsiren.so
439 %{_libdir}/gstreamer-%{api}/libgstsmooth.so
440 %{_libdir}/gstreamer-%{api}/libgstspeed.so
441 %{_libdir}/gstreamer-%{api}/libgstbz2.so
442 %{_libdir}/gstreamer-%{api}/libgstfragmented.so
443 %{_libdir}/gstreamer-%{api}/libgstmpegtsdemux.so
444 %{_libdir}/gstreamer-%{api}/libgstvideoparsersbad.so
445 %{_libdir}/gstreamer-%{api}/libgstwaylandsink.so
446 %if %{build_plf}
447 %{_libdir}/gstreamer-%{api}/libgstvoaacenc.so
448 %{_libdir}/gstreamer-%{api}/libgstvoamrwbenc.so
449 %{_datadir}/gstreamer-%{api}/presets/GstVoAmrwbEnc.prs
450 %endif
451 %if %build_experimental
452 #%{_libdir}/gstreamer-%{api}/libgstdeinterlace2.so
453 %endif
454
455 %{_libdir}/gstreamer-%{api}/libgstmodplug.so
456 %{_libdir}/gstreamer-%{api}/libgsty4mdec.so
457
458 #%package examples
459 #Summary:GStreamer example applications
460 #Group: Video
461
462 #%description examples
463 #This contains example applications to test %{name}
464
465 #%files examples
466
467 %if %build_faad
468 %package -n %{bname}-faad
469 Summary: GStreamer plug-in for AAC audio playback
470 Group: Sound
471 Requires: %{bname}-plugins >= %version
472 BuildRequires: libfaad2-devel => 2.0
473
474 %description -n %{bname}-faad
475 Plug-ins for playing AAC audio
476
477 This package is in the 'tainted' section as it violates some patents.
478
479 %files -n %{bname}-faad
480 %{_libdir}/gstreamer-%{api}/libgstfaad.so
481 %endif
482
483 %if %build_faac
484 %package -n %{bname}-faac
485 Summary: GStreamer plug-ins for AAC audio encoding
486 Group: Sound
487 Requires: %{bname}-plugins >= %version
488 BuildRequires: libfaac-devel
489
490 %description -n %{bname}-faac
491 Plug-ins for encoding AAC audio
492
493 This package is in the 'tainted' section as it violates some patents.
494
495 %files -n %{bname}-faac
496 %{_libdir}/gstreamer-%{api}/libgstfaac.so
497 %endif
498
499 %package -n %{bname}-gsm
500 Summary: GStreamer plugin for GSM lossy audio format
501 Group: Sound
502 Requires: %{bname}-plugins >= %{version}
503 BuildRequires: gsm-devel >= 1.0.10
504
505 %description -n %{bname}-gsm
506 Output plugin for GStreamer to convert to GSM lossy audio format.
507
508 %files -n %{bname}-gsm
509 %{_libdir}/gstreamer-%{api}/libgstgsm.so
510
511 %if 0
512 ### SWFDEC FLASH PLUGIN ###
513 %package -n %{bname}-swfdec
514 Summary: GStreamer Flash rendering plug-in
515 Group: System/Libraries
516 Requires: %{bname}-plugins = %{version}
517 BuildRequires: libswfdec-devel => 0.3.0
518
519 %description -n %{bname}-swfdec
520 Plug-in for rendering Flash animations using swfdec library
521
522 %files -n %{bname}-swfdec
523 %{_libdir}/gstreamer-%{api}/libgstswfdec.so
524 %endif
525
526 %if %build_amrwb
527 %package -n %{bname}-amrwb
528 Summary: GStreamer plug-in for AMR-WB support
529 Group: Sound
530 Requires: %{bname}-plugins >= %{version}
531 BuildRequires: libamrwb-devel
532
533 %description -n %{bname}-amrwb
534 Plug-in for decoding AMR-WB under GStreamer.
535
536 This package is in the 'tainted' section as it violates some patents.
537
538 %files -n %{bname}-amrwb
539 %{_datadir}/gstreamer-%{api}/presets/GstAmrwbEnc.prs
540 %{_libdir}/gstreamer-%{api}/libgstamrwbenc.so
541 %endif
542
543 %if %build_celt
544 %package -n %{bname}-celt
545 Summary: GStreamer plug-in for CELT support
546 Group: Video
547 Requires: %{bname}-plugins >= %{version}
548 BuildRequires: pkgconfig(celt) >= 0.7.0
549
550 %description -n %{bname}-celt
551 Plug-in for CELT support under GStreamer.
552
553 %files -n %{bname}-celt
554 %{_libdir}/gstreamer-%{api}/libgstcelt.so
555 %endif
556
557 %files -n %{libnamephoto}
558 %{_libdir}/libgstphotography-%{api}.so.%{libmajor}*
559 %{_libdir}/libgstsignalprocessor-%{api}.so.%{libmajor}*
560 %{_libdir}/libgstcodecparsers-%{api}.so.%{libmajor}*
561
562 %files -n %{develnamephoto}
563 %{_libdir}/libgstcodecparsers-%{api}.so
564 %{_libdir}/libgstphotography-%{api}.so
565 %{_libdir}/libgstsignalprocessor-%{api}.so
566 %{_includedir}/gstreamer-%{api}/gst/codecparsers/
567 %{_includedir}/gstreamer-%{api}/gst/interfaces/photography*
568 %{_includedir}/gstreamer-%{api}/gst/signalprocessor/gstsignalprocessor.h
569 %{_includedir}/gstreamer-%{api}/gst/video/
570 %{_libdir}/pkgconfig/gstreamer-plugins-bad-%{api}.pc
571 %{_libdir}/pkgconfig/gstreamer-codecparsers-%{api}.pc
572
573 %files -n %{libnamebase}
574 %{_libdir}/libgstbasecamerabinsrc-%{api}.so.%{libmajor}*
575 %{_libdir}/libgstbasevideo-%{api}.so.%{libmajor}*
576
577 %files -n %develnamebase
578 %{_libdir}/libgstbasecamerabinsrc-%{api}.so
579 %{_libdir}/libgstbasevideo-%{api}.so
580 %{_includedir}/gstreamer-%{api}/gst/basecamerabinsrc/*
581 %{_libdir}/pkgconfig/gstreamer-basevideo-%{api}.pc

  ViewVC Help
Powered by ViewVC 1.1.30