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