gstreamer/gstreamer.spec.in
Rodney Dawes 0892015e06 Fixed up the spec file for the split, now to do the plug-ins one
Original commit message from CVS:
Fixed up the spec file for the split, now to do the plug-ins one
2001-12-30 18:59:49 +00:00

171 lines
5.3 KiB
RPMSpec

# File generated by dobey, DO NOT EDIT
Summary: GStreamer Streaming-media framework runtime
Name: gstreamer
Version: @VERSION@
Release: @GST_VERSION_RELEASE@
Copyright: LGPL
Group: Libraries/Multimedia
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
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
%{_bindir}/gstreamer-complete
%{_bindir}/gstreamer-compprep
%{_bindir}/gstreamer-inspect
%{_bindir}/gstreamer-launch
%{_bindir}/gstreamer-register
%{_libdir}/libgst.so.*
%{_libdir}/gst/*.so.*
%{_mandir}/man1/gstreamer-complete.*
%{_mandir}/man1/gstreamer-compprep.*
%{_mandir}/man1/gstreamer-inspect.*
%{_mandir}/man1/gstreamer-launch.*
%{_mandir}/man1/gstreamer-register.*
%package devel
Summary: Libraries and include files for GStreamer streaming-media framework
Group: Development/Libraries
Requires: %{name} = %{version}
%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)
%{_includedir}/gst
%{_libdir}/libgst.a
%{_libdir}/libgst.la
%{_libdir}/libgst.so
%{_libdir}/pkgconfig/*
%package gnome-apps
Summary: GNOME Applications for use with GStreamer
Group: Applications/Multimedia
Requires: %{name} = %{version}
%description 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. gsteditor is development tool for graphically creating
applications based on GStreamer.
%files gnome-apps
%defattr(-, root, root)
%doc AUTHORS COPYING
%{_bindir}/gsteditor
%{_bindir}/gstmediaplay
%{_bindir}/gstreamer-guilaunch
%{_libdir}/libgstmediaplay.so.*
%{_libdir}/libgsteditor.so.*
%{_datadir}/gsteditor
%{_datadir}/gstmediaplay
%{_mandir}/man1/gsteditor.*
%{_mandir}/man1/gstmediaplay.*
%{_mandir}/man1/gstreamer-guilaunch.*
%changelog
* Sat Dec 29 2001 Rodney Dawes <dobey@free.fr>
- Cleaned up the spec file for the gstreamer core/plug-ins split
- Improve spec file
* Sat Dec 15 2001 Christian Schaller <Uraeus@linuxrising.org>
- Splitt 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
* Wed Dec 12 2001 Christian Schaller <Uraeus@linuxrising.org>
- Thomas merged mpeg plugins into one
* Sat Dec 08 2001 Christian Schaller <Uraeus@linuxrising.org>
- More minor cleanups including some fixed descriptions from Andrew Mitchell
* Fri Dec 07 2001 Christian Schaller <Uraeus@linuxrising.org>
- Added logging to the make statement
* Wed Dec 05 2001 Christian Schaller <Uraeus@linuxrising.org>
- Updated in preparation for 0.3.0 release
* 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="${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} \
--disable-tests --disable-examples --disable-debug-color
if [ "$SMP" != "" ]; then
(make "MAKE=make -k -j $SMP"; exit 0)
else
make
fi
%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
%makeinstall
%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%{_prefix}/bin/gstreamer-register --gst-mask=0
%postun
/sbin/ldconfig