rtspconnection: GstRTSPWatch func for tunnel GET response
[platform/upstream/gstreamer.git] / gst-plugins-base.spec.in
1 %define majorminor  @GST_API_VERSION@
2 %define gstreamer   gstreamer1
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.xz
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} CFLAGS+="-Wno-error" CXXFLAGS+="-Wno-error"
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-discoverer-%{majorminor}
83 %{_bindir}/gst-play-%{majorminor}
84 %{_mandir}/man1/gst-discoverer-%{majorminor}*
85 %{_mandir}/man1/gst-play-%{majorminor}*
86
87 # libraries
88 %{_libdir}/libgstaudio-%{majorminor}.so.*
89 %{_libdir}/libgstpbutils-%{majorminor}.so*
90 %{_libdir}/libgstriff-%{majorminor}.so.*
91 %{_libdir}/libgstrtp-%{majorminor}.so*
92 %{_libdir}/libgsttag-%{majorminor}.so.*
93 %{_libdir}/libgstvideo-%{majorminor}.so.*
94 %{_libdir}/libgstfft-%{majorminor}.so.*
95 %{_libdir}/libgstrtsp-%{majorminor}.so.*
96 %{_libdir}/libgstsdp-%{majorminor}.so.*
97 %{_libdir}/libgstapp-%{majorminor}.so.*
98 %{_libdir}/libgstallocators-%{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}/libgstvolume.so
108 %{_libdir}/gstreamer-%{majorminor}/libgstvideoconvert.so
109 %{_libdir}/gstreamer-%{majorminor}/libgstvideorate.so
110 %{_libdir}/gstreamer-%{majorminor}/libgstvideoscale.so
111 %{_libdir}/gstreamer-%{majorminor}/libgsttcp.so
112 %{_libdir}/gstreamer-%{majorminor}/libgstaudioresample.so
113 %{_libdir}/gstreamer-%{majorminor}/libgstaudiotestsrc.so
114 %{_libdir}/gstreamer-%{majorminor}/libgstapp.so
115 %{_libdir}/gstreamer-%{majorminor}/libgstencodebin.so
116 %{_libdir}/gstreamer-%{majorminor}/libgstsubparse.so
117
118 # Here are packages not in the base plugins package but not dependant
119 # on an external lib
120
121 # @USE_GST_V4L2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux2.so
122
123 # base plugins with dependencies
124 @USE_ALSA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstalsa.so
125 @USE_THEORA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsttheora.so
126 @USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvorbis.so
127 @USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstogg.so
128 @USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstximage*.so
129 @USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstxvimagesink.so
130 @USE_LIBVISUAL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstlibvisual.so
131 @USE_PANGO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpango.so
132 @USE_CDPARANOIA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcdparanoia.so
133 %{_libdir}/gstreamer-%{majorminor}/libgstgio.so
134 # @USE_SCHRO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstschro.so                                                                     
135 %package devel
136 Summary:        GStreamer Plugin Library Headers
137 Group:          Development/Libraries
138 Requires:       %{gstreamer}-plugins-base = %{version}
139
140 %description devel
141 GStreamer Plugins Base library development and header files.
142
143 %files devel
144 %defattr(-, root, root)
145 # plugin helper library headers
146 %{_includedir}/gstreamer-%{majorminor}/gst/audio/audio-channels.h
147 %{_includedir}/gstreamer-%{majorminor}/gst/audio/audio-format.h
148 %{_includedir}/gstreamer-%{majorminor}/gst/audio/audio-info.h
149 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideodecoder.h
150 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideoencoder.h
151 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideoutils.h
152 %{_includedir}/gstreamer-%{majorminor}/gst/video/navigation.h
153 %{_includedir}/gstreamer-%{majorminor}/gst/video/video-blend.h
154 %{_includedir}/gstreamer-%{majorminor}/gst/video/video-color.h
155 %{_includedir}/gstreamer-%{majorminor}/gst/video/video-event.h
156 %{_includedir}/gstreamer-%{majorminor}/gst/video/video-format.h
157 %{_includedir}/gstreamer-%{majorminor}/gst/video/video-frame.h
158 %{_includedir}/gstreamer-%{majorminor}/gst/video/video-info.h
159 %{_includedir}/gstreamer-%{majorminor}/gst/video/video-overlay-composition.h
160 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtphdrext.h
161 %{_includedir}/gstreamer-%{majorminor}/gst/audio/audio.h
162 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiofilter.h
163 %{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-ids.h
164 %{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-media.h
165 %{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-read.h
166 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideopool.h
167 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideometa.h
168 %{_includedir}/gstreamer-%{majorminor}//gst/audio/gstaudiometa.h
169 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosrc.h
170 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtpbuffer.h
171 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudioclock.h
172 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosink.h
173 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideofilter.h
174 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideosink.h
175 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiocdsrc.h
176 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/descriptions.h
177 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/install-plugins.h
178 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/missing-plugins.h
179 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtcpbuffer.h
180 %{_includedir}/gstreamer-%{majorminor}/gst/fft/gstfft.h
181 %{_includedir}/gstreamer-%{majorminor}/gst/fft/gstfftf32.h
182 %{_includedir}/gstreamer-%{majorminor}/gst/fft/gstfftf64.h
183 %{_includedir}/gstreamer-%{majorminor}/gst/fft/gstffts16.h
184 %{_includedir}/gstreamer-%{majorminor}/gst/fft/gstffts32.h
185 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtsp-enumtypes.h
186 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspconnection.h
187 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspdefs.h
188 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspextension.h
189 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspmessage.h
190 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtsprange.h
191 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtsptransport.h
192 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspurl.h
193 %{_includedir}/gstreamer-%{majorminor}/gst/sdp/gstsdp.h
194 %{_includedir}/gstreamer-%{majorminor}/gst/sdp/gstsdpmessage.h
195 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtppayloads.h
196 %{_includedir}/gstreamer-%{majorminor}/gst/tag/gsttagdemux.h
197 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/pbutils-enumtypes.h
198 %{_includedir}/gstreamer-%{majorminor}/gst/app/gstappsink.h
199 %{_includedir}/gstreamer-%{majorminor}/gst/app/gstappsrc.h
200 %{_includedir}/gstreamer-%{majorminor}/gst/audio/audio-enumtypes.h
201 %{_includedir}/gstreamer-%{majorminor}/gst/video/video-enumtypes.h
202 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/codec-utils.h
203 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/encoding-profile.h
204 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/encoding-target.h
205 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/gstdiscoverer.h
206 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/gstpluginsbaseversion.h
207 %{_includedir}/gstreamer-%{majorminor}/gst/tag/xmpwriter.h
208 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudioiec61937.h
209 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiodecoder.h
210 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudioencoder.h
211 %{_includedir}/gstreamer-%{majorminor}/gst/tag/gsttagmux.h
212 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiobasesink.h
213 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiobasesrc.h
214 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudioringbuffer.h
215 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtpbaseaudiopayload.h
216 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtpbasedepayload.h
217 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtpbasepayload.h
218 %{_includedir}/gstreamer-%{majorminor}/gst/audio/streamvolume.h
219 %{_includedir}/gstreamer-%{majorminor}/gst/video/colorbalance.h
220 %{_includedir}/gstreamer-%{majorminor}/gst/video/colorbalancechannel.h
221 %{_includedir}/gstreamer-%{majorminor}/gst/video/videoorientation.h
222 %{_includedir}/gstreamer-%{majorminor}/gst/video/videooverlay.h
223 %{_includedir}/gstreamer-%{majorminor}/gst/app/app.h
224 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/pbutils.h
225 %{_includedir}/gstreamer-%{majorminor}/gst/riff/riff.h
226 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/rtp.h
227 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/rtsp.h
228 %{_includedir}/gstreamer-%{majorminor}/gst/tag/tag.h
229 %{_includedir}/gstreamer-%{majorminor}/gst/video/video.h
230 %{_includedir}/gstreamer-%{majorminor}/gst/fft/fft.h
231 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtsp.h
232 %{_includedir}/gstreamer-%{majorminor}/gst/sdp/sdp.h
233 %{_includedir}/gstreamer-%{majorminor}/gst/allocators/allocators.h
234 %{_includedir}/gstreamer-%{majorminor}/gst/allocators/gstdmabuf.h
235 %{_includedir}/gstreamer-%{majorminor}/gst/video/video-chroma.h
236 %{_libdir}/girepository-1.0/GstAllocators-1.0.typelib
237 %{_libdir}/libgstallocators-1.0.so
238 %{_libdir}/pkgconfig/gstreamer-allocators-1.0.pc
239 %{_datadir}/gir-1.0/GstAllocators-1.0.gir
240
241
242 %{_libdir}/libgstfft-%{majorminor}.so
243 %{_libdir}/libgstrtsp-%{majorminor}.so
244 %{_libdir}/libgstsdp-%{majorminor}.so
245 %{_libdir}/libgstaudio-%{majorminor}.so
246 %{_libdir}/libgstriff-%{majorminor}.so
247 %{_libdir}/libgsttag-%{majorminor}.so
248 %{_libdir}/libgstvideo-%{majorminor}.so
249 %{_libdir}/libgstrtp-%{majorminor}.so
250 %{_libdir}/libgstpbutils-%{majorminor}.so
251 %{_libdir}/libgstapp-%{majorminor}.so
252
253 # pkg-config files
254 %{_libdir}/pkgconfig/gstreamer-plugins-base-%{majorminor}.pc
255 %{_libdir}/pkgconfig/gstreamer-audio-%{majorminor}.pc
256 %{_libdir}/pkgconfig/gstreamer-fft-%{majorminor}.pc
257 %{_libdir}/pkgconfig/gstreamer-pbutils-%{majorminor}.pc
258 %{_libdir}/pkgconfig/gstreamer-riff-%{majorminor}.pc
259 %{_libdir}/pkgconfig/gstreamer-rtp-%{majorminor}.pc
260 %{_libdir}/pkgconfig/gstreamer-rtsp-%{majorminor}.pc
261 %{_libdir}/pkgconfig/gstreamer-sdp-%{majorminor}.pc
262 %{_libdir}/pkgconfig/gstreamer-tag-%{majorminor}.pc
263 %{_libdir}/pkgconfig/gstreamer-video-%{majorminor}.pc
264 %{_libdir}/pkgconfig/gstreamer-app-%{majorminor}.pc
265
266 %{_libdir}/girepository-1.0/GstApp-%{majorminor}.typelib
267 %{_libdir}/girepository-1.0/GstAudio-%{majorminor}.typelib
268 %{_libdir}/girepository-1.0/GstFft-%{majorminor}.typelib
269 %{_libdir}/girepository-1.0/GstPbutils-%{majorminor}.typelib
270 %{_libdir}/girepository-1.0/GstRiff-%{majorminor}.typelib
271 %{_libdir}/girepository-1.0/GstRtp-%{majorminor}.typelib
272 %{_libdir}/girepository-1.0/GstRtsp-%{majorminor}.typelib
273 %{_libdir}/girepository-1.0/GstSdp-%{majorminor}.typelib
274 %{_libdir}/girepository-1.0/GstTag-%{majorminor}.typelib
275 %{_libdir}/girepository-1.0/GstVideo-%{majorminor}.typelib
276 %{_datadir}/gir-1.0/GstApp-%{majorminor}.gir
277 %{_datadir}/gir-1.0/GstAudio-%{majorminor}.gir
278 %{_datadir}/gir-1.0/GstFft-%{majorminor}.gir
279 %{_datadir}/gir-1.0/GstPbutils-%{majorminor}.gir
280 %{_datadir}/gir-1.0/GstRiff-%{majorminor}.gir
281 %{_datadir}/gir-1.0/GstRtp-%{majorminor}.gir
282 %{_datadir}/gir-1.0/GstRtsp-%{majorminor}.gir
283 %{_datadir}/gir-1.0/GstSdp-%{majorminor}.gir
284 %{_datadir}/gir-1.0/GstTag-%{majorminor}.gir
285 %{_datadir}/gir-1.0/GstVideo-%{majorminor}.gir
286
287 # gtk-doc documentation
288 %doc %{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{majorminor}
289 %doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
290 %doc %{_datadir}/gst-plugins-base/%{majorminor}/license-translations.dict
291
292 %changelog
293 * Sun Aug 07 2011 Thomas Vander Stichele <thomas at apestaart dot org>
294 - rename to gstreamer011
295 - require 0.11 gstreamer
296 - properly use majorminor macro
297 - libgstplayback.so now contains playbin/decodebin elements.
298 - gstappbuffer is gone
299 - added metavideo and videopool headers
300
301 * Fri Dec 15 2006 Thomas Vander Stichele <thomas at apestaart dot org>
302 - add doap file
303 - cleanups
304
305 * Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
306 - clean up a little
307
308 * Fri May 6 2005 Christian Schaller <christian at fluendo dot com>
309 - Added libgstaudiorate and libgstsubparse to spec file
310
311 * Thu May 5 2005 Christian Schaller <christian at fluendo dot com>
312 - first attempt at spec file for gst-plugins-base