92 lines
3.5 KiB
RPMSpec
92 lines
3.5 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
Name: eventlog
|
|
Version: 0.2.13
|
|
Release: 1mamba
|
|
Summary: A replacement of the simple syslog() API provided on UNIX systems
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/balabit/eventlog
|
|
Source: https://github.com/balabit/eventlog.git/master/eventlog-%{version}.tar.bz2
|
|
#Source: http://www.balabit.com/downloads/files/eventlog/%{majver}/eventlog_%{version}.tar.gz
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%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 needed for development.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
./autogen.sh
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files -n libeventlog
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libevtlog.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files -n libeventlog-devel
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libevtlog.a
|
|
%{_libdir}/libevtlog.la
|
|
%{_libdir}/libevtlog.so
|
|
%{_includedir}/eventlog/*.h
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%doc CREDITS ChangeLog NEWS README
|
|
|
|
%changelog
|
|
* Fri May 21 2021 Automatic Build System <autodist@mambasoft.it> 0.2.13-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Aug 23 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.12-1mamba
|
|
- update to 0.2.12
|
|
|
|
* Sun Jun 01 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.7-1mamba
|
|
- update to 0.2.7
|
|
|
|
* Sun Jun 01 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.5-2mamba
|
|
- specfile updated
|
|
|
|
* Sun Mar 18 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.5-1qilnx
|
|
- package created by autospec
|