From 066ae88d34c2bc9c76dbc403039e9116035b2dba Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 7 Aug 2009 12:30:09 +0000 Subject: [PATCH] - some spec file cleanups --- gupnp.spec | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/gupnp.spec b/gupnp.spec index f7cc951..c56d41c 100644 --- a/gupnp.spec +++ b/gupnp.spec @@ -9,7 +9,7 @@ URL: http://www.gupnp.org/ Source0: http://www.gupnp.org/sources/%{name}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: gssdp-devel >= 0.6 +BuildRequires: gssdp-devel BuildRequires: glib2-devel BuildRequires: gtk-doc BuildRequires: libsoup-devel @@ -31,11 +31,11 @@ Requires: gssdp-devel Requires: pkgconfig Requires: libsoup-devel Requires: libxml2-devel -Requires: e2fsprogs-devel +Requires: libuuid-devel Requires: glib2-devel %description devel -Files for development with gupnp. +Files for development with %{name}. %package docs Summary: Documentation files for %{name} @@ -52,15 +52,17 @@ This package contains developer documentation for %{name}. %build %configure --disable-static -make %{?_smp_mflags} +make %{?_smp_mflags} V=1 %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT -rm $RPM_BUILD_ROOT%{_libdir}/libgupnp-1.0.la +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} + +#Remove libtool archives. +find %{buildroot} -name '*.la' -exec rm -f {} ';' %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %post -p /sbin/ldconfig @@ -81,7 +83,7 @@ rm -rf $RPM_BUILD_ROOT %files docs %defattr(-,root,root,-) -%{_datadir}/gtk-doc/html/gupnp +%{_datadir}/gtk-doc/html/%{name} %changelog * Fri Jul 24 2009 Fedora Release Engineering - 0.12.8-3