]> git.pld-linux.org Git - packages/lnav.git/blob - lnav.spec
up to 0.10.0
[packages/lnav.git] / lnav.spec
1 Summary:        Log file navigator
2 Name:           lnav
3 Version:        0.10.0
4 Release:        1
5 License:        BSD
6 Group:          Applications
7 Source0:        https://github.com/tstack/lnav/releases/download/v%{version}/%{name}-%{version}.tar.bz2
8 # Source0-md5:  213414460c6925af0da5669816becad6
9 URL:            https://lnav.org/
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  bzip2-devel
13 BuildRequires:  curl-devel >= 7.23.0
14 BuildRequires:  jemalloc-devel
15 BuildRequires:  libarchive-devel
16 # c++14
17 BuildRequires:  libstdc++-devel >= 6:5.0
18 BuildRequires:  ncurses-devel
19 BuildRequires:  pcre-cxx-devel
20 BuildRequires:  re2c
21 BuildRequires:  readline-devel
22 BuildRequires:  sqlite3-devel >= 3.9.0
23 BuildRequires:  zlib-devel
24 Requires:       curl-libs >= 7.23.0
25 Requires:       sqlite3-libs >= 3.9.0
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 The log file navigator, lnav, is an enhanced log file viewer that
30 takes advantage of any semantic information that can be gleaned from
31 the files being viewed, such as timestamps and log levels. Using this
32 extra semantic information, lnav can do things like interleaving
33 messages from different files, generate histograms of messages over
34 time, and providing hotkeys for navigating through the file. It is
35 hoped that these features will allow the user to quickly and
36 efficiently 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
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -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.0728 seconds and 3 git commands to generate.