From bd032e75d1093c1f84835213487507ffb0afe2f7 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:08:27 +0100 Subject: [PATCH] update to 0.2.12 [release 0.2.12-1mamba;Tue Aug 23 2011] --- README.md | 5 +++ eventlog.spec | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 eventlog.spec diff --git a/README.md b/README.md index f28970f..4e26aaf 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # eventlog +The EventLog library aims to be a replacement of the simple syslog() API provided on UNIX systems. The major difference between EventLog and syslog is that EventLog tries to add structure to messages. +Where you had a simple non-structrured string in syslog() you have a combination of description and tag/value pairs. +EventLog provides an interface to build, format and output an event record. +The exact format and output method can be customized by the administrator via a configuration file. + diff --git a/eventlog.spec b/eventlog.spec new file mode 100644 index 0000000..e10bf84 --- /dev/null +++ b/eventlog.spec @@ -0,0 +1,86 @@ +%define majver %(echo %version | cut -d. -f1-2) +Name: eventlog +Version: 0.2.12 +Release: 1mamba +Summary: A replacement of the simple syslog() API provided on UNIX systems +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.balabit.com/products/syslog_ng/ +Source: http://www.balabit.com/downloads/files/eventlog/%{majver}/eventlog_%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The EventLog library aims to be a replacement of the simple syslog() API provided on UNIX systems. The major difference between EventLog and syslog is that EventLog tries to add structure to messages. +Where you had a simple non-structrured string in syslog() you have a combination of description and tag/value pairs. +EventLog provides an interface to build, format and output an event record. +The exact format and output method can be customized by the administrator via a configuration file. + +%package -n libeventlog +Summary: Devel package for %{name} +Group: Development/Libraries + +%description -n libeventlog +The EventLog library aims to be a replacement of the simple syslog() API provided on UNIX systems. The major difference between EventLog and syslog is that EventLog tries to add structure to messages. +Where you had a simple non-structrured string in syslog() you have a combination of description and tag/value pairs. +EventLog provides an interface to build, format and output an event record. +The exact format and output method can be customized by the administrator via a configuration file. + +%package -n libeventlog-devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: libeventlog = %{?epoch:%epoch:}%{version}-%{release} + +%description -n libeventlog-devel +The EventLog library aims to be a replacement of the simple syslog() API provided on UNIX systems. The major difference between EventLog and syslog is that EventLog tries to add structure to messages. +Where you had a simple non-structrured string in syslog() you have a combination of description and tag/value pairs. +EventLog provides an interface to build, format and output an event record. +The exact format and output method can be customized by the administrator via a configuration file. + +This package contains static libraries and header files need for development. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -n libeventlog +%defattr(-,root,root) +%{_libdir}/libevtlog.so.* +%doc COPYING + +%files -n libeventlog-devel +%defattr(-,root,root) +%{_libdir}/libevtlog.a +%{_libdir}/libevtlog.la +%{_libdir}/libevtlog.so +%{_includedir}/eventlog/*.h +%{_libdir}/pkgconfig/*.pc +%doc AUTHORS COPYING CREDITS ChangeLog NEWS README + +%changelog +* Tue Aug 23 2011 Silvan Calarco 0.2.12-1mamba +- update to 0.2.12 + +* Sun Jun 01 2008 Silvan Calarco 0.2.7-1mamba +- update to 0.2.7 + +* Sun Jun 01 2008 Silvan Calarco 0.2.5-2mamba +- specfile updated + +* Sun Mar 18 2007 Silvan Calarco 0.2.5-1qilnx +- package created by autospec