2000-01-31 06:46:18 +00:00
|
|
|
%define name gstreamer
|
|
|
|
%define ver @VERSION@
|
2001-06-02 10:38:16 +00:00
|
|
|
%define rel 0.2.0
|
2000-01-31 06:46:18 +00:00
|
|
|
%define prefix /usr
|
|
|
|
|
2001-01-11 00:35:42 +00:00
|
|
|
Summary: GStreamer Streaming-media framework runtime
|
2000-01-31 06:46:18 +00:00
|
|
|
Name: %name
|
|
|
|
Version: %ver
|
|
|
|
Release: %rel
|
|
|
|
Copyright: LGPL
|
2001-06-02 10:38:16 +00:00
|
|
|
Group: Libraries/Multimedia
|
2000-01-31 06:46:18 +00:00
|
|
|
Source: %{name}-%{ver}.tar.gz
|
|
|
|
BuildRoot: /var/tmp/%{name}-%{ver}-root
|
|
|
|
Docdir: %{prefix}/doc
|
|
|
|
Prefix: %prefix
|
|
|
|
|
|
|
|
%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
|
2001-01-11 00:35:42 +00:00
|
|
|
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}
|
|
|
|
|
|
|
|
%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.
|
2000-01-31 06:46:18 +00:00
|
|
|
|
|
|
|
%changelog
|
2001-06-02 10:40:20 +00:00
|
|
|
* Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
|
|
|
|
* Small fix to RPM group statement
|
|
|
|
* Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
|
|
|
|
- Included fix suggestions from Dennis Bjorklund
|
2001-01-11 00:35:42 +00:00
|
|
|
* Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
|
|
|
|
- updated to build -devel package as well
|
|
|
|
|
2000-01-31 06:46:18 +00:00
|
|
|
* 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
|
|
|
|
|
2001-01-11 00:35:42 +00:00
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
2001-04-15 22:53:15 +00:00
|
|
|
%{prefix}/bin/gstreamer-register
|
2000-01-31 06:46:18 +00:00
|
|
|
|
2001-01-11 00:35:42 +00:00
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
2000-01-31 06:46:18 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2001-06-01 21:26:50 +00:00
|
|
|
%doc AUTHORS COPYING README
|
|
|
|
%{prefix}/bin/gsteditor
|
|
|
|
%{prefix}/bin/gstmediaplay
|
|
|
|
%{prefix}/bin/gstreamer-complete
|
|
|
|
%{prefix}/bin/gstreamer-compprep
|
|
|
|
%{prefix}/bin/gstreamer-inspect
|
|
|
|
%{prefix}/bin/gstreamer-launch
|
|
|
|
%{prefix}/bin/gstreamer-register
|
2001-01-11 00:35:42 +00:00
|
|
|
%{prefix}/lib/lib*.so.*
|
|
|
|
%{prefix}/lib/gst/*
|
2001-01-02 20:50:54 +00:00
|
|
|
%{prefix}/share/*
|
2001-06-01 21:26:50 +00:00
|
|
|
%{prefix}/man/man1/*
|
2001-01-11 00:35:42 +00:00
|
|
|
|
|
|
|
%files devel
|
2001-06-01 21:26:50 +00:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%{prefix}/bin/gstreamer-config
|
2001-01-11 00:35:42 +00:00
|
|
|
%{prefix}/include/*
|
2001-06-01 21:26:50 +00:00
|
|
|
%{prefix}/lib/lib*.la
|
2001-01-11 00:35:42 +00:00
|
|
|
%{prefix}/lib/lib*.so
|
2001-05-25 21:00:07 +00:00
|
|
|
%{prefix}/lib/pkgconfig/*
|