matroska: remove dead assignments
[platform/upstream/gst-plugins-good.git] / gst-plugins-good.spec.in
index b929108..9e55ba0 100644 (file)
@@ -1,13 +1,11 @@
 %define majorminor  @GST_MAJORMINOR@
-%define gstreamer   gstreamer09
-%define gstregister %{_bindir}/gst-register-%{majorminor}
-%define register    %{gstregister} > /dev/null 2>&1 || :
+%define gstreamer   gstreamer
 
-%define gst_minver   0.9.1
+%define gst_minver   0.10.0
 
 Name:          %{gstreamer}-plugins-good
 Version:       @VERSION@
-Release:       @GST_PLUGINS_GOOD_VERSION_RELEASE@.gst
+Release:       @PACKAGE_VERSION_RELEASE@.gst
 Summary:       GStreamer plug-ins with good code and licensing
 
 Group:                 Applications/Multimedia
@@ -19,8 +17,6 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires:        %{gstreamer} >= %{gst_minver}
 BuildRequires:           %{gstreamer}-devel >= %{gst_minver}
-Requires(post):   %{gstregister}
-Requires(postun): %{gstregister}
 
 BuildRequires:  gcc-c++
 
@@ -35,17 +31,17 @@ BuildRequires:  gcc-c++
 @USE_LIBCACA_TRUE@BuildRequires: libcaca-devel
 @USE_LIBDV_TRUE@BuildRequires: libdv-devel
 @USE_LIBPNG_TRUE@BuildRequires: libpng-devel >= 1.2.0
-@USE_MIKMOD_TRUE@BuildRequires: mikmod
 @USE_OSS_TRUE@BuildRequires: glibc-devel
-@USE_PANGO_TRUE@BuildRequires:   pango-devel
-@USE_RAW1394_TRUE@BuildRequires: libraw1394-devel
-@USE_RAW1394_TRUE@BuildRequires: libavc1394-devel
 @USE_SPEEX_TRUE@BuildRequires: speex-devel
-
+@USE_HAL_TRUE@BuildRequires: hal-devel
 @USE_SHOUT2_TRUE@BuildRequires: libshout-devel >= 2.0
-@USE_LADSPA_TRUE@BuildRequires: ladspa-devel
 @USE_AALIB_TRUE@BuildRequires:  aalib-devel >= 1.3
 @USE_AALIB_TRUE@Provides:       gstreamer-aasink = %{version}-%{release}
+@USE_PULSE_TRUE@BuildRequires: pulseaudio-libs-devel
+@USE_DV1394_TRUE@BuildRequires: libavc1394-devel
+@USE_DV1394_TRUE@BuildRequires: libdc1394-devel
+@USE_DV1394_TRUE@BuildRequires: libiec61883-devel  
+@USE_DV1394_TRUE@BuildRequires: libraw1394-devel
 
 %description
 GStreamer is a streaming media framework, based on graphs of filters which
@@ -76,16 +72,21 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstgdkpixbuf.so
 
 %find_lang gst-plugins-good-%{majorminor}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+@USE_GCONF_TRUE@export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+@USE_GCONF_TRUE@gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gstreamer-%{majorminor}.schemas > /dev/null
+
 %files -f gst-plugins-good-%{majorminor}.lang
 %defattr(-, root, root)
-%doc AUTHORS COPYING README REQUIREMENTS
+%doc AUTHORS COPYING README REQUIREMENTS gst-plugins-good.doap
+%{_datadir}/gstreamer-%{majorminor}/presets/GstIirEqualizer10Bands.prs
+%{_datadir}/gstreamer-%{majorminor}/presets/GstIirEqualizer3Bands.prs
 
 # non-core plugins without external dependencies
 %{_libdir}/gstreamer-%{majorminor}/libgstalaw.so
@@ -93,10 +94,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/gstreamer-%{majorminor}/libgstautodetect.so
 %{_libdir}/gstreamer-%{majorminor}/libgstavi.so
 %{_libdir}/gstreamer-%{majorminor}/libgsteffectv.so
-%{_libdir}/gstreamer-%{majorminor}/libgstfdsrc.so
 %{_libdir}/gstreamer-%{majorminor}/libgstgoom.so
 %{_libdir}/gstreamer-%{majorminor}/libgstlevel.so
+%{_libdir}/gstreamer-%{majorminor}/libgstefence.so
 %{_libdir}/gstreamer-%{majorminor}/libgstmulaw.so
+%{_libdir}/gstreamer-%{majorminor}/libgstqtdemux.so
 %{_libdir}/gstreamer-%{majorminor}/libgstrtp.so
 %{_libdir}/gstreamer-%{majorminor}/libgstrtsp.so
 %{_libdir}/gstreamer-%{majorminor}/libgstsmpte.so
@@ -105,268 +107,64 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/gstreamer-%{majorminor}/libgstvideoflip.so
 %{_libdir}/gstreamer-%{majorminor}/libgstwavenc.so
 %{_libdir}/gstreamer-%{majorminor}/libgstwavparse.so
+%{_libdir}/gstreamer-%{majorminor}/libgstauparse.so
+%{_libdir}/gstreamer-%{majorminor}/libgstdebug.so
+%{_libdir}/gstreamer-%{majorminor}/libgstnavigationtest.so
+%{_libdir}/gstreamer-%{majorminor}/libgstalphacolor.so
+@USE_CAIRO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcairo.so
+%{_libdir}/gstreamer-%{majorminor}/libgstflxdec.so
+%{_libdir}/gstreamer-%{majorminor}/libgstmatroska.so
+%{_libdir}/gstreamer-%{majorminor}/libgstvideomixer.so
+%{_libdir}/gstreamer-%{majorminor}/libgstcutter.so
+%{_libdir}/gstreamer-%{majorminor}/libgstmultipart.so
+%{_libdir}/gstreamer-%{majorminor}/libgstid3demux.so
+@USE_GDK_PIXBUF_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgdkpixbuf.so
+%{_libdir}/gstreamer-%{majorminor}/libgstapetag.so
+%{_libdir}/gstreamer-%{majorminor}/libgstannodex.so
+%{_libdir}/gstreamer-%{majorminor}/libgstvideobalance.so
+%{_libdir}/gstreamer-%{majorminor}/libgstvideocrop.so
+%{_libdir}/gstreamer-%{majorminor}/libgsticydemux.so
+%{_libdir}/gstreamer-%{majorminor}/libgsttaglib.so
+%{_libdir}/gstreamer-%{majorminor}/libgstximagesrc.so
+%{_libdir}/gstreamer-%{majorminor}/libgstaudiofx.so
+%{_libdir}/gstreamer-%{majorminor}/libgstgamma.so
+%{_libdir}/gstreamer-%{majorminor}/libgstequalizer.so
+%{_libdir}/gstreamer-%{majorminor}/libgstmultifile.so
+%{_libdir}/gstreamer-%{majorminor}/libgstspectrum.so
+%{_libdir}/gstreamer-%{majorminor}/libgstgoom2k1.so
+%{_libdir}/gstreamer-%{majorminor}/libgstinterleave.so
+%{_libdir}/gstreamer-%{majorminor}/libgstreplaygain.so
+%{_libdir}/gstreamer-%{majorminor}/libgstdeinterlace.so
+%{_libdir}/gstreamer-%{majorminor}/libgstflv.so
+%{_libdir}/gstreamer-%{majorminor}/libgsty4menc.so
+
+# sys plugins
+@USE_GST_V4L2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux2.so
 
 # gstreamer-plugins with external dependencies but in the main package
 @USE_LIBCACA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcacasink.so
 @USE_ESD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstesd.so
 @USE_FLAC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstflac.so
 @USE_JPEG_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstjpeg.so
