From aa3775f00e53b401f275184b234cccca0a4dd6e0 Mon Sep 17 00:00:00 2001 From: Maciej Pijanka Date: Thu, 26 Jul 2001 04:23:41 +0000 Subject: [PATCH] light modifications, adapterized no source in repo Changed files: gstreamer.spec -> 1.2 --- gstreamer.spec | 102 ++++++++++++++++++++++--------------------------- 1 file changed, 46 insertions(+), 56 deletions(-) diff --git a/gstreamer.spec b/gstreamer.spec index e498f29..952d02a 100644 --- a/gstreamer.spec +++ b/gstreamer.spec @@ -1,67 +1,56 @@ -%define name gstreamer -%define ver 0.1.1 -%define rel 1 -%define prefix /usr - -Summary: GStreamer Streaming-media framework runtime -Name: %name -Version: %ver -Release: %rel -Copyright: LGPL -Group: Libraries -Source: %{name}-%{ver}.tar.gz -BuildRoot: /var/tmp/%{name}-%{ver}-root -Docdir: %{prefix}/doc -Prefix: %prefix +Summary: GStreamer Streaming-media framework runtime +Name: gstreamer +Version: 0.1.1 +Release: 1 +License: LGPL +Group: Libraries +Group(de): Libraries +Group(es): Bibliotecas +Group(fr): Librairies +Group(pl): Biblioteki +Source0: %{name}-%{version}.tar.gz +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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. +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} +Summary: Libraries and include files for GStreamer streaming-media framework +Group: Development/Libraries +Group(de): Entwicklung/Libraries +Group(fr): Development/Librairies +Group(pl): Programowanie/Biblioteki +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 +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. -* Sun Jan 30 2000 Erik Walthinsen -- first draft of spec file +This package contains the libraries and includes files necessary to +develop applications and plugins for GStreamer. %prep -%setup +%setup -q %build -CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix +%configure2_13 -if [ "$SMP" != "" ]; then - (make "MAKE=make -k -j $SMP"; exit 0) - make -else - make -fi +%{__make} %install +rm -rf $RPM_BUILD_ROOT [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT -make prefix=$RPM_BUILD_ROOT%{prefix} install +%{__make} prefix=$RPM_BUILD_ROOT%{_prefix} install %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT @@ -74,13 +63,14 @@ make prefix=$RPM_BUILD_ROOT%{prefix} install /sbin/ldconfig %files -%defattr(-, root, root) -%{prefix}/bin/* -%{prefix}/lib/lib*.so.* -%{prefix}/lib/gst/* -%{prefix}/share/* +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* +%{_libdir}/lib*.so.* +%{_libdir}/gst/* +%{_datadir}/* %files devel -%{prefix}/include/* -%{prefix}/lib/lib*.a -%{prefix}/lib/lib*.so +%defattr(644,root,root,755) +%{_includedir}/* +%{_libdir}/lib*.a +%{_libdir}/lib*.so -- 2.43.0