- some spec file cleanups

This commit is contained in:
Peter Robinson 2009-08-07 12:32:53 +00:00
parent cad8549b64
commit b7c712d69f

View File

@ -25,7 +25,7 @@ GUPnP-AV is a collection of helpers for building AV (audio/video)
applications using GUPnP.
%package devel
Summary: Development package for gupnp-av
Summary: Development package for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: gssdp-devel
@ -33,7 +33,7 @@ Requires: gupnp-devel
Requires: pkgconfig
%description devel
Files for development with gupnp-av.
Files for development with %{name}.
%package docs
Summary: Documentation files for %{name}
@ -50,15 +50,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-av-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
@ -78,7 +80,7 @@ rm -rf $RPM_BUILD_ROOT
%files docs
%defattr(-,root,root,-)
%{_datadir}/gtk-doc/html/gupnp-av/
%{_datadir}/gtk-doc/html/%{name}
%changelog
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2