|
|
ea8c95e |
Name: rest
|
|
|
ced7dca |
Version: 0.6.1
|
|
|
ced7dca |
Release: 1%{?dist}
|
|
|
ea8c95e |
Summary: A library for access to RESTful web services
|
|
|
ea8c95e |
|
|
|
ea8c95e |
Group: System Environment/Libraries
|
|
|
ea8c95e |
License: LGPLv2
|
|
|
ea8c95e |
URL: http://moblin.org/projects/librest
|
|
|
6a1bf46 |
Source0: http://git.moblin.org/cgit.cgi/lib%{name}/snapshot/lib%{name}-%{version}.tar.bz2
|
|
|
ea8c95e |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
ea8c95e |
|
|
|
ea8c95e |
BuildRequires: glib2-devel
|
|
|
ea8c95e |
BuildRequires: libsoup-devel
|
|
|
ea8c95e |
BuildRequires: libxml2-devel
|
|
|
6a1bf46 |
BuildRequires: gtk-doc
|
|
|
ea8c95e |
|
|
|
6a1bf46 |
# Require these because the git tarball doesn't have the configure built
|
|
|
6a1bf46 |
BuildRequires: libtool
|
|
|
6a1bf46 |
|
|
|
ea8c95e |
%description
|
|
|
ea8c95e |
This library was designed to make it easier to access web services that
|
|
|
ea8c95e |
claim to be "RESTful". A RESTful service should have urls that represent
|
|
|
ea8c95e |
remote objects, which methods can then be called on. The majority of services
|
|
|
ea8c95e |
don't actually adhere to this strict definition. Instead, their RESTful end
|
|
|
ea8c95e |
point usually has an API that is just simpler to use compared to other types
|
|
|
ea8c95e |
of APIs they may support (XML-RPC, for instance). It is this kind of API that
|
|
|
ea8c95e |
this library is attempting to support.
|
|
|
ea8c95e |
|
|
|
ea8c95e |
%package devel
|
|
|
ea8c95e |
Summary: Development package for %{name}
|
|
|
ea8c95e |
Group: Development/Libraries
|
|
|
ea8c95e |
Requires: %{name} = %{version}-%{release}
|
|
|
ea8c95e |
Requires: pkgconfig
|
|
|
ea8c95e |
|
|
|
ea8c95e |
%description devel
|
|
|
ea8c95e |
Files for development with %{name}.
|
|
|
ea8c95e |
|
|
|
ea8c95e |
%prep
|
|
|
6a1bf46 |
%setup -q -n librest-%{version}
|
|
|
ea8c95e |
|
|
|
37f777a |
# Don't run configure from autogen.sh
|
|
|
37f777a |
sed -i 's|echo|exit 0|g' autogen.sh
|
|
|
6a1bf46 |
./autogen.sh
|
|
|
37f777a |
|
|
|
37f777a |
%build
|
|
|
6a1bf46 |
%configure --disable-static --enable-gtk-doc
|
|
|
ced7dca |
make %{?_smp_mflags} V=1
|
|
|
ea8c95e |
|
|
|
ea8c95e |
%install
|
|
|
ea8c95e |
rm -rf %{buildroot}
|
|
|
37f777a |
make install DESTDIR=%{buildroot} INSTALL='install -p'
|
|
|
ea8c95e |
|
|
|
37f777a |
#Remove libtool archives.
|
|
|
37f777a |
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
ea8c95e |
|
|
|
ea8c95e |
%clean
|
|
|
ea8c95e |
rm -rf %{buildroot}
|
|
|
ea8c95e |
|
|
|
ea8c95e |
%post -p /sbin/ldconfig
|
|
|
ea8c95e |
|
|
|
ea8c95e |
%postun -p /sbin/ldconfig
|
|
|
ea8c95e |
|
|
|
ea8c95e |
%files
|
|
|
ea8c95e |
%defattr(-,root,root,-)
|
|
|
ea8c95e |
%doc AUTHORS COPYING README
|
|
|
ced7dca |
%{_libdir}/librest-0.6.so.0
|
|
|
ced7dca |
%{_libdir}/librest-0.6.so.0.0.0
|
|
|
ced7dca |
%{_libdir}/librest-extras-0.6.so.0
|
|
|
ced7dca |
%{_libdir}/librest-extras-0.6.so.0.0.0
|
|
|
ea8c95e |
|
|
|
ea8c95e |
%files devel
|
|
|
ea8c95e |
%defattr(-,root,root,-)
|
|
|
ced7dca |
%{_includedir}/rest-0.6
|
|
|
ced7dca |
%{_libdir}/pkgconfig/rest*
|
|
|
ced7dca |
%{_libdir}/librest-0.6.so
|
|
|
ced7dca |
%{_libdir}/librest-extras-0.6.so
|
|
|
ced7dca |
%{_datadir}/gtk-doc/html/%{name}-0.6
|
|
|
ea8c95e |
|
|
|
ea8c95e |
%changelog
|
|
|
ced7dca |
* Sat Oct 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.6.1-1
|
|
|
ced7dca |
- New upstream 0.6.1 release
|
|
|
ced7dca |
|
|
|
a765826 |
* Wed Aug 19 2009 Peter Robinson <pbrobinson@gmail.com> 0.6-1
|
|
|
a765826 |
- New upstream 0.6 release
|
|
|
a765826 |
|
|
|
37f777a |
* Fri Aug 7 2009 Peter Robinson <pbrobinson@gmail.com> 0.5-3
|
|
|
37f777a |
- A few minor spec file cleanups
|
|
|
37f777a |
|
|
|
6b069ae |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-2
|
|
|
6b069ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
6b069ae |
|
|
|
980b51f |
* Tue Jul 14 2009 Peter Robinson <pbrobinson@gmail.com> 0.5-1
|
|
|
980b51f |
- Update to 0.5
|
|
|
980b51f |
|
|
|
6a1bf46 |
* Mon Jun 22 2009 Peter Robinson <pbrobinson@gmail.com> 0.4-1
|
|
|
6a1bf46 |
- Update to 0.4
|
|
|
6a1bf46 |
|
|
|
ea8c95e |
* Wed Jun 17 2009 Peter Robinson <pbrobinson@gmail.com> 0.3-1
|
|
|
ea8c95e |
- Initial packaging
|