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