2012-10-11 12:24:32 +00:00
|
|
|
Name: liblognorm
|
2013-07-31 13:45:05 +00:00
|
|
|
Version: 0.3.7
|
2012-12-12 11:09:09 +00:00
|
|
|
Release: 1%{?dist}
|
2012-10-11 12:24:32 +00:00
|
|
|
Summary: Fast samples-based log normalization library
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://www.liblognorm.com
|
|
|
|
Source0: http://www.liblognorm.com/files/download/%{name}-%{version}.tar.gz
|
|
|
|
Patch1: liblognorm-0.3.4-pc-file.patch
|
|
|
|
|
|
|
|
BuildRequires: libestr-devel, libee-devel, chrpath
|
|
|
|
|
|
|
|
%description
|
2012-12-12 11:09:09 +00:00
|
|
|
Briefly described, liblognorm is a tool to normalize log data.
|
2012-10-11 12:24:32 +00:00
|
|
|
|
|
|
|
People who need to take a look at logs often have a common problem. Logs from
|
2012-12-12 11:09:09 +00:00
|
|
|
different machines (from different vendors) usually have different formats for
|
|
|
|
their logs. Even if it is the same type of log (e.g. from firewalls), the log
|
2012-10-11 12:24:32 +00:00
|
|
|
entries are so different, that it is pretty hard to read these. This is where
|
|
|
|
liblognorm comes into the game. With this tool you can normalize all your logs.
|
|
|
|
All you need is liblognorm and its dependencies and a sample database that fits
|
|
|
|
the logs you want to normalize.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development tools for programs using liblognorm library
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: libee-devel%{?_isa} libestr-devel%{?_isa}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The liblognorm-devel package includes header files, libraries necessary for
|
|
|
|
developing programs which use liblognorm library.
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
Summary: Lognormalizer utility for normalizing log files
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description utils
|
|
|
|
The lognormalizer is the core of liblognorm, it is a utility for normalizing
|
|
|
|
log files.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch1 -p1 -b .pc-file.patch
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
V=1 make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install INSTALL="install -p" DESTDIR=%{buildroot}
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.{a,la}
|
|
|
|
chrpath -d %{buildroot}/%{_bindir}/lognormalizer
|
|
|
|
chrpath -d %{buildroot}/%{_libdir}/liblognorm.so.0.0.0
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%files utils
|
|
|
|
%{_bindir}/lognormalizer
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2013-07-31 13:45:05 +00:00
|
|
|
* Wed Jul 31 2013 Tomas Heinrich <theinric@redhat.com> - 0.3.7-1
|
|
|
|
- rebase to 0.3.7
|
|
|
|
|
2012-12-12 11:09:09 +00:00
|
|
|
* Wed Dec 12 2012 Mahaveer Darade <mah.darade@gmail.com> - 0.3.5-1
|
|
|
|
- upgrade to upstream version 0.3.5
|
|
|
|
- drop patch0, merged upstream
|
|
|
|
liblognorm-0.3.4-rename-to-lognormalizer.patch
|
|
|
|
- remove trailing whitespace
|
|
|
|
|
2012-10-11 12:24:32 +00:00
|
|
|
* Fri Oct 05 2012 mdarade <mdarade@redhat.com> - 0.3.4-4
|
2012-12-12 11:09:09 +00:00
|
|
|
- Modified description of main & util package
|
2012-10-11 12:24:32 +00:00
|
|
|
|
|
|
|
* Thu Sep 20 2012 Mahaveer Darade <mdarade@redhat.com> - 0.3.4-3
|
|
|
|
- Renamed normalizer binary to lognormalizer
|
|
|
|
- Updated pc file to exclude lee and lestr
|
|
|
|
|
|
|
|
* Mon Aug 27 2012 mdarade <mdarade@redhat.com> - 0.3.4-2
|
|
|
|
- Updated BuildRequires to contain libestr-devel
|
|
|
|
|
|
|
|
* Wed Aug 1 2012 Milan Bartos <mbartos@redhat.com> - 0.3.4-1
|
|
|
|
- initial port
|