rpms/glade3/devel glade3.spec,1.7,1.8
Debarshi Ray (rishi)
fedora-extras-commits at redhat.com
Sun Mar 2 15:03:43 UTC 2008
Author: rishi
Update of /cvs/pkgs/rpms/glade3/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26231
Modified Files:
glade3.spec
Log Message:
Updated to 3.4.1-4 in devel.
Modified Files:
glade3.spec
Index: glade3.spec
===================================================================
RCS file: /cvs/pkgs/rpms/glade3/devel/glade3.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- glade3.spec 2 Feb 2008 20:22:49 -0000 1.7
+++ glade3.spec 2 Mar 2008 15:03:08 -0000 1.8
@@ -6,7 +6,7 @@
Summary: User Interface Designer for GTK+ and GNOME
Name: glade3
Version: 3.4.1
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2+
Group: Development/Tools
URL: http://glade.gnome.org/
@@ -24,13 +24,13 @@
Requires(post): scrollkeeper
Requires(postun): scrollkeeper
-BuildRequires: chrpath
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: gnome-doc-utils
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: libgnomeui-devel
+BuildRequires: libtool
BuildRequires: pygtk2-devel
BuildRequires: scrollkeeper
@@ -55,7 +55,7 @@
library to ease the integration of Glade into other applications.
%package libgladeui-devel
-Summary: Development files for libgladeui
+Summary: Development files for %{name}-libgladeui
License: GPLv2+
Group: Development/Libraries
@@ -74,6 +74,10 @@
%build
%configure --disable-static --enable-gtk-doc
+# Fix Libtool to remove rpaths.
+rm -f ./libtool
+cp %{_bindir}/libtool .
+
# Omit unused direct shared library dependencies.
sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
@@ -85,6 +89,7 @@
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
+find $RPM_BUILD_ROOT -type f -name "*.a" -delete
%if 0%{?fc7}
rm -rf $RPM_BUILD_ROOT%{_var}/lib/scrollkeeper
@@ -96,11 +101,6 @@
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/glade-3.desktop
-# Remove rpaths.
-chrpath --delete $RPM_BUILD_ROOT%{_bindir}/glade-3
-chrpath --delete $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/libgladegnome.so
-chrpath --delete $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/libgladegtk.so
-
%clean
rm -rf $RPM_BUILD_ROOT
@@ -186,6 +186,10 @@
%{_includedir}/libgladeui-1.0/gladeui/*
%changelog
+* Sun Mar 02 2008 Debarshi Ray <rishi at fedoraproject.org> - 3.4.1-4
+- Replaced 'BuildRequires: chrpath' with 'BuildRequires: libtool' for removing
+ rpaths.
+
* Sun Feb 03 2008 Debarshi Ray <rishi at fedoraproject.org> - 3.4.1-3
- Omitted unused direct shared library dependencies.
More information about the fedora-extras-commits
mailing list