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