]> git.pld-linux.org Git - packages/lnav.git/blame - lnav.spec
up to 0.10.0
[packages/lnav.git] / lnav.spec
CommitLineData
6027069f
JP
1Summary: Log file navigator
2Name: lnav
8a831df5 3Version: 0.10.0
6027069f
JP
4Release: 1
5License: BSD
6Group: Applications
7Source0: https://github.com/tstack/lnav/releases/download/v%{version}/%{name}-%{version}.tar.bz2
8a831df5 8# Source0-md5: 213414460c6925af0da5669816becad6
6027069f
JP
9URL: https://lnav.org/
10BuildRequires: autoconf
11BuildRequires: automake
12BuildRequires: bzip2-devel
13BuildRequires: curl-devel >= 7.23.0
14BuildRequires: jemalloc-devel
8a831df5 15BuildRequires: libarchive-devel
6027069f
JP
16# c++14
17BuildRequires: libstdc++-devel >= 6:5.0
18BuildRequires: ncurses-devel
19BuildRequires: pcre-cxx-devel
20BuildRequires: re2c
21BuildRequires: readline-devel
22BuildRequires: sqlite3-devel >= 3.9.0
23BuildRequires: zlib-devel
6027069f 24Requires: curl-libs >= 7.23.0
8a831df5 25Requires: sqlite3-libs >= 3.9.0
6027069f
JP
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29The log file navigator, lnav, is an enhanced log file viewer that
30takes advantage of any semantic information that can be gleaned from
31the files being viewed, such as timestamps and log levels. Using this
32extra semantic information, lnav can do things like interleaving
33messages from different files, generate histograms of messages over
34time, and providing hotkeys for navigating through the file. It is
35hoped that these features will allow the user to quickly and
36efficiently zero in on problems.
37
38
39%prep
40%setup -q
41
42%build
43%{__aclocal} -I m4
44%{__autoconf}
45%{__autoheader}
46%{__automake}
47%configure \
48 --disable-silent-rules \
49 --disable-static \
50 --with-jemalloc
51%{__make}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%doc AUTHORS INSTALL NEWS README README.md
65%attr(755,root,root) %{_bindir}/lnav
66%{_mandir}/man1/lnav.1*
This page took 0.089363 seconds and 4 git commands to generate.