- Update to 0.6.3, update url and source details, enable introspection

This commit is contained in:
Peter Robinson 2010-05-12 10:16:26 +00:00
parent beccbe146f
commit 3b00dd860b
3 changed files with 28 additions and 8 deletions

View File

@ -1 +1 @@
rest-0.6.1.tar.bz2
rest-0.6.3.tar.bz2

View File

@ -1,20 +1,30 @@
# Tarfile created using git
# git clone git://gitorious.org/meego-middleware/librest.git
# git archive --format=tar --prefix=%{name}-%{version}/ %{git_version} | bzip2 > ~/%{name}-%{version}.tar.bz2
%define git_version 05449d2
%define tarfile %{name}-%{version}.tar.bz2
Name: rest
Version: 0.6.1
Release: 4%{?dist}
Version: 0.6.3
Release: 1%{?dist}
Summary: A library for access to RESTful web services
Group: System Environment/Libraries
License: LGPLv2
URL: http://moblin.org/projects/librest
URL: http://www.meego.com
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://download.moblin.org/sources/rest/0.6/%{name}-%{version}.tar.bz2
Patch0: rest-fixdso.patch
Source0: %{tarfile}
BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel
BuildRequires: gir-repository-devel
BuildRequires: libsoup-devel
BuildRequires: libxml2-devel
BuildRequires: gtk-doc
# Require these because the git tarball doesn't have the configure built
BuildRequires: libtool
%description
This library was designed to make it easier to access web services that
claim to be "RESTful". A RESTful service should have urls that represent
@ -35,7 +45,10 @@ Files for development with %{name}.
%prep
%setup -q
%patch0 -p1 -b .fixdso
# run autogen.sh until we have a proper release, but don't run configure twice.
sed -i '/configure/d' autogen.sh
./autogen.sh
%build
%configure --disable-static --enable-gtk-doc
@ -63,6 +76,8 @@ rm -rf %{buildroot}
%{_libdir}/librest-0.6.so.0.0.0
%{_libdir}/librest-extras-0.6.so.0
%{_libdir}/librest-extras-0.6.so.0.0.0
%{_libdir}/girepository-1.0/Rest-0.6.typelib
%{_libdir}/girepository-1.0/RestExtras-0.6.typelib
%files devel
%defattr(-,root,root,-)
@ -71,8 +86,13 @@ rm -rf %{buildroot}
%{_libdir}/librest-0.6.so
%{_libdir}/librest-extras-0.6.so
%{_datadir}/gtk-doc/html/%{name}-0.6
%{_datadir}/gir-1.0/Rest-0.6.gir
%{_datadir}/gir-1.0/RestExtras-0.6.gir
%changelog
* Wed May 12 2010 Peter Robinson <pbrobinson@gmail.com> 0.6.3-1
- Update to 0.6.3, update url and source details, enable introspection
* Mon Feb 15 2010 Peter Robinson <pbrobinson@gmail.com> 0.6.1-4
- Add patch to fix DSO linking. Fixes bug 564764

View File

@ -1 +1 @@
3c8fd38081231dbb48cfbdea9ec405e1 rest-0.6.1.tar.bz2
2bb80b27bbc539273708b2d7aae226fb rest-0.6.3.tar.bz2