-# @USE_MIKMOD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstmikmod.so
 @USE_LIBPNG_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpng.so
 @USE_OSS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstossaudio.so
-## @USE_RAW1394_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgst1394.so
-# @USE_PANGO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsttextoverlay.so
-# @USE_PANGO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsttimeoverlay.so
 @USE_SPEEX_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstspeex.so
 @USE_GCONF_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgconfelements.so
-
-# @USE_LADSPA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstladspa.so
+@USE_HAL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsthalelements.so
 @USE_SHOUT2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstshout2.so
 @USE_AALIB_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstaasink.so
 @USE_LIBDV_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstdv.so
 @USE_DV1394_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgst1394.so
-
-## Libraries
-%{_libdir}/libgstvideofilter-%{majorminor}.*
+@USE_WAVPACK_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstwavpack.so
+@USE_SOUP_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstsouphttpsrc.so
+@USE_PULSE_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpulse.so
 
 # schema files
 @USE_GCONF_TRUE@%{_sysconfdir}/gconf/schemas/gstreamer-%{majorminor}.schemas
 
-%post
-@USE_GCONF_TRUE@export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-@USE_GCONF_TRUE@gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gstreamer-%{majorminor}.schemas > /dev/null
-%{register}
-
-%postun
-%{register}
-                                                                               
 %changelog
+* Tue Jun 12 2007 Jan Schmidt <jan at fluendo dot com>
+- wavpack and qtdemux have moved from bad
+
 * Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
 - clean up for splitup
