%define name eventlog %define version 0.2.12 %define release %mkrel 1 %define major 0 %define libname %mklibname %{name} %{major} Name: %{name} Version: %{version} Release: %{release} Summary: Replacement for syslog API License: GPL Group: System/Libraries URL: http://www.balabit.com/products/syslog_ng/ Source: http://www.balabit.com/downloads/files/eventlog/0.2/%{name}_%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version} %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 %{libname} Group: Development/Other License: GPL Summary: Replacement for syslog API %description -n %{libname} 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 %{libname}-devel Group: Development/Other License: GPL Summary: Replacement for syslog API Requires: %{libname} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} %description -n %{libname}-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. %prep %setup -q %build %configure2_5x %make %install rm -rf %{buildroot} %makeinstall %clean rm -rf %{buildroot} %if %mdkversion < 200900 %post -n %{libname} -p /sbin/ldconfig %endif %if %mdkversion < 200900 %postun -n %{libname} -p /sbin/ldconfig %endif %files -n %{libname} %defattr(-,root,root) %doc README AUTHORS ChangeLog COPYING CREDITS NEWS PORTS VERSION %{_libdir}/libevtlog*so.* %files -n %{libname}-devel %defattr (-,root,root) %{_includedir}/eventlog %{_libdir}/libevtlog.a %{_libdir}/libevtlog.la %{_libdir}/libevtlog.so %{_libdir}/pkgconfig/eventlog.pc %changelog * Fri Jul 16 2010 Guillaume Rousse <guillomovitch@mandriva.org> 0.2.12-1mdv2011.0 + Revision: 554102 - new version * Thu Aug 20 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.2.10-1mdv2010.0 + Revision: 418403 - new version * Tue Jan 20 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.2.9-1mdv2009.1 + Revision: 331908 - new version * Mon Nov 03 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.2.7-1mdv2009.1 + Revision: 299468 - new version * Thu Jul 24 2008 Thierry Vignaud <tv@mandriva.org> 0.2.5-4mdv2009.0 + Revision: 244994 - rebuild + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0.2.5-2mdv2008.1 + Revision: 136407 - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request * Wed Mar 14 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.2.5-2mdv2007.1 + Revision: 143408 - fix devel package provides * Tue Mar 13 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.2.5-1mdv2007.1 + Revision: 142409 - Imported eventlog-0.2.5-1mdv2007.1 into SVN repository.