Blame SPECS/liblognorm.spec

Packit 45e580
%define htmldir %{_docdir}/liblognorm/html
Packit 45e580
Packit 45e580
Name:		liblognorm
Packit 45e580
Version:	2.0.5
Packit 45e580
Release:	1%{?dist}
Packit 45e580
Summary:	Fast samples-based log normalization library
Packit 45e580
License:	LGPLv2+
Packit 45e580
URL:		http://www.liblognorm.com
Packit 45e580
Source0:	http://www.liblognorm.com/files/download/%{name}-%{version}.tar.gz
Packit 45e580
Packit 45e580
BuildRequires:	chrpath
Packit 45e580
BuildRequires:	libfastjson-devel
Packit 45e580
BuildRequires:	libestr-devel
Packit 45e580
BuildRequires:	pcre-devel
Packit 45e580
Packit 45e580
%description
Packit 45e580
Briefly described, liblognorm is a tool to normalize log data.
Packit 45e580
Packit 45e580
People who need to take a look at logs often have a common problem. Logs from
Packit 45e580
different machines (from different vendors) usually have different formats for
Packit 45e580
their logs. Even if it is the same type of log (e.g. from firewalls), the log
Packit 45e580
entries are so different, that it is pretty hard to read these. This is where
Packit 45e580
liblognorm comes into the game. With this tool you can normalize all your logs.
Packit 45e580
All you need is liblognorm and its dependencies and a sample database that fits
Packit 45e580
the logs you want to normalize.
Packit 45e580
Packit 45e580
%package devel
Packit 45e580
Summary:	Development tools for programs using liblognorm library
Packit 45e580
Requires:	%{name}%{?_isa} = %{version}-%{release}
Packit 45e580
Packit 45e580
%description devel
Packit 45e580
The liblognorm-devel package includes header files, libraries necessary for
Packit 45e580
developing programs which use liblognorm library.
Packit 45e580
Packit 45e580
%package doc
Packit 45e580
Summary: HTML documentation for liblognorm
Packit 45e580
Group: Documentation
Packit 45e580
BuildRequires: python3-sphinx
Packit 45e580
Packit 45e580
%description doc
Packit 45e580
This sub-package contains documentation for liblognorm in a HTML form.
Packit 45e580
Packit 45e580
%package utils
Packit 45e580
Summary:	Lognormalizer utility for normalizing log files
Packit 45e580
Requires:	%{name}%{?_isa} = %{version}-%{release}
Packit 45e580
Packit 45e580
%description utils
Packit 45e580
The lognormalizer is the core of liblognorm, it is a utility for normalizing
Packit 45e580
log files.
Packit 45e580
Packit 45e580
%prep
Packit 45e580
%setup -q
Packit 45e580
Packit 45e580
%build
Packit 45e580
%configure --enable-regexp --enable-docs --docdir=%{htmldir} --includedir=%{_includedir}/%{name}/
Packit 45e580
Packit 45e580
Packit 45e580
%install
Packit 45e580
make V=1 install INSTALL="install -p" DESTDIR=%{buildroot}
Packit 45e580
rm -f %{buildroot}/%{_libdir}/*.{a,la}
Packit 45e580
chrpath -d %{buildroot}%{_bindir}/lognormalizer
Packit 45e580
chrpath -d %{buildroot}%{_libdir}/liblognorm.so
Packit 45e580
rm %{buildroot}%{htmldir}/{objects.inv,.buildinfo}
Packit 45e580
Packit 45e580
%post -p /sbin/ldconfig
Packit 45e580
Packit 45e580
%postun -p /sbin/ldconfig
Packit 45e580
Packit 45e580
%files
Packit 45e580
%{!?_licensedir:%global license %%doc}
Packit 45e580
%license COPYING
Packit 45e580
%doc AUTHORS ChangeLog README
Packit 45e580
%exclude %{htmldir}
Packit 45e580
Packit 45e580
%{_libdir}/lib*.so.*
Packit 45e580
Packit 45e580
%files devel
Packit 45e580
%{_libdir}/lib*.so
Packit 45e580
%{_includedir}/%{name}/*.h
Packit 45e580
%{_libdir}/pkgconfig/*.pc
Packit 45e580
Packit 45e580
%files doc
Packit 45e580
%doc %{htmldir}
Packit 45e580
Packit 45e580
%files utils
Packit 45e580
%{_bindir}/lognormalizer
Packit 45e580
Packit 45e580
Packit 45e580
%changelog
Packit 45e580
* Fri Aug 03 2018 Jiri Vymazal <jvymazal@redhat.com> - 2.0.5-1
Packit 45e580
rebase to upstream release 2.0.5
Packit 45e580
  resolves: rhbz#1612036
Packit 45e580
Packit 45e580
* Mon Jul 09 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.0.3-6
Packit 45e580
- Change to python3-sphinx
Packit 45e580
Packit 45e580
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-5
Packit 45e580
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Packit 45e580
Packit 45e580
* Thu Oct 12 2017 Marek Tamaskovic <mtamasko@redhat.com> - 2.0.3-4
Packit 45e580
- Fix header files location
Packit 45e580
- resolves rhbz#1113573
Packit 45e580
Packit 45e580
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-3
Packit 45e580
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
Packit 45e580
Packit 45e580
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2
Packit 45e580
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
Packit 45e580
Packit 45e580
* Wed Mar 29 2017 Radovan Sroka <rsroka@redhat.com> - 2.0.2-1
Packit 45e580
- rebase to 2.0.3
Packit 45e580
Packit 45e580
* Thu Feb 9 2017 Radovan Sroka <rsroka@redhat.com> - 2.0.2-2
Packit 45e580
- removed forgoten commented line
Packit 45e580
Packit 45e580
* Thu Feb 9 2017 Radovan Sroka <rsroka@redhat.com> - 2.0.2-1
Packit 45e580
- rebase to 2.0.2
Packit 45e580
Packit 45e580
* Tue Oct 4 2016 Radovan Sroka <rsroka@redhat.com> - 2.0.1-1
Packit 45e580
- rebase to 2.0.1
Packit 45e580
Packit 45e580
* Tue Mar 15 2016 Radovan Sroka <rsroka@redhat.com> - 1.1.3-1
Packit 45e580
- rebase to v1.1.3
Packit 45e580
Packit 45e580
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
Packit 45e580
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Packit 45e580
Packit 45e580
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
Packit 45e580
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
Packit 45e580
Packit 45e580
* Sun Mar 15 2015 Tomas Heinrich <theinric@redhat.com> - 1.1.1-1
Packit 45e580
- rebase to 1.1.1 (soname bump)
Packit 45e580
  - drop liblognorm-0.3.4-pc-file.patch, not needed anymore
Packit 45e580
  - update dependencies for the new version
Packit 45e580
  - add a new subpackage for documentation
Packit 45e580
  - enable support for reqular expressions
Packit 45e580
- make build more verbose
Packit 45e580
Packit 45e580
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7-3
Packit 45e580
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
Packit 45e580
Packit 45e580
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7-2
Packit 45e580
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
Packit 45e580
Packit 45e580
* Wed Jul 31 2013 Tomas Heinrich <theinric@redhat.com> - 0.3.7-1
Packit 45e580
- rebase to 0.3.7
Packit 45e580
Packit 45e580
* Wed Dec 12 2012 Mahaveer Darade <mah.darade@gmail.com> - 0.3.5-1
Packit 45e580
- upgrade to upstream version 0.3.5
Packit 45e580
- drop patch0, merged upstream
Packit 45e580
  liblognorm-0.3.4-rename-to-lognormalizer.patch
Packit 45e580
- remove trailing whitespace
Packit 45e580
Packit 45e580
* Fri Oct 05 2012 mdarade <mdarade@redhat.com> - 0.3.4-4
Packit 45e580
- Modified description of main & util package
Packit 45e580
Packit 45e580
* Thu Sep 20 2012 Mahaveer Darade <mdarade@redhat.com> - 0.3.4-3
Packit 45e580
- Renamed normalizer binary to lognormalizer
Packit 45e580
- Updated pc file to exclude lee and lestr
Packit 45e580
Packit 45e580
* Mon Aug 27 2012 mdarade <mdarade@redhat.com> - 0.3.4-2
Packit 45e580
- Updated BuildRequires to contain libestr-devel
Packit 45e580
Packit 45e580
* Wed Aug  1 2012 Milan Bartos <mbartos@redhat.com> - 0.3.4-1
Packit 45e580
- initial port