Summary: EventLog library - a replacement of the simple syslog() API Summary(pl.UTF-8): Biblioteka EventLog - zamiennik prostego API syslog() Name: eventlog Version: 0.2.5 Release: 1 License: BSD-like Group: Libraries Source0: http://www.balabit.com/downloads/syslog-ng/2.0/src/%{name}-%{version}.tar.gz # Source0-md5: a6bdba91f88540cc69b398fd138d86cd URL: http://www.balabit.com/products/syslog_ng/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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. %description -l pl.UTF-8 Celem biblioteki EventLog jest zastąpienie prostego API syslog() dostępnego w systemach uniksowych. Główną różnicą między EventLogiem a syslogiem jest to, że EventLog próbuje dodać do komunikatów strukturę. Tam, gdzie w API syslog() był prosty łańcuch bez struktury, mamy połączenie opisu i par znacznik/wartość. EvengLog udostępnia interfejs do tworzenia, formatowania i wyprowadzania rekordu zdarzenia. Dokładny format i metoda wyjściowa może być dostosowana przez administratora poprzez plik konfiguracyjny. %package devel Summary: Header files for eventlog Summary(pl.UTF-8): Pliki nagłówkowe biblioteki eventlog Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Header files for eventlog. %description devel -l pl.UTF-8 Pliki nagłówkowe biblioteki eventlog. %package static Summary: Static eventlog library Summary(pl.UTF-8): Biblioteka statyczna eventlog Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static Static eventlog library. %description static -l pl.UTF-8 Biblioteka statyczna eventlog. %prep %setup -q %build %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc doc/configuration.txt AUTHORS COPYING CREDITS NEWS PORTS README ChangeLog %attr(755,root,root) %{_libdir}/lib*.so.*.*.* %files devel %defattr(644,root,root,755) %doc doc/{API,DESIGN}.txt %attr(755,root,root) %{_libdir}/lib*.so %{_libdir}/lib*.la %dir %{_includedir}/eventlog %{_includedir}/eventlog/* %{_pkgconfigdir}/* %files static %defattr(644,root,root,755) %{_libdir}/lib*.a