rpms/gupnp-ui/devel gupnp-ui.spec,1.5,1.6

Peter Robinson pbrobinson at fedoraproject.org
Fri Aug 7 12:39:56 UTC 2009


Author: pbrobinson

Update of /cvs/pkgs/rpms/gupnp-ui/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12873

Modified Files:
	gupnp-ui.spec 
Log Message:
- some spec file cleanups


Index: gupnp-ui.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gupnp-ui/devel/gupnp-ui.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- gupnp-ui.spec	30 Jul 2009 21:48:28 -0000	1.5
+++ gupnp-ui.spec	7 Aug 2009 12:39:55 -0000	1.6
@@ -14,7 +14,6 @@ BuildRequires: gssdp-devel
 BuildRequires: gupnp-devel
 BuildRequires: gtk2-devel
 BuildRequires: libsoup-devel
-BuildRequires: pkgconfig
 
 Requires: dbus
 
@@ -27,14 +26,14 @@ GUPnP-UI is a collection of helpers for 
 application components for gupnp applications.
 
 %package devel
-Summary: Development package for gupnp-ui
+Summary: Development package for %{name}
 Group: Development/Libraries
 Requires: %{name} = %{version}-%{release}
 Requires: gtk2-devel
 Requires: pkgconfig
 
 %description devel
-Files for development with gupnp-ui.
+Files for development with %{name}.
 
 %package docs
 Summary: Documentation files for %{name}
@@ -52,15 +51,17 @@ This package contains developer document
 
 %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-ui-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 +82,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files docs
 %defattr(-,root,root,-)
-%doc %{_datadir}/gtk-doc/html/gupnp-ui
+%doc %{_datadir}/gtk-doc/html/%{name}
 
 %changelog
 * Thu Jul 30 2009 Jesse Keating <jkeating at redhat.com> - 0.1.1-5




More information about the fedora-extras-commits mailing list