2024-01-06 05:44:22 +01:00
|
|
|
Name: libsearpc
|
2024-01-06 05:44:22 +01:00
|
|
|
Version: 3.3
|
2024-01-06 05:44:22 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 05:44:22 +01:00
|
|
|
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
|
2024-01-06 05:44:22 +01:00
|
|
|
Source: https://github.com/haiwen/libsearpc.git/v%{version}-latest/libsearpc-%{version}.tar.bz2
|
2024-01-06 05:44:22 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libjansson-devel
|
2024-01-06 05:44:22 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-06 05:44:22 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 05:44:22 +01:00
|
|
|
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 05:44:22 +01:00
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Group: Development/Tools
|
|
|
|
Summary: Utility applications for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package contains utility applications for %{name}.
|
|
|
|
|
2024-01-06 05:44:22 +01:00
|
|
|
%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}.
|
|
|
|
|
2024-01-06 05:44:22 +01:00
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 05:44:22 +01:00
|
|
|
./autogen.sh
|
2024-01-06 05:44:22 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 05:44:22 +01:00
|
|
|
%configure \
|
|
|
|
--with-python3 \
|
|
|
|
PYTHON=%{__python3}
|
|
|
|
|
2024-01-06 05:44:22 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libsearpc.so.*
|
2024-01-06 05:44:22 +01:00
|
|
|
%doc AUTHORS LICENSE.txt
|
2024-01-06 05:44:22 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:44:22 +01:00
|
|
|
%{_includedir}/searpc-*.h
|
2024-01-06 05:44:22 +01:00
|
|
|
%{_includedir}/searpc.h
|
|
|
|
%{_libdir}/libsearpc.a
|
|
|
|
%{_libdir}/libsearpc.so
|
|
|
|
%{_libdir}/pkgconfig/libsearpc.pc
|
|
|
|
%doc README.markdown
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/searpc-codegen.py
|
|
|
|
|
2024-01-06 05:44:22 +01:00
|
|
|
%files -n python-searpc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{python3_sitearch}/pysearpc
|
|
|
|
%{python3_sitearch}/pysearpc/*
|
|
|
|
|
2024-01-06 05:44:22 +01:00
|
|
|
%changelog
|
2024-01-06 05:44:22 +01:00
|
|
|
* Fri Nov 18 2022 Automatic Build System <autodist@mambasoft.it> 3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:44:22 +01:00
|
|
|
* Thu Dec 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2-1mamba
|
|
|
|
- update to 3.2
|
|
|
|
|
2024-01-06 05:44:22 +01:00
|
|
|
* Sun Sep 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1-2mamba
|
|
|
|
- rebuild to update libtool static requirements
|
|
|
|
|
2024-01-06 05:44:22 +01:00
|
|
|
* Thu Dec 07 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1-1mamba
|
|
|
|
- update to 3.1
|
|
|
|
|
2024-01-06 05:44:22 +01:00
|
|
|
* Fri Apr 08 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.7-1mamba
|
|
|
|
- update to 3.0.7
|
|
|
|
|
2024-01-06 05:44:22 +01:00
|
|
|
* Tue Aug 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-1mamba
|
|
|
|
- package created using the webbuild interface
|