- Initial import

This commit is contained in:
Peter Robinson 2009-06-18 21:23:37 +00:00
parent dbe4d4374f
commit ea8c95e148
4 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1 @@
rest-0.3.tar.gz

1
import.log Normal file
View File

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

72
rest.spec Normal file
View File

@ -0,0 +1,72 @@
Name: rest
Version: 0.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
Source0: http://moblin.org/sites/all/files/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: glib2-devel
BuildRequires: libsoup-devel
BuildRequires: libxml2-devel
BuildRequires: pkgconfig
%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
remote objects, which methods can then be called on. The majority of services
don't actually adhere to this strict definition. Instead, their RESTful end
point usually has an API that is just simpler to use compared to other types
of APIs they may support (XML-RPC, for instance). It is this kind of API that
this library is attempting to support.
%package devel
Summary: Development package for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
Requires: gtk-doc
%description devel
Files for development with %{name}.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
#Remove libtool archives
rm -rf %{buildroot}/%{_libdir}/*.la
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_libdir}/librest.so.0
%{_libdir}/librest.so.0.0.0
%files devel
%defattr(-,root,root,-)
%{_includedir}/rest
%{_libdir}/pkgconfig/rest.pc
%{_libdir}/librest.so
%{_datadir}/gtk-doc/html/rest
%changelog
* Wed Jun 17 2009 Peter Robinson <pbrobinson@gmail.com> 0.3-1
- Initial packaging

View File

@ -0,0 +1 @@
c03e9f2cc2381780f4be2c43702c5782 rest-0.3.tar.gz