Revert "[baseaudiosink] add docs for can-activate-pull"
[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:  liboil-devel >= 0.3.14 
24 Requires:       liboil => 0.3.14 
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
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 %{_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}/libgstnetbuffer-%{majorminor}.so*
91 %{_libdir}/libgstpbutils-%{majorminor}.so*
92 %{_libdir}/libgstriff-%{majorminor}.so.*
93 %{_libdir}/libgstrtp-%{majorminor}.so*
94 %{_libdir}/libgsttag-%{majorminor}.so.*
95 %{_libdir}/libgstvideo-%{majorminor}.so.*
96 %{_libdir}/libgstfft-%{majorminor}.so.*
97 %{_libdir}/libgstrtsp-%{majorminor}.so.*
98 %{_libdir}/libgstsdp-%{majorminor}.so.*
99 %{_libdir}/libgstapp-%{majorminor}.so.*
100
101 # base plugins without external dependencies
102 %{_libdir}/gstreamer-%{majorminor}/libgstadder.so
103 %{_libdir}/gstreamer-%{majorminor}/libgstaudioconvert.so
104 %{_libdir}/gstreamer-%{majorminor}/libgstffmpegcolorspace.so
105 %{_libdir}/gstreamer-%{majorminor}/libgstdecodebin.so
106 %{_libdir}/gstreamer-%{majorminor}/libgstdecodebin2.so
107 %{_libdir}/gstreamer-%{majorminor}/libgstplaybin.so
108 %{_libdir}/gstreamer-%{majorminor}/libgsttypefindfunctions.so
109 %{_libdir}/gstreamer-%{majorminor}/libgstvideotestsrc.so
110 %{_libdir}/gstreamer-%{majorminor}/libgstaudiorate.so
111 %{_libdir}/gstreamer-%{majorminor}/libgstsubparse.so
112 %{_libdir}/gstreamer-%{majorminor}/libgstvolume.so
113 %{_libdir}/gstreamer-%{majorminor}/libgstvideorate.so
114 %{_libdir}/gstreamer-%{majorminor}/libgstvideoscale.so
115 %{_libdir}/gstreamer-%{majorminor}/libgsttcp.so
116 %{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux.so
117 %{_libdir}/gstreamer-%{majorminor}/libgstaudioresample.so
118 %{_libdir}/gstreamer-%{majorminor}/libgstaudiotestsrc.so
119 %{_libdir}/gstreamer-%{majorminor}/libgstgdp.so
120 %{_libdir}/gstreamer-%{majorminor}/libgstqueue2.so
121 %{_libdir}/gstreamer-%{majorminor}/libgstapp.so
122
123 # Here are packages not in the base plugins package but not dependant
124 # on an external lib
125
126 # @USE_GST_V4L2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux2.so
127
128 # base plugins with dependencies
129 @USE_ALSA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstalsa.so
130 @USE_THEORA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsttheora.so
131 @USE_GNOME_VFS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgnomevfs.so
132 @USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvorbis.so
133 @USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstogg.so
134 @USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstximage*.so
135 @USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstxvimagesink.so
136 @USE_LIBVISUAL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstlibvisual.so
137 @USE_PANGO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpango.so
138 @USE_CDPARANOIA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcdparanoia.so                                                                     
139 %package devel
140 Summary:        GStreamer Plugin Library Headers
141 Group:          Development/Libraries
142 Requires:       %{gstreamer}-plugins-base = %{version}
143
144 %description devel
145 GStreamer Plugins Base library development and header files.
146
147 %files devel
148 %defattr(-, root, root)
149 # plugin helper library headers
150 %{_includedir}/gstreamer-%{majorminor}/gst/audio/audio.h
151 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiofilter.h
152 %{_includedir}/gstreamer-%{majorminor}/gst/audio/multichannel.h
153 %{_includedir}/gstreamer-%{majorminor}/gst/floatcast/floatcast.h
154 %{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-ids.h
155 %{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-media.h
156 %{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-read.h
157 %{_includedir}/gstreamer-%{majorminor}/gst/video/video.h
158 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/colorbalance.h
159 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/colorbalancechannel.h
160 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/interfaces-enumtypes.h
161 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixer.h
162 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixeroptions.h
163 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixertrack.h
164 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/navigation.h
165 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/propertyprobe.h
166 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tuner.h
167 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tunerchannel.h
168 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tunernorm.h
169 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/xoverlay.h
170 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosrc.h
171 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstbaseaudiosrc.h
172 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertpaudiopayload.h
173 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertpdepayload.h
174 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtpbuffer.h
175 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudioclock.h
176 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosink.h
177 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstbaseaudiosink.h
178 %{_includedir}/gstreamer-%{majorminor}/gst/audio/gstringbuffer.h
179 %{_includedir}/gstreamer-%{majorminor}/gst/tag/tag.h
180 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertppayload.h
181 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideofilter.h
182 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideosink.h
183 %{_includedir}/gstreamer-%{majorminor}/gst/netbuffer/gstnetbuffer.h
184 %{_includedir}/gstreamer-%{majorminor}/gst/cdda/gstcddabasesrc.h
185 %{_includedir}/gstreamer-%{majorminor}/gst/audio/mixerutils.h
186 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/videoorientation.h
187 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/descriptions.h
188 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/install-plugins.h
189 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/missing-plugins.h
190 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/pbutils.h
191 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtcpbuffer.h
192 %{_includedir}/gstreamer-%{majorminor}/gst/fft/gstfft.h
193 %{_includedir}/gstreamer-%{majorminor}/gst/fft/gstfftf32.h
194 %{_includedir}/gstreamer-%{majorminor}/gst/fft/gstfftf64.h
195 %{_includedir}/gstreamer-%{majorminor}/gst/fft/gstffts16.h
196 %{_includedir}/gstreamer-%{majorminor}/gst/fft/gstffts32.h
197 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtsp-enumtypes.h
198 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspbase64.h
199 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspconnection.h
200 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspdefs.h
201 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspextension.h
202 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspmessage.h
203 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtsprange.h
204 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtsptransport.h
205 %{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspurl.h
206 %{_includedir}/gstreamer-%{majorminor}/gst/sdp/gstsdp.h
207 %{_includedir}/gstreamer-%{majorminor}/gst/sdp/gstsdpmessage.h
208 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtppayloads.h
209 %{_includedir}/gstreamer-%{majorminor}/gst/tag/gsttagdemux.h
210 %{_includedir}/gstreamer-%{majorminor}/gst/pbutils/pbutils-enumtypes.h
211 %{_includedir}/gstreamer-%{majorminor}/gst/app/gstappbuffer.h
212 %{_includedir}/gstreamer-%{majorminor}/gst/app/gstappsink.h
213 %{_includedir}/gstreamer-%{majorminor}/gst/app/gstappsrc.h
214 %{_includedir}/gstreamer-%{majorminor}/gst/audio/audio-enumtypes.h
215 %{_includedir}/gstreamer-%{majorminor}/gst/video/video-enumtypes.h
216
217 %{_libdir}/libgstfft-%{majorminor}.so
218 %{_libdir}/libgstrtsp-%{majorminor}.so
219 %{_libdir}/libgstsdp-%{majorminor}.so
220 %{_libdir}/libgstaudio-%{majorminor}.so
221 %{_libdir}/libgstriff-%{majorminor}.so
222 %{_libdir}/libgsttag-%{majorminor}.so
223 %{_libdir}/libgstvideo-%{majorminor}.so
224 %{_libdir}/libgstrtp-%{majorminor}.so
225 %{_libdir}/libgstinterfaces-%{majorminor}.so
226 %{_libdir}/libgstnetbuffer-%{majorminor}.so
227 %{_libdir}/libgstpbutils-%{majorminor}.so
228 %{_libdir}/libgstcdda-%{majorminor}.so
229 %{_libdir}/libgstapp-%{majorminor}.so
230
231 # pkg-config files
232 %{_libdir}/pkgconfig/gstreamer-plugins-base-%{majorminor}.pc
233 %{_libdir}/pkgconfig/gstreamer-audio-%{majorminor}.pc
234 %{_libdir}/pkgconfig/gstreamer-cdda-%{majorminor}.pc
235 %{_libdir}/pkgconfig/gstreamer-fft-%{majorminor}.pc
236 %{_libdir}/pkgconfig/gstreamer-floatcast-%{majorminor}.pc
237 %{_libdir}/pkgconfig/gstreamer-interfaces-%{majorminor}.pc
238 %{_libdir}/pkgconfig/gstreamer-netbuffer-%{majorminor}.pc
239 %{_libdir}/pkgconfig/gstreamer-pbutils-%{majorminor}.pc
240 %{_libdir}/pkgconfig/gstreamer-riff-%{majorminor}.pc
241 %{_libdir}/pkgconfig/gstreamer-rtp-%{majorminor}.pc
242 %{_libdir}/pkgconfig/gstreamer-rtsp-%{majorminor}.pc
243 %{_libdir}/pkgconfig/gstreamer-sdp-%{majorminor}.pc
244 %{_libdir}/pkgconfig/gstreamer-tag-%{majorminor}.pc
245 %{_libdir}/pkgconfig/gstreamer-video-%{majorminor}.pc
246 %{_libdir}/pkgconfig/gstreamer-app-%{majorminor}.pc
247
248 # gtk-doc documentation
249 %doc %{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{majorminor}
250 %doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
251
252 %changelog
253 * Fri Dec 15 2006 Thomas Vander Stichele <thomas at apestaart dot org>
254 - add doap file
255 - cleanups
256
257 * Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
258 - clean up a little
259
260 * Fri May 6 2005 Christian Schaller <christian at fluendo dot com>
261 - Added libgstaudiorate and libgstsubparse to spec file
262
263 * Thu May 5 2005 Christian Schaller <christian at fluendo dot com>
264 - first attempt at spec file for gst-plugins-base