From ea8c95e1485db7393f92c890a761170ea43998a7 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 18 Jun 2009 21:23:37 +0000 Subject: [PATCH] - Initial import --- .cvsignore | 1 + import.log | 1 + rest.spec | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 75 insertions(+) create mode 100644 import.log create mode 100644 rest.spec diff --git a/.cvsignore b/.cvsignore index e69de29..3e8c455 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +rest-0.3.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..5ccfa52 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +rest-0_3-1_fc11:HEAD:rest-0.3-1.fc11.src.rpm:1245360039 diff --git a/rest.spec b/rest.spec new file mode 100644 index 0000000..79cb6d3 --- /dev/null +++ b/rest.spec @@ -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 0.3-1 +- Initial packaging diff --git a/sources b/sources index e69de29..6c81f3b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c03e9f2cc2381780f4be2c43702c5782 rest-0.3.tar.gz