gst/gdp/gstgdpdepay.c: Don't validate the payload if there isn't any.
[platform/upstream/gstreamer.git] / gst-plugins-bad.spec.in
1 %define majorminor   @GST_API_VERSION@
2 %define gstreamer    gstreamer
3
4 %define gst_minver   0.10.30
5 %define gstpb_minver 0.10.30
6
7 Summary: GStreamer streaming media framework "bad" plug-ins
8 Name: gstreamer-plugins-bad011
9 Version: @VERSION@
10 Release: @PACKAGE_VERSION_RELEASE@.gst
11 # The freeze and nfs plugins are LGPLv2 (only)
12 License: LGPLv2+ and LGPLv2
13 Group: Applications/Multimedia
14 URL: http://gstreamer.freedesktop.org/
15 Source: http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.bz2
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17
18 Requires: %{gstreamer} >= %{gst_minver}
19 BuildRequires: %{gstreamer}-devel >= %{gst_minver}
20 BuildRequires: %{gstreamer}-plugins-base-devel >= %{gstpb_minver}
21
22 BuildRequires: check
23 BuildRequires: gettext-devel
24 BuildRequires: PyXML
25 BuildRequires: libXt-devel
26 BuildRequires: gtk-doc
27
28 BuildRequires: bzip2-devel
29 BuildRequires: celt-devel
30 BuildRequires: dirac-devel
31 BuildRequires: exempi-devel
32 BuildRequires: gmyth-devel >= 0.4
33 BuildRequires: gsm-devel
34 BuildRequires: jack-audio-connection-kit-devel
35 BuildRequires: jasper-devel
36 BuildRequires: ladspa-devel
37 BuildRequires: libass-devel
38 BuildRequires: libcdaudio-devel
39 %ifnarch s390 s390x
40 BuildRequires: libdc1394-devel
41 %endif
42 BuildRequires: libdvdnav-devel
43 BuildRequires: libexif-devel
44 BuildRequires: libiptcdata-devel
45 BuildRequires: libkate-devel
46 BuildRequires: libmodplug-devel
47 BuildRequires: libmpcdec-devel
48 BuildRequires: libofa-devel
49 BuildRequires: liboil-devel
50 BuildRequires: librsvg2-devel
51 BuildRequires: libsndfile-devel
52 BuildRequires: libtimidity-devel
53 BuildRequires: libvpx-devel
54 BuildRequires: mesa-libGLU-devel
55 BuildRequires: openssl-devel
56 BuildRequires: orc-devel
57 BuildRequires: schroedinger-devel
58 BuildRequires: SDL-devel
59 BuildRequires: slv2-devel
60 BuildRequires: soundtouch-devel
61 Buildrequires: wavpack-devel
62 BuildRequires: wildmidi-devel
63 BuildRequires: zbar-devel
64 BuildRequires: libdca-devel
65 BuildRequires: faad2-devel
66 BuildRequires: xvidcore-devel
67 BuildRequires: libmms-devel
68 BuildRequires: mjpegtools-devel
69 BuildRequires: twolame-devel
70 BuildRequires: libmimic-devel
71
72
73 Obsoletes: gstreamer-plugins-flumpegdemux < 0.10.15-9
74 Provides: gstreamer-plugins-flumpegdemux = %{version}-%{release}
75 Obsoletes: gstreamer-plugins-schroedinger < 1.0.9
76 Provides: gstreamer-plugins-schroedinger = %{version}-%{release}
77
78 Provides: gstreamer-plugins-farsight = 0.12.12-1
79 Obsoletes: gstreamer-plugins-farsight < 0.12.12
80
81 %package free
82 Summary: Extra GStreamer "bad" plugins (Plugins shipped by default in Fedora)
83 Group: Applications/Multimedia
84 Requires: %{name} = %{version}-%{release}
85
86 %description free
87 GStreamer is a streaming media framework, based on graphs of elements which
88 operate on media data.
89
90 This package contains plug-ins that aren't tested
91 well enough, or the code is not of good enough quality.
92
93 %description
94 GStreamer is a streaming media framework, based on graphs of elements which
95 operate on media data.
96
97 This package containes the plugins which didn't fit into free or extra
98
99 %package extras
100 Summary: Extra GStreamer "bad" plugins (less often used "bad" plugins)
101 Group: Applications/Multimedia
102 Requires: %{name} = %{version}-%{release}
103 Obsoletes: gstreamer-plugins-bad-extras < %{version}-%{release}
104 Provides: gstreamer-plugins-bad-extras = %{version}-%{release}
105
106 %description extras
107 GStreamer is a streaming media framework, based on graphs of elements which
108 operate on media data.
109
110 gstreamer-plugins-bad contains plug-ins that aren't
111 tested well enough, or the code is not of good enough quality.
112
113 This package (gstreamer-plugins-bad-extras) contains extra "bad" plugins for
114 sources (mythtv), sinks (jack) and effects (pitch) which are not used
115 very much and require additional libraries to be installed.
116
117
118 %package devel
119 Summary: Development files for the GStreamer media framework "bad" plug-ins
120 Group: Development/Libraries
121 Requires: %{name} = %{version}-%{release}
122 Requires: gstreamer-plugins-base-devel
123 Obsoletes: gstreamer-plugins-bad-devel < %{version}-%{release}
124 Provides: gstreamer-plugins-bad-devel = %{version}-%{release}
125
126 %description devel
127 GStreamer is a streaming media framework, based on graphs of elements which
128 operate on media data.
129
130 This package contains the development files for the plug-ins that
131 aren't tested well enough, or the code is not of good enough quality.
132
133
134 %package devel-docs
135 Summary: Development documentation for the GStreamer "bad" plug-ins
136 Group: Development/Libraries
137 Requires: %{name}-devel = %{version}-%{release}
138 Obsoletes: gstreamer-plugins-bad-devel-docs < %{version}-%{release}
139 Provides: gstreamer-plugins-bad-devel-docs = %{version}-%{release}
140
141 %description devel-docs
142 GStreamer is a streaming media framework, based on graphs of elements which
143 operate on media data.
144
145 This package contains the development documentation for the plug-ins that
146 aren't tested well enough, or the code is not of good enough quality.
147
148
149 %prep
150 %setup -q -n gst-plugins-bad-%{version}
151
152 %build
153 %configure \
154     --with-package-name="Fedora gstreamer-plugins-bad package" \
155     --with-package-origin="http://gstreamer.freedesktop.org" \
156     --enable-debug --disable-static --enable-gtk-doc --enable-experimental
157
158 # %{__make} %{?_smp_mflags}
159 make ERROR_CFLAGS='' ERROR_CXXFLAGS=''
160
161 %install
162 %{__rm} -rf %{buildroot}
163 %{__make} install DESTDIR="%{buildroot}"
164 %find_lang gst-plugins-bad-%{majorminor}
165
166 # Clean out files that should not be part of the rpm.
167 %{__rm} -f %{buildroot}%{_libdir}/gstreamer-%{majorminor}/*.la
168 %{__rm} -f %{buildroot}%{_libdir}/*.la
169
170
171 %clean
172 %{__rm} -rf %{buildroot}
173
174
175 %post -p /sbin/ldconfig
176
177 %postun -p /sbin/ldconfig
178
179 %files -f gst-plugins-bad-%{majorminor}.lang
180 # Plugins without external dependencies
181 # %{_libdir}/gstreamer-%{majorminor}/libgstasfmux.so
182 %{_libdir}/gstreamer-%{majorminor}/libgstdvdspu.so
183 # %{_libdir}/gstreamer-%{majorminor}/libgstmpegpsmux.so
184 #%{_libdir}/gstreamer-%{majorminor}/libgstmpegtsmux.so
185 #%ifarch %{ix86} x86_64
186 #%{_libdir}/gstreamer-%{majorminor}/libgstreal.so
187 #%endif
188 #%{_libdir}/gstreamer-%{majorminor}/libgstsiren.so
189
190 # Plugins with external dependencies
191 %{_libdir}/gstreamer-%{majorminor}/libgstdtsdec.so
192 %{_libdir}/gstreamer-%{majorminor}/libgstfaad.so
193 %{_libdir}/gstreamer-%{majorminor}/libgstmms.so
194 #%{_libdir}/gstreamer-%{majorminor}/libgstmimic.so
195 %{_libdir}/gstreamer-%{majorminor}/libgstmpeg2enc.so
196 %{_libdir}/gstreamer-%{majorminor}/libgstmplex.so
197 #%{_libdir}/gstreamer-%{majorminor}/libgstxvid.so
198 %{_libdir}/gstreamer-%{majorminor}/libgstfaac.so
199
200 %files free
201 %defattr(-,root,root,-)
202 %doc AUTHORS COPYING README REQUIREMENTS
203 #%{_datadir}/gstreamer-%{majorminor}
204 %{_libdir}/libgstbasevideo-%{majorminor}.so.*
205 %{_libdir}/libgstphotography-%{majorminor}.so.*
206 %{_libdir}/libgstsignalprocessor-%{majorminor}.so.*
207 %{_libdir}/libgstcodecparsers-%{majorminor}.so.*
208 # Plugins without external dependencies
209 %{_libdir}/gstreamer-%{majorminor}/libgstadpcmdec.so
210 %{_libdir}/gstreamer-%{majorminor}/libgstadpcmenc.so
211 # %{_libdir}/gstreamer-%{majorminor}/libgstaiff.so
212 %{_libdir}/gstreamer-%{majorminor}/libgstautoconvert.so
213 %{_libdir}/gstreamer-%{majorminor}/libgstbayer.so
214 # %{_libdir}/gstreamer-%{majorminor}/libgstcamerabin.so
215 # %{_libdir}/gstreamer-%{majorminor}/libgstcdxaparse.so
216 # %{_libdir}/gstreamer-%{majorminor}/libgstcog.so
217 # %{_libdir}/gstreamer-%{majorminor}/libgstcoloreffects.so
218 %{_libdir}/gstreamer-%{majorminor}/libgstdataurisrc.so
219 # %{_libdir}/gstreamer-%{majorminor}/libgstdccp.so
220 %{_libdir}/gstreamer-%{majorminor}/libgstdtmf.so
221 # %{_libdir}/gstreamer-%{majorminor}/libgstfestival.so
222 # %{_libdir}/gstreamer-%{majorminor}/libgstfreeze.so
223 # %{_libdir}/gstreamer-%{majorminor}/libgstfrei0r.so
224 # %{_libdir}/gstreamer-%{majorminor}/libgstgaudieffects.so
225 # %{_libdir}/gstreamer-%{majorminor}/libgstgeometrictransform.so
226 # %{_libdir}/gstreamer-%{majorminor}/libgstgsettingselements.so
227 # %{_libdir}/gstreamer-%{majorminor}/libgsthdvparse.so
228 # %{_libdir}/gstreamer-%{majorminor}/libgstid3tag.so
229 # %{_libdir}/gstreamer-%{majorminor}/libgstivfparse.so
230 # %{_libdir}/gstreamer-%{majorminor}/libgstjpegformat.so
231 # %{_libdir}/gstreamer-%{majorminor}/libgstliveadder.so
232 %{_libdir}/gstreamer-%{majorminor}/libgstmpegdemux.so
233 # %{_libdir}/gstreamer-%{majorminor}/libgstmve.so
234 # %{_libdir}/gstreamer-%{majorminor}/libgstmxf.so
235 # %{_libdir}/gstreamer-%{majorminor}/libgstnsf.so
236 # %{_libdir}/gstreamer-%{majorminor}/libgstnuvdemux.so
237 %{_libdir}/gstreamer-%{majorminor}/libgstpcapparse.so
238 # %{_libdir}/gstreamer-%{majorminor}/libgstpnm.so
239 # %{_libdir}/gstreamer-%{majorminor}/libgstrfbsrc.so
240 %{_libdir}/gstreamer-%{majorminor}/libgstrtpmux.so
241 %{_libdir}/gstreamer-%{majorminor}/libgstsegmentclip.so
242 %{_libdir}/gstreamer-%{majorminor}/libgstrawparse.so
243 %{_libdir}/gstreamer-%{majorminor}/libgstscaletempoplugin.so
244 %{_libdir}/gstreamer-%{majorminor}/libgstshm.so
245 %{_libdir}/gstreamer-%{majorminor}/libgstsdpelem.so
246 %{_libdir}/gstreamer-%{majorminor}/libgstsmooth.so
247 # %{_libdir}/gstreamer-%{majorminor}/libgstspeed.so
248 # %{_libdir}/gstreamer-%{majorminor}/libgststereo.so
249 # %{_libdir}/gstreamer-%{majorminor}/libgstsubenc.so
250 # %{_libdir}/gstreamer-%{majorminor}/libgsttta.so
251 # %{_libdir}/gstreamer-%{majorminor}/libgstvideosignal.so
252 # %{_libdir}/gstreamer-%{majorminor}/libgstvideomeasure.so
253 # %{_libdir}/gstreamer-%{majorminor}/libgstvmnc.so
254 %{_libdir}/gstreamer-%{majorminor}/libgstcamerabin2.so
255 # %{_libdir}/gstreamer-%{majorminor}/libgstcolorspace.so
256 # %{_libdir}/gstreamer-%{majorminor}/libgstcurl.so
257 # %{_libdir}/gstreamer-%{majorminor}/libgstdecklink.so
258 %{_libdir}/gstreamer-%{majorminor}/libgstdvbsuboverlay.so
259 # %{_libdir}/gstreamer-%{majorminor}/libgstfieldanalysis.so
260 %{_libdir}/gstreamer-%{majorminor}/libgstfragmented.so
261 # %{_libdir}/gstreamer-%{majorminor}/libgstinterlace.so
262 # %{_libdir}/gstreamer-%{majorminor}/libgstjp2kdecimator.so
263 # %{_libdir}/gstreamer-%{majorminor}/libgstlinsys.so
264 # %{_libdir}/gstreamer-%{majorminor}/libgstmpegtsdemux.so
265 # %{_libdir}/gstreamer-%{majorminor}/libgstopencv.so
266 # %{_libdir}/gstreamer-%{majorminor}/libgstpatchdetect.so
267 %{_libdir}/gstreamer-%{majorminor}/libgstrtpvp8.so
268 # %{_libdir}/gstreamer-%{majorminor}/libgstsdi.so
269 # %{_libdir}/gstreamer-%{majorminor}/libgstvideofiltersbad.so
270 %{_libdir}/gstreamer-%{majorminor}/libgstvideoparsersbad.so
271 %{_libdir}/gstreamer-%{majorminor}/libgsty4mdec.so
272 # %{_libdir}/gstreamer-%{majorminor}/libgstopenal.so
273 %{_libdir}/libgstbasecamerabinsrc-%{majorminor}.so.24
274 %{_libdir}/libgstbasecamerabinsrc-%{majorminor}.so.24.0.0
275 %{_libdir}/gstreamer-%{majorminor}/libgstaudiovisualizers.so
276 # %{_libdir}/gstreamer-%{majorminor}/libgstfaceoverlay.so
277 # %{_libdir}/gstreamer-%{majorminor}/libgstinter.so
278 %{_libdir}/gstreamer-%{majorminor}/libgstremovesilence.so
279
280 # System (Linux) specific plugins
281 # %{_libdir}/gstreamer-%{majorminor}/libgstdvb.so
282 # %{_libdir}/gstreamer-%{majorminor}/libgstvcdsrc.so
283
284 # Plugins with external dependencies
285 # %{_libdir}/gstreamer-%{majorminor}/libgstapexsink.so
286 %{_libdir}/gstreamer-%{majorminor}/libgstassrender.so
287 %{_libdir}/gstreamer-%{majorminor}/libgstbz2.so
288 # %{_libdir}/gstreamer-%{majorminor}/libgstcdaudio.so
289 %{_libdir}/gstreamer-%{majorminor}/libgstcelt.so
290 %{_libdir}/gstreamer-%{majorminor}/libgstopus.so
291 #%ifnarch s390 s390x
292 #%{_libdir}/gstreamer-%{majorminor}/libgstdc1394.so
293 #%endif
294 #%{_libdir}/gstreamer-%{majorminor}/libgstdirac.so
295 %{_libdir}/gstreamer-%{majorminor}/libgstgsm.so
296 #%{_libdir}/gstreamer-%{majorminor}/libgstjp2k.so
297 #%{_libdir}/gstreamer-%{majorminor}/libgstkate.so
298 #%{_libdir}/gstreamer-%{majorminor}/libgstladspa.so
299 #%{_libdir}/gstreamer-%{majorminor}/libgstlv2.so
300 %{_libdir}/gstreamer-%{majorminor}/libgstmodplug.so
301 #%{_libdir}/gstreamer-%{majorminor}/libgstmusepack.so
302 #%{_libdir}/gstreamer-%{majorminor}/libgstofa.so
303 # %{_libdir}/gstreamer-%{majorminor}/libresindvd.so
304 # %{_libdir}/gstreamer-%{majorminor}/libgstrsvg.so
305 %{_libdir}/gstreamer-%{majorminor}/libgstschro.so
306 # %{_libdir}/gstreamer-%{majorminor}/libgstsndfile.so
307 %{_libdir}/gstreamer-%{majorminor}/libgstvp8.so
308 %{_datadir}/gstreamer-%{majorminor}/presets/GstVP8Enc.prs
309
310 #debugging plugin
311 %{_libdir}/gstreamer-%{majorminor}/libgstdebugutilsbad.so
312
313 #data for plugins
314 # %{_datadir}/glib-2.0/schemas/org.freedesktop.gstreamer-0.11.default-elements.gschema.xml
315
316 %files extras
317 %defattr(-,root,root,-)
318 # Plugins with external dependencies
319 # %{_libdir}/gstreamer-%{majorminor}/libgstjack.so
320 # %{_libdir}/gstreamer-%{majorminor}/libgstmythtvsrc.so
321 # %{_libdir}/gstreamer-%{majorminor}/libgstsdl.so
322 # %{_libdir}/gstreamer-%{majorminor}/libgstsoundtouch.so
323 # %{_libdir}/gstreamer-%{majorminor}/libgsttimidity.so
324 # %{_libdir}/gstreamer-%{majorminor}/libgstwildmidi.so
325 %{_libdir}/gstreamer-%{majorminor}/libgstzbar.so
326 # %{_libdir}/gstreamer-%{majorminor}/libgstmultifdsink.so
327
328 # Linux specific plugins
329 # %{_libdir}/gstreamer-%{majorminor}/libgstfbdevsink.so
330
331 %files devel
332 %defattr(-,root,root,-)
333 %{_libdir}/libgstbasevideo-%{majorminor}.so
334 %{_libdir}/libgstphotography-%{majorminor}.so
335 %{_libdir}/libgstsignalprocessor-%{majorminor}.so
336 %{_libdir}/libgstcodecparsers-%{majorminor}.so
337 %{_libdir}/libgstbasecamerabinsrc-%{majorminor}.so
338 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/photography*
339 %{_includedir}/gstreamer-%{majorminor}/gst/codecparsers
340 %{_includedir}/gstreamer-%{majorminor}/gst/signalprocessor
341 %{_includedir}/gstreamer-%{majorminor}/gst/video
342 %{_includedir}/gstreamer-%{majorminor}/gst/basecamerabinsrc/gstbasecamerasrc.h
343 %{_includedir}/gstreamer-%{majorminor}/gst/basecamerabinsrc/gstcamerabin-enum.h
344 %{_includedir}/gstreamer-%{majorminor}/gst/basecamerabinsrc/gstcamerabinpreview.h
345
346
347 # pkg-config files
348 %{_libdir}/pkgconfig/gstreamer-plugins-bad-%{majorminor}.pc
349 %{_libdir}/pkgconfig/gstreamer-codecparsers-%{majorminor}.pc
350 %{_libdir}/pkgconfig/gstreamer-basevideo-%{majorminor}.pc
351
352 %files devel-docs
353 %defattr(-,root,root,-)
354 %doc %{_datadir}/gtk-doc/html/gst-plugins-bad-plugins-%{majorminor}
355 %doc %{_datadir}/gtk-doc/html/gst-plugins-bad-libs-%{majorminor}
356
357 %changelog
358 * Thu May 19 2011 Christian Schaller <christian.schaller@collabora.co.uk>
359 - Merge in upstread Fedora RPM into git master one
360
361 * Wed Sep 15 2010 Hans de Goede <hdegoede@redhat.com> 0.10.20-3
362 - Rebuild for new wildmidi
363
364 * Mon Sep 13 2010 Dan Horák <dan[at]danny.cz> 0.10.20-2
365 - no Firewire on s390(x)
366
367 * Mon Sep 06 2010 Benjamin Otte <otte@redhat.com> 0.10.20-1
368 - Update to 0.10.20
369 - Reenable celt
370
371 * Fri Aug 06 2010 Benjamin Otte <otte@redhat.com> 0.10.19-6
372 - Disable NAS now that it's obsolete
373
374 * Thu Jul 04 2010 Benjamin Otte <otte@redhat.com> 0.10.19-5
375 - Disable celt now that an update broke it
376
377 * Thu Jun 17 2010 Benjamin Otte <otte@redhat.com> 0.10.19-4
378 - Move zbar to -extras. It pulls in too many deps and is not really useful.
379
380 * Tue Jun 01 2010 Benjamin Otte <otte@redhat.com> 0.10.19-3
381 - Put back accidentally deleted make command
382
383 * Tue Jun  1 2010 Ville Skyttä <ville.skytta@iki.fi> - 0.10.19-2
384 - Rebuild.
385
386 * Mon May 31 2010 Benjamin Otte <otte@redhat.com> 0.10.19-1
387 - Update to 0.10.19
388
389 * Fri May 15 2010 Benjamin Otte <otte@redhat.com> 0.10.18.3-1
390 - Update pre-release
391 - Add vp8 elements
392
393 * Fri May 15 2010 Benjamin Otte <otte@redhat.com> 0.10.18.2-1
394 - Update to pre-release
395
396 * Thu Apr 15 2010 Benjamin Otte <otte@redhat.com> 0.10.18-2
397 - Include cog plugin
398
399 * Mon Mar 08 2010 Benjamin Otte <otte@redhat.com> 0.10.18-1
400 - Update to 0.10.18
401
402 * Thu Mar 04 2010 Benjamin Otte <otte@redhat.com> 0.10.17.4-1
403 - Update pre-release
404
405 * Mon Mar 01 2010 Benjamin Otte <otte@redhat.com> 0.10.17.3-2
406 - Fix Obsoletes and add Provides for extras/devel/docs
407
408 * Thu Feb 25 2010 Benjamin Otte <otte@redhat.com> 0.10.17.3-1
409 - Update to pre-release
410
411 * Fri Feb 19 2010 Benjamin Otte <otte@redhat.com> 0.10.17.2-1
412 - Update to prerelease
413
414 * Sun Feb 14 2010 Benjamin Otte <otte@redhat.com> 0.10.17-7
415 - Fix compilation problems with DSO linking (#565015)
416
417 * Thu Feb 04 2010 Bastien Nocera <bnocera@redhat.com> 0.10.17-6
418 - Obsolete third-party packages, for upgrade purposes
419
420 * Tue Feb 02 2010 Bastien Nocera <bnocera@redhat.com> 0.10.17-5
421 - Another try at obsolete problems with flumpegdemux and
422   schroedinger (#560987)
423
424 * Mon Feb 01 2010 Bastien Nocera <bnocera@redhat.com> 0.10.17-4
425 - Add versioned provides for flumpegdemux and schroedinger plugins
426
427 * Wed Jan 27 2010 Bastien Nocera <bnocera@redhat.com> 0.10.17-3
428 - Modify original sources with a script to remove problematic
429   elements, and remove those from the filelist
430
431 * Fri Dec 04 2009 Bastien Nocera <bnocera@redhat.com> 0.10.17-2
432 - Add LADSPA plugins
433
434 * Tue Nov 17 2009 Bastien Nocera <bnocera@redhat.com> 0.10.17-1
435 - Update to 0.10.17
436
437 * Tue Nov 10 2009 Bastien Nocera <bnocera@redhat.com> 0.10.16-2
438 - Add schroedinger plugin (#530835)
439
440 * Sat Nov 07 2009 Bastien Nocera <bnocera@redhat.com> 0.10.16-1
441 - First version with -free name, updated to 0.10.16
442