mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
98f996c024
Original commit message from CVS: 2001-02-06 Christian Schaller <Uraeus@linuxrising.org> * Doh, forgot to update the Changelog inside the SPEC file
101 lines
2.7 KiB
RPMSpec
101 lines
2.7 KiB
RPMSpec
%define name gstreamer
|
|
%define ver @VERSION@
|
|
%define rel 0.2.0
|
|
%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
|
|
|
|
%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}
|
|
|
|
%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.
|
|
|
|
%changelog
|
|
* 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
|
|
* 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
|
|
|
|
%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-inspect
|
|
%{prefix}/bin/gstreamer-launch
|
|
%{prefix}/bin/gstreamer-register
|
|
%{prefix}/lib/lib*.so.*
|
|
%{prefix}/lib/gst/*
|
|
%{prefix}/share/*
|
|
%{prefix}/man/man1/*
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%{prefix}/bin/gstreamer-config
|
|
%{prefix}/include/*
|
|
%{prefix}/lib/lib*.la
|
|
%{prefix}/lib/lib*.so
|
|
%{prefix}/lib/pkgconfig/*
|