Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37536234
en ru br
ALT Linux repos
S:2.0.6-alt1

Group :: System/Libraries
RPM: liblognorm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable static
%def_disable docs
%def_enable regexp

Name: liblognorm
Version: 2.0.3
Release: alt1

Summary: liblognorm is a tool to normalize log data.
License: LGPLv2.1+
Group: System/Libraries
Url: http://www.liblognorm.com/

Source: %name-%version.tar
BuildRequires: pkgconfig(libestr)
BuildRequires: pkgconfig(libfastjson)
%{?_enable_regexp:BuildRequires: pkgconfig(libpcre)}
%{?_enable_docs:BuildRequires: /usr/bin/sphinx-build}

%description
Liblognorm shall help to make sense out of syslog data, or, actually, any event data that is present in text form.

%package devel
Summary: Headers for %name
Group: Development/C
Requires: %name = %version-%release

%description devel
Headers for building software that uses %name

%package devel-static
Summary: Static libraries for %name
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
Static libs for building statically linked software that uses %name

%prep
%setup

%build
%autoreconf
%configure \
%{subst_enable static} \
%{subst_enable docs} \
%{subst_enable regexp}

%make_build

%install
%makeinstall

%files
%_bindir/lognormalizer
%_libdir/%name.so.*
%doc AUTHORS ChangeLog

%files devel
%_pkgconfigdir/*.pc
%_libdir/%name.so
%_includedir/*

%if_enabled static
%files -n lib%name-devel-static
%_libdir/%name.a
%endif

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin