- 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
|
Source0: http://www.gupnp.org/sources/%{name}/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: gssdp-devel >= 0.6
|
BuildRequires: gssdp-devel
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
BuildRequires: libsoup-devel
|
BuildRequires: libsoup-devel
|
||||||
@ -31,11 +31,11 @@ Requires: gssdp-devel
|
|||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Requires: libsoup-devel
|
Requires: libsoup-devel
|
||||||
Requires: libxml2-devel
|
Requires: libxml2-devel
|
||||||
Requires: e2fsprogs-devel
|
Requires: libuuid-devel
|
||||||
Requires: glib2-devel
|
Requires: glib2-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Files for development with gupnp.
|
Files for development with %{name}.
|
||||||
|
|
||||||
%package docs
|
%package docs
|
||||||
Summary: Documentation files for %{name}
|
Summary: Documentation files for %{name}
|
||||||
@ -52,15 +52,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-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
|
||||||
|
|
||||||
@ -81,7 +83,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files docs
|
%files docs
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_datadir}/gtk-doc/html/gupnp
|
%{_datadir}/gtk-doc/html/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.8-3
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.8-3
|
||||||
|
Loading…
Reference in New Issue
Block a user