automatic version update by autodist [release 1.0.0-1mamba;Thu Nov 10 2022]

This commit is contained in:
Automatic Build System 2024-01-06 05:42:42 +01:00
parent 026c8dfde3
commit 06e09523de

View File

@ -1,23 +1,22 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: librest
Version: 0.8.1
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 <silvan.calarco@mambasoft.it>
URL: http://live.gnome.org
Source: ftp://ftp.gnome.org/pub/gnome/sources/rest/%{majver}/rest-%{version}.tar.xz
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: gtk-doc
BuildRequires: libglib-devel
BuildRequires: libjson-glib-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".
@ -29,8 +28,16 @@ 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.
This package contains static libraries and header files need 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
@ -41,16 +48,20 @@ Requires: gtk-doc
%description apidocs
This package includes the %{name} API documentation.
%debug_package
%prep
%setup -q -n rest-%{version}
%setup -q
%build
%configure --enable-gtk-doc
%make
%meson \
-Dsoup2=false
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -67,21 +78,29 @@ This package includes the %{name} API documentation.
%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
#%doc README.md
#%files demo
#%defattr(-,root,root)
#%{_bindir}/librest-demo
#%{_datadir}/applications/org.gnome.RestDemo.desktop
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/rest-*
%{_datadir}/gtk-doc/html/rest-*/*
%dir %{_docdir}/librest-1.0
%{_docdir}/librest-1.0/*
%changelog
* 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
* Sat Oct 21 2017 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
- automatic version update by autodist