[libmatecanvas] 1.4.0-7
Rex Dieter
rdieter at fedoraproject.org
Mon Aug 27 23:44:09 UTC 2012
commit 9c437e2347fecdb09bcea51150669cc4eccd51a4
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Mon Aug 27 18:47:57 2012 -0500
1.4.0-7
- .spec cosmetics
- tighten %files a bit
- drop not-needed rpath hacks
libmatecanvas.spec | 28 ++++++++++++++++------------
1 files changed, 16 insertions(+), 12 deletions(-)
---
diff --git a/libmatecanvas.spec b/libmatecanvas.spec
index 78881c1..964cd99 100644
--- a/libmatecanvas.spec
+++ b/libmatecanvas.spec
@@ -1,9 +1,7 @@
-%global gettext_package libmatecanvas-2.0
-
Summary: MateCanvas widget
Name: libmatecanvas
Version: 1.4.0
-Release: 6%{?dist}
+Release: 7%{?dist}
URL: http://mate-desktop.org
Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
License: LGPLv2+
@@ -29,43 +27,49 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
The libmatecanvas-devel package contains libraries and header files for
developing applications that use libmatecanvas.
+
%prep
%setup -q
NOCONFIGURE=1 ./autogen.sh
+
%build
%configure \
--enable-glade \
--disable-static
-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
make %{?_smp_mflags}
+
%install
-rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
%find_lang %{name}
-%post -p /sbin/ldconfig
+%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%doc COPYING.LIB AUTHORS NEWS README
-%{_libdir}/lib*.so.*
+%{_libdir}/libmatecanvas-2.so.0*
%{_libdir}/libglade/2.0/libgladematecanvas.so
%files devel
-%{_libdir}/lib*.so
-%{_libdir}/pkgconfig/*
-%{_includedir}/*
+%{_libdir}/libmatecanvas-2.so
+%{_libdir}/pkgconfig/libmatecanvas-2.0.pc
+%{_includedir}/libmatecanvas-2.0/
%{_datadir}/gtk-doc
+
%changelog
+* Mon Aug 27 2012 Rex Dieter <rdieter at fedoraproject.org> 1.4.0-7
+- .spec cosmetics
+- tighten %%files a bit
+- drop not-needed rpath hacks
+
* Tue Jul 24 2012 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.4.0-6
- initial build for fedora
- edit -devel description
More information about the scm-commits
mailing list