From 3b00dd860bfee4baa946fa55cb392f97aecf29e2 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: May 12 2010 10:16:26 +0000 Subject: - Update to 0.6.3, update url and source details, enable introspection --- diff --git a/.cvsignore b/.cvsignore index 86be7da..ab9527b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -rest-0.6.1.tar.bz2 +rest-0.6.3.tar.bz2 diff --git a/rest.spec b/rest.spec index d73ae0f..f15d994 100644 --- a/rest.spec +++ b/rest.spec @@ -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 0.6.3-1 +- Update to 0.6.3, update url and source details, enable introspection + * Mon Feb 15 2010 Peter Robinson 0.6.1-4 - Add patch to fix DSO linking. Fixes bug 564764 diff --git a/sources b/sources index 870d3d0..2db8741 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3c8fd38081231dbb48cfbdea9ec405e1 rest-0.6.1.tar.bz2 +2bb80b27bbc539273708b2d7aae226fb rest-0.6.3.tar.bz2