[packages/lnav] new (version 0.8.5)
atler
atler at pld-linux.org
Wed Jun 17 19:02:27 CEST 2020
commit 6027069fc77c72451b64202a20cfacde8b75cc26
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Jun 17 19:01:35 2020 +0200
new (version 0.8.5)
lnav.spec | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
---
diff --git a/lnav.spec b/lnav.spec
new file mode 100644
index 0000000..1a18c45
--- /dev/null
+++ b/lnav.spec
@@ -0,0 +1,65 @@
+Summary: Log file navigator
+Name: lnav
+Version: 0.8.5
+Release: 1
+License: BSD
+Group: Applications
+Source0: https://github.com/tstack/lnav/releases/download/v%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5: 35a61fee76ac6d4f456f127fb97b7c1e
+URL: https://lnav.org/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: bzip2-devel
+BuildRequires: curl-devel >= 7.23.0
+BuildRequires: jemalloc-devel
+# c++14
+BuildRequires: libstdc++-devel >= 6:5.0
+BuildRequires: ncurses-devel
+BuildRequires: pcre-cxx-devel
+BuildRequires: re2c
+BuildRequires: readline-devel
+BuildRequires: sqlite3-devel >= 3.9.0
+BuildRequires: zlib-devel
+Requires: sqlite3-libs >= 3.9.0
+Requires: curl-libs >= 7.23.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The log file navigator, 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, lnav 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
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ --disable-silent-rules \
+ --disable-static \
+ --with-jemalloc
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS INSTALL NEWS README README.md
+%attr(755,root,root) %{_bindir}/lnav
+%{_mandir}/man1/lnav.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lnav.git/commitdiff/6027069fc77c72451b64202a20cfacde8b75cc26
More information about the pld-cvs-commit
mailing list