Really remove all mention of gstnetbuffer
[platform/upstream/gstreamer.git] / gst-plugins-base.spec.in
1 %define majorminor  @GST_MAJORMINOR@
2 %define gstreamer   gstreamer011
3
4 %define gst_minver  0.11.0
5
6 Name:           %{gstreamer}-plugins-base
7 Version:        @VERSION@
8 Release:        @PACKAGE_VERSION_RELEASE@.gst
9 Summary:        GStreamer streaming media framework plug-ins
10
11 Group:          Applications/Multimedia
12 License:        LGPL
13 URL:            http://gstreamer.freedesktop.org/
14 Vendor:         GStreamer Backpackers Team <package@gstreamer.freedesktop.org>
15 Source:         http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.gz
16 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17
18 Requires:       %{gstreamer} >= %{gst_minver}
19 BuildRequires:  %{gstreamer}-devel >= %{gst_minver}
20 BuildRequires:  gobject-introspection-devel >= 0.9.12
21
22 BuildRequires:  gcc-c++
23 BuildRequires:  gtk-doc >= 1.3
24 BuildRequires:  orc-devel
25 Requires:       orc
26
27 @USE_VORBIS_TRUE@Requires:      libogg >= 1.0
28 @USE_VORBIS_TRUE@Requires:      libvorbis >= 1.0
29 @USE_VORBIS_TRUE@BuildRequires: libogg-devel >= 1.0
30 @USE_VORBIS_TRUE@BuildRequires: libvorbis-devel >= 1.0
31 @USE_XVIDEO_TRUE@BuildRequires:  libXv-devel
32 @USE_XVIDEO_TRUE@Requires:       libXv-devel
33 @USE_ALSA_TRUE@BuildRequires: alsa-lib-devel
34 @USE_ALSA_TRUE@Requires:      alsa-lib
35 @USE_CDPARANOIA_TRUE@BuildRequires: cdparanoia-devel
36 @USE_CDPARANOIA_TRUE@Requires:      cdparanoia
37 @USE_LIBVISUAL_TRUE@BuildRequires: libvisual-devel
38 @USE_LIBVISUAL_TRUE@Requires:      libvisual
39 @USE_PANGO_TRUE@BuildRequires: pango-devel
40 @USE_PANGO_TRUE@Requires: pango
41 @USE_THEORA_TRUE@BuildRequires: libtheora-devel >= 1.0
42 @USE_THEORA_TRUE@Requires:      libtheora >= 1.0
43
44 %description
45 GStreamer is a streaming media framework, based on graphs of filters which
46 operate on media data. Applications using this library can do anything
47 from real-time sound processing to playing videos, and just about anything
48 else media-related.  Its plugin-based architecture means that new data
49 types or processing capabilities can be added simply by installing new
50 plug-ins.
51
52 %prep
53 %setup -q -n gst-plugins-base-%{version}
54 export DOCS_ARE_INCOMPLETE_PLEASE_FIXME=0
55 %build
56 %configure \
57   --enable-gtk-doc --enable-introspection=yes
58
59 make %{?_smp_mflags}
60                                                                                 
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %makeinstall
65
66 # Clean out files that should not be part of the rpm.
67 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
68 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
69 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
70 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
71
72 %find_lang gst-plugins-base-%{majorminor}
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files -f gst-plugins-base-%{majorminor}.lang
78 %defattr(-, root, root)
79 %doc AUTHORS COPYING README REQUIREMENTS gst-plugins-base.doap
80
81 # helper programs
82 %{_bindir}/gst-visualise-%{majorminor}
83 %{_bindir}/gst-discoverer-%{majorminor}
84 %{_mandir}/man1/gst-visualise-%{majorminor}*
85
86 # libraries
87 %{_libdir}/libgstaudio-%{majorminor}.so.*
88 %{_libdir}/libgstcdda-%{majorminor}.so*
89 %{_libdir}/libgstinterfaces-%{majorminor}.so.*
90 %{_libdir}/libgstpbutils-%{majorminor}.so*
91 %{_libdir}/libgstriff-%{majorminor}.so.*
92 %{_libdir}/libgstrtp-%{majorminor}.so*
93 %{_libdir}/libgsttag-%{majorminor}.so.*
94 %{_libdir}/libgstvideo-%{majorminor}.so.*
95 %{_libdir}/libgstfft-%{majorminor}.so.*
96 %{_libdir}/libgstrtsp-%{majorminor}.so.*
97 %{_libdir}/libgstsdp-%{majorminor}.so.*
98 %{_libdir}/libgstapp-%{majorminor}.so.*
99
100 # base plugins without external dependencies
101 %{_libdir}/gstreamer-%{majorminor}/libgstadder.so
102 %{_libdir}/gstreamer-%{majorminor}/libgstaudioconvert.so
103 %{_libdir}/gstreamer-%{majorminor}/libgstplayback.so
104 %{_libdir}/gstreamer-%{majorminor}/libgsttypefindfunctions.so
105 %{_libdir}/gstreamer-%{majorminor}/libgstvideotestsrc.so
106 %{_libdir}/gstreamer-%{majorminor}/libgstaudiorate.so
107 %{_libdir}/gstreamer-%{majorminor}/libgstsubparse.so
108 %{_libdir}/gstreamer-%{majorminor}/libgstvolume.so
109 %{_libdir}/gstreamer-%{majorminor}/libgstvideoconvert.so
110 %{_libdir}/gstreamer-%{majorminor}/libgstvideorate.so
111 %{_libdir}/gstreamer-%{majorminor}/libgstvideoscale.so
112 %{_libdir}/gstreamer-%{majorminor}/libgsttcp.so
113 %{_libdir}/gstreamer-%{majorminor}/libgstaudioresample.so
114 %{_libdir}/gstreamer-%{majorminor}/libgstaudiotestsrc.so
115 %{_libdir}/gstreamer-%{majorminor}/libgstgdp.so
116 %{_libdir}/gstreamer-%{majorminor}/libgstapp.so
117 %{_libdir}/gstreamer-%{majorminor}/libgstencodebin.so
118
119 # Here are packages not in the base plugins package but not dependant
120 # on an external lib
121
122 # @USE_GST_V4L2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux2.so
123
124 # base plugins with dependencies
125 @USE_ALSA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstalsa.so
126 @USE_THEORA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsttheora.so
127 @USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvorbis.so
128 @USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstogg.so
129 @USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstximage*.so
130 @USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstxvimagesink.so
131 @USE_LIBVISUAL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstlibvisual.so
132 @USE_PANGO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpango.so
133 @USE_CDPARANOIA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcdparanoia.so
134 @USE_GIO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgio.so
135 # @USE_SCHRO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstschro.so                                                                     
136 %package devel
137 Summary:        GStreamer Plugin Library Headers
138 Group:          Development/Libraries
139 Requires:       %{gstreamer}-plugins-base = %{version}
140
141 %description devel
142 GStreamer Plugins Base library development and header files.
143
144 %files devel
145 %defattr(-, root, root)
146 # plugin helper library headers
147 %{_includedir}/gstreamer-%{majorminor}/gst/audio/audio.h
148 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiofilter.h
149 %{_includedir}/gstreamer-%{majorminor}/gst/audio/multichannel.h
150 %{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-ids.h
151 %{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-media.h
152 %{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-read.h
153 %{_includedir}/gstreamer-%{majorminor}/gst/video/video.h
154 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstmetavideo.h
155 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideopool.h
156 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/colorbalance.h
157 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/colorbalancechannel.h
158 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/interfaces-enumtypes.h
159 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixer.h
160 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixeroptions.h
161 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixertrack.h
162 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/navigation.h
163 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/propertyprobe.h
164 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tuner.h
165 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tunerchannel.h
166 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tunernorm.h
167 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/videooverlay.h
168 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosrc.h
169 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstbaseaudiosrc.h
170 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertpaudiopayload.h
171 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertpdepayload.h
172 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtpbuffer.h
173 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudioclock.h
174 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosink.h
175 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstbaseaudiosink.h
176 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstringbuffer.h
177 %{_includedir}/gstreamer-%{majorminor}/gst/tag/tag.h
178 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertppayload.h
179 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideofilter.h
180 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideosink.h
181 %{_includedir}/gstreamer-%{majorminor}/gst/cdda/gstcddabasesrc.h
182 %{_includedir}/gstreamer-%{majorminor}/gst/audio/mixerutils.h
183 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/videoorientation.h
184 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/descriptions.h
185 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/install-plugins.h
186 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/missing-plugins.h
187 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/pbutils.h
188 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtcpbuffer.h
189 %{_includedir}/gstreamer-%{majorminor}/gst/fft/gstfft.h
190 %{_includedir}/gstreamer-%{majorminor}/gst/fft/gstfftf32.h
191 %{_includedir}/gstreamer-%{majorminor}/gst/fft/gstfftf64.h
192 %{_includedir}/gstreamer-%{majorminor}/gst/fft/gstffts16.h
193 %{_includedir}/gstreamer-%{majorminor}/gst/fft/gstffts32.h
194 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtsp-enumtypes.h
195 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspbase64.h
196 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspconnection.h
197 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspdefs.h
198 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspextension.h
199 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspmessage.h
200 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtsprange.h
201 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtsptransport.h
202 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspurl.h
203 %{_includedir}/gstreamer-%{majorminor}/gst/sdp/gstsdp.h
204 %{_includedir}/gstreamer-%{majorminor}/gst/sdp/gstsdpmessage.h
205 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtppayloads.h
206 %{_includedir}/gstreamer-%{majorminor}/gst/tag/gsttagdemux.h
207 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/pbutils-enumtypes.h
208 %{_includedir}/gstreamer-%{majorminor}/gst/app/gstappsink.h
209 %{_includedir}/gstreamer-%{majorminor}/gst/app/gstappsrc.h
210 %{_includedir}/gstreamer-%{majorminor}/gst/audio/audio-enumtypes.h
211 %{_includedir}/gstreamer-%{majorminor}/gst/video/video-enumtypes.h
212 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/streamvolume.h
213 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/codec-utils.h
214 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/encoding-profile.h
215 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/encoding-target.h
216 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/gstdiscoverer.h
217 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/gstpluginsbaseversion.h
218 %{_includedir}/gstreamer-%{majorminor}/gst/tag/xmpwriter.h
219 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudioiec61937.h
220 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiodecoder.h
221 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudioencoder.h
222 %{_includedir}/gstreamer-%{majorminor}/gst/tag/gsttagmux.h
223
224 %{_libdir}/libgstfft-%{majorminor}.so
225 %{_libdir}/libgstrtsp-%{majorminor}.so
226 %{_libdir}/libgstsdp-%{majorminor}.so
227 %{_libdir}/libgstaudio-%{majorminor}.so
228 %{_libdir}/libgstriff-%{majorminor}.so
229 %{_libdir}/libgsttag-%{majorminor}.so
230 %{_libdir}/libgstvideo-%{majorminor}.so
231 %{_libdir}/libgstrtp-%{majorminor}.so
232 %{_libdir}/libgstinterfaces-%{majorminor}.so
233 %{_libdir}/libgstpbutils-%{majorminor}.so
234 %{_libdir}/libgstcdda-%{majorminor}.so
235 %{_libdir}/libgstapp-%{majorminor}.so
236
237 # pkg-config files
238 %{_libdir}/pkgconfig/gstreamer-plugins-base-%{majorminor}.pc
239 %{_libdir}/pkgconfig/gstreamer-audio-%{majorminor}.pc
240 %{_libdir}/pkgconfig/gstreamer-cdda-%{majorminor}.pc
241 %{_libdir}/pkgconfig/gstreamer-fft-%{majorminor}.pc
242 %{_libdir}/pkgconfig/gstreamer-interfaces-%{majorminor}.pc
243 %{_libdir}/pkgconfig/gstreamer-pbutils-%{majorminor}.pc
244 %{_libdir}/pkgconfig/gstreamer-riff-%{majorminor}.pc
245 %{_libdir}/pkgconfig/gstreamer-rtp-%{majorminor}.pc
246 %{_libdir}/pkgconfig/gstreamer-rtsp-%{majorminor}.pc
247 %{_libdir}/pkgconfig/gstreamer-sdp-%{majorminor}.pc
248 %{_libdir}/pkgconfig/gstreamer-tag-%{majorminor}.pc
249 %{_libdir}/pkgconfig/gstreamer-video-%{majorminor}.pc
250 %{_libdir}/pkgconfig/gstreamer-app-%{majorminor}.pc
251
252 %{_libdir}/girepository-1.0/GstApp-%{majorminor}.typelib
253 %{_libdir}/girepository-1.0/GstAudio-%{majorminor}.typelib
254 %{_libdir}/girepository-1.0/GstFft-%{majorminor}.typelib
255 %{_libdir}/girepository-1.0/GstInterfaces-%{majorminor}.typelib
256 %{_libdir}/girepository-1.0/GstPbutils-%{majorminor}.typelib
257 %{_libdir}/girepository-1.0/GstRiff-%{majorminor}.typelib
258 %{_libdir}/girepository-1.0/GstRtp-%{majorminor}.typelib
259 %{_libdir}/girepository-1.0/GstRtsp-%{majorminor}.typelib
260 %{_libdir}/girepository-1.0/GstSdp-%{majorminor}.typelib
261 %{_libdir}/girepository-1.0/GstTag-%{majorminor}.typelib
262 %{_libdir}/girepository-1.0/GstVideo-%{majorminor}.typelib
263 %{_datadir}/gir-1.0/GstApp-%{majorminor}.gir
264 %{_datadir}/gir-1.0/GstAudio-%{majorminor}.gir
265 %{_datadir}/gir-1.0/GstFft-%{majorminor}.gir
266 %{_datadir}/gir-1.0/GstInterfaces-%{majorminor}.gir
267 %{_datadir}/gir-1.0/GstPbutils-%{majorminor}.gir
268 %{_datadir}/gir-1.0/GstRiff-%{majorminor}.gir
269 %{_datadir}/gir-1.0/GstRtp-%{majorminor}.gir
270 %{_datadir}/gir-1.0/GstRtsp-%{majorminor}.gir
271 %{_datadir}/gir-1.0/GstSdp-%{majorminor}.gir
272 %{_datadir}/gir-1.0/GstTag-%{majorminor}.gir
273 %{_datadir}/gir-1.0/GstVideo-%{majorminor}.gir
274
275 # gtk-doc documentation
276 %doc %{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{majorminor}
277 %doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
278 %doc %{_datadir}/gst-plugins-base/license-translations.dict
279
280 %changelog
281 * Sun Aug 07 2011 Thomas Vander Stichele <thomas at apestaart dot org>
282 - rename to gstreamer011
283 - require 0.11 gstreamer
284 - properly use majorminor macro
285 - libgstplayback.so now contains playbin/decodebin elements.
286 - gstappbuffer is gone
287 - added metavideo and videopool headers
288
289 * Fri Dec 15 2006 Thomas Vander Stichele <thomas at apestaart dot org>
290 - add doap file
291 - cleanups
292
293 * Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
294 - clean up a little
295
296 * Fri May 6 2005 Christian Schaller <christian at fluendo dot com>
297 - Added libgstaudiorate and libgstsubparse to spec file
298
299 * Thu May 5 2005 Christian Schaller <christian at fluendo dot com>
300 - first attempt at spec file for gst-plugins-base