[gstreamer-rtsp] - Enable introspection, thanks Colin
Bastien Nocera
hadess at fedoraproject.org
Tue Nov 9 16:21:24 UTC 2010
commit c48b36f147b42a413da863c03a92a36b7876b8c0
Author: Bastien Nocera <hadess at hadess.net>
Date: Tue Nov 9 16:21:21 2010 +0000
- Enable introspection, thanks Colin
gstreamer-rtsp.spec | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/gstreamer-rtsp.spec b/gstreamer-rtsp.spec
index fc8df89..4ccd134 100644
--- a/gstreamer-rtsp.spec
+++ b/gstreamer-rtsp.spec
@@ -3,7 +3,7 @@
Name: gstreamer-rtsp
Version: 0.10.7
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: GStreamer RTSP server library
Group: Applications/Multimedia
@@ -16,6 +16,7 @@ BuildRequires: gstreamer-devel gstreamer-plugins-base-devel
BuildRequires: python-devel gstreamer-python-devel pygobject2-devel
BuildRequires: gobject-introspection-devel
BuildRequires: vala-devel
+BuildRequires: chrpath
# See http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/commit/?id=2e1054036d24496ebe7311ed5cd412df95e98343
BuildRequires: automake autoconf libtool
@@ -65,10 +66,7 @@ autoreconf -f
%build
# Until https://bugzilla.gnome.org/show_bug.cgi?id=634376 is fixed, disable introspection
-%configure --enable-introspection=no
-# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+%configure
make %{?_smp_mflags} V=1
@@ -78,6 +76,11 @@ make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT/%{_libdir}/libgstrtspserver-0.10.la \
$RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gst-0.10/gst/rtspserver.{a,la}
+# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
+# can't tweak libtool, see:
+# https://bugzilla.gnome.org/show_bug.cgi?id=634376#c1
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstrtspserver-0.10.so*
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -107,6 +110,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/vala/vapi/gst-rtsp-server-0.10.vapi
%changelog
+* Tue Nov 09 2010 Bastien Nocera <bnocera at redhat.com> 0.10.7-2
+- Enable introspection, thanks Colin
+
* Fri Nov 05 2010 Bastien Nocera <bnocera at redhat.com> 0.10.7-1
- Update to 0.10.7
More information about the scm-commits
mailing list