From a6a48cf1806f47b88a3a4d7c90fa8b428d67fbf1 Mon Sep 17 00:00:00 2001 From: Erik Walthinsen Date: Thu, 11 Jan 2001 00:35:42 +0000 Subject: [PATCH] updated spec file to create -devel package too Original commit message from CVS: updated spec file to create -devel package too --- gstreamer.spec.in | 43 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/gstreamer.spec.in b/gstreamer.spec.in index 96ebdfa23d..ee35a6ba7f 100644 --- a/gstreamer.spec.in +++ b/gstreamer.spec.in @@ -3,7 +3,7 @@ %define rel SNAP %define prefix /usr -Summary: Streaming-media framework +Summary: GStreamer Streaming-media framework runtime Name: %name Version: %ver Release: %rel @@ -18,11 +18,30 @@ Prefix: %prefix 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. It's plugin-based architecture means that new data -types or processing capabilities can be added simply by installing a new -package. +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 +* Tue Jan 09 2001 Erik Walthinsen +- updated to build -devel package as well + * Sun Jan 30 2000 Erik Walthinsen - first draft of spec file @@ -47,14 +66,20 @@ make prefix=$RPM_BUILD_ROOT%{prefix} install %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig +%post +/sbin/ldconfig -%postun -p /sbin/ldconfig +%postun +/sbin/ldconfig %files %defattr(-, root, root) - %{prefix}/bin/* -%{prefix}/lib/* -%{prefix}/include/* +%{prefix}/lib/lib*.so.* +%{prefix}/lib/gst/* %{prefix}/share/* + +%files devel +%{prefix}/include/* +%{prefix}/lib/lib*.a +%{prefix}/lib/lib*.so