-
-* Mon Feb 14 2005 Christian Schaller <christian at fluendo dot com>
-- Add vnc plugin 
-
-* Wed Jan 19 2005 Christian Schaller <christian at fluendo dot com>
-- add dv1394 plugin
-
-* Wed Dec 22 2004 Christian Schaller <christian at fluendo dot com>
-- Add -plugins- to plugin names
-
-* Thu Dec 9  2004 Christian Schaller <christian a fluendo dot com>
-- Add the mms plugin
-
-* Wed Oct 06 2004 Christian Schaller <christian at fluendo dot com>
-- Add Wim's new mng decoder plugin
-- add shout2 plugin for Zaheer, hope it is correctly done :)
-
-* Wed Sep 29 2004 Christian Schaller <uraeus at gnome dot org>
-- Fix USE statement for V4L2
-
-* Thu Sep 28 2004 Christian Schaller <uraeus at gnome dot org>
-- Remove kio plugin (as it was broken)
-
-* Wed Sep 21 2004 Christian Schaller <uraeus at gnome dot org>
-- Reorganize SPEC to fit better with fedora.us and freshrpms.net packages
-- Make sure gstinterfaces.so is in the package
-- Add all new plugins
-
-* Mon Mar 15 2004 Thomas Vander Stichele <thomas at apestaart dot org>
-- put back media-info
-- add ffmpegcolorspace plugin
-
-* Sun Mar 07 2004 Christian Schaller <Uraeus@gnome.org>
-- Remove rm commands for media-info stuff
-- Add libdir/*
-                                                                                
-* Thu Mar 04 2004 Christian Schaller <Uraeus@gnome.org>
-- Add missing gconf schema install in %post
-
-* Tue Mar 02 2004 Thomas Vander Stichele <thomas at apestaart dot org>
-- Libraries/Multimedia doesn't exist, remove it
-
-* Tue Mar 02 2004 Thomas Vander Stichele <thomas at apestaart dot org>
-- added speex plugin.
-
-* Mon Mar 01 2004 Thomas Vander Stichele <thomas at apestaart dot org>
-- Cleaned up the mess.  Could we PLEASE keep this sort of organized and
-- alphabetic for easy lookup ?
-
-* Fri Feb 13 2004 Christian Schaller <Uraeus@gnome.org>
-- Added latest new headers
-
-* Wed Jan 21 2004 Christian Schaller <Uraeus@gnome.org>
-- added NAS plugin
-- added i18n locale dir
-
-* Fri Jan 16 2004 Christian Schaller <uraeus@gnome.org>
-- added libcaca plugin
-- added libgstcolorspace - fixed name of libgsthermescolorspace
-
-* Wed Jan 14 2004 Christian Schaller <uraeus@gnome.org>
-- Add gamma plugin
-- Have the pixbuf plugin deleted for now
-
-* Wed Dec 18 2003 Christian Schaller <Uraeus@gnome.org>
-- remove gsttagediting.h as it is gone
-- replace it with gst/tag/tag.h
-
-* Sun Nov 23 2003 Christian Schaller <Uraeus@gnome.org>
-- Update spec file for latest changes
-- add faad plugin
-
-* Thu Oct 16 2003 Christian Schaller <Uraeus@gnome.org>
-- Add new colorbalance and tuner and xoverlay stuff
-- Change name of kde-audio-devel to arts-devel
-
-* Sat Sep 27 2003 Christian Schaller <Uraeus@gnome.org>
-- Add majorminor to man page names
-- add navigation lib to package
-
-* Tue Sep 11 2003 Christian Schaller <Uraeus@gnome.org>
-- Add -%{majorminor} to each instance of gst-register
-
-* Tue Aug 19 2003 Christian Schaller <Uraeus@Gnome.org>
-- Add new plugins
-
-* Sat Jul 12 2003 Thomas Vander Stichele <thomas at apestaart dot org>
-- move gst/ mpeg plugins to base package
-- remove hermes conditional from snapshot
-- remove one instance of resample plugin
-- fix up silly versioned plugins efence and rmdemux
-
-* Sat Jul 05 2003 Christian Schaller <Uraeus@gnome.org>
-- Major overhaul of SPEC file to make it compatible with what Red Hat ships
-  as default
-- Probably a little less sexy, but cross-distro SPEC files are a myth anyway
-  so making it convenient for RH users wins out
-- Keeping conditionals even with new re-org so that developers building the
-  RPMS don't need everything installed
-- Add bunch of obsoletes to ease migration from earlier official GStreamer RPMS
-- Remove plugins that doesn't exist anymore
-
-* Sun Mar 02 2003 Christian Schaller <Uraeus@gnome.org>
-- Remove USE_RTP statement from RTP plugin
-- Move RTP plugin to no-deps section
-
-* Sat Mar 01 2003 Christian Schaller <Uraeus@gnome.org>
-- Remove videosink from SPEC
-* Thu Jan 23 2003 Thomas Vander Stichele <thomas at apestaart dot org>
-- various fixes
-- make video output packages provide gstreamer-videosink
-
-* Thu Jan 23 2003 Thomas Vander Stichele <thomas at apestaart dot org>
-- split out ffmpeg stuff to separate plugin
-
-* Fri Dec 27 2002 Thomas Vander Stichele <thomas at apestaart dot org>
-- add virtual provides for audio sources and sinks
-
-* Sun Dec 15 2002 Christian Schaller <Uraeus@linuxrising.org>
-- Update mpeg2dec REQ to be 0.3.1
-
-* Tue Dec 10 2002 Thomas Vander Stichele <thomas at apestaart dot org>
-- only install schema once
-- move out devel lib stuff to -devel package
-
-* Sun Dec 08 2002 Thomas Vander Stichele <thomas at apestaart dot org>
-- fix location of libgstpng
-- changes for parallel installability
-
-* Thu Nov 28 2002 Christian Schaller <Uraeus@linuxrising.org>
-- Put in libgstpng plugin
-- rm the libgstmedia-info stuff until thomas think they are ready
-
-* Fri Nov 01 2002 Thomas Vander Stichele <thomas at apestaart dot org>
-- don't use compprep until ABI issues can be fixed
-
-* Wed Oct 30 2002 Thomas Vander Stichele <thomas at apestaart dot org>
-- added smpte plugin
-- split out dvdnavread package
-- fixed snapshot deps and added hermes conditionals
-
-* Tue Oct 29 2002 Thomas Vander Stichele <thomas at apestaart dot org>
-- added -play package, libs, and .pc files
-
-* Thu Oct 24 2002 Christian Schaller <Uraeus@linuxrising.org>
-- Added wavenc to audio formats package
-
-* Sat Oct 20 2002 Christian Scchaller <Uraeus@linuxrising.org>
-- Removed all .la files
-- added separate non-openquicktime demuxer plugin
-- added snapshot plugin
-- added videotest plugin
-- Split avi plugin out to avi and windec plugins since aviplugin do not depend on avifile
-- Added cdplayer plugin
-
-* Fri Sep 20 2002 Thomas Vander Stichele <thomas@apestaart.org>
-- added gst-compprep calls
-
-* Wed Sep 18 2002 Thomas Vander Stichele <thomas@apestaart.org>
-- add gst-register-%{majorminor} calls everywhere again since auto-reregister doesn't work
-- added gstreamer-audio-formats to mad's requires since it needs the typefind
-  to work properly
-
-* Mon Sep 9 2002 Christian Schaller <Uraeus@linuxrising.org>
-- Added v4l2 plugin
-* Thu Aug 27 2002 Christian Schaller <Uraeus@linuxrising.org>
-- Fixed USE_DV_TRUE to USE_LIBDV_TRUE
-- Added Gconf and floatcast headers to gstreamer-plugins-devel package
-- Added mixmatrix plugin to audio-effects package
-
-* Thu Jul 11 2002 Thomas Vander Stichele <thomas@apestaart.org>
-- fixed oss package to buildrequire instead of require glibc headers
-
-* Mon Jul 08 2002 Thomas Vander Stichele <thomas@apestaart.org>
-- fixed -devel package group
-
-* Fri Jul 05 2002 Thomas Vander Stichele <thomas@apestaart.org>
-- release 0.4.0 !
-- added gstreamer-libs.pc
-- removed all gst-register-%{majorminor} calls since this should be done automatically now
-
-* Thu Jul 04 2002 Thomas Vander Stichele <thomas@apestaart.org>
-- fix issue with SDL package
-- make all packages STRICTLY require the right version to avoid
-  ABI issues
-- make gst-plugins obsolete gst-plugin-libs
-- also send output of gst-register-%{majorminor} to /dev/null to lower the noise
-
-* Wed Jul 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
-- require glibc-devel instead of glibc-kernheaders since the latter is only
-  since 7.3 and glibc-devel pulls in the right package anyway
-
-* Sun Jun 23 2002 Thomas Vander Stichele <thomas@apestaart.org>
-- changed header location of plug-in libs
-
-* Mon Jun 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
-- major cleanups
-- adding gst-register-%{majorminor} on postun everywhere
-- remove ldconfig since we don't actually install libs in system dirs
-- removed misc package
-- added video-effects
-- dot every Summary
-- uniformify all descriptions a little
-
-* Thu Jun 06 2002 Thomas Vander Stichele <thomas@apestaart.org>
-- various BuildRequires: additions
-
-* Tue Jun 04 2002 Thomas Vander Stichele <thomas@apestaart.org>
-- added USE_LIBADSPA_TRUE bits to ladspa package
-
-* Mon Jun 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
-- Added libfame package
-
-* Mon May 12 2002 Christian Fredrik Kalager Schaller <Uraeus@linuxrising.org>
-- Added jack, dxr3, http packages
-- Added visualisation plug-ins, effecttv and synaesthesia
-- Created devel package
-- Removed gstreamer-plugins-libs package (moved it into gstreamer-plugins)
-- Replaced prefix/dirname with _macros
-
-* Mon May 06 2002 Thomas Vander Stichele <thomas@apestaart.org>
-- added gstreamer-GConf package
-
-* Wed Mar 13 2002 Thomas Vander Stichele <thomas@apestaart.org>
-- added more BuildRequires and Requires
-- rearranged some plug-ins
-- added changelog ;)