- Update to 0.6.3, update url and source details, enable introspection
This commit is contained in:
parent
beccbe146f
commit
3b00dd860b
@ -1 +1 @@
|
||||
rest-0.6.1.tar.bz2
|
||||
rest-0.6.3.tar.bz2
|
||||
|
||||
32
rest.spec
32
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 <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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user