%define majver %(echo %version | cut -d. -f1-2) Name: librest Version: 0.8.1 Release: 1mamba Summary: A library designed to make it easier to access web services which support it Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://live.gnome.org Source: ftp://ftp.gnome.org/pub/gnome/sources/rest/%{majver}/rest-%{version}.tar.xz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: gtk-doc BuildRequires: libglib-devel BuildRequires: libsoup-devel BuildRequires: libxml2-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This library has been designed to make it easier to access web services that claim to be "RESTful". %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel This library has been designed to make it easier to access web services that claim to be "RESTful". This package contains static libraries and header files need for development. %package apidocs Group: Documentation Summary: %{name} API documentation Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: gtk-doc %description apidocs This package includes the %{name} API documentation. %prep %setup -q -n rest-%{version} %build %configure --enable-gtk-doc %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/librest-*.so.* %doc AUTHORS COPYING %files devel %defattr(-,root,root) %dir %{_includedir}/rest-* %{_includedir}/rest-*/* %{_libdir}/librest-*.la %{_libdir}/librest-*.so #%{_libdir}/librest-extras-*.la #%{_libdir}/librest-extras-*.so %{_libdir}/girepository-1.0/Rest*.typelib %{_datadir}/gir-1.0/Rest*.gir %{_libdir}/pkgconfig/rest-*.pc %doc README %files apidocs %defattr(-,root,root) %dir %{_datadir}/gtk-doc/html/rest-* %{_datadir}/gtk-doc/html/rest-*/* %changelog * Sat Oct 21 2017 Automatic Build System 0.8.1-1mamba - automatic version update by autodist * Fri May 20 2016 Silvan Calarco 0.8.0-1mamba - update to 0.8.0 * Wed Apr 08 2015 Automatic Build System 0.7.93-1mamba - automatic update by autodist * Sun Sep 07 2014 Automatic Build System 0.7.92-1mamba - automatic update by autodist * Mon Mar 10 2014 Automatic Build System 0.7.91-1mamba - automatic version update by autodist * Sat Aug 18 2012 Automatic Build System 0.7.90-1mamba - update to 0.7.90 * Sun Apr 01 2012 Automatic Build System 0.7.12-1mamba - automatic version update by autodist * Mon Oct 03 2011 Silvan Calarco 0.7.10-1mamba - package created by autospec