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) %define majver %(echo %version | cut -d. -f1-2)
Name: librest Name: librest
Version: 0.8.1 Version: 1.0.0
Release: 1mamba Release: 1mamba
Summary: A library designed to make it easier to access web services which support it Summary: A library designed to make it easier to access web services which support it
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://live.gnome.org URL: https://wiki.gnome.org/
Source: ftp://ftp.gnome.org/pub/gnome/sources/rest/%{majver}/rest-%{version}.tar.xz Source: https://gitlab.gnome.org/GNOME/librest.git/%{version}/librest-%{version}.tar.bz2
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: gtk-doc
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libjson-glib-devel
BuildRequires: libsoup-devel BuildRequires: libsoup-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
This library has been designed to make it easier to access web services that claim to be "RESTful". 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 %description devel
This library has been designed to make it easier to access web services that claim to be "RESTful". 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 %package apidocs
Group: Documentation Group: Documentation
@ -41,16 +48,20 @@ Requires: gtk-doc
%description apidocs %description apidocs
This package includes the %{name} API documentation. This package includes the %{name} API documentation.
%debug_package
%prep %prep
%setup -q -n rest-%{version} %setup -q
%build %build
%configure --enable-gtk-doc %meson \
%make -Dsoup2=false
%meson_build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %meson_install
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -67,21 +78,29 @@ This package includes the %{name} API documentation.
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/rest-* %dir %{_includedir}/rest-*
%{_includedir}/rest-*/* %{_includedir}/rest-*/*
%{_libdir}/librest-*.la
%{_libdir}/librest-*.so %{_libdir}/librest-*.so
#%{_libdir}/librest-extras-*.la
#%{_libdir}/librest-extras-*.so
%{_libdir}/girepository-1.0/Rest*.typelib %{_libdir}/girepository-1.0/Rest*.typelib
%{_datadir}/gir-1.0/Rest*.gir %{_datadir}/gir-1.0/Rest*.gir
%{_libdir}/pkgconfig/rest-*.pc %{_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 %files apidocs
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/rest-* %dir %{_docdir}/librest-1.0
%{_datadir}/gtk-doc/html/rest-*/* %{_docdir}/librest-1.0/*
%changelog %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 * Sat Oct 21 2017 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
- automatic version update by autodist - automatic version update by autodist