Name: eventlog Version: 0.2.5 Release: 1 Summary: Syslog-ng v2 support library Group: System Environment/Libraries License: BSD Url: http://www.balabit.com/products/syslog-ng/ Source: http://www.balabit.com/downloads/syslog-ng/2.0/src/eventlog-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-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. 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 is the runtime part of the library. %package devel Summary: Syslog-ng v2 support library development files Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description 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. 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 the development files. %prep %setup -q # xlc doesn't like the "-Wall" option, so remove it from configure cat configure | sed -e "s| -Wall -g||" > configure.tmp mv configure.tmp configure chmod 755 configure %build ./configure --prefix=/opt/freeware make %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING CREDITS NEWS README %{_libdir}/libevtlog.a %files devel %defattr(-,root,root,-) %doc doc/* %{_libdir}/libevtlog.la %{_libdir}/pkgconfig/%{name}.pc %{_includedir}/%{name}/ %changelog * Mon Oct 01 2007 Michael Perzl - 0.2.5-1 - first version for AIX V5.1 and higher