update to 3.2 [release 3.2-1mamba;Thu Dec 31 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 05:44:22 +01:00
parent da0656f28b
commit 655d130b6a

View File

@ -1,13 +1,12 @@
Name: libsearpc Name: libsearpc
Version: 3.1 Version: 3.2
Release: 2mamba Release: 1mamba
Summary: A simple C language RPC framework based on GObject system Summary: A simple C language RPC framework based on GObject system
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: https://github.com/haiwen/libsearpc URL: https://github.com/haiwen/libsearpc
## GITSOURCE https://github.com/haiwen/libsearpc.git v3.0.4
Source: https://github.com/haiwen/libsearpc.git/v%{version}-latest/libsearpc-%{version}.tar.bz2 Source: https://github.com/haiwen/libsearpc.git/v%{version}-latest/libsearpc-%{version}.tar.bz2
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -15,9 +14,8 @@ BuildRequires: glibc-devel
BuildRequires: libffi-devel BuildRequires: libffi-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libjansson-devel BuildRequires: libjansson-devel
BuildRequires: libpython-devel BuildRequires: libpython3-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Searpc is a simple C language RPC framework based on GObject system. Searpc handles the serialization/deserialization part of RPC, the transport part is left to users. Searpc is a simple C language RPC framework based on GObject system. Searpc handles the serialization/deserialization part of RPC, the transport part is left to users.
@ -40,14 +38,25 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools %description tools
This package contains utility applications for %{name}. This package contains utility applications for %{name}.
%package -n python-searpc
Group: System/Libraries/Python
Summary: Python bindings for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n python-searpc
This package contains the python bindings for %{name}.
%debug_package %debug_package
%prep %prep
%setup -q %setup -q
./autogen.sh
%build %build
./autogen.sh %configure \
%configure --with-python3 \
PYTHON=%{__python3}
%make %make
%install %install
@ -63,8 +72,6 @@ This package contains utility applications for %{name}.
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libsearpc.so.* %{_libdir}/libsearpc.so.*
%dir %{python_sitearch}/pysearpc
%{python_sitearch}/pysearpc/*
%doc AUTHORS LICENSE.txt %doc AUTHORS LICENSE.txt
%files devel %files devel
@ -81,7 +88,15 @@ This package contains utility applications for %{name}.
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/searpc-codegen.py %{_bindir}/searpc-codegen.py
%files -n python-searpc
%defattr(-,root,root)
%dir %{python3_sitearch}/pysearpc
%{python3_sitearch}/pysearpc/*
%changelog %changelog
* Thu Dec 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2-1mamba
- update to 3.2
* Sun Sep 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1-2mamba * Sun Sep 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1-2mamba
- rebuild to update libtool static requirements - rebuild to update libtool static requirements