2024-01-06 04:43:32 +01:00
|
|
|
Name: libjson-rpc-cpp
|
2024-01-06 04:43:33 +01:00
|
|
|
Version: 1.4.1
|
2024-01-06 04:43:32 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 04:43:32 +01:00
|
|
|
Summary: C++ framework for json-rpc (json remote procedure call)
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 04:43:32 +01:00
|
|
|
URL: https://github.com/cinemast/libjson-rpc-cpp
|
2024-01-06 04:43:32 +01:00
|
|
|
Source: https://github.com/cinemast/libjson-rpc-cpp.git/v%{version}/libjson-rpc-cpp-%{version}.tar.bz2
|
2024-01-06 04:43:32 +01:00
|
|
|
Patch0: libjson-rpc-cpp-1.3.0-libmicrohttpd-0.9.71.patch
|
2024-01-06 04:43:32 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libargtable2-devel
|
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libhiredis-devel
|
|
|
|
BuildRequires: libjsoncpp-devel
|
|
|
|
BuildRequires: libmicrohttpd-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
2024-01-06 04:43:32 +01:00
|
|
|
BuildRequires: libjsoncpp-devel >= 1.9.3
|
2024-01-06 04:43:32 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
C++ framework for json-rpc (json remote procedure call).
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Group: Applications/Development
|
|
|
|
Summary: Utility applications for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package contains utility applications for %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 04:43:32 +01:00
|
|
|
#%patch0 -p1
|
2024-01-06 04:43:32 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 04:43:32 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DCOMPILE_TESTS=NO \
|
|
|
|
-DCOMPILE_EXAMPLES=NO
|
|
|
|
|
2024-01-06 04:43:32 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libjsonrpccpp-client.so.*
|
|
|
|
%{_libdir}/libjsonrpccpp-common.so.*
|
|
|
|
%{_libdir}/libjsonrpccpp-server.so.*
|
|
|
|
%{_libdir}/libjsonrpccpp-stub.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/jsonrpccpp
|
|
|
|
%{_includedir}/jsonrpccpp/*
|
|
|
|
%{_libdir}/libjsonrpccpp-client.so
|
|
|
|
%{_libdir}/libjsonrpccpp-common.so
|
|
|
|
%{_libdir}/libjsonrpccpp-server.so
|
|
|
|
%{_libdir}/libjsonrpccpp-stub.so
|
|
|
|
%dir %{_libdir}/libjson-rpc-cpp
|
|
|
|
%dir %{_libdir}/libjson-rpc-cpp/cmake
|
|
|
|
%{_libdir}/libjson-rpc-cpp/cmake/libjson-rpc-cpp*.cmake
|
|
|
|
%{_libdir}/pkgconfig/libjsonrpccpp-client.pc
|
|
|
|
%{_libdir}/pkgconfig/libjsonrpccpp-common.pc
|
|
|
|
%{_libdir}/pkgconfig/libjsonrpccpp-server.pc
|
2024-01-06 04:43:32 +01:00
|
|
|
%{_libdir}/pkgconfig/libjsonrpccpp-stub.pc
|
2024-01-06 04:43:32 +01:00
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/jsonrpcstub
|
|
|
|
%{_mandir}/man1/jsonrpcstub.1*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:43:33 +01:00
|
|
|
* Sun Dec 12 2021 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:43:32 +01:00
|
|
|
* Mon Oct 25 2021 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:43:32 +01:00
|
|
|
* Thu Aug 20 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
|
|
|
|
- update to 1.3.0
|
|
|
|
|
2024-01-06 04:43:32 +01:00
|
|
|
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
|
|
|
|
- rebuilt with libjson-rpc-cpp 1.9.2
|
|
|
|
|
2024-01-06 04:43:32 +01:00
|
|
|
* Mon Oct 07 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- update to 1.2.0
|
|
|
|
|
2024-01-06 04:43:32 +01:00
|
|
|
* Mon May 07 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
|
|
|
|
- package created using the webbuild interface
|