- Spec file cleanups

This commit is contained in:
Peter Robinson 2009-08-07 12:05:30 +00:00
parent 6b069ae528
commit 37f777ae03
2 changed files with 12 additions and 10 deletions

View File

@ -1 +0,0 @@
rest-0_3-1_fc11:HEAD:rest-0.3-1.fc11.src.rpm:1245360039

View File

@ -1,6 +1,6 @@
Name: rest
Version: 0.5
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A library for access to RESTful web services
Group: System Environment/Libraries
@ -13,12 +13,9 @@ BuildRequires: glib2-devel
BuildRequires: libsoup-devel
BuildRequires: libxml2-devel
BuildRequires: gtk-doc
BuildRequires: pkgconfig
# Require these because the git tarball doesn't have the configure built
BuildRequires: libtool
BuildRequires: automake
BuildRequires: autoconf
%description
This library was designed to make it easier to access web services that
@ -42,17 +39,20 @@ Files for development with %{name}.
%prep
%setup -q -n librest-%{version}
%build
# Don't run configure from autogen.sh
sed -i 's|echo|exit 0|g' autogen.sh
./autogen.sh
%build
%configure --disable-static --enable-gtk-doc
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
make install DESTDIR=%{buildroot} INSTALL='install -p'
#Remove libtool archives
rm -rf %{buildroot}/%{_libdir}/*.la
#Remove libtool archives.
find %{buildroot} -name '*.la' -exec rm -f {} ';'
%clean
rm -rf %{buildroot}
@ -72,9 +72,12 @@ rm -rf %{buildroot}
%{_includedir}/rest
%{_libdir}/pkgconfig/rest.pc
%{_libdir}/librest.so
%{_datadir}/gtk-doc/html/rest
%{_datadir}/gtk-doc/html/%{name}
%changelog
* Fri Aug 7 2009 Peter Robinson <pbrobinson@gmail.com> 0.5-3
- A few minor spec file cleanups
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild