forked from clcollins/goaccess-rpm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgoaccess.spec
41 lines (32 loc) · 1.01 KB
/
goaccess.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Name: goaccess
Version: 1.2
Release: 0
Summary: Apache Log Analyzer
Group: Applications/Utilities
License: GPLv2
URL: http://goaccess.io
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: http://tar.goaccess.io/goaccess-%{version}.tar.gz
BuildRequires: glib2-devel
BuildRequires: automake
BuildRequires: ncurses-devel
BuildRequires: geoip-devel
BuildRequires: tokyocabinet-devel
%description
An open source real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems. It provides fast and valuable HTTP statistics for system administrators that require a visual server report on the fly.
%prep
%setup -q
%build
%configure --enable-geoip
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
%files
%doc COPYING README AUTHORS TODO
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%{_sysconfdir}/%{name}.conf
%{_datadir}/doc/%{name}/*
%changelog
* Mon Apr 24 2017 Chris Collins <collins.christopher@gmail.com> - 1.2
- Initial packaging