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

  ViewVC Help
Powered by ViewVC 1.1.30