Compare commits
4 Commits
3.1-1mamba
...
main
Author | SHA1 | Date | |
---|---|---|---|
200ab4d326 | |||
381b1fd4eb | |||
655d130b6a | |||
da0656f28b |
@ -1,23 +1,20 @@
|
||||
Name: libsearpc
|
||||
Version: 3.1
|
||||
Release: 1mamba
|
||||
Version: 3.3
|
||||
Release: 2mamba
|
||||
Summary: A simple C language RPC framework based on GObject system
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
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
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libffi-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libjansson-devel
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libpython310-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%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.
|
||||
@ -26,6 +23,7 @@ Searpc is a simple C language RPC framework based on GObject system. Searpc hand
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: pkg-config
|
||||
|
||||
%description devel
|
||||
@ -39,14 +37,25 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
%description tools
|
||||
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
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
./autogen.sh
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure
|
||||
%configure \
|
||||
--with-python3 \
|
||||
PYTHON=%{__python310}
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
@ -62,11 +71,6 @@ This package contains utility applications for %{name}.
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libsearpc.so.*
|
||||
%dir %{python_sitearch}/pysearpc
|
||||
%{python_sitearch}/pysearpc/__init__.py*
|
||||
%{python_sitearch}/pysearpc/client.py*
|
||||
%{python_sitearch}/pysearpc/common.py*
|
||||
%{python_sitearch}/pysearpc/server.py*
|
||||
%doc AUTHORS LICENSE.txt
|
||||
|
||||
%files devel
|
||||
@ -74,7 +78,6 @@ This package contains utility applications for %{name}.
|
||||
%{_includedir}/searpc-*.h
|
||||
%{_includedir}/searpc.h
|
||||
%{_libdir}/libsearpc.a
|
||||
%{_libdir}/libsearpc.la
|
||||
%{_libdir}/libsearpc.so
|
||||
%{_libdir}/pkgconfig/libsearpc.pc
|
||||
%doc README.markdown
|
||||
@ -83,7 +86,24 @@ This package contains utility applications for %{name}.
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/searpc-codegen.py
|
||||
|
||||
%files -n python-searpc
|
||||
%defattr(-,root,root)
|
||||
%dir %{python310_sitearch}/pysearpc
|
||||
%{python310_sitearch}/pysearpc/*
|
||||
|
||||
%changelog
|
||||
* Thu Jun 29 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3-2mamba
|
||||
- rebuilt with python 3.10
|
||||
|
||||
* Fri Nov 18 2022 Automatic Build System <autodist@mambasoft.it> 3.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* 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
|
||||
- rebuild to update libtool static requirements
|
||||
|
||||
* Thu Dec 07 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1-1mamba
|
||||
- update to 3.1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user