gstreamer/gstreamer.spec.in
Christian Schaller adf5ea6fb1 - Updated SPEC file.
Original commit message from CVS:
2001-01-07 Christian Schaller <Uraeus@linuxrising.org>
- Updated SPEC file.
- Splitt out GUI modules
- Added quicktime, flac, chart, udp modules
2001-07-01 11:18:49 +00:00

654 lines
17 KiB
RPMSpec

%define name gstreamer
%define ver @VERSION@
%define rel 2
%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
%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
%{prefix}/bin/gstreamer-complete
%{prefix}/bin/gstreamer-compprep
%{prefix}/bin/gstreamer-inspect
%{prefix}/bin/gstreamer-launch
%{prefix}/bin/gstreamer-register
%{prefix}/lib/lib*.so*
%{prefix}/lib/gst/libadder*
%{prefix}/lib/gst/libalaw*
%{prefix}/lib/gst/libaudioscale*
# %{prefix}/lib/gst/libcutter*
%{prefix}/lib/gst/libgstaudio*
%{prefix}/lib/gst/libcolorspace*
# %{prefix}/lib/gst/libgstcolorspace*
%{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/libvideoscale*
# %{prefix}/lib/gst/libgstvideoscale*
%{prefix}/lib/gst/libvol*
%{prefix}/lib/gst/libxvideosink*
%{prefix}/lib/gst/libgstparsewav*
%{prefix}/lib/gst/libgststaticautoplug*
%{prefix}/lib/gst/libgsttypes*
%{prefix}/lib/gst/liblavencode*
%{prefix}/man/man1/*
%package devel
Summary: Libraries and include files for GStreamer streaming-media framework
Group: Development/Libraries
Requires: %{name} = %{ver}
%description devel
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.
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
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.53.5
%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}
%description -n gstreamer-cdparanoia
Plugin for ripping audio tracks using cdparania 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/libfestivalll*
# %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 audioformat.
# %files -n gstreamer-flac
# %defattr(-, root, root)
# %{prefix}/lib/gst/libflacccc*
%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}
%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-mpeg1
Summary: GStreamer plugins for Mpeg level 1 video playback
Group: Libraries/Multimedia
Requires: %{name} = %{ver}
%description -n gstreamer-mpeg1
Plugins for playing mpeg level 1 encoded movies
%files -n gstreamer-mpeg1
%defattr(-, root, root)
%{prefix}/lib/gst/libmpeg1*
%{prefix}/lib/gst/libmpegaudio*
%{prefix}/lib/gst/libmp1*
%{prefix}/lib/gst/libmpeg_play*
%package -n gstreamer-mpeg2
Summary: GStreamer plugins for Mpeg level 2 playback
Group: Libraries/Multimedia
Requires: %{name} = %{ver}
%description -n gstreamer-mpeg2
Plugins for playing mpeg level 2 encoded movies
%files -n gstreamer-mpeg2
%defattr(-, root, root)
%{prefix}/lib/gst/libmpeg2parse*
%{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/libmpeg2dec*
%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 free 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 end 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}
%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 comercially 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 inputing 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-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*
%changelog
* Fri Jun 29 2001 Christian Schaller <Uraeus@linuxrising.org>
- Updated for 0.2.1 release
- Split out the GUI packages into their own RPM
- added new plugins (FLAC, festival, quicktime etc.)
* Sat Jun 09 2001 Christian Schaller <Uraeus@linuxrising.org>
- Visualisation plugins bundled out togheter
- 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.
* Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
- Updated with change suggestions from Dennis Bjorklund
* Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
- updated to build -devel package as well
* 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}
if [ "$SMP" != "" ]; then
(make "MAKE=make -k -j $SMP"; exit 0)
make
else
make
fi
%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{prefix} install
# Some hackish magic to build the udp and flac plugin since the
# build scripts didn't include these in 0.2.1
cd $RPM_BUILD_DIR/%{name}-%{ver}/plugins/udp
make install $RPM_BUILD_ROOT%{prefix}/lib/gst/
# cd $RPM_BUILD_DIR/%{name}-%{ver}/plugins/flac
# make install $RPM_BUILD_ROOT%{prefix}/lib/gst/
cd $RPM_BUILD_DIR/%{name}-%{ver}/plugins/avi
make install $RPM_BUILD_ROOT%{prefix}/lib/gst/
mv %{prefix}/lib/gst/*avi* $RPM_BUILD_ROOT%{prefix}/lib/gst/
mv %{prefix}/lib/gst/*udp* $RPM_BUILD_ROOT%{prefix}/lib/gst/
%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-mpeg1
%{prefix}/bin/gstreamer-register --gst-mask=0
%post -n gstreamer-mpeg2
%{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
%postun
/csbin/ldconfig