[gstreamer] Remove tools subpackage. Add missing ldconfig.

Brian Pepple bpepple at fedoraproject.org
Fri Jul 13 13:40:49 UTC 2012


commit 697151a8221adadabe851ee8abc5ec61d4582a70
Author: Brian Pepple <bpepple at fedoraproject.org>
Date:   Tue Jul 10 09:50:20 2012 -0400

    Remove tools subpackage.
    Add missing ldconfig.

 gstreamer.spec |   45 +++++++++++++++++++--------------------------
 1 files changed, 19 insertions(+), 26 deletions(-)
---
diff --git a/gstreamer.spec b/gstreamer.spec
index 2d9a9ae..3bc7c3f 100644
--- a/gstreamer.spec
+++ b/gstreamer.spec
@@ -21,8 +21,6 @@ Patch1:         gstreamer-inspect-rpm-format.patch
 Source1:        gstreamer.prov
 Source2:        gstreamer.attr
 
-Requires:       gstreamer-tools >= %{version}
-
 BuildRequires:  glib2-devel >= %{_glib2}
 BuildRequires:  libxml2-devel >= %{_libxml2}
 BuildRequires:  bison
@@ -54,6 +52,7 @@ BuildRequires:  tetex-dvips
 BuildRequires:  ghostscript
 BuildRequires:  PyXML
 
+
 %description
 GStreamer is a streaming media framework, based on graphs of filters which
 operate on media data. Applications using this library can do anything
@@ -62,6 +61,7 @@ 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/include files for GStreamer streaming media framework
 Group:          Development/Libraries
@@ -71,6 +71,7 @@ Requires:       glib2-devel >= %{_glib2}
 Requires:       libxml2-devel >= %{_libxml2}
 Requires:       check-devel
 
+
 %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
@@ -84,6 +85,7 @@ applications and plugins for GStreamer. If you plan to develop applications
 with GStreamer, consider installing the gstreamer-devel-docs package and the
 documentation packages for any plugins you intend to use.
 
+
 %package devel-docs
 Summary: Developer documentation for GStreamer streaming media framework
 Group: Development/Libraries
@@ -92,26 +94,11 @@ Requires: %{name} = %{version}-%{release}
 Requires: gtk-doc
 BuildArch: noarch
 
+
 %description devel-docs
 This package contains developer documentation for the GStreamer streaming
 media framework.
 
-%package -n gstreamer-tools
-Summary:        common tools and files for GStreamer streaming media framework
-Group:          Applications/Multimedia
-# gst-feedback uses these
-Requires:       which, pkgconfig
-
-%description -n gstreamer-tools
-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 wrapper scripts for the command-line tools that work
-with different major/minor versions of GStreamer.
 
 %prep
 %setup -q
@@ -119,6 +106,7 @@ with different major/minor versions of GStreamer.
 #%patch1 -p1 -b .rpm-provides
 %patch2 -p1 -b .address
 
+
 %build
 %configure \
   --with-package-name='Fedora gstreamer package' \
@@ -129,9 +117,9 @@ with different major/minor versions of GStreamer.
 
 make %{?_smp_mflags} ERROR_CFLAGS="" LIBTOOL="%{_bindir}/libtool"
 
+
 %install  
 rm -rf $RPM_BUILD_ROOT
-
 # Install doc temporarily in order to be included later by rpm
 make install DESTDIR=$RPM_BUILD_ROOT
 
@@ -147,10 +135,19 @@ install -m0755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_rpmconfigdir}/gstreamer.prov
 # Add the gstreamer plugin file attribute entry (rpm >= 4.9.0)
 install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer.attr
 
+
 %post -p /sbin/ldconfig
 
+
 %postun -p /sbin/ldconfig
 
+
+%post devel -p /sbin/ldconfig
+
+
+%postun devel -p /sbin/ldconfig
+
+
 %files -f gstreamer-%{majorminor}.lang
 %doc AUTHORS COPYING NEWS README RELEASE
 %{_libdir}/libgstreamer-%{majorminor}.so.*
@@ -177,13 +174,6 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer
 %doc %{_mandir}/man1/gst-launch-%{majorminor}.*
 %doc %{_mandir}/man1/gst-typefind-%{majorminor}.*
 
-%files -n gstreamer-tools
-#%{_bindir}/gst-feedback
-#%{_bindir}/gst-inspect
-#%{_bindir}/gst-launch
-#%{_bindir}/gst-typefind
-#%{_bindir}/gst-xmlinspect
-#%{_bindir}/gst-xmllaunch
 
 %files devel
 %dir %{_includedir}/gstreamer-%{majorminor}
@@ -220,11 +210,13 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer
 %{_rpmconfigdir}/gstreamer.prov
 %{_rpmconfigdir}/fileattrs/gstreamer.attr
 
+
 %files devel-docs
 %doc %{_datadir}/gtk-doc/html/gstreamer-%{majorminor}
 %doc %{_datadir}/gtk-doc/html/gstreamer-libs-%{majorminor}
 %doc %{_datadir}/gtk-doc/html/gstreamer-plugins-%{majorminor}
 
+
 %changelog
 * Mon Jul  9 2012 Brian Pepple <bpepple at fedoraproject.org> - 0.11.92-1
 - Update to 0.11.92.
@@ -233,6 +225,7 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer
 - Disable building static libs.
 - Fix gobject-introspection macro.
 - Drop Buildroot. No longer needed.
+- Drop tools subpackage.
 
 * Tue Feb 28 2012 Benjamin Otte <otte at redhat.com> 0.10.36-1
 - Update to 0.10.36


More information about the scm-commits mailing list