Name: rest0.7 Version: 0.8.1 Release: 2%{?dist} Summary: A library for access to RESTful web services License: LGPLv2 URL: http://www.gnome.org Source0: http://download.gnome.org/sources/rest/0.8/rest-%{version}.tar.xz # https://bugzilla.redhat.com/show_bug.cgi?id=1445700 Patch0: rest-0.8.0-fix-the-XML-test.patch BuildRequires: make 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. This package contains librest API version 0.7. %package devel Summary: Development package for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Files for development with librest API version 0.7. %prep %setup -q -n rest-%{version} %patch0 -p1 %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} -type f -name "*.la" -delete %files %license COPYING %doc AUTHORS 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 %{_includedir}/rest-0.7 %{_libdir}/pkgconfig/rest* %{_libdir}/librest-0.7.so %{_libdir}/librest-extras-0.7.so %{_datadir}/gtk-doc/html/rest*0.7 %{_datadir}/gir-1.0/Rest-0.7.gir %{_datadir}/gir-1.0/RestExtras-0.7.gir %changelog * Sat Jul 23 2022 Fedora Release Engineering - 0.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jul 18 2022 Kalev Lember - 0.8.1-1 - New rest0.7 compat package, based on earlier rest 0.8.1-12 packaging