Sophie

Sophie

distrib > Mandriva > mes5 > x86_64 > by-pkgid > b7ed86d98dc9cdcddb7de86e04705716 > files > 2

eventlog-0.2.5-4mdv2009.0.src.rpm

%define	name	eventlog
%define	version	0.2.5
%define	release	%mkrel 4
%define major	0
%define libname	%mklibname %{name} %{major}

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	Replacement for syslog API
URL:		http://www.balabit.com/products/syslog_ng/
Source:     http://www.balabit.com/downloads/syslog-ng/2.0/src/%{name}-%{version}.tar.bz2
License:	GPL
Group:		System/Libraries
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
* Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 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 <tvignaud@mandriva.com>
    - 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.