2015-01-16 23:49:19 +00:00
|
|
|
%define htmldir %{_docdir}/liblognorm/html
|
|
|
|
|
2012-10-11 12:24:32 +00:00
|
|
|
Name: liblognorm
|
2021-03-02 12:10:34 +00:00
|
|
|
Version: 2.0.6
|
2022-01-20 16:37:12 +00:00
|
|
|
Release: 3%{?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
|
|
|
|
|
2021-03-02 12:10:34 +00:00
|
|
|
BuildRequires: gcc
|
2015-01-16 23:49:19 +00:00
|
|
|
BuildRequires: chrpath
|
2016-09-29 11:09:06 +00:00
|
|
|
BuildRequires: libfastjson-devel
|
2015-01-16 23:49:19 +00:00
|
|
|
BuildRequires: libestr-devel
|
|
|
|
BuildRequires: pcre-devel
|
2012-10-11 12:24:32 +00:00
|
|
|
|
|
|
|
%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}
|
2015-01-16 23:49:19 +00:00
|
|
|
Requires: json-c-devel%{?_isa}
|
|
|
|
Requires: libestr-devel%{?_isa}
|
2012-10-11 12:24:32 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The liblognorm-devel package includes header files, libraries necessary for
|
|
|
|
developing programs which use liblognorm library.
|
|
|
|
|
2015-01-16 23:49:19 +00:00
|
|
|
%package doc
|
|
|
|
Summary: HTML documentation for liblognorm
|
2021-03-02 12:10:34 +00:00
|
|
|
BuildRequires: python3-sphinx
|
2021-01-05 02:08:59 +00:00
|
|
|
BuildRequires: make
|
2015-01-16 23:49:19 +00:00
|
|
|
|
|
|
|
%description doc
|
|
|
|
This sub-package contains documentation for liblognorm in a HTML form.
|
|
|
|
|
2012-10-11 12:24:32 +00:00
|
|
|
%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
|
|
|
|
|
|
|
|
%build
|
2017-10-12 14:37:49 +00:00
|
|
|
%configure --enable-regexp --enable-docs --docdir=%{htmldir} --includedir=%{_includedir}/%{name}/
|
2015-01-16 23:49:19 +00:00
|
|
|
|
2012-10-11 12:24:32 +00:00
|
|
|
|
|
|
|
%install
|
2015-01-16 23:49:19 +00:00
|
|
|
make V=1 install INSTALL="install -p" DESTDIR=%{buildroot}
|
2012-10-11 12:24:32 +00:00
|
|
|
rm -f %{buildroot}/%{_libdir}/*.{a,la}
|
2015-01-16 23:49:19 +00:00
|
|
|
chrpath -d %{buildroot}%{_bindir}/lognormalizer
|
|
|
|
chrpath -d %{buildroot}%{_libdir}/liblognorm.so
|
2017-02-09 13:06:20 +00:00
|
|
|
rm %{buildroot}%{htmldir}/{objects.inv,.buildinfo}
|
2012-10-11 12:24:32 +00:00
|
|
|
|
2019-01-22 17:39:51 +00:00
|
|
|
%ldconfig_scriptlets
|
2012-10-11 12:24:32 +00:00
|
|
|
|
|
|
|
%files
|
2015-01-16 23:49:19 +00:00
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog README
|
|
|
|
%exclude %{htmldir}
|
|
|
|
|
2012-10-11 12:24:32 +00:00
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/lib*.so
|
2017-10-12 14:37:49 +00:00
|
|
|
%{_includedir}/%{name}/*.h
|
2012-10-11 12:24:32 +00:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
2017-02-09 12:45:36 +00:00
|
|
|
%files doc
|
|
|
|
%doc %{htmldir}
|
2015-01-16 23:49:19 +00:00
|
|
|
|
2012-10-11 12:24:32 +00:00
|
|
|
%files utils
|
|
|
|
%{_bindir}/lognormalizer
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-01-20 16:37:12 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-22 11:45:56 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-03-02 12:10:34 +00:00
|
|
|
* Tue Mar 02 2021 Attila Lakatos <alakatos@redhat.com> - 2.0.6-1
|
|
|
|
- Rebase to 2.0.6
|
|
|
|
|
2021-01-26 17:26:09 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 05:01:10 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-29 09:36:54 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 13:41:52 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 07:32:41 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 08:22:45 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 22:35:21 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-10-12 14:37:49 +00:00
|
|
|
* Thu Oct 12 2017 Marek Tamaskovic <mtamasko@redhat.com> - 2.0.3-4
|
|
|
|
- Fix header files location
|
|
|
|
- resolves rhbz#1113573
|
|
|
|
|
2017-08-03 01:47:13 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 19:12:16 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-03-29 12:27:02 +00:00
|
|
|
* Wed Mar 29 2017 Radovan Sroka <rsroka@redhat.com> - 2.0.2-1
|
|
|
|
- rebase to 2.0.3
|
|
|
|
|
|
|
|
* Thu Feb 9 2017 Radovan Sroka <rsroka@redhat.com> - 2.0.2-2
|
2017-02-09 13:06:20 +00:00
|
|
|
- removed forgoten commented line
|
|
|
|
|
2017-03-29 12:27:02 +00:00
|
|
|
* Thu Feb 9 2017 Radovan Sroka <rsroka@redhat.com> - 2.0.2-1
|
2017-02-09 12:45:36 +00:00
|
|
|
- rebase to 2.0.2
|
|
|
|
|
2017-03-29 12:27:02 +00:00
|
|
|
* Tue Oct 4 2016 Radovan Sroka <rsroka@redhat.com> - 2.0.1-1
|
2016-09-29 11:09:06 +00:00
|
|
|
- rebase to 2.0.1
|
|
|
|
|
2017-03-29 12:27:02 +00:00
|
|
|
* Tue Mar 15 2016 Radovan Sroka <rsroka@redhat.com> - 1.1.3-1
|
2016-09-29 11:09:06 +00:00
|
|
|
- rebase to v1.1.3
|
|
|
|
|
2016-02-04 03:28:49 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 16:01:42 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-01-16 23:49:19 +00:00
|
|
|
* Sun Mar 15 2015 Tomas Heinrich <theinric@redhat.com> - 1.1.1-1
|
|
|
|
- rebase to 1.1.1 (soname bump)
|
|
|
|
- drop liblognorm-0.3.4-pc-file.patch, not needed anymore
|
|
|
|
- update dependencies for the new version
|
|
|
|
- add a new subpackage for documentation
|
|
|
|
- enable support for reqular expressions
|
|
|
|
- make build more verbose
|
|
|
|
|
2014-08-17 04:24:11 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 04:16:21 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
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
|