- some spec file cleanups
This commit is contained in:
parent
2a321dcd06
commit
066ae88d34
20
gupnp.spec
20
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 <rel-eng@lists.fedoraproject.org> - 0.12.8-3
|
||||
|
Loading…
Reference in New Issue
Block a user