53 lines
1.4 KiB
RPMSpec
53 lines
1.4 KiB
RPMSpec
Name: lnav
|
|
Version: 0.8.2
|
|
Release: 1%{?dist}
|
|
Summary: Curses-based tool for viewing and analyzing log files
|
|
License: BSD
|
|
URL: http://lnav.org
|
|
Source0: https://github.com/tstack/lnav/releases/download/v%{version}/lnav-%{version}.tar.gz
|
|
#BuildRequires: autoconf
|
|
#BuildRequires: automake
|
|
BuildRequires: bzip2-devel
|
|
BuildRequires: ncurses-devel
|
|
# Should be removed but craps still choking around.
|
|
# TODO 0.7.1
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: pcre-devel
|
|
BuildRequires: python
|
|
BuildRequires: readline-devel
|
|
BuildRequires: sqlite-devel
|
|
BuildRequires: zlib-devel
|
|
|
|
%description
|
|
lnav is an enhanced log file viewer that takes advantage of any semantic
|
|
information that can be gleaned from the files being viewed, such as
|
|
timestamps and log levels. Using this extra semantic information, it can
|
|
do things like interleaving messages from different files, generate
|
|
histograms of messages over time, and providing hotkeys for navigating
|
|
through the file. It is hoped that these features will allow the user to
|
|
quickly and efficiently zero in on problems.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
autoreconf -fiv
|
|
%configure --disable-static --disable-silent-rules
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%check
|
|
#make check
|
|
|
|
%files
|
|
%doc AUTHORS NEWS README
|
|
%license LICENSE
|
|
%{_bindir}/%{name}
|
|
%{_mandir}/man1/lnav.1*
|
|
|
|
%changelog
|
|
* Tue Jul 18 2017 Daniel Steiner <dsteiner@redhat.com>
|
|
- First build for Fedora 26
|