update for latest additions
[platform/upstream/gst-plugins-good.git] / gst-plugins-good.spec.in
1 %define majorminor  @GST_MAJORMINOR@
2 %define gstreamer   gstreamer09
3
4 %define gst_minver   0.9.1
5
6 Name:           %{gstreamer}-plugins-good
7 Version:        @VERSION@
8 Release:        @GST_PLUGINS_GOOD_VERSION_RELEASE@.gst
9 Summary:        GStreamer plug-ins with good code and licensing
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-good/gst-plugins-good-%{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
23 @USE_ESD_TRUE@BuildRequires: esound-devel >= 0.2.8
24 @USE_ESD_TRUE@Obsoletes:     gstreamer-esd
25 @USE_ESD_TRUE@
26 @USE_ESD_TRUE@Provides:         gstreamer-audiosrc
27 @USE_ESD_TRUE@Provides:         gstreamer-audiosink
28 @USE_FLAC_TRUE@BuildRequires: flac-devel >= 1.0.3
29 @USE_GCONF_TRUE@BuildRequires:  GConf2-devel
30 @USE_JPEG_TRUE@BuildRequires: libjpeg-devel
31 @USE_LIBCACA_TRUE@BuildRequires: libcaca-devel
32 @USE_LIBDV_TRUE@BuildRequires: libdv-devel
33 @USE_LIBPNG_TRUE@BuildRequires: libpng-devel >= 1.2.0
34 # @USE_MIKMOD_TRUE@BuildRequires: mikmod
35 @USE_OSS_TRUE@BuildRequires: glibc-devel
36 # @USE_PANGO_TRUE@BuildRequires:   pango-devel
37 # @USE_RAW1394_TRUE@BuildRequires: libraw1394-devel
38 # @USE_RAW1394_TRUE@BuildRequires: libavc1394-devel
39 @USE_SPEEX_TRUE@BuildRequires:  speex-devel
40
41 @USE_SHOUT2_TRUE@BuildRequires: libshout-devel >= 2.0
42 @USE_LADSPA_TRUE@BuildRequires: ladspa-devel
43 @USE_AALIB_TRUE@BuildRequires:  aalib-devel >= 1.3
44 @USE_AALIB_TRUE@Provides:       gstreamer-aasink = %{version}-%{release}
45
46 %description
47 GStreamer is a streaming media framework, based on graphs of filters which
48 operate on media data. Applications using this library can do anything
49 from real-time sound processing to playing videos, and just about anything
50 else media-related.  Its plugin-based architecture means that new data
51 types or processing capabilities can be added simply by installing new
52 plug-ins.
53
54 %prep
55 %setup -q -n gst-plugins-good-%{version}
56 %build
57 %configure \
58   --enable-debug \
59   --enable-DEBUG 
60
61 make %{?_smp_mflags}
62                                                                                 
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
67 %makeinstall
68 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
69                                                                                 
70 # Clean out files that should not be part of the rpm.
71 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
72 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
73 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
74 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
75 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstgdkpixbuf.so
76
77 %find_lang gst-plugins-good-%{majorminor}
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %files -f gst-plugins-good-%{majorminor}.lang
83 %defattr(-, root, root)
84 %doc AUTHORS COPYING README REQUIREMENTS
85
86 # non-core plugins without external dependencies
87 %{_libdir}/gstreamer-%{majorminor}/libgstalaw.so
88 %{_libdir}/gstreamer-%{majorminor}/libgstalpha.so
89 %{_libdir}/gstreamer-%{majorminor}/libgstautodetect.so
90 %{_libdir}/gstreamer-%{majorminor}/libgstavi.so
91 %{_libdir}/gstreamer-%{majorminor}/libgsteffectv.so
92 %{_libdir}/gstreamer-%{majorminor}/libgstgoom.so
93 %{_libdir}/gstreamer-%{majorminor}/libgstlevel.so
94 %{_libdir}/gstreamer-%{majorminor}/libgstefence.so
95 %{_libdir}/gstreamer-%{majorminor}/libgstmulaw.so
96 %{_libdir}/gstreamer-%{majorminor}/libgstrtp.so
97 %{_libdir}/gstreamer-%{majorminor}/libgstrtsp.so
98 %{_libdir}/gstreamer-%{majorminor}/libgstsmpte.so
99 %{_libdir}/gstreamer-%{majorminor}/libgstudp.so
100 %{_libdir}/gstreamer-%{majorminor}/libgstvideobox.so
101 %{_libdir}/gstreamer-%{majorminor}/libgstvideoflip.so
102 %{_libdir}/gstreamer-%{majorminor}/libgstwavenc.so
103 %{_libdir}/gstreamer-%{majorminor}/libgstwavparse.so
104 %{_libdir}/gstreamer-%{majorminor}/libgstauparse.so
105 %{_libdir}/gstreamer-%{majorminor}/libgstdebug.so
106 %{_libdir}/gstreamer-%{majorminor}/libgstnavigationtest.so
107 %{_libdir}/gstreamer-%{majorminor}/libgstalphacolor.so
108 %{_libdir}/gstreamer-%{majorminor}/libgstcairo.so
109 %{_libdir}/gstreamer-%{majorminor}/libgstflxdec.so
110 %{_libdir}/gstreamer-%{majorminor}/libgstmatroska.so
111 %{_libdir}/gstreamer-%{majorminor}/libgstvideomixer.so
112
113 # gstreamer-plugins with external dependencies but in the main package
114 @USE_LIBCACA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcacasink.so
115 @USE_ESD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstesd.so
116 @USE_FLAC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstflac.so
117 @USE_JPEG_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstjpeg.so
118 # @USE_MIKMOD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstmikmod.so
119 @USE_LIBPNG_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpng.so
120 @USE_OSS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstossaudio.so
121 ## @USE_RAW1394_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgst1394.so
122 # @USE_PANGO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsttextoverlay.so
123 # @USE_PANGO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsttimeoverlay.so
124 @USE_SPEEX_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstspeex.so
125 @USE_GCONF_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgconfelements.so
126
127 # @USE_LADSPA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstladspa.so
128 @USE_SHOUT2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstshout2.so
129 @USE_AALIB_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstaasink.so
130 @USE_LIBDV_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstdv.so
131 @USE_DV1394_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgst1394.so
132
133 ## Libraries
134 %{_libdir}/libgstvideofilter-%{majorminor}.*
135
136 # schema files
137 @USE_GCONF_TRUE@%{_sysconfdir}/gconf/schemas/gstreamer-%{majorminor}.schemas
138
139 %post
140 @USE_GCONF_TRUE@export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
141 @USE_GCONF_TRUE@gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gstreamer-%{majorminor}.schemas > /dev/null
142
143 %postun
144                                                                                
145 %changelog
146 * Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
147 - clean up for splitup
148
149 * Mon Feb 14 2005 Christian Schaller <christian at fluendo dot com>
150 - Add vnc plugin 
151
152 * Wed Jan 19 2005 Christian Schaller <christian at fluendo dot com>
153 - add dv1394 plugin
154
155 * Wed Dec 22 2004 Christian Schaller <christian at fluendo dot com>
156 - Add -plugins- to plugin names
157
158 * Thu Dec 9  2004 Christian Schaller <christian a fluendo dot com>
159 - Add the mms plugin
160
161 * Wed Oct 06 2004 Christian Schaller <christian at fluendo dot com>
162 - Add Wim's new mng decoder plugin
163 - add shout2 plugin for Zaheer, hope it is correctly done :)
164
165 * Wed Sep 29 2004 Christian Schaller <uraeus at gnome dot org>
166 - Fix USE statement for V4L2
167
168 * Thu Sep 28 2004 Christian Schaller <uraeus at gnome dot org>
169 - Remove kio plugin (as it was broken)
170
171 * Wed Sep 21 2004 Christian Schaller <uraeus at gnome dot org>
172 - Reorganize SPEC to fit better with fedora.us and freshrpms.net packages
173 - Make sure gstinterfaces.so is in the package
174 - Add all new plugins
175
176 * Mon Mar 15 2004 Thomas Vander Stichele <thomas at apestaart dot org>
177 - put back media-info
178 - add ffmpegcolorspace plugin
179
180 * Sun Mar 07 2004 Christian Schaller <Uraeus@gnome.org>
181 - Remove rm commands for media-info stuff
182 - Add libdir/*
183                                                                                 
184 * Thu Mar 04 2004 Christian Schaller <Uraeus@gnome.org>
185 - Add missing gconf schema install in %post
186
187 * Tue Mar 02 2004 Thomas Vander Stichele <thomas at apestaart dot org>
188 - Libraries/Multimedia doesn't exist, remove it
189
190 * Tue Mar 02 2004 Thomas Vander Stichele <thomas at apestaart dot org>
191 - added speex plugin.
192
193 * Mon Mar 01 2004 Thomas Vander Stichele <thomas at apestaart dot org>
194 - Cleaned up the mess.  Could we PLEASE keep this sort of organized and
195 - alphabetic for easy lookup ?
196
197 * Fri Feb 13 2004 Christian Schaller <Uraeus@gnome.org>
198 - Added latest new headers
199
200 * Wed Jan 21 2004 Christian Schaller <Uraeus@gnome.org>
201 - added NAS plugin
202 - added i18n locale dir
203
204 * Fri Jan 16 2004 Christian Schaller <uraeus@gnome.org>
205 - added libcaca plugin
206 - added libgstcolorspace - fixed name of libgsthermescolorspace
207
208 * Wed Jan 14 2004 Christian Schaller <uraeus@gnome.org>
209 - Add gamma plugin
210 - Have the pixbuf plugin deleted for now
211
212 * Wed Dec 18 2003 Christian Schaller <Uraeus@gnome.org>
213 - remove gsttagediting.h as it is gone
214 - replace it with gst/tag/tag.h
215
216 * Sun Nov 23 2003 Christian Schaller <Uraeus@gnome.org>
217 - Update spec file for latest changes
218 - add faad plugin
219
220 * Thu Oct 16 2003 Christian Schaller <Uraeus@gnome.org>
221 - Add new colorbalance and tuner and xoverlay stuff
222 - Change name of kde-audio-devel to arts-devel
223
224 * Sat Sep 27 2003 Christian Schaller <Uraeus@gnome.org>
225 - Add majorminor to man page names
226 - add navigation lib to package
227
228 * Tue Sep 11 2003 Christian Schaller <Uraeus@gnome.org>
229 - Add -%{majorminor} to each instance of gst-register
230
231 * Tue Aug 19 2003 Christian Schaller <Uraeus@Gnome.org>
232 - Add new plugins
233
234 * Sat Jul 12 2003 Thomas Vander Stichele <thomas at apestaart dot org>
235 - move gst/ mpeg plugins to base package
236 - remove hermes conditional from snapshot
237 - remove one instance of resample plugin
238 - fix up silly versioned plugins efence and rmdemux
239
240 * Sat Jul 05 2003 Christian Schaller <Uraeus@gnome.org>
241 - Major overhaul of SPEC file to make it compatible with what Red Hat ships
242   as default
243 - Probably a little less sexy, but cross-distro SPEC files are a myth anyway
244   so making it convenient for RH users wins out
245 - Keeping conditionals even with new re-org so that developers building the
246   RPMS don't need everything installed
247 - Add bunch of obsoletes to ease migration from earlier official GStreamer RPMS
248 - Remove plugins that doesn't exist anymore
249
250 * Sun Mar 02 2003 Christian Schaller <Uraeus@gnome.org>
251 - Remove USE_RTP statement from RTP plugin
252 - Move RTP plugin to no-deps section
253
254 * Sat Mar 01 2003 Christian Schaller <Uraeus@gnome.org>
255 - Remove videosink from SPEC
256 * Thu Jan 23 2003 Thomas Vander Stichele <thomas at apestaart dot org>
257 - various fixes
258 - make video output packages provide gstreamer-videosink
259
260 * Thu Jan 23 2003 Thomas Vander Stichele <thomas at apestaart dot org>
261 - split out ffmpeg stuff to separate plugin
262
263 * Fri Dec 27 2002 Thomas Vander Stichele <thomas at apestaart dot org>
264 - add virtual provides for audio sources and sinks
265
266 * Sun Dec 15 2002 Christian Schaller <Uraeus@linuxrising.org>
267 - Update mpeg2dec REQ to be 0.3.1
268
269 * Tue Dec 10 2002 Thomas Vander Stichele <thomas at apestaart dot org>
270 - only install schema once
271 - move out devel lib stuff to -devel package
272
273 * Sun Dec 08 2002 Thomas Vander Stichele <thomas at apestaart dot org>
274 - fix location of libgstpng
275 - changes for parallel installability
276
277 * Thu Nov 28 2002 Christian Schaller <Uraeus@linuxrising.org>
278 - Put in libgstpng plugin
279 - rm the libgstmedia-info stuff until thomas think they are ready
280
281 * Fri Nov 01 2002 Thomas Vander Stichele <thomas at apestaart dot org>
282 - don't use compprep until ABI issues can be fixed
283
284 * Wed Oct 30 2002 Thomas Vander Stichele <thomas at apestaart dot org>
285 - added smpte plugin
286 - split out dvdnavread package
287 - fixed snapshot deps and added hermes conditionals
288
289 * Tue Oct 29 2002 Thomas Vander Stichele <thomas at apestaart dot org>
290 - added -play package, libs, and .pc files
291
292 * Thu Oct 24 2002 Christian Schaller <Uraeus@linuxrising.org>
293 - Added wavenc to audio formats package
294
295 * Sat Oct 20 2002 Christian Scchaller <Uraeus@linuxrising.org>
296 - Removed all .la files
297 - added separate non-openquicktime demuxer plugin
298 - added snapshot plugin
299 - added videotest plugin
300 - Split avi plugin out to avi and windec plugins since aviplugin do not depend on avifile
301 - Added cdplayer plugin
302
303 * Fri Sep 20 2002 Thomas Vander Stichele <thomas@apestaart.org>
304 - added gst-compprep calls
305
306 * Wed Sep 18 2002 Thomas Vander Stichele <thomas@apestaart.org>
307 - add gst-register-%{majorminor} calls everywhere again since auto-reregister doesn't work
308 - added gstreamer-audio-formats to mad's requires since it needs the typefind
309   to work properly
310
311 * Mon Sep 9 2002 Christian Schaller <Uraeus@linuxrising.org>
312 - Added v4l2 plugin
313 * Thu Aug 27 2002 Christian Schaller <Uraeus@linuxrising.org>
314 - Fixed USE_DV_TRUE to USE_LIBDV_TRUE
315 - Added Gconf and floatcast headers to gstreamer-plugins-devel package
316 - Added mixmatrix plugin to audio-effects package
317
318 * Thu Jul 11 2002 Thomas Vander Stichele <thomas@apestaart.org>
319 - fixed oss package to buildrequire instead of require glibc headers
320
321 * Mon Jul 08 2002 Thomas Vander Stichele <thomas@apestaart.org>
322 - fixed -devel package group
323
324 * Fri Jul 05 2002 Thomas Vander Stichele <thomas@apestaart.org>
325 - release 0.4.0 !
326 - added gstreamer-libs.pc
327 - removed all gst-register-%{majorminor} calls since this should be done automatically now
328
329 * Thu Jul 04 2002 Thomas Vander Stichele <thomas@apestaart.org>
330 - fix issue with SDL package
331 - make all packages STRICTLY require the right version to avoid
332   ABI issues
333 - make gst-plugins obsolete gst-plugin-libs
334 - also send output of gst-register-%{majorminor} to /dev/null to lower the noise
335
336 * Wed Jul 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
337 - require glibc-devel instead of glibc-kernheaders since the latter is only
338   since 7.3 and glibc-devel pulls in the right package anyway
339
340 * Sun Jun 23 2002 Thomas Vander Stichele <thomas@apestaart.org>
341 - changed header location of plug-in libs
342
343 * Mon Jun 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
344 - major cleanups
345 - adding gst-register-%{majorminor} on postun everywhere
346 - remove ldconfig since we don't actually install libs in system dirs
347 - removed misc package
348 - added video-effects
349 - dot every Summary
350 - uniformify all descriptions a little
351
352 * Thu Jun 06 2002 Thomas Vander Stichele <thomas@apestaart.org>
353 - various BuildRequires: additions
354
355 * Tue Jun 04 2002 Thomas Vander Stichele <thomas@apestaart.org>
356 - added USE_LIBADSPA_TRUE bits to ladspa package
357
358 * Mon Jun 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
359 - Added libfame package
360
361 * Mon May 12 2002 Christian Fredrik Kalager Schaller <Uraeus@linuxrising.org>
362 - Added jack, dxr3, http packages
363 - Added visualisation plug-ins, effecttv and synaesthesia
364 - Created devel package
365 - Removed gstreamer-plugins-libs package (moved it into gstreamer-plugins)
366 - Replaced prefix/dirname with _macros
367
368 * Mon May 06 2002 Thomas Vander Stichele <thomas@apestaart.org>
369 - added gstreamer-GConf package
370
371 * Wed Mar 13 2002 Thomas Vander Stichele <thomas@apestaart.org>
372 - added more BuildRequires and Requires
373 - rearranged some plug-ins
374 - added changelog ;)