mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
aec1cc5b17
Original commit message from CVS: 2001-09-06 Christian Schaller <Uraeus@linuxrising.org> - More fixes to the SPEC file, still not verfied that it works, but I need sleep and it is guaranteed closer to working than the current one. More testing and SPEC file hacking tommorow(aka later today).
364 lines
9.4 KiB
RPMSpec
364 lines
9.4 KiB
RPMSpec
%define name gstreamer
|
|
%define ver @VERSION@
|
|
%define rel 1
|
|
%define prefix /usr
|
|
|
|
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
|
|
Requires: gnome-libs >= 1.2.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.
|
|
|
|
%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.
|
|
|
|
|
|
%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
|
|
|
|
%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.
|
|
|
|
%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
|
|
|
|
%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.
|
|
|
|
%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.
|
|
|
|
%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
|
|
|
|
%package -n gstreamer-avi
|
|
Summary: Gstreamer plugin for AVI format movie playback
|
|
Group: Libraries/Multimedia
|
|
Requires: %{name} = %{ver}
|
|
|
|
%description -n gstreamer-avi
|
|
Plugins for playback of AVI format media files.
|
|
|
|
%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.
|
|
|
|
%package -n gstreamer-sdl
|
|
Summary: Gstreamer plugin for outputing to SDL
|
|
Group: Libraries/Multimedia
|
|
Requires: SDL >= 1.1.7
|
|
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.
|
|
|
|
%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.
|
|
|
|
%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/)
|
|
|
|
%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
|
|
|
|
%package -n gstreamer-ladspa
|
|
Summary: Gstreamer wrapper for LADSPA plugins
|
|
Group: Libraries/Multimedia
|
|
Requires: %{name} = %{ver}
|
|
|
|
%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
|
|
|
|
%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.
|
|
|
|
%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.
|
|
|
|
%package -n gstreamer-vcd
|
|
Summary: Gstremar Video CD plugin
|
|
Group: Libraries/Multimedia
|
|
Requires: %{name} = %{ver}
|
|
|
|
%description -n gstreamer-vcd
|
|
Video CD playback plugin
|
|
|
|
# %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.
|
|
|
|
%changelog
|
|
* Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
|
|
- Split the following plugins into separate RPMS
|
|
|
|
* 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
|
|
|
|
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
|
|
|
|
%clean
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
%{prefix}/bin/gstreamer-register
|
|
|
|
%post -n gstreamer-esd
|
|
%{prefix}/bin/gstreamer-register
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS COPYING README
|
|
%{prefix}/bin/gsteditor
|
|
%{prefix}/bin/gstmediaplay
|
|
%{prefix}/bin/gstreamer-complete
|
|
%{prefix}/bin/gstreamer-compprep
|
|
%{prefix}/bin/gstreamer-config
|
|
%{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/libgstautoplug*
|
|
%{prefix}/lib/gst/libcolorspace*
|
|
%{prefix}/lib/gst/libgstcolorspace*
|
|
%{prefix}/lib/gst/libgstelements*
|
|
%{prefix}/lib/gst/libgstgetbits*
|
|
%{prefix}/lib/gst/libgstidct*
|
|
%{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/libsmooth*
|
|
%{prefix}/lib/gst/libstereo*
|
|
%{prefix}/lib/gst/libsystem_*
|
|
%{prefix}/lib/gst/libvideoscale*
|
|
%{prefix}/lib/gst/libvol*
|
|
%{prefix}/lib/gst/libvu*
|
|
%{prefix}/lib/gst/libxvideosink*
|
|
%{prefix}/lib/gst/libmp*
|
|
%{prefix}/share/gsteditor/*
|
|
%{prefix}/share/gstmediaplay/*
|
|
%{prefix}/man/man1/*
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%{prefix}/bin/gstreamer-config
|
|
%{prefix}/include/*
|
|
%{prefix}/include/gstplay/*
|
|
%{prefix}/lib/lib*.la
|
|
%{prefix}/lib/lib*.so
|
|
%{prefix}/lib/pkgconfig/*
|
|
%{prefix}/share/aclocal/*
|
|
|
|
|
|
%files -n gstreamer-esd
|
|
%defattr(-, root, root)
|
|
%{prefix}/lib/gst/libesd*
|
|
|
|
%files -n gstreamer-gsm
|
|
%defattr(-, root, root)
|
|
%{prefix}/lib/gst/libgstgsm*
|
|
|
|
%files -n gstreamer-cdparanoia
|
|
%defattr(-, root, root)
|
|
%{prefix}/lib/gst/libcdparanoia*
|
|
|
|
%files -n gstreamer-aalib
|
|
%defattr(-, root, root)
|
|
%{prefix}/lib/gst/libaa*
|
|
|
|
%files -n gstreamer-gnomevfs
|
|
%defattr(-, root, root)
|
|
%{prefix}/lib/gst/libgnomevfs*
|
|
|
|
%files -n gstreamer-flx
|
|
%defattr(-, root, root)
|
|
%{prefix}/lib/gst/libflx*
|
|
|
|
%files -n gstreamer-avi
|
|
%defattr(-, root, root)
|
|
%{prefix}/lib/gst/libavi*
|
|
%{prefix}/lib/gst/libwin*
|
|
|
|
%files -n gstreamer-vorbis
|
|
%defattr(-, root, root)
|
|
%{prefix}/lib/gst/libgstvorbis*
|
|
|
|
%files -n gstreamer-sdl
|
|
%defattr(-, root, root)
|
|
%{prefix}/lib/gst/libsdl*
|
|
|
|
%files -n gstreamer-oss
|
|
%defattr(-, root, root)
|
|
%{prefix}/lib/gst/libgstoss*
|
|
|
|
%files -n gstreamer-ac3dec
|
|
%defattr(-, root, root)
|
|
%{prefix}/lib/gst/libac3dec*
|
|
|
|
%files -n gstreamer-afs
|
|
%defattr(-, root, root)
|
|
%{prefix}/lib/gst/libafs*
|
|
|
|
%files -n gstreamer-ladspa
|
|
%defattr(-, root, root)
|
|
%{prefix}/lib/gst/libgstladspa*
|
|
|
|
%files -n gstreamer-v4l
|
|
%defattr(-, root, root)
|
|
%{prefix}/lib/gst/libv4l*
|
|
|
|
%files -n gstreamer-synaesthesia
|
|
%defattr(-, root, root)
|
|
%{prefix}/lib/gst/libsynaesthesia*
|
|
|
|
%files -n gstreamer-vcd
|
|
%defattr(-, root, root)
|
|
%{prefix}/lib/gst/libvcd*
|
|
|
|
# %files -n gstreamer-alsa
|
|
# %defattr(-, root, root)
|
|
# %{prefix}/lib/gst/libalsa*
|