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