%define majver %(echo %version | cut -d. -f1-2) Name: librest Version: 1.0.0 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: https://wiki.gnome.org/ Source: https://gitlab.gnome.org/GNOME/librest.git/%{version}/librest-%{version}.tar.bz2 License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libglib-devel BuildRequires: libjson-glib-devel BuildRequires: libsoup-devel BuildRequires: libxml2-devel ## AUTOBUILDREQ-END %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 needed for development. %package demo Group: Development/Tools Summary: Demo application provided with %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description demo This library has been designed to make it easier to access web services that claim to be "RESTful". This package contains a demo application provided with %{name}. %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. %debug_package %prep %setup -q %build %meson \ -Dsoup2=false %meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %meson_install %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-*.so %{_libdir}/girepository-1.0/Rest*.typelib %{_datadir}/gir-1.0/Rest*.gir %{_libdir}/pkgconfig/rest-*.pc #%doc README.md #%files demo #%defattr(-,root,root) #%{_bindir}/librest-demo #%{_datadir}/applications/org.gnome.RestDemo.desktop %files apidocs %defattr(-,root,root) %dir %{_docdir}/librest-1.0 %{_docdir}/librest-1.0/* %changelog * Thu Nov 10 2022 Automatic Build System 1.0.0-1mamba - automatic version update by autodist * Tue Nov 08 2022 Silvan Calarco 0.9.1-1mamba - update to 0.9.1 * 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