- some spec file cleanups
This commit is contained in:
parent
cad8549b64
commit
b7c712d69f
@ -25,7 +25,7 @@ GUPnP-AV is a collection of helpers for building AV (audio/video)
|
|||||||
applications using GUPnP.
|
applications using GUPnP.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development package for gupnp-av
|
Summary: Development package for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: gssdp-devel
|
Requires: gssdp-devel
|
||||||
@ -33,7 +33,7 @@ Requires: gupnp-devel
|
|||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Files for development with gupnp-av.
|
Files for development with %{name}.
|
||||||
|
|
||||||
%package docs
|
%package docs
|
||||||
Summary: Documentation files for %{name}
|
Summary: Documentation files for %{name}
|
||||||
@ -50,15 +50,17 @@ This package contains developer documentation for %{name}.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=%{buildroot}
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/libgupnp-av-1.0.la
|
|
||||||
|
#Remove libtool archives.
|
||||||
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -78,7 +80,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files docs
|
%files docs
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_datadir}/gtk-doc/html/gupnp-av/
|
%{_datadir}/gtk-doc/html/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
|
||||||
|
Loading…
Reference in New Issue
Block a user