!2 [sync] PR-1: Package init
From: @openeuler-sync-bot Reviewed-by: Signed-off-by:
This commit is contained in:
commit
a029982e7b
BIN
riemann-c-client-1.9.0.tar.xz
Normal file
BIN
riemann-c-client-1.9.0.tar.xz
Normal file
Binary file not shown.
58
riemann-c-client.spec
Normal file
58
riemann-c-client.spec
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
Name: riemann-c-client
|
||||||
|
Version: 1.9.0
|
||||||
|
Release: 1
|
||||||
|
Summary: The riemann C client
|
||||||
|
License: GPLv2
|
||||||
|
Url: https://github.com/algernon/riemann-c-client
|
||||||
|
Source: https://github.com/algernon/riemann-c-client/releases/download/riemann-c-client-%{version}/riemann-c-client-%{version}.tar.xz
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: protobuf-c-devel
|
||||||
|
BuildRequires: json-c-devel
|
||||||
|
BuildRequires: chrpath
|
||||||
|
BuildRequires: gnutls-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
This is a C client library for the Riemann monitoring system, providing a
|
||||||
|
convenient and simple API, high test coverage and a copyleft license,
|
||||||
|
along with API and ABI stability.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for riemann-c-client
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: protobuf-c-devel%{?_isa}
|
||||||
|
Requires: json-c-devel
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package provides files necessary for riemann-c-client development.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-static
|
||||||
|
make %{_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
||||||
|
|
||||||
|
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/riemann-client
|
||||||
|
|
||||||
|
rm %{buildroot}/%{_libdir}/libriemann-client.la
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md NEWS.md
|
||||||
|
%{_libdir}/libriemann-client.so.*
|
||||||
|
%{_bindir}/riemann-client
|
||||||
|
%{_mandir}/man1/*.1*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/riemann/
|
||||||
|
%{_libdir}/libriemann-client.so
|
||||||
|
%{_libdir}/pkgconfig/riemann-client.pc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Aug 18 2021 Python_Bot <Python_Bot@openeuler.org> - 1.9.0-1
|
||||||
|
- Init Package
|
||||||
Loading…
x
Reference in New Issue
Block a user