summaryrefslogtreecommitdiffstats
path: root/gst-plugins.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'gst-plugins.spec.in')
-rw-r--r--gst-plugins.spec.in803
1 files changed, 803 insertions, 0 deletions
diff --git a/gst-plugins.spec.in b/gst-plugins.spec.in
new file mode 100644
index 00000000..762f0b00
--- /dev/null
+++ b/gst-plugins.spec.in
@@ -0,0 +1,803 @@
+%define name gstreamer-plugins
+%define ver @VERSION@
+%define rel @GST_VERSION_RELEASE@
+%define prefix /usr
+%define sysconfdir /etc
+
+Summary: GStreamer Streaming-media framework plugins
+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
+BuildRequires: nasm => 0.90
+
+%description
+GStreamer is a streaming-media framework, based on graphs of filters which
+operate on media data. Applications using this library can do anything
+from real-time sound processing to playing videos, and just about anything
+else media-related. Its plugin-based architecture means that new data
+types or processing capabilities can be added simply by installing new
+plugins.
+
+%files
+%defattr(-, root, root)
+%doc AUTHORS COPYING README
+
+%prep
+%setup -n %{name}-%{ver}
+%build
+CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --sysconfdir=%{sysconfdir} --mandir=$RPM_BUILD_ROOT%{prefix}/share/man
+
+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
+
+### ESD ###
+@USE_ESD_TRUE@%package -n gstreamer-esd
+@USE_ESD_TRUE@Summary: Gstreamer plugin for ESD sound output
+@USE_ESD_TRUE@Group: Libraries/Multimedia
+@USE_ESD_TRUE@Requires: esound >= 0.2.8
+@USE_ESD_TRUE@Requires: gstreamer = %{ver}
+@USE_ESD_TRUE@
+@USE_ESD_TRUE@%description -n gstreamer-esd
+@USE_ESD_TRUE@Output plugin for GStreamer for use with the esound package
+@USE_ESD_TRUE@
+@USE_ESD_TRUE@%files -n gstreamer-esd
+@USE_ESD_TRUE@%defattr(-, root, root)
+@USE_ESD_TRUE@%{prefix}/lib/gst/libesd*
+@USE_ESD_TRUE@
+@USE_ESD_TRUE@%post -n gstreamer-esd
+@USE_ESD_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+@USE_ESD_TRUE@
+@USE_ESD_TRUE@%postun -n gstreamer-esd
+@USE_ESD_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+@USE_ESD_TRUE@/sbin/ldconfig
+
+### MAD ###
+@USE_MAD_TRUE@%package -n gstreamer-mad
+@USE_MAD_TRUE@Summary: Plugin using MAD for mp3 decoding
+@USE_MAD_TRUE@Group: Libraries/Multimedia
+@USE_MAD_TRUE@Requires: gstreamer = %{ver}
+@USE_MAD_TRUE@Requires: gstreamer-plugin-libs = %{ver}
+@USE_MAD_TRUE@Requires: mad >= 0.13.0
+@USE_MAD_TRUE@
+@USE_MAD_TRUE@%description -n gstreamer-mad
+@USE_MAD_TRUE@Plugin for playback of mp3 songs using the very good MAD library
+@USE_MAD_TRUE@
+@USE_MAD_TRUE@%files -n gstreamer-mad
+@USE_MAD_TRUE@%defattr(-, root, root)
+@USE_MAD_TRUE@%{prefix}/lib/gst/libgstmad*
+@USE_MAD_TRUE@
+@USE_MAD_TRUE@%post -n gstreamer-mad
+@USE_MAD_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+@USE_MAD_TRUE@
+@USE_MAD_TRUE@%postun -n gstreamer-mad
+@USE_MAD_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+@USE_MAD_TRUE@/sbin/ldconfig
+
+### OSS ###
+@USE_OSS_TRUE@%package -n gstreamer-oss
+@USE_OSS_TRUE@Summary: Gstreamer plugins for input and output using OSS
+@USE_OSS_TRUE@Group: Libraries/Multimedia
+@USE_OSS_TRUE@Requires: gstreamer = %{ver}
+@USE_OSS_TRUE@
+@USE_OSS_TRUE@%description -n gstreamer-oss
+@USE_OSS_TRUE@Plugins for output and input to the OpenSoundSytem audio
+@USE_OSS_TRUE@drivers found in the Linux kernels or commercially available
+@USE_OSS_TRUE@from OpenSound.
+@USE_OSS_TRUE@
+@USE_OSS_TRUE@%files -n gstreamer-oss
+@USE_OSS_TRUE@%defattr(-, root, root)
+@USE_OSS_TRUE@%{prefix}/lib/gst/libgstoss*
+@USE_OSS_TRUE@
+@USE_OSS_TRUE@%post -n gstreamer-oss
+@USE_OSS_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+@USE_OSS_TRUE@
+@USE_OSS_TRUE@%postun -n gstreamer-oss
+@USE_OSS_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+@USE_OSS_TRUE@/sbin/ldconfig
+
+### Vorbis ###
+@USE_VORBIS_TRUE@%package -n gstreamer-vorbis
+@USE_VORBIS_TRUE@Summary: Gstreamer plugin for encoding and decoding Ogg Vorbis audio files
+@USE_VORBIS_TRUE@Group: Libraries/Multimedia
+@USE_VORBIS_TRUE@Requires: libogg >= 1.0beta4
+@USE_VORBIS_TRUE@Requires: libvorbis >= 1.0beta4
+@USE_VORBIS_TRUE@Requires: gstreamer = %{ver}
+@USE_VORBIS_TRUE@
+@USE_VORBIS_TRUE@%description -n gstreamer-vorbis
+@USE_VORBIS_TRUE@Plugins for creating and playing Ogg Vorbis audio files.
+@USE_VORBIS_TRUE@
+@USE_VORBIS_TRUE@%files -n gstreamer-vorbis
+@USE_VORBIS_TRUE@%defattr(-, root, root)
+@USE_VORBIS_TRUE@%{prefix}/lib/gst/libgstvorbis*
+@USE_VORBIS_TRUE@
+@USE_VORBIS_TRUE@%post -n gstreamer-vorbis
+@USE_VORBIS_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+@USE_VORBIS_TRUE@
+@USE_VORBIS_TRUE@%postun -n gstreamer-vorbis
+@USE_VORBIS_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+@USE_VORBIS_TRUE@/sbin/ldconfig
+
+@USE_AALIB_TRUE@%package -n gstreamer-aalib
+@USE_AALIB_TRUE@Summary: Gstreamer plugin for Ascii-art output
+@USE_AALIB_TRUE@Group: Libraries/Multimedia
+@USE_AALIB_TRUE@Requires: aalib >= 1.3
+@USE_AALIB_TRUE@BuildRequires: aalib-devel >= 1.3
+@USE_AALIB_TRUE@Requires: gstreamer = %{ver}
+@USE_AALIB_TRUE@
+@USE_AALIB_TRUE@%description -n gstreamer-aalib
+@USE_AALIB_TRUE@Plugin for viewing movies in Ascii-art using aalib library.
+@USE_AALIB_TRUE@
+@USE_AALIB_TRUE@%files -n gstreamer-aalib
+@USE_AALIB_TRUE@%defattr(-, root, root)
+@USE_AALIB_TRUE@%{prefix}/lib/gst/libgstaa*
+@USE_AALIB_TRUE@
+@USE_AALIB_TRUE@%post -n gstreamer-aalib
+@USE_AALIB_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_AUDIOFILE_TRUE@%package -n gstreamer-afs
+@USE_AUDIOFILE_TRUE@Summary: Gstreamer plugin audiofile support
+@USE_AUDIOFILE_TRUE@Group: Libraries/Multimedia
+@USE_AUDIOFILE_TRUE@Requires: gstreamer = %{ver}
+@USE_AUDIOFILE_TRUE@Requires: audiofile >= 0.2.1
+@USE_AUDIOFILE_TRUE@
+@USE_AUDIOFILE_TRUE@%description -n gstreamer-afs
+@USE_AUDIOFILE_TRUE@Plugin for supporting reading and writing all files audiofile support
+@USE_AUDIOFILE_TRUE@
+@USE_AUDIOFILE_TRUE@%files -n gstreamer-afs
+@USE_AUDIOFILE_TRUE@%defattr(-, root, root)
+@USE_AUDIOFILE_TRUE@%{prefix}/lib/gst/libafs*
+@USE_AUDIOFILE_TRUE@
+@USE_AUDIOFILE_TRUE@%post -n gstreamer-afs
+@USE_AUDIOFILE_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_AVIFILE_TRUE@%package -n gstreamer-avi
+@USE_AVIFILE_TRUE@Summary: Gstreamer plugin for AVI format movie playback
+@USE_AVIFILE_TRUE@Group: Libraries/Multimedia
+@USE_AVIFILE_TRUE@Requires: gstreamer = %{ver}
+@USE_AVIFILE_TRUE@Requires: avifile = 0.6.20011111DD
+@USE_AVIFILE_TRUE@
+@USE_AVIFILE_TRUE@%description -n gstreamer-avi
+@USE_AVIFILE_TRUE@Plugins for playback of AVI format media files.
+@USE_AVIFILE_TRUE@
+@USE_AVIFILE_TRUE@%files -n gstreamer-avi
+@USE_AVIFILE_TRUE@%defattr(-, root, root)
+@USE_AVIFILE_TRUE@%{prefix}/lib/gst/libgstavi*
+@USE_AVIFILE_TRUE@%{prefix}/lib/gst/libwin*
+@USE_AVIFILE_TRUE@
+@USE_AVIFILE_TRUE@%post -n gstreamer-avi
+@USE_AVIFILE_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_CDPARANOIA_TRUE@%package -n gstreamer-cdparanoia
+@USE_CDPARANOIA_TRUE@Summary: Gstreamer plugin for CD audio input using CDParanoia IV
+@USE_CDPARANOIA_TRUE@Group: Libraries/Multimedia
+@USE_CDPARANOIA_TRUE@Requires: cdparanoia >= alpha9.7
+@USE_CDPARANOIA_TRUE@Requires: gstreamer = %{ver}
+@USE_CDPARANOIA_TRUE@BuildRequires: cdparanoia-devel >= alpha9.7
+@USE_CDPARANOIA_TRUE@
+@USE_CDPARANOIA_TRUE@%description -n gstreamer-cdparanoia
+@USE_CDPARANOIA_TRUE@Plugin for ripping audio tracks using cdparanoia under GStreamer
+@USE_CDPARANOIA_TRUE@
+@USE_CDPARANOIA_TRUE@%files -n gstreamer-cdparanoia
+@USE_CDPARANOIA_TRUE@%defattr(-, root, root)
+@USE_CDPARANOIA_TRUE@%{prefix}/lib/gst/libgstcdparanoia*
+@USE_CDPARANOIA_TRUE@
+@USE_CDPARANOIA_TRUE@%post -n gstreamer-cdparanoia
+@USE_CDPARANOIA_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_FLAC_TRUE@%package -n gstreamer-flac
+@USE_FLAC_TRUE@Summary: Gstreamer plugin for FLAC lossless audio format
+@USE_FLAC_TRUE@Group: Libraries/Multimedia
+@USE_FLAC_TRUE@Requires: gstreamer = %{ver}
+@USE_FLAC_TRUE@
+@USE_FLAC_TRUE@%description -n gstreamer-flac
+@USE_FLAC_TRUE@Plugin for the free FLAC lossless audio format.
+@USE_FLAC_TRUE@
+@USE_FLAC_TRUE@%files -n gstreamer-flac
+@USE_FLAC_TRUE@%defattr(-, root, root)
+@USE_FLAC_TRUE@%{prefix}/lib/gst/libgstflac*
+@USE_FLAC_TRUE@
+@USE_FLAC_TRUE@%post -n gstreamer-flac
+@USE_FLAC_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_GNOME_VFS_TRUE@%package -n gstreamer-gnomevfs
+@USE_GNOME_VFS_TRUE@Summary: GStreamer plugins for GNOME VFS input and output
+@USE_GNOME_VFS_TRUE@Group: Libraries/Multimedia
+@USE_GNOME_VFS_TRUE@Requires: gnome-vfs > 1.0
+@USE_GNOME_VFS_TRUE@Requires: gstreamer = %{ver}
+@USE_GNOME_VFS_TRUE@BuildRequires: gnome-vfs-devel > 1.0
+@USE_GNOME_VFS_TRUE@
+@USE_GNOME_VFS_TRUE@%description -n gstreamer-gnomevfs
+@USE_GNOME_VFS_TRUE@Plugins for reading and writing through GNOME VFS.
+@USE_GNOME_VFS_TRUE@
+@USE_GNOME_VFS_TRUE@%files -n gstreamer-gnomevfs
+@USE_GNOME_VFS_TRUE@%defattr(-, root, root)
+@USE_GNOME_VFS_TRUE@%{prefix}/lib/gst/libgstgnomevfs*
+@USE_GNOME_VFS_TRUE@
+@USE_GNOME_VFS_TRUE@%post -n gstreamer-gnomevfs
+@USE_GNOME_VFS_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_GSM_TRUE@%package -n gstreamer-gsm
+@USE_GSM_TRUE@Summary: Gstreamer plugin for GSM lossy audio format
+@USE_GSM_TRUE@Group: Libraries/Multimedia
+@USE_GSM_TRUE@Requires: gsm >= 1.0.10
+@USE_GSM_TRUE@Requires: gstreamer = %{ver}
+@USE_GSM_TRUE@
+@USE_GSM_TRUE@%description -n gstreamer-gsm
+@USE_GSM_TRUE@Output plugin for GStreamer to convert to GSM lossy audio format.
+@USE_GSM_TRUE@
+@USE_GSM_TRUE@%files -n gstreamer-gsm
+@USE_GSM_TRUE@%defattr(-, root, root)
+@USE_GSM_TRUE@%{prefix}/lib/gst/libgstgsm*
+@USE_GSM_TRUE@
+@USE_GSM_TRUE@%post -n gstreamer-gsm
+@USE_GSM_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_MPEG2DEC_TRUE@%package -n gstreamer-mpeg
+@USE_MPEG2DEC_TRUE@Summary: GStreamer plugins for MPEG video playback and encoding
+@USE_MPEG2DEC_TRUE@Group: Libraries/Multimedia
+@USE_MPEG2DEC_TRUE@Requires: gstreamer = %{ver}
+@USE_MPEG2DEC_TRUE@Requires: mpeg2dec => 0.2.0
+@USE_MPEG2DEC_TRUE@Obsoletes: gstreamer-mpeg1
+@USE_MPEG2DEC_TRUE@Obsoletes: gstreamer-mpeg2
+@USE_MPEG2DEC_TRUE@
+@USE_MPEG2DEC_TRUE@%description -n gstreamer-mpeg
+@USE_MPEG2DEC_TRUE@Plugins for playing and encoding MPEG video
+@USE_MPEG2DEC_TRUE@
+@USE_MPEG2DEC_TRUE@%files -n gstreamer-mpeg
+@USE_MPEG2DEC_TRUE@%defattr(-, root, root)
+@USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg1types*
+@USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg1encoder*
+@USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpegaudio*
+@USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmp1*
+@USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpegstream*
+# @USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg2play*
+@USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg2enc*
+@USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg2subt*
+# @USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmp2videoparse*
+@USE_MPEG2DEC_TRUE@
+@USE_MPEG2DEC_TRUE@%post -n gstreamer-mpeg
+@USE_MPEG2DEC_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_MPEG2DEC_TRUE@%package -n gstreamer-mpeg2dec
+@USE_MPEG2DEC_TRUE@Summary: GStreamer plugins for Mpeg level 2 playback
+@USE_MPEG2DEC_TRUE@Group: Libraries/Multimedia
+@USE_MPEG2DEC_TRUE@Requires: gstreamer = %{ver}
+@USE_MPEG2DEC_TRUE@Requires: mpeg2dec >= 0.2.0
+@USE_MPEG2DEC_TRUE@
+@USE_MPEG2DEC_TRUE@%description -n gstreamer-mpeg2dec
+@USE_MPEG2DEC_TRUE@Plugins for playing mpeg level 2 encoded movies
+@USE_MPEG2DEC_TRUE@
+@USE_MPEG2DEC_TRUE@%files -n gstreamer-mpeg2dec
+@USE_MPEG2DEC_TRUE@%defattr(-, root, root)
+@USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg2dec*
+@USE_MPEG2DEC_TRUE@
+@USE_MPEG2DEC_TRUE@%post -n gstreamer-mpeg2dec
+@USE_MPEG2DEC_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_SDL_TRUE@%package -n gstreamer-sdl
+@USE_SDL_TRUE@Summary: Gstreamer plugin for outputing to SDL
+@USE_SDL_TRUE@Group: Libraries/Multimedia
+@USE_SDL_TRUE@Requires: SDL >= 1.2.0
+@USE_SDL_TRUE@Requires: gstreamer = %{ver}
+@USE_SDL_TRUE@BuildRequires: SDL-devel >= 1.2.0
+@USE_SDL_TRUE@
+@USE_SDL_TRUE@%description -n gstreamer-sdl
+@USE_SDL_TRUE@Plugin for sending output to the Simple Direct Media architecture.
+@USE_SDL_TRUE@(http://www.libsdl.org). Usefull for fullscreen playback.
+@USE_SDL_TRUE@
+@USE_SDL_TRUE@%files -n gstreamer-sdl
+@USE_SDL_TRUE@%defattr(-, root, root)
+@USE_SDL_TRUE@%{prefix}/lib/gst/libsdl*
+@USE_SDL_TRUE@
+@USE_SDL_TRUE@%post -n gstreamer-sdl
+@USE_SDL_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_OPENQUICKTIME_TRUE@%package -n gstreamer-quicktime
+@USE_OPENQUICKTIME_TRUE@Summary: GStreamer Quicktime video Plugin
+@USE_OPENQUICKTIME_TRUE@Group: Libraries/Multimedia
+@USE_OPENQUICKTIME_TRUE@Requires: gstreamer = %{ver}
+@USE_OPENQUICKTIME_TRUE@Requires: OpenQuicktime = 20010429
+@USE_OPENQUICKTIME_TRUE@
+@USE_OPENQUICKTIME_TRUE@%description -n gstreamer-quicktime
+@USE_OPENQUICKTIME_TRUE@Plugin which uses the OpenQucktime library
+@USE_OPENQUICKTIME_TRUE@from 3ivx to play Quicktime movies.
+@USE_OPENQUICKTIME_TRUE@(http://openquicktime.sourceforge.net)
+@USE_OPENQUICKTIME_TRUE@
+@USE_OPENQUICKTIME_TRUE@%files -n gstreamer-quicktime
+@USE_OPENQUICKTIME_TRUE@%defattr(-, root, root)
+@USE_OPENQUICKTIME_TRUE@%{prefix}/lib/gst/libopenquicktime*
+@USE_OPENQUICKTIME_TRUE@
+@USE_OPENQUICKTIME_TRUE@%post -n gstreamer-quicktime
+@USE_OPENQUICKTIME_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+# Video 4 Linux
+@USE_V4L_TRUE@%package -n gstreamer-v4l
+@USE_V4L_TRUE@Summary: GStreamer video for linux input plugin
+@USE_V4L_TRUE@Group: Libraries/Multimedia
+@USE_V4L_TRUE@Requires: gstreamer = %{ver}
+@USE_V4L_TRUE@
+@USE_V4L_TRUE@%description -n gstreamer-v4l
+@USE_V4L_TRUE@Plugin for accessing video for Linux streams.
+@USE_V4L_TRUE@
+@USE_V4L_TRUE@%files -n gstreamer-v4l
+@USE_V4L_TRUE@%defattr(-, root, root)
+@USE_V4L_TRUE@%{prefix}/lib/gst/libv4l*
+@USE_V4L_TRUE@
+@USE_V4L_TRUE@%post -n gstreamer-v4l
+@USE_V4L_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+# ALSA Audio plugin
+@USE_ALSA_TRUE@%package -n gstreamer-alsa
+@USE_ALSA_TRUE@Summary: GStreamer plugins for the ALSA sound architecture
+@USE_ALSA_TRUE@Group: Libraries/Multimedia
+@USE_ALSA_TRUE@Requires: gstreamer = %{ver}
+@USE_ALSA_TRUE@
+@USE_ALSA_TRUE@%description -n gstreamer-alsa
+@USE_ALSA_TRUE@Input and output plugin for the ALSA soundcard driver architecture.
+@USE_ALSA_TRUE@
+@USE_ALSA_TRUE@%files -n gstreamer-alsa
+@USE_ALSA_TRUE@%defattr(-, root, root)
+@USE_ALSA_TRUE@%{prefix}/lib/gst/libgstalsa*
+@USE_ALSA_TRUE@
+@USE_ALSA_TRUE@%post -n gstreamer-alsa
+@USE_ALSA_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_DVDREAD_TRUE@%package -n gstreamer-libdvd
+@USE_DVDREAD_TRUE@Summary: GStreamer plugins for DVD playback
+@USE_DVDREAD_TRUE@Group: Libraries/Multimedia
+@USE_DVDREAD_TRUE@Requires: gstreamer = %{ver}
+@USE_DVDREAD_TRUE@
+@USE_DVDREAD_TRUE@%description -n gstreamer-libdvd
+@USE_DVDREAD_TRUE@Input and output plugin for the ALSA soundcard driver architecture.
+@USE_DVDREAD_TRUE@
+@USE_DVDREAD_TRUE@%files -n gstreamer-libdvd
+@USE_DVDREAD_TRUE@%defattr(-, root, root)
+@USE_DVDREAD_TRUE@%{prefix}/lib/gst/libdvd*
+@USE_DVDREAD_TRUE@
+@USE_DVDREAD_TRUE@%post -n gstreamer-libdvd
+@USE_DVDREAD_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_A52DEC_TRUE@%package -n gstreamer-a52dec
+@USE_A52DEC_TRUE@Summary: GStreamer VOB decoder plugin
+@USE_A52DEC_TRUE@Group: Libraries/Multimedia
+@USE_A52DEC_TRUE@Requires: gstreamer = %{ver}
+@USE_A52DEC_TRUE@Requires: a52dec >= 0.7.0
+@USE_A52DEC_TRUE@
+@USE_A52DEC_TRUE@%description -n gstreamer-a52dec
+@USE_A52DEC_TRUE@Plugin for decoding of VOB files
+@USE_A52DEC_TRUE@
+@USE_A52DEC_TRUE@%files -n gstreamer-a52dec
+@USE_A52DEC_TRUE@%defattr(-, root, root)
+@USE_A52DEC_TRUE@%{prefix}/lib/gst/libgsta52dec*
+@USE_A52DEC_TRUE@
+@USE_A52DEC_TRUE@%post -n gstreamer-a52dec
+@USE_A52DEC_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_MIKMOD_TRUE@%package -n gstreamer-mikmod
+@USE_MIKMOD_TRUE@Summary: GStreamer Mikmod plugin
+@USE_MIKMOD_TRUE@Group: Libraries/Multimedia
+@USE_MIKMOD_TRUE@Requires: gstreamer = %{ver}
+@USE_MIKMOD_TRUE@
+@USE_MIKMOD_TRUE@%description -n gstreamer-mikmod
+@USE_MIKMOD_TRUE@Plugin for playback of module files supported by mikmod under GStreamer
+@USE_MIKMOD_TRUE@
+@USE_MIKMOD_TRUE@%files -n gstreamer-mikmod
+@USE_MIKMOD_TRUE@%defattr(-, root, root)
+@USE_MIKMOD_TRUE@%{prefix}/lib/gst/libgstmikmod*
+@USE_MIKMOD_TRUE@
+@USE_MIKMOD_TRUE@%post -n gstreamer-mikmod
+@USE_MIKMOD_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_SIDPLAY_TRUE@%package -n gstreamer-sid
+@USE_SIDPLAY_TRUE@Summary: GStreamer Sid C64 music plugin
+@USE_SIDPLAY_TRUE@Group: Libraries/Multimedia
+@USE_SIDPLAY_TRUE@Requires: gstreamer = %{ver}
+@USE_SIDPLAY_TRUE@Requires: libsidplay => 1.36.0
+@USE_SIDPLAY_TRUE@%description -n gstreamer-sid
+@USE_SIDPLAY_TRUE@Plugin for playback of C64 SID format music files
+@USE_SIDPLAY_TRUE@
+@USE_SIDPLAY_TRUE@%files -n gstreamer-sid
+@USE_SIDPLAY_TRUE@%defattr(-, root, root)
+@USE_SIDPLAY_TRUE@%{prefix}/lib/gst/libgstsid*
+@USE_SIDPLAY_TRUE@
+@USE_SIDPLAY_TRUE@%post -n gstreamer-sid
+@USE_SIDPLAY_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_RTP_TRUE@%package -n gstreamer-rtp
+@USE_RTP_TRUE@Summary: GStreamer RTP plugin
+@USE_RTP_TRUE@Group: Libraries/Multimedia
+@USE_RTP_TRUE@Requires: gstreamer = %{ver}
+@USE_RTP_TRUE@Requires: librtp >= 0.1
+@USE_RTP_TRUE@
+@USE_RTP_TRUE@%description -n gstreamer-rtp
+@USE_RTP_TRUE@Library for transfering data with the RTP protocol
+@USE_RTP_TRUE@
+@USE_RTP_TRUE@%files -n gstreamer-rtp
+@USE_RTP_TRUE@%defattr(-, root, root)
+@USE_RTP_TRUE@%{prefix}/lib/gst/libgstrtp*
+@USE_RTP_TRUE@
+@USE_RTP_TRUE@%post -n gstreamer-rtp
+@USE_RTP_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_ARTS_TRUE@%package -n gstreamer-artsd
+@USE_ARTS_TRUE@Summary: GStreamer artsd output plugin
+@USE_ARTS_TRUE@Group: Libraries/Multimedia
+@USE_ARTS_TRUE@Requires: gstreamer = %{ver}
+@USE_ARTS_TRUE@
+@USE_ARTS_TRUE@%description -n gstreamer-artsd
+@USE_ARTS_TRUE@Plugin for outputing to artsd sound server
+@USE_ARTS_TRUE@
+@USE_ARTS_TRUE@%files -n gstreamer-artsd
+@USE_ARTS_TRUE@%defattr(-, root, root)
+@USE_ARTS_TRUE@%{prefix}/lib/gst/libartsd*
+@USE_ARTS_TRUE@
+@USE_ARTS_TRUE@%post -n gstreamer-artsd
+@USE_ARTS_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_RAW1394_TRUE@%package -n gstreamer-dv
+@USE_RAW1394_TRUE@Summary: GStreamer dv plugin
+@USE_RAW1394_TRUE@Group: Libraries/Multimedia
+@USE_RAW1394_TRUE@Requires: gstreamer = %{ver}
+@USE_RAW1394_TRUE@
+@USE_RAW1394_TRUE@%description -n gstreamer-dv
+@USE_RAW1394_TRUE@Plugin for digital video support
+@USE_RAW1394_TRUE@
+@USE_RAW1394_TRUE@%files -n gstreamer-dv
+@USE_RAW1394_TRUE@%defattr(-, root, root)
+@USE_RAW1394_TRUE@%{prefix}/lib/gst/gstdv*
+@USE_RAW1394_TRUE@
+@USE_RAW1394_TRUE@%post -n gstreamer-dv
+@USE_RAW1394_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+%package -n gstreamer-resample
+Summary: GStreamer resample plugin
+Group: Libraries/Multimedia
+Requires: gstreamer = %{ver}
+
+%description -n gstreamer-resample
+Library for resampling of sound
+
+%files -n gstreamer-resample
+%defattr(-, root, root)
+%{prefix}/lib/gst/libgstresample*
+
+%post -n gstreamer-resample
+%{prefix}/bin/gst-register --gst-mask=0
+
+%package -n gstreamer-sine
+Summary: GStreamer Sine effect plugin
+Group: Libraries/Multimedia
+Requires: gstreamer = %{ver}
+
+%description -n gstreamer-sine
+Plugin for generating sine waves.
+
+%files -n gstreamer-sine
+%defattr(-, root, root)
+%{prefix}/lib/gst/libgstsine*
+
+%post -n gstreamer-sine
+%{prefix}/bin/gst-register --gst-mask=0
+
+%package -n gstreamer-lavencode
+Summary: GStreamer YUV to LAV converter
+Group: Libraries/Multimedia
+Requires: gstreamer = %{ver}
+
+%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
+
+%files -n gstreamer-lavencode
+%defattr(-, root, root)
+%{prefix}/lib/gst/libgsty4m*
+
+%post -n gstreamer-lavencode
+%{prefix}/bin/gst-register --gst-mask=0
+
+%package -n gstreamer-silence
+Summary: GStreamer Silence plugin
+Group: Libraries/Multimedia
+Requires: gstreamer = %{ver}
+
+%description -n gstreamer-silence
+Plugin for generation of silence
+
+%files -n gstreamer-silence
+%defattr(-, root, root)
+%{prefix}/lib/gst/libgstsilence*
+
+%post -n gstreamer-silence
+%{prefix}/bin/gst-register --gst-mask=0
+
+%package -n gstreamer-qcam
+Summary: GStreamer QuickCam plugin
+Group: Libraries/Multimedia
+Requires: gstreamer = %{ver}
+
+%description -n gstreamer-qcam
+Plugin for accessing a Quickcam source
+
+%files -n gstreamer-qcam
+%defattr(-, root, root)
+%{prefix}/lib/gst/libgstqcam*
+
+%post -n gstreamer-qcam
+%{prefix}/bin/gst-register --gst-mask=0
+
+%package -n gstreamer-au
+Summary: GStreamer au audiofile plugin
+Group: Libraries/Multimedia
+Requires: gstreamer = %{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*
+
+%post -n gstreamer-au
+%{prefix}/bin/gst-register --gst-mask=0
+
+
+
+%package -n gstreamer-vcd
+Summary: GStreamer Video CD plugin
+Group: Libraries/Multimedia
+Requires: gstreamer = %{ver}
+
+%description -n gstreamer-vcd
+Video CD playback plugin
+
+%files -n gstreamer-vcd
+%defattr(-, root, root)
+%{prefix}/lib/gst/libvcd*
+
+%package -n gstreamer-ladspa
+Summary: Gstreamer wrapper for LADSPA plugins
+Group: Libraries/Multimedia
+Requires: gstreamer = %{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.
+
+%post -n gstreamer-ladspa
+%{prefix}/bin/gst-register --gst-mask=0
+
+%package -n gstreamer-udp
+Summary: Gstreamer pluginis for UDP tranport
+Group: Libraries/Multimedia
+Requires: gstreamer = %{ver}
+
+%description -n gstreamer-udp
+Plugins for UDP transport
+
+%files -n gstreamer-udp
+%defattr(-, root, root)
+%{prefix}/lib/gst/libgstudp*
+
+%post -n gstreamer-udp
+%{prefix}/bin/gst-register --gst-mask=0
+
+%package -n gstreamer-mp3
+Summary: GStreamer plugins for mp3 playback
+Group: Libraries/Multimedia
+Requires: gstreamer = %{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/libgstmpg123*
+# %{prefix}/lib/gst/libgstmp3parse*
+%{prefix}/lib/gst/libgstmp3types*
+
+%post -n gstreamer-mp3
+%{prefix}/bin/gst-register --gst-mask=0
+
+%package -n gstreamer-flx
+Summary: Gstreamer plugin for FLI/FLX animation format
+Group: Libraries/Multimedia
+Requires: gstreamer = %{ver}
+
+%description -n gstreamer-flx
+Plugin for playing FLI/FLX animations under GStreamer
+
+%files -n gstreamer-flx
+%defattr(-, root, root)
+%{prefix}/lib/gst/libgstflx*
+
+%post -n gstreamer-flx
+%{prefix}/bin/gst-register --gst-mask=0
+
+%package -n gstreamer-deinterlace
+Summary: GStreamer Video deinterlacer
+Group: Libraries/Multimedia
+Requires: gstreamer = %{ver}
+
+%description -n gstreamer-deinterlace
+Video deinterlace plugin
+
+%files -n gstreamer-deinterlace
+%defattr(-, root, root)
+%{prefix}/lib/gst/libgstdeinterlace*
+
+%post -n gstreamer-deinterlace
+%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_FESTIVAL_TRUE@%package -n gstreamer-festival
+@USE_FESTIVAL_TRUE@Summary: GStreamer plugin for text-to-speech support using Festival
+@USE_FESTIVAL_TRUE@Group: Libraries/Multimedia
+@USE_FESTIVAL_TRUE@Requires: gstreamer = %{ver}
+@USE_FESTIVAL_TRUE@Requires: festival >= 1.4.1
+@USE_FESTIVAL_TRUE@
+@USE_FESTIVAL_TRUE@%description -n gstreamer-festival
+@USE_FESTIVAL_TRUE@Element for text-to-speech using the festival server.
+@USE_FESTIVAL_TRUE@
+@USE_FESTIVAL_TRUE@%files -n gstreamer-festival
+@USE_FESTIVAL_TRUE@%defattr(-, root, root)
+@USE_FESTIVAL_TRUE@%{prefix}/lib/gst/libgstfestival*
+@USE_FESTIVAL_TRUE@
+@USE_FESTIVAL_TRUE@%post -n gstreamer-festival
+@USE_FESTIVAL_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_LAME_TRUE@%package -n gstreamer-lame
+@USE_LAME_TRUE@Summary: GStreamer plugin encoding mp3 songs
+@USE_LAME_TRUE@Group: Libraries/Multimedia
+@USE_LAME_TRUE@Requires: gstreamer = %{ver}
+@USE_LAME_TRUE@
+@USE_LAME_TRUE@%description -n gstreamer-lame
+@USE_LAME_TRUE@Plugin for encoding mp3 with lame
+@USE_LAME_TRUE@
+@USE_LAME_TRUE@%files -n gstreamer-lame
+@USE_LAME_TRUE@%defattr(-, root, root)
+@USE_LAME_TRUE@%{prefix}/lib/gst/libgstlame*
+@USE_LAME_TRUE@
+@USE_LAME_TRUE@%post -n gstreamer-lame
+@USE_LAME_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+
+%package -n gstreamer-chart
+Summary: GStreamer plugin for converting audio into video
+Group: Libraries/Multimedia
+Requires: gstreamer = %{ver}
+
+%description -n gstreamer-chart
+Plugin for converting audio into video
+
+%files -n gstreamer-chart
+%defattr(-, root, root)
+%{prefix}/lib/gst/libchart*
+
+%post -n gstreamer-chart
+%{prefix}/bin/gst-register --gst-mask=0
+
+%package -n gstreamer-visualisation
+Summary: Gstreamer visualisations plugins
+Group: Libraries/Multimedia
+Requires: gstreamer = %{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/libgstsmooth*
+%{prefix}/lib/gst/libgstspectrum*
+%{prefix}/lib/gst/libgstvu*
+
+%post -n gstreamer-visualisation
+%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_HERMES_TRUE@%package -n gstreamer-xvideosink
+@USE_HERMES_TRUE@Summary: Gstreamer XFree output plugin
+@USE_HERMES_TRUE@Group: Libraries/Multimedia
+@USE_HERMES_TRUE@Requires: gstreamer = %{ver}
+@USE_HERMES_TRUE@Requires: Hermes => 1.3.0
+@USE_HERMES_TRUE@%description -n gstreamer-xvideosink
+@USE_HERMES_TRUE@Xfree86 video sink
+@USE_HERMES_TRUE@
+@USE_HERMES_TRUE@%files -n gstreamer-xvideosink
+@USE_HERMES_TRUE@%defattr(-, root, root)
+@USE_HERMES_TRUE@%{prefix}/lib/gst/libxvideosink*
+@USE_HERMES_TRUE@
+@USE_HERMES_TRUE@%post -n gstreamer-xvideosink
+@USE_HERMES_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+@USE_HERMES_TRUE@%package -n gstreamer-colorspace
+@USE_HERMES_TRUE@Summary: Gstreamer colorspace conversion plugin
+@USE_HERMES_TRUE@Group: Libraries/Multimedia
+@USE_HERMES_TRUE@Requires: gstreamer = %{ver}
+@USE_HERMES_TRUE@Requires: Hermes => 1.3.0
+@USE_HERMES_TRUE@%description -n gstreamer-colorspace
+@USE_HERMES_TRUE@Colorspace plugin based on Hermes library
+@USE_HERMES_TRUE@
+@USE_HERMES_TRUE@%files -n gstreamer-colorspace
+@USE_HERMES_TRUE@%defattr(-, root, root)
+@USE_HERMES_TRUE@%{prefix}/lib/gst/libgstcolorspace*
+@USE_HERMES_TRUE@
+@USE_HERMES_TRUE@%post -n gstreamer-colorspace
+@USE_HERMES_TRUE@%{prefix}/bin/gst-register --gst-mask=0
+
+%package -n gstreamer-plugin-libs
+Summary: GStreamer support libraries
+Group: Libraries/Multimedia
+Requires: gstreamer = %{ver}
+
+%description -n gstreamer-plugin-libs
+GStreamer support libraries
+
+%files -n gstreamer-plugin-libs
+%defattr(-, root, root)
+%{prefix}/lib/gst/libgstaudio*
+%{prefix}/lib/gst/libgstidct*
+%{prefix}/lib/gst/libgstriff*
+%{prefix}/lib/gst/libgstresample*
+
+%package -n gstreamer-misc
+Summary: GStreamer plugins for various effects
+Group: Libraries/Multimedia
+Requires: gstreamer = %{ver}
+
+%description -n gstreamer-misc
+Plugins for various effects
+
+%files -n gstreamer-misc
+%defattr(-, root, root)
+%{prefix}/lib/gst/libgstadder*
+%{prefix}/lib/gst/libgstalaw*
+%{prefix}/lib/gst/libgstjpeg*
+%{prefix}/lib/gst/libgstintfloat*
+%{prefix}/lib/gst/libgstlevel*
+%{prefix}/lib/gst/libgstmedian*
+%{prefix}/lib/gst/libgstmono2stereo*
+%{prefix}/lib/gst/libgstmulaw*
+%{prefix}/lib/gst/libgstpassthrough*
+%{prefix}/lib/gst/libgstrtjpe*
+%{prefix}/lib/gst/libgststereo*
+%{prefix}/lib/gst/libgstvol*
+%{prefix}/lib/gst/libgstplayondemand*
+%{prefix}/lib/gst/libgstspeed*
+
+%post -n gstreamer-misc
+%{prefix}/bin/gst-register --gst-mask=0
+
+%package -n gstreamer-wav
+Summary: Gstreamer wav audio format plugin
+Group: Libraries/Multimedia
+Requires: gstreamer = %{ver}
+%description -n gstreamer-wav
+Plugin for playback of wav audio files
+
+%files -n gstreamer-wav
+%defattr(-, root, root)
+%{prefix}/lib/gst/libgstwavparse*
+
+%post -n gstreamer-wav
+%{prefix}/bin/gst-register --gst-mask=0