File goaccess-dev.spec of Package goaccess-dev

Name:           goaccess-dev
Version:        1.3
Release:        0
Summary:        Apache Web Log Analyzer
License:        GPL-2.0-or-later
Group:          Productivity/Networking/Web/Utilities
URL:            https://goaccess.io/
Source:         http://tar.goaccess.io/goaccess-%{version}.tar.xz
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gcc
BuildRequires:  libGeoIP-devel
BuildRequires:  make
BuildRequires:  ncurses-devel
Recommends:     %{name}-lang

%description
GoAccess is an Apache web log analyzer that provides HTTP statistics
for system administrators that require a visual report on the fly.

%lang_package

%prep
%setup -q -n goaccess-%version

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

make %{?_smp_mflags}

%install
%make_install

%find_lang goaccess

%files -f goaccess.lang
%license COPYING
%doc AUTHORS ChangeLog NEWS README TODO
%{_bindir}/goaccess
%{_mandir}/man1/goaccess.1%{?ext_man}
%dir %{_sysconfdir}/goaccess/
%config %{_sysconfdir}/goaccess/browsers.list
%config %{_sysconfdir}/goaccess/goaccess.conf

%changelog
openSUSE Build Service is sponsored by