LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File goaccess.spec of Package goaccess (Project server:http)

# vim: set sw=4 ts=4 et nu:
#
# spec file for package goaccess
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           goaccess
Version:        1.2
Release:        0
Summary:        Apache Web Log Analyzer
License:        GPL-2.0+
Group:          Productivity/Networking/Web/Utilities
URL:            https://goaccess.io/
Source:         http://tar.goaccess.io/goaccess-%{version}.tar.gz
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gcc
BuildRequires:  libGeoIP-devel
BuildRequires:  make
BuildRequires:  ncurses-devel

%description
GoAccess is a free and open source Apache web log analyzer that provides fast
and valuable HTTP statistics for system administrators that require a visual
report on the fly.

%prep
%setup -q

%build
%configure \
    --enable-geoip=legacy \
    --enable-utf8

make %{?_smp_mflags}

%install
%make_install

%files
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_bindir}/goaccess
%{_mandir}/man1/goaccess.1*
%config(noreplace) %{_sysconfdir}/goaccess.conf
%{_datadir}/doc/goaccess/

%changelog