[libumberlog] import libumberlog.spec

Milan Bartos mbartos at fedoraproject.org
Fri Aug 17 08:20:24 UTC 2012


commit a6d68a162f124827887e4757ad617d34a0f4d19f
Author: Milan Bartos <mbartos at redhat.com>
Date:   Fri Aug 17 10:19:12 2012 +0200

    import libumberlog.spec

 libumberlog.spec |   68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/libumberlog.spec b/libumberlog.spec
new file mode 100644
index 0000000..8dde28a
--- /dev/null
+++ b/libumberlog.spec
@@ -0,0 +1,68 @@
+Name:		libumberlog
+Version:	0.2.1
+Release:	3%{?dist}
+Summary:	CEE-enhanced syslog API library
+
+License:	BSD
+URL:		https://github.com/algernon/libumberlog
+Source0:	https://github.com/downloads/algernon/libumberlog/%{name}-%{version}.tar.gz
+
+BuildRequires:	json-c
+BuildRequires:	check
+BuildRequires:	python-docutils
+
+%description
+The libumberlog library serves two purposes: it's either a drop-in
+replacement for the syslog() system call, in which case it turns
+the default syslog messages into CEE-enhanced messages, with a CEE-JSON
+payload, and some automatically discovered fields. Or, it can be used
+as a stand-alone library, that provides a syslog()-like API, with
+the ability to add arbitrary key-value pairs to the resulting JSON payload.
+
+%package devel
+Summary:	Development files for libumberlog
+Requires:	%{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Libumberlog-devel package contains development libraries and header files
+for libumberlog.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot} INSTALL='install -p'
+rm -f %{buildroot}%{_libdir}/*.{a,la}
+
+%check
+make check
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%doc LICENSE NEWS README.rst
+%{_libdir}/*.so.*
+
+%files devel
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/*.h
+%{_mandir}/man3/umberlog.3.*
+
+%changelog
+* Mon Aug 13 2012 Milan Bartos <mbartos at redhat.com> - 0.2.1-3
+- Remove /sbin/ldconfig from Requires
+
+* Tue Aug  7 2012 Milan Bartos <mbartos at redhat.com> - 0.2.1-2
+- Remove clean tag
+- Add Dist tag to release
+
+* Wed Aug  1 2012 Milan Bartos <mbartos at redhat.com> - 0.2.1-1
+- initial port
+


More information about the scm-commits mailing list