/[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 288300 - (show annotations) (download)
Tue Sep 4 22:15:17 2012 UTC (11 years, 6 months ago) by fwang
File size: 17469 byte(s)
cleanup spec, and rename devel package so that it won't conflict with gst0.10

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 # 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 Obsoletes: %{_lib}gstphotography-devel < %{version}-%{release}
136
137 %description -n %{develnamephoto}
138 GStreamer is a streaming-media framework, based on graphs of filters which
139 operate on media data. Applications using this library can do anything
140 from real-time sound processing to playing videos, and just about anything
141 else media-related. Its plugin-based architecture means that new data
142 types or processing capabilities can be added simply by installing new
143 plugins.
144
145 This package contains the libraries and includes files necessary to develop
146 applications and plugins for GStreamer.
147
148 %package -n %{libnamebase}
149 Summary: Libraries for GStreamer streaming-media framework
150 Group: System/Libraries
151
152 %description -n %{libnamebase}
153 GStreamer is a streaming-media framework, based on graphs of filters which
154 operate on media data. Applications using this library can do anything
155 from real-time sound processing to playing videos, and just about anything
156 else media-related. Its plugin-based architecture means that new data
157 types or processing capabilities can be added simply by installing new
158 plugins.
159
160 This package contains the libraries.
161
162 %package -n %{develnamebase}
163 Summary: Libraries and include files for GStreamer streaming-media framework
164 Group: Development/C
165 Requires: %{libnamebase} = %{version}-%{release}
166 Obsoletes: %{_lib}gstbasevideo-devel < %{version}-%{release}
167
168 %description -n %{develnamebase}
169 GStreamer is a streaming-media framework, based on graphs of filters which
170 operate on media data. Applications using this library can do anything
171 from real-time sound processing to playing videos, and just about anything
172 else media-related. Its plugin-based architecture means that new data
173 types or processing capabilities can be added simply by installing new
174 plugins.
175
176 This package contains the libraries and includes files necessary to develop
177 applications and plugins for GStreamer.
178
179 %package -n %{bname}-curl
180 Summary: GStreamer Curl plugin
181 Group: Networking/Other
182 BuildRequires: libcurl-devel
183
184 %description -n %{bname}-curl
185 This is a HTTP plugin for GStreamer based on the curl library.
186
187 %files -n %{bname}-curl
188 %{_libdir}/gstreamer-%{api}/libgstcurl.so
189
190 %package -n %{bname}-mpeg2enc
191 Summary: GStreamer mjpegtools plug-in
192 Group: Video
193 BuildRequires: pkgconfig(mjpegtools)
194
195 %description -n %{bname}-mpeg2enc
196 mjpegtools-based encoding and decoding plug-in.
197
198 %files -n %{bname}-mpeg2enc
199 %{_libdir}/gstreamer-%{api}/libgstmpeg2enc.so
200 %{_libdir}/gstreamer-%{api}/libgstmplex.so
201
202 %if %build_gme
203 %package -n %{bname}-gme
204 Summary: GStreamer Game Music plug-in
205 Group: Sound
206 BuildRequires: libgme-devel
207
208 %description -n %{bname}-gme
209 Game Music decoding plug-in.
210
211 %files -n %{bname}-gme
212 %{_libdir}/gstreamer-%{api}/libgstgme.so
213 %endif
214
215 %if %build_dirac
216 %package -n %{bname}-dirac
217 Summary: GStreamer dirac plug-in
218 Group: Video
219 BuildRequires: pkgconfig(dirac) >= 0.9
220
221 %description -n %{bname}-dirac
222 Dirac encoding and decoding plug-in.
223
224 %files -n %{bname}-dirac
225 %{_libdir}/gstreamer-%{api}/libgstdirac.so
226 %endif
227
228 %package -n %{bname}-schroedinger
229 Summary: GStreamer dirac plug-in based on Schroedinger
230 Group: Video
231 BuildRequires: pkgconfig(schroedinger-1.0)
232 Epoch: 1
233
234 %description -n %{bname}-schroedinger
235 Dirac encoding and decoding plug-in based on Schroedinger.
236
237 %files -n %{bname}-schroedinger
238 %{_libdir}/gstreamer-%{api}/libgstschro.so
239
240 %package -n %{bname}-vp8
241 Summary: GStreamer VP8 plug-in
242 Group: Video
243 BuildRequires: pkgconfig(libvpx)
244
245 %description -n %{bname}-vp8
246 VP8 encoding and decoding plug-in.
247
248 %files -n %{bname}-vp8
249 %{_libdir}/gstreamer-%{api}/libgstvp8.so
250 %{_libdir}/gstreamer-%{api}/libgstrtpvp8.so
251 %{_datadir}/gstreamer-%{api}/presets/GstVP8Enc.prs
252
253 %if %build_dts
254 %package -n %{bname}-dts
255 Summary: GStreamer plug-ins for DTS audio playback
256 Group: Sound
257 BuildRequires: dtsdec-devel
258
259 %description -n %{bname}-dts
260 Plug-ins for decoding DTS audio.
261
262 %files -n %{bname}-dts
263 %{_libdir}/gstreamer-%{api}/libgstdtsdec.so
264 %endif
265
266 %if %build_xvid
267 %package -n %{bname}-xvid
268 Summary: GStreamer plug-ins for XVID video encoding and decoding
269 Group: Video
270 BuildRequires: xvid-devel >= 1.1
271
272 %description -n %{bname}-xvid
273 Plug-ins for encoding and decoding XVID video.
274
275 This package is in the 'tainted' section as it violates some patents.
276 %files -n %{bname}-xvid
277 %{_libdir}/gstreamer-%{api}/libgstxvid.so
278 %endif
279
280 %package -n %{bname}-mms
281 Summary: GStreamer plug-in for mms streams
282 Group: System/Libraries
283 Requires: %{bname}-plugins = %{version}
284 BuildRequires: pkgconfig(libmms)
285
286 %description -n %{bname}-mms
287 Plug-in supporting the mms protocol based on the libmms library.
288
289 %files -n %{bname}-mms
290 %{_libdir}/gstreamer-%{api}/libgstmms.so
291
292 %package -n %{bname}-rtmp
293 Summary: GStreamer plug-in for rtmp streams
294 Group: System/Libraries
295 Requires: %{bname}-plugins = %{version}
296 BuildRequires: pkgconfig(librtmp)
297
298 %description -n %{bname}-rtmp
299 Plug-in supporting the rtmp protocol based on the librtmp library.
300
301 %files -n %{bname}-rtmp
302 %{_libdir}/gstreamer-%{api}/libgstrtmp.so
303
304 %package -n %{bname}-soundtouch
305 Summary: GStreamer plug-in for SoundTouch support
306 Group: Sound
307 Requires: %{bname}-plugins = %{version}
308 BuildRequires: pkgconfig(soundtouch)
309
310 %description -n %{bname}-soundtouch
311 Plug-in supporting the SoundTouch audio manipulation support.
312
313 %files -n %{bname}-soundtouch
314 %{_libdir}/gstreamer-%{api}/libgstsoundtouch.so
315
316 %package -n %{bname}-libass
317 Summary: GStreamer subtitles plugin
318 Group: Video
319 BuildRequires: pkgconfig(libass)
320
321 %description -n %{bname}-libass
322 This is a subtitle plugin for GStreamer based on libass.
323
324 %files -n %{bname}-libass
325 %{_libdir}/gstreamer-%{api}/libgstassrender.so
326
327 %package -n %{bname}-voip
328 Summary: GStreamer voip plugins
329 Group: Sound
330
331 %description -n %{bname}-voip
332 This is a collection of VoIP plugins for GStreamer.
333
334 %files -n %{bname}-voip
335 %{_libdir}/gstreamer-%{api}/libgstrtpmux.so
336 %{_libdir}/gstreamer-%{api}/libgstdtmf.so
337
338 %package doc
339 Group: Books/Computer books
340 Summary: GStreamer application library
341 BuildArch: noarch
342
343 %description doc
344 This is the documentation of %{name}.
345
346 %prep
347 %setup -q -n gst-plugins-bad-%{version}
348 %apply_patches
349
350 %build
351 %configure2_5x --disable-dependency-tracking --disable-static \
352 --with-package-name='%distribution %{name} package' \
353 --with-package-origin='http://www.mageia.org/' \
354 %if ! %build_celt
355 --disable-celt \
356 %endif
357 %if ! %build_faac
358 --disable-faac \
359 %endif
360 %if ! %build_faad
361 --disable-faad \
362 %endif
363 %if ! %build_dirac
364 --disable-dirac \
365 %endif
366 %if ! %build_xvid
367 --disable-xvid \
368 %endif
369 %if ! %build_dts
370 --disable-dts \
371 %endif
372 %if ! %build_plf
373 --disable-voamrwbenc --disable-voaacenc \
374 %endif
375 %if %build_experimental
376 --enable-experimental
377 %endif
378
379 make
380
381 %install
382 %makeinstall_std
383
384 %find_lang gst-plugins-bad-%{api}
385
386 # Clean out files that should not be part of the rpm.
387 # This is the recommended way of dealing with it for RH8
388 find %{buildroot} -name '*.la' -delete
389
390 %files doc
391 %doc docs/plugins/html
392 %{_datadir}/gtk-doc/html/
393
394 %files -f gst-plugins-bad-%{api}.lang
395 %doc AUTHORS COPYING README NEWS
396
397 %{_libdir}/gstreamer-%{api}/libgstadpcmdec.so
398 %{_libdir}/gstreamer-%{api}/libgstadpcmenc.so
399 %{_libdir}/gstreamer-%{api}/libgstasfmux.so
400 #%{_libdir}/gstreamer-%{api}/libgstaudioparsersbad.so
401 %{_libdir}/gstreamer-%{api}/libgstaudiovisualizers.so
402 %{_libdir}/gstreamer-%{api}/libgstautoconvert.so
403 %{_libdir}/gstreamer-%{api}/libgstbayer.so
404 %{_libdir}/gstreamer-%{api}/libgstcamerabin2.so
405 %{_libdir}/gstreamer-%{api}/libgstcoloreffects.so
406 #{_libdir}/gstreamer-%{api}/libgstcolorspace.so
407 %{_libdir}/gstreamer-%{api}/libgstdataurisrc.so
408 %{_libdir}/gstreamer-%{api}/libgstdebugutilsbad.so
409 %{_libdir}/gstreamer-%{api}/libgstdvbsuboverlay.so
410 %{_libdir}/gstreamer-%{api}/libgstdvdspu.so
411 %{_libdir}/gstreamer-%{api}/libgstfestival.so
412 %{_libdir}/gstreamer-%{api}/libgstgaudieffects.so
413 %{_libdir}/gstreamer-%{api}/libgstgeometrictransform.so
414 %{_libdir}/gstreamer-%{api}/libgstinterlace.so
415 # This appears to have been removed. Commenting out (at least temporarily).
416 # -- shlomif
417 # %{_libdir}/gstreamer-%{api}/libgstinvtelecine.so
418 %{_libdir}/gstreamer-%{api}/libgstmpegtsmux.so
419 # This appears to have been removed. Commenting out (at least temporarily).
420 # -- shlomif
421 # %{_libdir}/gstreamer-%{api}/libgstmpeg4videoparse.so
422 %{_libdir}/gstreamer-%{api}/libgstmimic.so
423 #{_libdir}/gstreamer-%{api}/libgstopencv.so
424
425 %{_libdir}/gstreamer-%{api}/libgstmpegpsdemux.so
426
427 %{_libdir}/gstreamer-%{api}/libgstopus.so
428 %{_libdir}/gstreamer-%{api}/libgstpcapparse.so
429 #%{_libdir}/gstreamer-%{api}/libgstqtmux.so
430 %{_libdir}/gstreamer-%{api}/libgstscaletempoplugin.so
431 %{_libdir}/gstreamer-%{api}/libgstrawparse.so
432 %{_libdir}/gstreamer-%{api}/libgstremovesilence.so
433 %{_libdir}/gstreamer-%{api}/libgstsdpelem.so
434 %{_libdir}/gstreamer-%{api}/libgstsegmentclip.so
435 %{_libdir}/gstreamer-%{api}/libgstshm.so
436 %{_libdir}/gstreamer-%{api}/libgstsmooth.so
437 %{_libdir}/gstreamer-%{api}/libgstbz2.so
438 %{_libdir}/gstreamer-%{api}/libgstfragmented.so
439 %{_libdir}/gstreamer-%{api}/libgstmpegtsdemux.so
440 %{_libdir}/gstreamer-%{api}/libgstvideoparsersbad.so
441 %if %{build_plf}
442 %{_libdir}/gstreamer-%{api}/libgstvoaacenc.so
443 %{_libdir}/gstreamer-%{api}/libgstvoamrwbenc.so
444 %{_datadir}/gstreamer-%{api}/presets/GstVoAmrwbEnc.prs
445 %endif
446 %if %build_experimental
447 #%{_libdir}/gstreamer-%{api}/libgstdeinterlace2.so
448 %endif
449
450 %{_libdir}/gstreamer-%{api}/libgstmodplug.so
451 %{_libdir}/gstreamer-%{api}/libgsty4mdec.so
452
453 #%package examples
454 #Summary:GStreamer example applications
455 #Group: Video
456
457 #%description examples
458 #This contains example applications to test %{name}
459
460 #%files examples
461
462 %if %build_faad
463 %package -n %{bname}-faad
464 Summary: GStreamer plug-in for AAC audio playback
465 Group: Sound
466 Requires: %{bname}-plugins >= %version
467 BuildRequires: libfaad2-devel => 2.0
468
469 %description -n %{bname}-faad
470 Plug-ins for playing AAC audio
471
472 This package is in the 'tainted' section as it violates some patents.
473
474 %files -n %{bname}-faad
475 %{_libdir}/gstreamer-%{api}/libgstfaad.so
476 %endif
477
478 %if %build_faac
479 %package -n %{bname}-faac
480 Summary: GStreamer plug-ins for AAC audio encoding
481 Group: Sound
482 Requires: %{bname}-plugins >= %version
483 BuildRequires: libfaac-devel
484
485 %description -n %{bname}-faac
486 Plug-ins for encoding AAC audio
487
488 This package is in the 'tainted' section as it violates some patents.
489
490 %files -n %{bname}-faac
491 %{_libdir}/gstreamer-%{api}/libgstfaac.so
492 %endif
493
494 %package -n %{bname}-gsm
495 Summary: GStreamer plugin for GSM lossy audio format
496 Group: Sound
497 Requires: %{bname}-plugins >= %{version}
498 BuildRequires: gsm-devel >= 1.0.10
499
500 %description -n %{bname}-gsm
501 Output plugin for GStreamer to convert to GSM lossy audio format.
502
503 %files -n %{bname}-gsm
504 %{_libdir}/gstreamer-%{api}/libgstgsm.so
505
506 %if 0
507 ### SWFDEC FLASH PLUGIN ###
508 %package -n %{bname}-swfdec
509 Summary: GStreamer Flash rendering plug-in
510 Group: System/Libraries
511 Requires: %{bname}-plugins = %{version}
512 BuildRequires: libswfdec-devel => 0.3.0
513
514 %description -n %{bname}-swfdec
515 Plug-in for rendering Flash animations using swfdec library
516
517 %files -n %{bname}-swfdec
518 %{_libdir}/gstreamer-%{api}/libgstswfdec.so
519 %endif
520
521 %if %build_amrwb
522 %package -n %{bname}-amrwb
523 Summary: GStreamer plug-in for AMR-WB support
524 Group: Sound
525 Requires: %{bname}-plugins >= %{version}
526 BuildRequires: libamrwb-devel
527
528 %description -n %{bname}-amrwb
529 Plug-in for decoding AMR-WB under GStreamer.
530
531 This package is in the 'tainted' section as it violates some patents.
532
533 %files -n %{bname}-amrwb
534 %{_datadir}/gstreamer-%{api}/presets/GstAmrwbEnc.prs
535 %{_libdir}/gstreamer-%{api}/libgstamrwbenc.so
536 %endif
537
538 %if %build_celt
539 %package -n %{bname}-celt
540 Summary: GStreamer plug-in for CELT support
541 Group: Video
542 Requires: %{bname}-plugins >= %{version}
543 BuildRequires: pkgconfig(celt) >= 0.7.0
544
545 %description -n %{bname}-celt
546 Plug-in for CELT support under GStreamer.
547
548 %files -n %{bname}-celt
549 %{_libdir}/gstreamer-%{api}/libgstcelt.so
550 %endif
551
552 %files -n %{libnamephoto}
553 %{_libdir}/libgstphotography-%{api}.so.%{gst_libdir_ver}*
554 %{_libdir}/libgstsignalprocessor-%{api}.so.%{gst_libdir_ver}*
555 %{_libdir}/libgstcodecparsers-%{api}.so.%{gst_libdir_ver}*
556
557 %files -n %{develnamephoto}
558 %{_libdir}/libgstcodecparsers-%{api}.so
559 %{_libdir}/libgstphotography-%{api}.so
560 %{_libdir}/libgstsignalprocessor-%{api}.so
561 %{_includedir}/gstreamer-%{api}/gst/codecparsers/
562 %{_includedir}/gstreamer-%{api}/gst/interfaces/photography*
563 %{_includedir}/gstreamer-%{api}/gst/signalprocessor/gstsignalprocessor.h
564 %{_includedir}/gstreamer-%{api}/gst/video/
565 %{_libdir}/pkgconfig/gstreamer-plugins-bad-%{api}.pc
566 %{_libdir}/pkgconfig/gstreamer-codecparsers-%{api}.pc
567
568 %files -n %{libnamebase}
569 %{_libdir}/libgstbasecamerabinsrc-%{api}.so.%{gst_libdir_ver}*
570 %{_libdir}/libgstbasevideo-%{api}.so.%{gst_libdir_ver}*
571
572 %files -n %develnamebase
573 %{_libdir}/libgstbasecamerabinsrc-%{api}.so
574 %{_libdir}/libgstbasevideo-%{api}.so
575 %{_includedir}/gstreamer-%{api}/gst/basecamerabinsrc/*
576 %{_libdir}/pkgconfig/gstreamer-basevideo-%{api}.pc

  ViewVC Help
Powered by ViewVC 1.1.30