commit a4a194c368b292ccbacc4a71f53fc19835efb783
Author: Jakub Bogusz <[email protected]>
Date:   Sun Jun 14 07:59:48 2015 +0200

    - new

 riemann-c-client.spec | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 106 insertions(+)
---
diff --git a/riemann-c-client.spec b/riemann-c-client.spec
new file mode 100644
index 0000000..62e72ed
--- /dev/null
+++ b/riemann-c-client.spec
@@ -0,0 +1,106 @@
+#
+# Conditional build:
+%bcond_without static_libs     # don't build static libraries
+#
+Summary:       Riemann client library
+Summary(pl.UTF-8):     Biblioteka kliencka Riemann
+Name:          riemann-c-client
+Version:       1.8.0
+Release:       1
+License:       LGPL v3+
+Group:         Libraries
+Source0:       
https://github.com/algernon/riemann-c-client/archive/%{name}-%{version}.tar.gz
+# Source0-md5: a34ab2ab8df56c4b4e30861a425f8c8d
+URL:           https://github.com/algernon/riemann-c-client
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake
+BuildRequires: check-devel
+BuildRequires: gnutls-devel >= 2.8
+BuildRequires: json-c-devel >= 0.11
+BuildRequires: libtool >= 2:2
+BuildRequires: pkgconfig
+BuildRequires: protobuf-c-devel
+Requires:      json-c >= 0.11
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera przeznaczoną dla języka C bibliotekę kliencką
+systemu monitorowania Riemann, udostępniającą wygodne i proste API,
+mającą duże pokrycie testami oraz licencję typu copyleft, a także
+stabilne API i ABI.
+
+%package devel
+Summary:       Header files for riemann-client library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki riemann-client
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for riemann-client library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki riemann-client.
+
+%package static
+Summary:       Static riemann-client library
+Summary(pl.UTF-8):     Statyczna biblioteka riemann-client
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static riemann-client library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka riemann-client.
+
+%prep
+%setup -q -n %{name}-%{name}-%{version}
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       %{!?with_static_libs:--disable-static}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libriemann-client.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS.md README.md
+%attr(755,root,root) %{_bindir}/riemann-client
+%attr(755,root,root) %{_libdir}/libriemann-client.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libriemann-client.so.0
+%{_mandir}/man1/riemann-client.1*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libriemann-client.so
+%{_includedir}/riemann
+%{_pkgconfigdir}/riemann-client.pc
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libriemann-client.a
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/riemann-c-client.git/commitdiff/a4a194c368b292ccbacc4a71f53fc19835efb783

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to