# unfortunately they have already landed in Ac)
# - apache1 config
# - security CVE-2006-1945, CVE-2006-2237: http://security.gentoo.org/glsa/glsa-200606-06.xml
-%include /usr/lib/rpm/macros.perl
Summary: Advanced Web Statistics is a free powerful server log file analyzer
Summary(pl.UTF-8): Zaawansowany program do analizowania logów serwera
Name: awstats
-Version: 7.1
-Release: 3
-License: GPL v2
+Version: 7.8
+Release: 1
+License: GPL v3+
Group: Applications/Networking
Source0: http://awstats.sourceforge.net/files/%{name}-%{version}.tar.gz
-# Source0-md5: 6c48495069a6d8e158d62f9243a9ae59
+# Source0-md5: 46986723e04b1980389193153915e760
Source1: %{name}.crontab
Source2: %{name}-httpd.conf
Source3: %{name}.conf
Patch0: %{name}_conf.patch
Patch1: %{name}-created_dir_mode.patch
Patch2: %{name}-PLD.patch
-URL: http://awstats.sourceforge.net/
+URL: https://awstats.sourceforge.io/
BuildRequires: rpm-perlprov
BuildRequires: rpmbuild(macros) >= 1.264
Requires(triggerpostun): sed >= 4.0
%files
%defattr(644,root,root,755)
-%doc README.TXT docs/* tools/webmin tools/xslt
+%doc README.md docs/* tools/webmin tools/xslt
%dir %attr(750,root,http) %{_sysconfdir}
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lighttpd.conf