-%define name gstreamer
-%define ver @VERSION@
-%define rel @GST_VERSION_RELEASE@
-%define prefix /usr
-%define sysconfdir /etc
-
-Summary: GStreamer Streaming-media framework runtime
-Name: %name
-Version: %ver
-Release: %rel
-Copyright: LGPL
-Group: Libraries/Multimedia
-Source: %{name}-%{ver}.tar.gz
-BuildRoot: /var/tmp/%{name}-%{ver}-root
-Docdir: %{prefix}/doc
-Prefix: %prefix
-Requires: libxml >= 1.8.0
+Name: gstreamer
+Version: @VERSION@
+Release: @GST_VERSION_RELEASE@
+Summary: GStreamer streaming media framework runtime.
+
+Group: Libraries/Multimedia
+License: LGPL
+URL: http://gstreamer.net/
+Vendor: GStreamer Backpackers Team <package@gstreamer.net>
+Source: http://gstreamer.net/releases/%{version}/src/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+
+%define _glib2 @GLIB2_REQ@
+%define _libxml2 @LIBXML2_REQ@
+
+Requires: glib2 >= %_glib2
+Requires: libxml2 >= %_libxml2
+Requires: popt > 1.6
+BuildRequires: glib2-devel >= %_glib2
+BuildRequires: libxml2-devel >= %_libxml2
+BuildRequires: nasm >= 0.90
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: gtk-doc >= 0.7
+BuildRequires: gcc
+BuildRequires: zlib-devel
+BuildRequires: popt > 1.6
+Prereq: /sbin/ldconfig
+
+### documentation requirements
+BuildRequires: openjade
+BuildRequires: python2
+BuildRequires: docbook-style-dsssl docbook-dtd31-sgml
+BuildRequires: transfig
%description
GStreamer is a streaming-media framework, based on graphs of filters which
types or processing capabilities can be added simply by installing new
plugins.
-%files
-%defattr(-, root, root)
-%doc AUTHORS COPYING README
-%{prefix}/bin/gstreamer-complete
-%{prefix}/bin/gstreamer-compprep
-%{prefix}/bin/gstreamer-inspect
-%{prefix}/bin/gstreamer-launch
-%{prefix}/bin/gstreamer-register
-%{prefix}/bin/gstreamer-guilaunch
-%{prefix}/lib/lib*.so*
-%{prefix}/lib/gst/libadder*
-%{prefix}/lib/gst/libalaw*
-%{prefix}/lib/gst/libgstaudio*
-%{prefix}/lib/gst/libcolorspace*
-%{prefix}/lib/gst/libgstautoplug*
-%{prefix}/lib/gst/libgstelements*
-%{prefix}/lib/gst/libgstgetbits*
-%{prefix}/lib/gst/libgstidct*
-%{prefix}/lib/gst/libgstriff*
-%{prefix}/lib/gst/libgstjpeg*
-%{prefix}/lib/gst/libintfloatconvert*
-%{prefix}/lib/gst/liblevel*
-%{prefix}/lib/gst/libmedian*
-%{prefix}/lib/gst/libmono2stereo*
-%{prefix}/lib/gst/libmulaw*
-%{prefix}/lib/gst/libpassthrough*
-%{prefix}/lib/gst/librtjpe*
-%{prefix}/lib/gst/libstereo*
-%{prefix}/lib/gst/libsystem_*
-%{prefix}/lib/gst/libgstputbits*
-%{prefix}/lib/gst/libvol*
-%{prefix}/lib/gst/libxvideosink*
-%{prefix}/lib/gst/libgstparsewav*
-%{prefix}/lib/gst/libgststaticautoplug*
-%{prefix}/lib/gst/libgsttypes*
-%{prefix}/lib/gst/libgstbasicscheduler*
-%{prefix}/lib/gst/libgstbytestream*
-%{prefix}/lib/gst/libgstcontrol*
-%{prefix}/lib/gst/libplayondemand*
-%{prefix}/lib/gst/libspeed*
-%{prefix}/share/man/man1/*
-
%package devel
-Summary: Libraries and include files for GStreamer streaming-media framework
-Group: Development/Libraries
-Requires: %{name} = %{ver}
+Summary: Libraries/include files for GStreamer streaming media framework.
+Group: Development/Libraries
+
+Requires: %{name} = %{version}-%{release}
+Requires: glib2-devel >= %_glib2
+Requires: libxml2-devel >= %_libxml2
%description devel
GStreamer is a streaming-media framework, based on graphs of filters which
This package contains the libraries and includes files necessary to develop
applications and plugins for GStreamer.
-%files devel
-%defattr(-, root, root)
-%{prefix}/bin/gstreamer-config
-%{prefix}/include/*
-%{prefix}/lib/lib*.la
-%{prefix}/lib/lib*.so
-%{prefix}/lib/pkgconfig/*
-%{prefix}/share/aclocal/*
-
-%package -n gstreamer-visualisation
-Summary: Gstreamer visualisations plugins
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-
-%description -n gstreamer-visualisation
-Various plugins for visual effects to use with audio. Included are Smoothwave, Spectrum and vumeter
-
-%files -n gstreamer-visualisation
-%defattr(-, root, root)
-%{prefix}/lib/gst/libsmooth*
-%{prefix}/lib/gst/libgstspectrum*
-%{prefix}/lib/gst/libvu*
-
-%package -n gstreamer-esd
-Summary: Gstreamer plugin for ESD sound output
-Group: Libraries/Multimedia
-Requires: esound >= 0.2.8
-Requires: %{name} = %{ver}
-
-%description -n gstreamer-esd
-Output plugin for GStreamer for use with the esound package
-
-%files -n gstreamer-esd
-%defattr(-, root, root)
-%{prefix}/lib/gst/libesd*
-
-%package -n gstreamer-aalib
-Summary: Gstreamer plugin for Ascii-art output
-Group: Libraries/Multimedia
-Requires: aalib >= 1.3
-BuildRequires: aalib-devel >= 1.3
-Requires: %{name} = %{ver}
-
-%description -n gstreamer-aalib
-Plugin for viewing movies in Ascii-art using aalib library.
-
-%files -n gstreamer-aalib
-%defattr(-, root, root)
-%{prefix}/lib/gst/libaa*
-
-%package -n gstreamer-afs
-Summary: Gstreamer plugin audiofile support
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-Requires: audiofile >= 0.2.1
-
-%description -n gstreamer-afs
-Plugin for supporting reading and writing all files audiofile support
-
-%files -n gstreamer-afs
-%defattr(-, root, root)
-%{prefix}/lib/gst/libafs*
-
-%package -n gstreamer-avi
-Summary: Gstreamer plugin for AVI format movie playback
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-Requires: avifile = 0.6.20011111DD
-
-%description -n gstreamer-avi
-Plugins for playback of AVI format media files.
-
-%files -n gstreamer-avi
-%defattr(-, root, root)
-%{prefix}/lib/gst/libavi*
-%{prefix}/lib/gst/libwin*
-
-%package -n gstreamer-cdparanoia
-Summary: Gstreamer plugin for CD audio input using CDParanoia IV
-Group: Libraries/Multimedia
-Requires: cdparanoia >= alpha9.7
-Requires: %{name} = %{ver}
-BuildRequires: cdparanoia-devel >= alpha9.7
-
-%description -n gstreamer-cdparanoia
-Plugin for ripping audio tracks using cdparanoia under GStreamer
-
-%files -n gstreamer-cdparanoia
-%defattr(-, root, root)
-%{prefix}/lib/gst/libcdparanoia*
-
-%package -n gstreamer-chart
-Summary: GStreamer plugin for converting audio into video
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-
-%description -n gstreamer-chart
-Plugin for converting audio into video
-
-%files -n gstreamer-chart
-%defattr(-, root, root)
-%{prefix}/lib/gst/libchart*
-
-%package -n gstreamer-deinterlace
-Summary: GStreamer Video deinterlacer
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-
-%description -n gstreamer-deinterlace
-Video deinterlace plugin
-
-%files -n gstreamer-deinterlace
-%defattr(-, root, root)
-%{prefix}/lib/gst/libdeinterlace*
-
-%package -n gstreamer-festival
-Summary: GStreamer plugin for text-to-speech support using Festival
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-Requires: festival >= 1.4.1
-
-%description -n gstreamer-festival
-Element for text-to-speech using the festival server.
-
-%files -n gstreamer-festival
-%defattr(-, root, root)
-%{prefix}/lib/gst/libgstfestival*
-
-%package -n gstreamer-flac
-Summary: Gstreamer plugin for FLAC lossless audio format
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-
-%description -n gstreamer-flac
-Plugin for the free FLAC lossless audio format.
-
-%files -n gstreamer-flac
-%defattr(-, root, root)
-%{prefix}/lib/gst/libgstflac*
-
-%package -n gstreamer-flx
-Summary: Gstreamer plugin for FLI/FLX animation format
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-
-%description -n gstreamer-flx
-Plugin for playing FLI/FLX animations under GStreamer
-
-%files -n gstreamer-flx
-%defattr(-, root, root)
-%{prefix}/lib/gst/libflx*
-
-%package -n gstreamer-gnome-apps
-Summary: GNOME Applications for use with GStreamer
-Group: Applications/Multimedia
-Requires: %{name} = %{ver}
-Requires: gnome-libs >= 1.0
-
-%description -n gstreamer-gnome-apps
-This package contains gstmediaplay and gsteditor. gstmediaplay is a GNOME
-frontend for GStreamer which gives you a mediaplayer supporting all the formats
-of GStreamer. geditor is development tool for graphically creating applications based on GStreamer.
-
-%files -n gstreamer-gnome-apps
-%defattr(-, root, root)
-%{prefix}/bin/gsteditor
-%{prefix}/bin/gstmediaplay
-%{prefix}/share/gsteditor/*
-%{prefix}/share/gstmediaplay/*
-
-%package -n gstreamer-gnomevfs
-Summary: GStreamer plugins for GNOME VFS input and output
-Group: Libraries/Multimedia
-Requires: gnome-vfs > 1.0
-Requires: %{name} = %{ver}
-BuildRequires: gnome-vfs-devel > 1.0
-
-%description -n gstreamer-gnomevfs
-Plugins for reading and writing through GNOME VFS.
-
-%files -n gstreamer-gnomevfs
-%defattr(-, root, root)
-%{prefix}/lib/gst/libgnomevfs*
-
-%package -n gstreamer-gsm
-Summary: Gstreamer plugin for GSM lossy audio format
-Group: Libraries/Multimedia
-Requires: gsm >= 1.0.10
-Requires: %{name} = %{ver}
-
-%description -n gstreamer-gsm
-Output plugin for GStreamer to convert to GSM lossy audio format.
-
-%files -n gstreamer-gsm
-%defattr(-, root, root)
-%{prefix}/lib/gst/libgstgsm*
-
-%package -n gstreamer-mpeg
-Summary: GStreamer plugins for MPEG video playback and encoding
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-Requires: mpeg2dec => 0.2.0
-Obsoletes: gstreamer-mpeg1
-Obsoletes: gstreamer-mpeg2
-
-%description -n gstreamer-mpeg
-Plugins for playing and encoding MPEG video
-
-%files -n gstreamer-mpeg
-%defattr(-, root, root)
-%{prefix}/lib/gst/libmpeg1types*
-%{prefix}/lib/gst/libmpeg1encoder*
-%{prefix}/lib/gst/libmpegaudio*
-%{prefix}/lib/gst/libmp1*
-%{prefix}/lib/gst/libmpegstream*
-# this is gone %{prefix}/lib/gst/libmpeg_play*
-%{prefix}/lib/gst/libmpeg2play*
-%{prefix}/lib/gst/libmpeg2enc*
-%{prefix}/lib/gst/libmpeg2subt*
-%{prefix}/lib/gst/libmp2videoparse*
-
-%package -n gstreamer-mpeg2dec
-Summary: GStreamer plugins for Mpeg level 2 playback
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-Requires: mpeg2dec >= 0.2.0
-
-%description -n gstreamer-mpeg2dec
-Plugins for playing mpeg level 2 encoded movies
-
-%files -n gstreamer-mpeg2dec
-%defattr(-, root, root)
-%{prefix}/lib/gst/libgstmpeg2dec*
-
-%package -n gstreamer-mp3
-Summary: GStreamer plugins for mp3 playback
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-
-%description -n gstreamer-mp3
-Plugins for decoding mp3 files. We do recommend you
-use Ogg Vorbis format instead however since it is both unencumbered by patents
-and better.
-
-%files -n gstreamer-mp3
-%defattr(-, root, root)
-%{prefix}/lib/gst/libmpg123*
-%{prefix}/lib/gst/libmp3parse*
-%{prefix}/lib/gst/libmp3types*
-
-%package -n gstreamer-udp
-Summary: Gstreamer pluginis for UDP tranport
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-
-%description -n gstreamer-udp
-Plugins for UDP transport
-
-%files -n gstreamer-udp
-%defattr(-, root, root)
-%{prefix}/lib/gst/libgstudp*
-
-%package -n gstreamer-vorbis
-Summary: Gstreamer plugin for encoding and decoding Ogg Vorbis audio files
-Group: Libraries/Multimedia
-Requires: libogg >= 1.0beta4
-Requires: libvorbis >= 1.0beta4
-Requires: %{name} = %{ver}
-
-%description -n gstreamer-vorbis
-Plugins for creating and playing Ogg Vorbis audio files.
-
-%files -n gstreamer-vorbis
-%defattr(-, root, root)
-%{prefix}/lib/gst/libgstvorbis*
-
-%package -n gstreamer-sdl
-Summary: Gstreamer plugin for outputing to SDL
-Group: Libraries/Multimedia
-Requires: SDL >= 1.2.0
-Requires: %{name} = %{ver}
-BuildRequires: SDL-devel >= 1.2.0
-
-%description -n gstreamer-sdl
-Plugin for sending output to the Simple Direct Media architecture.
-(http://www.libsdl.org). Usefull for fullscreen playback.
-
-%files -n gstreamer-sdl
-%defattr(-, root, root)
-%{prefix}/lib/gst/libsdl*
-
-%package -n gstreamer-oss
-Summary: Gstreamer plugins for input and output using OSS
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-
-%description -n gstreamer-oss
-Plugins for output and input to the OpenSoundSytem audio
-drivers found in the Linux kernels or commercially available
-from OpenSound.
-
-%files -n gstreamer-oss
-%defattr(-, root, root)
-%{prefix}/lib/gst/libgstoss*
-
-%package -n gstreamer-ac3dec
-Summary: Gstreamer plugin for VOB playback
-Group: Libraries/Multimedia
-Requires: ac3dec >= 0.6.2
-Requires: %{name} = %{ver}
-
-%description -n gstreamer-ac3dec
-Plugin for the free AC-3 stream decoder from Linuxvideo.
-(http://linuxvideo.org/ac3dec/)
-
-%files -n gstreamer-ac3dec
-%defattr(-, root, root)
-%{prefix}/lib/gst/libac3*
-
-%package -n gstreamer-ladspa
-Summary: Gstreamer wrapper for LADSPA plugins
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-
-%files -n gstreamer-ladspa
-%defattr(-, root, root)
-%{prefix}/lib/gst/libgstladspa*
-
-%description -n gstreamer-ladspa
-Plugin which wraps LADSPA plugins for use by GStreamer applications.
-
-%package -n gstreamer-mad
-Summary: Gstreamer MAD mp3 decoder library
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-Requires: mad >= 0.13.0
-
-%description -n gstreamer-mad
-Plugin for playback of mp3 songs using the very good MAD library
-
-%files -n gstreamer-mad
-%defattr(-, root, root)
-%{prefix}/lib/gst/libgstmad*
-
-%package -n gstreamer-quicktime
-Summary: GStreamer Quicktime video Plugin
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-Requires: OpenQuicktime = 20010429
-
-%description -n gstreamer-quicktime
-Plugin which uses the OpenQucktime library
-from 3ivx to play Quicktime movies.
-(http://openquicktime.sourceforge.net)
-
-%files -n gstreamer-quicktime
-%defattr(-, root, root)
-%{prefix}/lib/gst/libquicktime*
-
-%package -n gstreamer-v4l
-Summary: GStreamer video for linux input plugin
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-
-%description -n gstreamer-v4l
-Plugin for accessing video for Linux streams.
-
-%files -n gstreamer-v4l
-%defattr(-, root, root)
-%{prefix}/lib/gst/libv4l*
-
-# %package -n gstreamer-synaesthesia
-# Summary: GStreamer Synaesthesia effect plugin
-# Group: Libraries/Multimedia
-# Requires: %{name} = %{ver}
-
-# %description -n gstreamer-synaesthesia
-# Plugin for the very nice synaesthesia visual effect.
-
-# %files -n gstreamer-synaesthesia
-# %defattr(-, root, root)
-# %{prefix}/lib/gst/libsynaesthesia*
-
-%package -n gstreamer-vcd
-Summary: GStreamer Video CD plugin
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-
-%description -n gstreamer-vcd
-Video CD playback plugin
-
-%files -n gstreamer-vcd
-%defattr(-, root, root)
-%{prefix}/lib/gst/libvcd*
-
-%package -n gstreamer-alsa
-Summary: GStreamer plugins for the ALSA sound architecture
-Group: Libraries/Multimedia
-
-%description -n gstreamer-alsa
-Input and output plugin for the ALSA soundcard driver architecture.
-
-%files -n gstreamer-alsa
-%defattr(-, root, root)
-%{prefix}/lib/gst/libalsa*
-
-%package -n gstreamer-libdvd
-Summary: GStreamer plugins for DVD playback
-Group: Libraries/Multimedia
-
-%description -n gstreamer-libdvd
-Input and output plugin for the ALSA soundcard driver architecture.
-
-%files -n gstreamer-libdvd
-%defattr(-, root, root)
-%{prefix}/lib/gst/libdvd*
-
-%package -n gstreamer-au
-Summary: GStreamer au audiofile plugin
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-
-%description -n gstreamer-au
-Plugin for playback of the SUN au audio format.
-
-%files -n gstreamer-au
-%defattr(-, root, root)
-%{prefix}/lib/gst/libgstparseau*
-
-%package -n gstreamer-a52dec
-Summary: GStreamer VOB decoder plugin
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-
-%description -n gstreamer-a52dec
-Plugin for decoding of VOB files
-
-%files -n gstreamer-a52dec
-%defattr(-, root, root)
-%{prefix}/lib/gst/libgsta52dec*
+%prep
+%setup
-%package -n gstreamer-bstest
-Summary: GStreamer BS test package
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
+%build
+CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
+CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
+FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
+%{?__libtoolize:[ -f configure.in ] && %{__libtoolize} --copy --force} ; \
+./configure \
+ --prefix=%{_prefix} \
+ --exec-prefix=%{_exec_prefix} \
+ --bindir=%{_bindir} \
+ --sbindir=%{_sbindir} \
+ --sysconfdir=%{_sysconfdir} \
+ --datadir=%{_datadir} \
+ --includedir=%{_includedir} \
+ --libdir=%{_libdir} \
+ --libexecdir=%{_libexecdir} \
+ --localstatedir=%{_localstatedir} \
+ --sharedstatedir=%{_sharedstatedir} \
+ --mandir=%{_mandir} \
+ --infodir=%{_infodir} \
+ --enable-debug \
+ --with-configdir=/etc/gstreamer \
+ --disable-tests --disable-examples \
+ --enable-docs-build --with-html-dir=$RPM_BUILD_ROOT%{_datadir}/gtk-doc/html
-%description -n gstreamer-bstest
-Plugin for ByteStream testing of GStreamer
+if [ "$SMP" != "" ]; then
+ (make "MAKE=make -k -j $SMP"; exit 0)
+else
+ make
+fi
-%files -n gstreamer-bstest
-%defattr(-, root, root)
-%{prefix}/lib/gst/libgstbstest*
+%install
+[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
+# adding devhelp stuff here for now, need to integrate better
+# when devhelp allows it
+mkdir -p $RPM_BUILD_ROOT/usr/share/devhelp/specs
+cp $RPM_BUILD_DIR/%{name}-%{version}/docs/devhelp/*.devhelp $RPM_BUILD_ROOT/usr/share/devhelp/specs
-%package -n gstreamer-mikmod
-Summary: GStreamer Mikmod plugin
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
+%makeinstall
-%description -n gstreamer-mikmod
-Plugin for playback of module files supported by mikmod under GStreamer
+%clean
+[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
-%files -n gstreamer-mikmod
-%defattr(-, root, root)
-%{prefix}/lib/gst/libgstmikmod*
+%post
+/sbin/ldconfig
+# registry handling is now done automatically
+# %{_prefix}/bin/gst-register --gst-mask=0
-%package -n gstreamer-qcam
-Summary: GStreamer QuickCam plugin
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
+%post devel
+# adding devhelp links to work around different base not working
+mkdir -p %{_datadir}/devhelp/books
+ln -sf %{_datadir}/gtk-doc/html/gstreamer %{_datadir}/devhelp/books
+ln -sf %{_datadir}/gtk-doc/html/gstreamer-libs %{_datadir}/devhelp/books
-%description -n gstreamer-qcam
-Plugin for accessing a Quickcam source
+%postun
+/sbin/ldconfig
-%files -n gstreamer-qcam
+%files
%defattr(-, root, root)
-%{prefix}/lib/gst/libgstqcam*
-
-%package -n gstreamer-sid
-Summary: GStreamer Sid C64 music plugin
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-Requires: libsidplay => 1.36.0
-%description -n gstreamer-sid
-Plugin for playback of C64 SID format music files
+%doc AUTHORS COPYING README TODO COPYING.LIB ABOUT-NLS REQUIREMENTS DOCBUILDING RELEASE
+%{_bindir}/gst-complete
+%{_bindir}/gst-compprep
+%{_bindir}/gst-inspect
+%{_bindir}/gst-launch
+%{_bindir}/gst-register
+%{_bindir}/gst-feedback
+%{_libdir}/libgstreamer-%{version}.so.*
+%{_libdir}/gst/libgstautoplugcache*.so*
+%{_libdir}/gst/libgstautoplugger*.so*
+%{_libdir}/gst/libgstbasicomega*.so*
+%{_libdir}/gst/libgstfastomega*.so*
+%{_libdir}/gst/libgstoptomega*.so*
+%{_libdir}/gst/libgstbasicwingo*.so*
+%{_libdir}/gst/libgstfastwingo*.so*
+%{_libdir}/gst/libgstelements*.so*
+%{_libdir}/gst/libgsttypes*.so*
+%{_libdir}/gst/libgststaticautoplug*.so*
+%{_libdir}/gst/libgstbytestream*.so*
+%{_libdir}/gst/libgstgetbits*.so*
+%{_libdir}/gst/libgstputbits*.so*
+%{_libdir}/gst/libgstspider*.so*
+%{_mandir}/man1/gst-complete.*
+%{_mandir}/man1/gst-compprep.*
+%{_mandir}/man1/gst-inspect.*
+%{_mandir}/man1/gst-launch.*
+%{_mandir}/man1/gst-register.*
+
+%{_libdir}/libgstcontrol*.so*
-%files -n gstreamer-sid
+%files devel
%defattr(-, root, root)
-%{prefix}/lib/gst/libgstsid*
+%{_includedir}/%{name}-%{version}/gst
+%{_libdir}/libgstreamer.a
+%{_libdir}/libgstreamer.so
+%{_libdir}/pkgconfig/gstreamer*.pc
+## we specify the API docs as regular files since %docs doesn't fail when
+# files aren't found anymore for RPM >= 4
+# we list all of the files we really need to trap incomplete doc builds
+# then we catch the rest with *, you can safely ignore the errors from this
+## gstreamer API
+%{_datadir}/gtk-doc/html/gstreamer/autopluggers.html
+%{_datadir}/gtk-doc/html/gstreamer/book1.html
+%{_datadir}/gtk-doc/html/gstreamer/element-types.html
+%{_datadir}/gtk-doc/html/gstreamer/gstautoplugfactory.html
+%{_datadir}/gtk-doc/html/gstreamer/gstautoplug.html
+%{_datadir}/gtk-doc/html/gstreamer/gstbin.html
+%{_datadir}/gtk-doc/html/gstreamer/gstclock.html
+%{_datadir}/gtk-doc/html/gstreamer/gstelement.html
+%{_datadir}/gtk-doc/html/gstreamer/gst-index.html
+%{_datadir}/gtk-doc/html/gstreamer/gstobject.html
+%{_datadir}/gtk-doc/html/gstreamer/gstpad.html
+%{_datadir}/gtk-doc/html/gstreamer/gstpipeline.html
+%{_datadir}/gtk-doc/html/gstreamer/gstpluginfeature.html
+# %{_datadir}/gtk-doc/html/gstreamer/gstreamer-cothreads.html
+%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstbuffer.html
+%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstbufferpool.html
+%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstcaps.html
+%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstcpu.html
+%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstdata.html
+%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstevent.html
+%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gst.html
+%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstinfo.html
+%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstparse.html
+%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstplugin.html
+%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstprops.html
+%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gststaticautoplug.html
+%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gststaticautoplugrender.html
+%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gsttee.html
+%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gsttype.html
+%{_datadir}/gtk-doc/html/gstreamer/gstreamer-gstutils.html
+%{_datadir}/gtk-doc/html/gstreamer/gstreamer.html
+%{_datadir}/gtk-doc/html/gstreamer/gstschedulerfactory.html
+%{_datadir}/gtk-doc/html/gstreamer/gstscheduler.html
+%{_datadir}/gtk-doc/html/gstreamer/gstthread.html
+%{_datadir}/gtk-doc/html/gstreamer/gsttimecache.html
+%{_datadir}/gtk-doc/html/gstreamer/gsttypefactory.html
+%{_datadir}/gtk-doc/html/gstreamer/gstxml.html
+%{_datadir}/gtk-doc/html/gstreamer/index.sgml
+## gstreamer-libs API
+%{_datadir}/gtk-doc/html/gstreamer-libs/book1.html
+%{_datadir}/gtk-doc/html/gstreamer-libs/gstreamer-libs-gstcolorspace.html
+%{_datadir}/gtk-doc/html/gstreamer-libs/gstreamer-libs-gstgetbits.html
+%{_datadir}/gtk-doc/html/gstreamer-libs/gstreamer-libs.html
+%{_datadir}/gtk-doc/html/gstreamer-libs/index.sgml
+## this catches all of the rest of the docs we might have forgotten
+%{_datadir}/gtk-doc/html/*
+%{_datadir}/devhelp/specs/gstreamer.devhelp
+%{_datadir}/devhelp/specs/gstreamer-libs.devhelp
-%package -n gstreamer-silence
-Summary: GStreamer Silence plugin
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-%description -n gstreamer-silence
-Plugin for generation of silence
+%changelog
+* Tue Sep 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
+- adding flex to buildrequires
-%files -n gstreamer-silence
-%defattr(-, root, root)
-%{prefix}/lib/gst/libgstsilence*
+* Fri Sep 13 2002 Christian F.K. Schaller <Uraeus@linuxrising.org>
+- Fixed the schedulers after the renaming
+* Sun Sep 08 2002 Thomas Vander Stichele <thomas@apestaart.org>
+- added transfig to the BuildRequires:
-%package -n gstreamer-sine
-Summary: GStreamer Sine effect plugin
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
+* Sat Jun 22 2002 Thomas Vander Stichele <thomas@apestaart.org>
+- moved header location
-%description -n gstreamer-sine
-Plugin for generating sine waves.
+* Mon Jun 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
+- added popt
+- removed .la
-%files -n gstreamer-sine
-%defattr(-, root, root)
-%{prefix}/lib/gst/libgstsine*
+* Fri Jun 07 2002 Thomas Vander Stichele <thomas@apestaart.org>
+- added release of gstreamer to req of gstreamer-devel
+- changed location of API docs to be in gtk-doc like other gtk-doc stuff
+- reordered SPEC file
-%package -n gstreamer-lavencode
-Summary: GStreamer YUV to LAV converter
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
+* Mon Apr 29 2002 Thomas Vander Stichele <thomas@apestaart.org>
+- moved html docs to gtk-doc standard directory
-%description -n gstreamer-lavencode
-It takes YUV video frames and adds a header in front of it so it can be processed with the lavtools from mjpeg
+* Tue Mar 5 2002 Thomas Vander Stichele <thomas@apestaart.org>
+- move version defines of glib2 and libxml2 to configure.ac
+- add BuildRequires for these two libs
-%files -n gstreamer-lavencode
-%defattr(-, root, root)
-%{prefix}/lib/gst/liblav*
+* Sun Mar 3 2002 Thomas Vander Stichele <thomas@apestaart.org>
+- put html docs in canonical place, avoiding %doc erasure
+- added devhelp support, current install of it is hackish
-%package -n gstreamer-resample
-Summary: GStreamer resample plugin
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
+* Sat Mar 2 2002 Christian Schaller <Uraeus@linuxrising.org>
+- Added documentation to build
-%description -n gstreamer-resample
-Library for resampling of sound
+* Mon Feb 11 2002 Thomas Vander Stichele <thomas@apestaart.org>
+- added libgstbasicscheduler
+- renamed libgst to libgstreamer
-%files -n gstreamer-resample
-%defattr(-, root, root)
-%{prefix}/lib/gst/libresample*
+* Fri Jan 04 2002 Christian Schaller <Uraeus@linuxrising.org>
+- Added configdir parameter as it seems the configdir gets weird otherwise
-%package -n gstreamer-rtp
-Summary: GStreamer RTP plugin
-Group: Libraries/Multimedia
-Requires: %{name} = %{ver}
-Requires: librtp >= 0.1
+* Thu Jan 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
+- split off gstreamer-editor from core
+- removed gstreamer-gnome-apps
-%description -n gstreamer-rtp
-Library for transfering data with the RTP protocol
+* Sat Dec 29 2001 Rodney Dawes <dobey@free.fr>
+- Cleaned up the spec file for the gstreamer core/plug-ins split
+- Improve spec file
-%files -n gstreamer-rtp
-%defattr(-, root, root)
-%{prefix}/lib/gst/libgstrtp*
+* Sat Dec 15 2001 Christian Schaller <Uraeus@linuxrising.org>
+- Split of more plugins from the core and put them into their own modules
+- Includes colorspace, xfree and wav
+- Improved package Require lines
+- Added mp3encode (lame based) to the SPEC
-%changelog
* Wed Dec 12 2001 Christian Schaller <Uraeus@linuxrising.org>
- Thomas merged mpeg plugins into one
* Sat Dec 08 2001 Christian Schaller <Uraeus@linuxrising.org>
- Moved files sections up close to their respective descriptions
* Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
-- Split the package into separate RPMS, plutting most plugins out by themselves.
+- Split the package into separate RPMS,
+ putting most plugins out by themselves.
* Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
- Updated with change suggestions from Dennis Bjorklund
* Sun Jan 30 2000 Erik Walthinsen <omega@cse.ogi.edu>
- first draft of spec file
-%prep
-%setup
-
-%build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --sysconfdir=%{sysconfdir} --mandir=$RPM_BUILD_ROOT%{prefix}/share/man --enable-glib2
-
-if [ "$SMP" != "" ]; then
- (make "MAKE=make -k -j $SMP"; exit 0)
- make 2>&1 | tee make.log
-else
- make 2>&1 | tee make.log
-fi
-
-%install
-[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
-
-make prefix=$RPM_BUILD_ROOT%{prefix} install
-
-%clean
-[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
-
-%post
-/sbin/ldconfig
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-esd
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-mpeg
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-mp3
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-mpeg2dec
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-visualisation
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-gsm
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-cdparanoia
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-aalib
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-gnomevfs
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-flx
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-avi
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-vorbis
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-sdl
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-oss
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-ac3dec
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-afs
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-ladspa
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-mad
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-au
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-v4l
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-vcd
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-alsa
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-flac
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-festival
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-udp
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-chart
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-deinterlace
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-quicktime
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-libdvd
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-a52dec
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-bstest
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-mikmod
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-qcam
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-sid
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-silence
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-sine
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-lavencode
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-resample
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%post -n gstreamer-rtp
-%{prefix}/bin/gstreamer-register --gst-mask=0
-
-%postun
-/sbin/ldconfig