Rebase to 1.1.1
- bump soname - 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
This commit is contained in:
parent
a358653ffe
commit
668e6ea641
@ -1,9 +0,0 @@
|
||||
--- x/lognorm.pc.in 2012-09-20 17:19:10.901594600 +0530
|
||||
+++ y/lognorm.pc.in 2012-09-20 17:20:22.076596296 +0530
|
||||
@@ -6,5 +6,5 @@
|
||||
Name: lognorm
|
||||
Description: fast samples-based log normalization library
|
||||
Version: @VERSION@
|
||||
-Libs: -L${libdir} -llognorm -lee -lestr
|
||||
+Libs: -L${libdir} -llognorm
|
||||
Cflags: -I${includedir}
|
@ -1,14 +1,17 @@
|
||||
Name: liblognorm
|
||||
Version: 0.3.7
|
||||
Release: 3%{?dist}
|
||||
Summary: Fast samples-based log normalization library
|
||||
%define htmldir %{_docdir}/liblognorm/html
|
||||
|
||||
Name: liblognorm
|
||||
Version: 1.1.1
|
||||
Release: 1%{?dist}
|
||||
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
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: json-c-devel
|
||||
BuildRequires: libestr-devel
|
||||
BuildRequires: pcre-devel
|
||||
|
||||
%description
|
||||
Briefly described, liblognorm is a tool to normalize log data.
|
||||
@ -24,12 +27,21 @@ 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}
|
||||
Requires: json-c-devel%{?_isa}
|
||||
Requires: libestr-devel%{?_isa}
|
||||
|
||||
%description devel
|
||||
The liblognorm-devel package includes header files, libraries necessary for
|
||||
developing programs which use liblognorm library.
|
||||
|
||||
%package doc
|
||||
Summary: HTML documentation for liblognorm
|
||||
Group: Documentation
|
||||
BuildRequires: python-sphinx
|
||||
|
||||
%description doc
|
||||
This sub-package contains documentation for liblognorm in a HTML form.
|
||||
|
||||
%package utils
|
||||
Summary: Lognormalizer utility for normalizing log files
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
@ -40,24 +52,32 @@ log files.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1 -b .pc-file.patch
|
||||
|
||||
%build
|
||||
%configure
|
||||
%configure \
|
||||
--docdir=%{htmldir} \
|
||||
--enable-docs \
|
||||
--enable-regexp \
|
||||
|
||||
V=1 make
|
||||
|
||||
%install
|
||||
make install INSTALL="install -p" DESTDIR=%{buildroot}
|
||||
make V=1 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
|
||||
chrpath -d %{buildroot}%{_bindir}/lognormalizer
|
||||
chrpath -d %{buildroot}%{_libdir}/liblognorm.so
|
||||
rm %{buildroot}%{htmldir}/{objects.inv,.buildinfo}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog README
|
||||
%exclude %{htmldir}
|
||||
|
||||
%{_libdir}/lib*.so.*
|
||||
|
||||
%files devel
|
||||
@ -65,11 +85,22 @@ chrpath -d %{buildroot}/%{_libdir}/liblognorm.so.0.0.0
|
||||
%{_includedir}/*.h
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%files doc
|
||||
%doc %{htmldir}
|
||||
|
||||
%files utils
|
||||
%{_bindir}/lognormalizer
|
||||
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user