From 43a36df65f04787aa15acc8909e49d0ac808e210 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Oct 16 2013 17:39:13 +0000 Subject: import rest-0.7.90-5.el7.src.rpm --- diff --git a/.rest.metadata b/.rest.metadata new file mode 100644 index 0000000..eccd419 --- /dev/null +++ b/.rest.metadata @@ -0,0 +1 @@ +c1b7be3afed247252e2a15b1f6510707cf9ceca4 SOURCES/rest-0.7.90.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/rest-fixdso.patch b/SOURCES/rest-fixdso.patch new file mode 100644 index 0000000..b938c56 --- /dev/null +++ b/SOURCES/rest-fixdso.patch @@ -0,0 +1,11 @@ +--- rest-0.7.6/docs/reference/rest/Makefile.in.orig 2011-02-22 16:31:17.687229767 +0000 ++++ rest-0.7.6/docs/reference/rest/Makefile.in 2011-02-22 16:31:26.528229982 +0000 +@@ -117,7 +117,7 @@ + INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ + INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ + LD = @LD@ +-LDFLAGS = @LDFLAGS@ ++LDFLAGS = @LDFLAGS@ -lgobject-2.0 -lglib-2.0 + LIBOBJS = @LIBOBJS@ + LIBS = @LIBS@ + LIBTOOL = @LIBTOOL@ diff --git a/SPECS/rest.spec b/SPECS/rest.spec new file mode 100644 index 0000000..b5c89a9 --- /dev/null +++ b/SPECS/rest.spec @@ -0,0 +1,175 @@ +Name: rest +Version: 0.7.90 +Release: 5%{?dist} +Summary: A library for access to RESTful web services + +Group: System Environment/Libraries +License: LGPLv2 +URL: http://www.gnome.org +Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/0.7/%{name}-%{version}.tar.xz +Patch0: rest-fixdso.patch + +BuildRequires: glib2-devel +BuildRequires: gobject-introspection-devel +BuildRequires: libsoup-devel +BuildRequires: libxml2-devel +BuildRequires: gtk-doc +BuildRequires: autoconf +BuildRequires: automake +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 +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 + +%description devel +Files for development with %{name}. + +%prep +%setup -q +%patch0 -p1 -b .fixdso + +%build +autoreconf -vif +%configure --disable-static --enable-gtk-doc --enable-introspection=yes + +make %{?_smp_mflags} V=1 + +%install +make install DESTDIR=%{buildroot} INSTALL='install -p' + +#Remove libtool archives. +find %{buildroot} -name '*.la' -exec rm -f {} ';' + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +%{_libdir}/librest-0.7.so.0 +%{_libdir}/librest-0.7.so.0.0.0 +%{_libdir}/librest-extras-0.7.so.0 +%{_libdir}/librest-extras-0.7.so.0.0.0 +%{_libdir}/girepository-1.0/Rest-0.7.typelib +%{_libdir}/girepository-1.0/RestExtras-0.7.typelib + +%files devel +%defattr(-,root,root,-) +%{_includedir}/rest-0.7 +%{_libdir}/pkgconfig/rest* +%{_libdir}/librest-0.7.so +%{_libdir}/librest-extras-0.7.so +%{_datadir}/gtk-doc/html/%{name}*0.7 +%{_datadir}/gir-1.0/Rest-0.7.gir +%{_datadir}/gir-1.0/RestExtras-0.7.gir + +%changelog +* Wed Oct 16 2013 Debarshi Ray 0.7.90-5 +- Attempt another rebuild to fix multilib issue with gtk-doc (Red Hat #881246) + +* Tue Jul 16 2013 Matthias Clasen 0.7.90-4 +- Rebuild with newer gtk-doc to fix multilib issue + +* Sat Apr 13 2013 Peter Robinson 0.7.90-3 +- Run autoreconf for aarch64 (RHBZ 926440) + +* Thu Feb 14 2013 Fedora Release Engineering - 0.7.90-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Aug 14 2012 Peter Robinson - 0.7.90-1 +- Release 0.7.90 + +* Sat Jul 21 2012 Fedora Release Engineering - 0.7.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 0.7.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Nov 10 2011 Peter Robinson 0.7.12-1 +- Release 0.7.12. Fixes CVE-2011-4129 RHBZ 752022 + +* Fri Oct 28 2011 Peter Robinson 0.7.11-1 +- Release 0.7.11 + +* Sun Apr 24 2011 Peter Robinson 0.7.10-1 +- Update to 0.7.10 + +* Sun Apr 3 2011 Peter Robinson 0.7.9-1 +- Update to 0.7.9 + +* Wed Mar 23 2011 Peter Robinson 0.7.8-1 +- Update to 0.7.8 + +* Tue Feb 22 2011 Peter Robinson 0.7.6-1 +- Update to 0.7.6 + +* Wed Feb 09 2011 Fedora Release Engineering - 0.7.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Nov 25 2010 Peter Robinson 0.7.5-1 +- Update to 0.7.5 +- Now its on gnome we have official tar file releases + +* Wed Sep 29 2010 jkeating - 0.7.3-2 +- Rebuilt for gcc bug 634757 + +* Wed Sep 15 2010 Peter Robinson 0.7.3-1 +- Update to 0.7.3 + +* Mon Aug 30 2010 Peter Robinson 0.7.2-1 +- Update to 0.7.2 + +* Thu Aug 5 2010 Peter Robinson 0.7.0-1 +- Update to 0.7.0 + +* Sun Jul 11 2010 Peter Robinson 0.6.4-1 +- Update to 0.6.4 + +* Wed May 12 2010 Peter Robinson 0.6.3-2 +- some cleanups and fixes + +* 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 + +* Mon Jan 25 2010 Peter Robinson 0.6.1-3 +- Bump build + +* Mon Jan 25 2010 Peter Robinson 0.6.1-2 +- Move to official tarball release of 0.6.1 + +* Sat Oct 10 2009 Peter Robinson 0.6.1-1 +- New upstream 0.6.1 release + +* Wed Aug 19 2009 Peter Robinson 0.6-1 +- New upstream 0.6 release + +* Fri Aug 7 2009 Peter Robinson 0.5-3 +- A few minor spec file cleanups + +* Sun Jul 26 2009 Fedora Release Engineering - 0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Jul 14 2009 Peter Robinson 0.5-1 +- Update to 0.5 + +* Mon Jun 22 2009 Peter Robinson 0.4-1 +- Update to 0.4 + +* Wed Jun 17 2009 Peter Robinson 0.3-1 +- Initial packaging