/[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 288313 - (show annotations) (download)
Tue Sep 4 22:26:09 2012 UTC (11 years, 7 months ago) by fwang
File size: 17345 byte(s)
drop unused obsolete so that we could make 1.0 and 0.10 co-exist
1 %define version 0.11.93
2 %define release %mkrel 3
3
4 %define api 1.0
5 %define bname gstreamer%{api}
6 %define name %{bname}-plugins-bad
7
8 # The version of some of the libraries under /usr/lib/ or /usr/lib64.
9 %define gst_libdir_ver 0
10
11 %define build_plf 0
12 %if "%{?distro_section}" == "tainted"
13 %define build_plf 1
14 %endif
15
16 %define build_experimental 0
17 %{?_with_experimental: %{expand: %%global build_experimental 1}}
18 %define build_amrwb 0
19 %define build_faac 0
20 %define build_faad 0
21 %define build_xvid 0
22 %define build_dts 0
23 %define build_dirac 0
24 %define build_gme 1
25 %define build_celt 1
26
27 %if %build_plf
28 %define build_amrwb 0
29 %define build_faac 0
30 %define build_faad 1
31 %define build_xvid 1
32 %define build_dts 1
33 %endif
34
35 %define libmajor 0
36 %define libnamephoto %mklibname gstphotography %{major} %{libmajor}
37 %define develnamephoto %mklibname -d gstphotographyi %{major}
38 %define libnamebase %mklibname gstbasevideo %{major} %{libmajor}
39 %define develnamebase %mklibname -d gstbasevideo %{major}
40
41 Summary: GStreamer Streaming-media framework plug-ins
42 Name: %{name}
43 Version: %{version}
44 Release: %{release}
45 License: LGPLv2+ and GPLv2+
46 Group: Sound
47 Source: http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.xz
48 Patch0: gst-plugins-bad-0.10.7-wildmidi-timidity.cfg.patch
49 # ovitters: doesn't apply
50 #Patch1: gst-plugins-bad-0.10.22-disable-example.patch
51 # gw: fix for bug #36437 (paths to realplayer codecs)
52 # prefer codecs from the RealPlayer package in restricted
53 Patch10: gst-plugins-bad-0.10.6-real-codecs-path.patch
54 URL: http://gstreamer.freedesktop.org/
55 #gw for the pixbuf plugin
56 BuildRequires: pkgconfig(gtk+-2.0)
57 BuildRequires: pkgconfig(glib-2.0) >= %{_glib2}
58 BuildRequires: pkgconfig(libpng)
59 BuildRequires: pkgconfig(orc-0.4) >= 0.4.5
60 BuildRequires: pkgconfig(sdl)
61 BuildRequires: libbzip2-devel
62 BuildRequires: pkgconfig(libmodplug)
63 BuildRequires: pkgconfig(libmusicbrainz)
64 BuildRequires: pkgconfig(exempi-2.0)
65 BuildRequires: pkgconfig(openssl)
66 BuildRequires: pkgconfig(openal)
67 BuildRequires: pkgconfig(opencv)
68 BuildRequires: pkgconfig(opus)
69
70 %ifarch %ix86
71 BuildRequires: nasm => 0.90
72 %endif
73
74 BuildRequires: pkgconfig(valgrind)
75 BuildRequires: pkgconfig(check)
76 BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= %{version}
77 BuildRequires: pkgconfig(gstreamer-1.0) >= %{version}
78 BuildRequires: pkgconfig(libcdaudio)
79 BuildRequires: pkgconfig(sndfile)
80 BuildRequires: pkgconfig(libmimic)
81 BuildRequires: pkgconfig(libass)
82 %if %build_plf
83 BuildRequires: pkgconfig(vo-aacenc)
84 BuildRequires: pkgconfig(vo-amrwbenc)
85 %endif
86 #gw for checks
87 #BuildRequires: gstreamer0.10-plugins-good
88 BuildRequires: fonts-ttf-dejavu
89 #gw for autoreconf
90 BuildRequires: gettext-devel
91 Requires: %{bname}-voip >= %{version}-%{release}
92
93 %description
94 GStreamer is a streaming-media framework, based on graphs of filters which
95 operate on media data. Applications using this library can do anything
96 from real-time sound processing to playing videos, and just about anything
97 else media-related. Its plugin-based architecture means that new data
98 types or processing capabilities can be added simply by installing new
99 plug-ins.
100
101 This package contains a set of plug-ins that aren't up to par compared
102 to the rest. They might be close to being good quality, but they're
103 missing something - be it a good code review, some documentation, a
104 set of tests, a real live maintainer, or some actual wide use. If the
105 blanks are filled in they might be upgraded to become part of either
106 gstreamer-plugins-good or gstreamer-plugins-ugly, depending on the
107 other factors. If the plug-ins break, you can't complain - instead,
108 you can fix the problem and send us a patch, or bribe someone into
109 fixing them for you. New contributors can start here for things to
110 work on.
111
112 %if %build_plf
113 This package is in the 'tainted' section as it violates some patents.
114 %endif
115
116
117 %package -n %{libnamephoto}
118 Summary: Libraries for GStreamer streaming-media framework
119 Group: System/Libraries
120
121 %description -n %{libnamephoto}
122 GStreamer is a streaming-media framework, based on graphs of filters which
123 operate on media data. Applications using this library can do anything
124 from real-time sound processing to playing videos, and just about anything
125 else media-related. Its plugin-based architecture means that new data
126 types or processing capabilities can be added simply by installing new
127 plugins.
128
129 This package contains the libraries.
130
131 %package -n %{develnamephoto}
132 Summary: Libraries and include files for GStreamer streaming-media framework
133 Group: Development/C
134 Requires: %{libnamephoto} = %{version}-%{release}
135
136 %description -n %{develnamephoto}
137 GStreamer is a streaming-media framework, based on graphs of filters which
138 operate on media data. Applications using this library can do anything
139 from real-time sound processing to playing videos, and just about anything
140 else media-related. Its plugin-based architecture means that new data
141 types or processing capabilities can be added simply by installing new
142 plugins.
143
144 This package contains the libraries and includes files necessary to develop
145 applications and plugins for GStreamer.
146
147 %package -n %{libnamebase}
148 Summary: Libraries for GStreamer streaming-media framework
149 Group: System/Libraries
150
151 %description -n %{libnamebase}
152 GStreamer is a streaming-media framework, based on graphs of filters which
153 operate on media data. Applications using this library can do anything
154 from real-time sound processing to playing videos, and just about anything
155 else media-related. Its plugin-based architecture means that new data
156 types or processing capabilities can be added simply by installing new
157 plugins.
158
159 This package contains the libraries.
160
161 %package -n %{develnamebase}
162 Summary: Libraries and include files for GStreamer streaming-media framework
163 Group: Development/C
164 Requires: %{libnamebase} = %{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}/libgstdvbsuboverlay.so
408 %{_libdir}/gstreamer-%{api}/libgstdvdspu.so
409 %{_libdir}/gstreamer-%{api}/libgstfestival.so
410 %{_libdir}/gstreamer-%{api}/libgstgaudieffects.so
411 %{_libdir}/gstreamer-%{api}/libgstgeometrictransform.so
412 %{_libdir}/gstreamer-%{api}/libgstinterlace.so
413 # This appears to have been removed. Commenting out (at least temporarily).
414 # -- shlomif
415 # %{_libdir}/gstreamer-%{api}/libgstinvtelecine.so
416 %{_libdir}/gstreamer-%{api}/libgstmpegtsmux.so
417 # This appears to have been removed. Commenting out (at least temporarily).
418 # -- shlomif
419 # %{_libdir}/gstreamer-%{api}/libgstmpeg4videoparse.so
420 %{_libdir}/gstreamer-%{api}/libgstmimic.so
421 #{_libdir}/gstreamer-%{api}/libgstopencv.so
422
423 %{_libdir}/gstreamer-%{api}/libgstmpegpsdemux.so
424
425 %{_libdir}/gstreamer-%{api}/libgstopus.so
426 %{_libdir}/gstreamer-%{api}/libgstpcapparse.so
427 #%{_libdir}/gstreamer-%{api}/libgstqtmux.so
428 %{_libdir}/gstreamer-%{api}/libgstscaletempoplugin.so
429 %{_libdir}/gstreamer-%{api}/libgstrawparse.so
430 %{_libdir}/gstreamer-%{api}/libgstremovesilence.so
431 %{_libdir}/gstreamer-%{api}/libgstsdpelem.so
432 %{_libdir}/gstreamer-%{api}/libgstsegmentclip.so
433 %{_libdir}/gstreamer-%{api}/libgstshm.so
434 %{_libdir}/gstreamer-%{api}/libgstsmooth.so
435 %{_libdir}/gstreamer-%{api}/libgstbz2.so
436 %{_libdir}/gstreamer-%{api}/libgstfragmented.so
437 %{_libdir}/gstreamer-%{api}/libgstmpegtsdemux.so
438 %{_libdir}/gstreamer-%{api}/libgstvideoparsersbad.so
439 %if %{build_plf}
440 %{_libdir}/gstreamer-%{api}/libgstvoaacenc.so
441 %{_libdir}/gstreamer-%{api}/libgstvoamrwbenc.so
442 %{_datadir}/gstreamer-%{api}/presets/GstVoAmrwbEnc.prs
443 %endif
444 %if %build_experimental
445 #%{_libdir}/gstreamer-%{api}/libgstdeinterlace2.so
446 %endif
447
448 %{_libdir}/gstreamer-%{api}/libgstmodplug.so
449 %{_libdir}/gstreamer-%{api}/libgsty4mdec.so
450
451 #%package examples
452 #Summary:GStreamer example applications
453 #Group: Video
454
455 #%description examples
456 #This contains example applications to test %{name}
457
458 #%files examples
459
460 %if %build_faad
461 %package -n %{bname}-faad
462 Summary: GStreamer plug-in for AAC audio playback
463 Group: Sound
464 Requires: %{bname}-plugins >= %version
465 BuildRequires: libfaad2-devel => 2.0
466
467 %description -n %{bname}-faad
468 Plug-ins for playing AAC audio
469
470 This package is in the 'tainted' section as it violates some patents.
471
472 %files -n %{bname}-faad
473 %{_libdir}/gstreamer-%{api}/libgstfaad.so
474 %endif
475
476 %if %build_faac
477 %package -n %{bname}-faac
478 Summary: GStreamer plug-ins for AAC audio encoding
479 Group: Sound
480 Requires: %{bname}-plugins >= %version
481 BuildRequires: libfaac-devel
482
483 %description -n %{bname}-faac
484 Plug-ins for encoding AAC audio
485
486 This package is in the 'tainted' section as it violates some patents.
487
488 %files -n %{bname}-faac
489 %{_libdir}/gstreamer-%{api}/libgstfaac.so
490 %endif
491
492 %package -n %{bname}-gsm
493 Summary: GStreamer plugin for GSM lossy audio format
494 Group: Sound
495 Requires: %{bname}-plugins >= %{version}
496 BuildRequires: gsm-devel >= 1.0.10
497
498 %description -n %{bname}-gsm
499 Output plugin for GStreamer to convert to GSM lossy audio format.
500
501 %files -n %{bname}-gsm
502 %{_libdir}/gstreamer-%{api}/libgstgsm.so
503
504 %if 0
505 ### SWFDEC FLASH PLUGIN ###
506 %package -n %{bname}-swfdec
507 Summary: GStreamer Flash rendering plug-in
508 Group: System/Libraries
509 Requires: %{bname}-plugins = %{version}
510 BuildRequires: libswfdec-devel => 0.3.0
511
512 %description -n %{bname}-swfdec
513 Plug-in for rendering Flash animations using swfdec library
514
515 %files -n %{bname}-swfdec
516 %{_libdir}/gstreamer-%{api}/libgstswfdec.so
517 %endif
518
519 %if %build_amrwb
520 %package -n %{bname}-amrwb
521 Summary: GStreamer plug-in for AMR-WB support
522 Group: Sound
523 Requires: %{bname}-plugins >= %{version}
524 BuildRequires: libamrwb-devel
525
526 %description -n %{bname}-amrwb
527 Plug-in for decoding AMR-WB under GStreamer.
528
529 This package is in the 'tainted' section as it violates some patents.
530
531 %files -n %{bname}-amrwb
532 %{_datadir}/gstreamer-%{api}/presets/GstAmrwbEnc.prs
533 %{_libdir}/gstreamer-%{api}/libgstamrwbenc.so
534 %endif
535
536 %if %build_celt
537 %package -n %{bname}-celt
538 Summary: GStreamer plug-in for CELT support
539 Group: Video
540 Requires: %{bname}-plugins >= %{version}
541 BuildRequires: pkgconfig(celt) >= 0.7.0
542
543 %description -n %{bname}-celt
544 Plug-in for CELT support under GStreamer.
545
546 %files -n %{bname}-celt
547 %{_libdir}/gstreamer-%{api}/libgstcelt.so
548 %endif
549
550 %files -n %{libnamephoto}
551 %{_libdir}/libgstphotography-%{api}.so.%{gst_libdir_ver}*
552 %{_libdir}/libgstsignalprocessor-%{api}.so.%{gst_libdir_ver}*
553 %{_libdir}/libgstcodecparsers-%{api}.so.%{gst_libdir_ver}*
554
555 %files -n %{develnamephoto}
556 %{_libdir}/libgstcodecparsers-%{api}.so
557 %{_libdir}/libgstphotography-%{api}.so
558 %{_libdir}/libgstsignalprocessor-%{api}.so
559 %{_includedir}/gstreamer-%{api}/gst/codecparsers/
560 %{_includedir}/gstreamer-%{api}/gst/interfaces/photography*
561 %{_includedir}/gstreamer-%{api}/gst/signalprocessor/gstsignalprocessor.h
562 %{_includedir}/gstreamer-%{api}/gst/video/
563 %{_libdir}/pkgconfig/gstreamer-plugins-bad-%{api}.pc
564 %{_libdir}/pkgconfig/gstreamer-codecparsers-%{api}.pc
565
566 %files -n %{libnamebase}
567 %{_libdir}/libgstbasecamerabinsrc-%{api}.so.%{gst_libdir_ver}*
568 %{_libdir}/libgstbasevideo-%{api}.so.%{gst_libdir_ver}*
569
570 %files -n %develnamebase
571 %{_libdir}/libgstbasecamerabinsrc-%{api}.so
572 %{_libdir}/libgstbasevideo-%{api}.so
573 %{_includedir}/gstreamer-%{api}/gst/basecamerabinsrc/*
574 %{_libdir}/pkgconfig/gstreamer-basevideo-%{api}.pc

  ViewVC Help
Powered by ViewVC 1.1.30