%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} Name: rest Version: 0.8.1 Release: 2%{?_dist_release} Summary: RESTful web api query library Group: system Vendor: Project Vine Distribution: Vine Linux License: LGPLv2+ URL: http://git.gnome.org/browse/librest %global shortver %(echo %{version} | cut -d . -f 1-2) Source0: https://download.gnome.org/sources/rest/%{shortver}/%{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: glib2-devel BuildRequires: gobject-introspection-devel BuildRequires: libsoup-devel BuildRequires: ca-certificates BuildRequires: gtk-doc Requires: ca-certificates %description This library has been designed to make it easier to access web services that claim to be "RESTful". A reasonable definition of what this means can be found on Wikipedia [1]. However a reasonable description is that a RESTful service should have urls that represent remote objects which methods can then be called on. %package devel Summary: Development tools for rest Summary(ja): rest の開発環境 Group: programming Requires: %{name} = %{version}-%{release} Requires: pkgconfig Requires: glib2-devel Requires: libsoup-devel Requires: libxml2-devel %description devel Header files and libraries for building a extension library for the rest. %package doc Summary: Documentation for rest Summary(ja): rest 用のドキュメント Group: documentation Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc This package contains documentation for rest. # compat32 %package -n compat32-%{name} Summary: RESTful web api query library Group: system,legacy %description -n compat32-%{name} This library has been designed to make it easier to access web services that claim to be "RESTful". A reasonable definition of what this means can be found on Wikipedia [1]. However a reasonable description is that a RESTful service should have urls that represent remote objects which methods can then be called on. %debug_package %prep %setup -q %build %configure \ --enable-gtk-doc \ --disable-static \ --enable-introspection=yes make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %files %defattr(-,root,root,-) %license COPYING %doc AUTHORS README %{_libdir}/*.so.* %{_libdir}/girepository-1.0/*.typelib %files devel %defattr(-, root, root) %{_includedir}/%{name}-0.7 %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_datadir}/gir-1.0/*.gir %files doc %defattr(-, root, root) %{_datadir}/gtk-doc/html/%{name}-0.7 %if %{build_compat32} %files -n compat32-%{name} %defattr(-,root,root,-) %{_libdir}/*.so.* %endif %changelog * Fri Mar 19 2021 Tomohiro "Tomo-p" KATO 0.8.1-2 - dropped scriptlets. * Sat Jan 06 2018 Tomohiro "Tomo-p" KATO 0.8.1-1 - new upstream release. * Sat Feb 13 2016 Yoji TOYODA 0.7.93-2 - create compat32-rest subpakcage * Sat Mar 28 2015 Yoji TOYODA 0.7.93-1 - new upstream release * Sun Oct 26 2014 Yoji TOYODA 0.7.92-1 - new upstream release * Sat Mar 29 2014 Yoji TOYODA 0.7.91-1 - new upstream release * Sat Jan 04 2014 Yoji TOYODA 0.7.90-2 - rebuild with VineSeed environment * Sat Sep 29 2012 Yoji TOYODA 0.7.90-1 - new upstream release - change BuildRequires: ca-certificates instead of openssl-devel * Sun Apr 08 2012 Yoji TOYODA 0.7.12-2 - fix URL * Wed Nov 16 2011 Yoji TOYODA 0.7.12-1 - new upstream release - add BuildRequires: openssl * Thu Nov 03 2011 Yoji TOYODA 0.7.11-1 - new upstream release * Mon Aug 15 2011 Yoji TOYODA 0.7.10-1 - initial build for Vine Linux