2024-01-06 05:42:41 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: librest
|
2024-01-06 05:42:42 +01:00
|
|
|
Version: 1.0.0
|
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>
|
2024-01-06 05:42:42 +01:00
|
|
|
URL: https://wiki.gnome.org/
|
|
|
|
Source: https://gitlab.gnome.org/GNOME/librest.git/%{version}/librest-%{version}.tar.bz2
|
2024-01-06 05:42:41 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libglib-devel
|
2024-01-06 05:42:42 +01:00
|
|
|
BuildRequires: libjson-glib-devel
|
2024-01-06 05:42:41 +01:00
|
|
|
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".
|
2024-01-06 05:42:42 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 05:42:41 +01:00
|
|
|
|
2024-01-06 05:42:42 +01:00
|
|
|
%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}.
|
2024-01-06 05:42:41 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2024-01-06 05:42:42 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 05:42:41 +01:00
|
|
|
%prep
|
2024-01-06 05:42:42 +01:00
|
|
|
%setup -q
|
2024-01-06 05:42:41 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 05:42:42 +01:00
|
|
|
%meson \
|
|
|
|
-Dsoup2=false
|
|
|
|
|
|
|
|
%meson_build
|
2024-01-06 05:42:41 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 05:42:42 +01:00
|
|
|
%meson_install
|
2024-01-06 05:42:41 +01:00
|
|
|
|
|
|
|
%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-*.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:42 +01:00
|
|
|
#%doc README.md
|
|
|
|
|
|
|
|
#%files demo
|
|
|
|
#%defattr(-,root,root)
|
|
|
|
#%{_bindir}/librest-demo
|
|
|
|
#%{_datadir}/applications/org.gnome.RestDemo.desktop
|
2024-01-06 05:42:41 +01:00
|
|
|
|
|
|
|
%files apidocs
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:42:42 +01:00
|
|
|
%dir %{_docdir}/librest-1.0
|
|
|
|
%{_docdir}/librest-1.0/*
|
|
|
|
|
2024-01-06 05:42:41 +01:00
|
|
|
%changelog
|
2024-01-06 05:42:42 +01:00
|
|
|
* Thu Nov 10 2022 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Nov 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-1mamba
|
|
|
|
- update to 0.9.1
|
|
|
|
|
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
|