2024-01-06 05:42:41 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: librest
|
2024-01-06 05:42:41 +01:00
|
|
|
Version: 0.8.1
|
2024-01-06 05:42:41 +01:00
|
|
|
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 <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://live.gnome.org
|
2024-01-06 05:42:41 +01:00
|
|
|
Source: ftp://ftp.gnome.org/pub/gnome/sources/rest/%{majver}/rest-%{version}.tar.xz
|
2024-01-06 05:42:41 +01:00
|
|
|
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)
|
2024-01-06 05:42:41 +01:00
|
|
|
%{_libdir}/librest-*.so.*
|
2024-01-06 05:42:41 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:42:41 +01:00
|
|
|
%dir %{_includedir}/rest-*
|
|
|
|
%{_includedir}/rest-*/*
|
|
|
|
%{_libdir}/librest-*.la
|
|
|
|
%{_libdir}/librest-*.so
|
|
|
|
#%{_libdir}/librest-extras-*.la
|
|
|
|
#%{_libdir}/librest-extras-*.so
|
2024-01-06 05:42:41 +01:00
|
|
|
%{_libdir}/girepository-1.0/Rest*.typelib
|
|
|
|
%{_datadir}/gir-1.0/Rest*.gir
|
2024-01-06 05:42:41 +01:00
|
|
|
%{_libdir}/pkgconfig/rest-*.pc
|
2024-01-06 05:42:41 +01:00
|
|
|
%doc README
|
|
|
|
|
|
|
|
%files apidocs
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:42:41 +01:00
|
|
|
%dir %{_datadir}/gtk-doc/html/rest-*
|
|
|
|
%{_datadir}/gtk-doc/html/rest-*/*
|
2024-01-06 05:42:41 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:42:41 +01:00
|
|
|
* Sat Oct 21 2017 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:42:41 +01:00
|
|
|
* Fri May 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0-1mamba
|
|
|
|
- update to 0.8.0
|
|
|
|
|
2024-01-06 05:42:41 +01:00
|
|
|
* Wed Apr 08 2015 Automatic Build System <autodist@mambasoft.it> 0.7.93-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 05:42:41 +01:00
|
|
|
* Sun Sep 07 2014 Automatic Build System <autodist@mambasoft.it> 0.7.92-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 05:42:41 +01:00
|
|
|
* Mon Mar 10 2014 Automatic Build System <autodist@mambasoft.it> 0.7.91-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Aug 18 2012 Automatic Build System <autodist@mambasoft.it> 0.7.90-1mamba
|
|
|
|
- update to 0.7.90
|
|
|
|
|
|
|
|
* Sun Apr 01 2012 Automatic Build System <autodist@mambasoft.it> 0.7.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 03 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.10-1mamba
|
|
|
|
- package created by autospec
|