3 Summary: The Webalizer - A web server log file analysis thingie
4 Summary(pl): Webalizer - analizator logów serwera www
6 Version: %{ver}_%{patchlvl}
9 Group: Networking/Utilities
10 Group(pl): Sieciowe/Narzêdzia
11 Source0: ftp://ftp.mrunix.net/pub/webalizer/pre-release/%{name}-%{ver}-%{patchlvl}-src.tar.bz2
12 Patch0: webalizer-shared_gd.patch
14 URL: http://www.mrunix.net/webalizer/
15 BuildRequires: gd-devel >= 1.6.2
16 BuildRequires: libpng-devel
17 BuildRequires: zlib-devel
18 BuildRequires: autoconf
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 The Webalizer is a web server log file analysis program which produces
23 usage statistics in HTML format for viewing with a browser. The
24 results are presented in both columnar and graphical format, which
25 facilitates interpretation. Yearly, monthly, daily and hourly usage
26 statistics are presented, along with the ability to display usage by
27 site, URL, referrer, user agent (browser) and country (user agent and
28 referrer are only available if your web server produces combined log
32 Webalizer to program analizuj±cy logi serwera www i tworz±cy strony w
33 formacie HTML zawieraj±ce statystyki u¿ycia tego¿ serwera www.
36 %setup -q -n %{name}-%{ver}-%{patchlvl}
45 #--with-language=polish
46 make CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_mandir}/man1} \
51 $RPM_BUILD_ROOT/home/httpd/html/usage
53 install sample.conf $RPM_BUILD_ROOT%{_sysconfdir}/webalizer.conf
54 install -s webalizer $RPM_BUILD_ROOT%{_bindir}
55 install webalizer.1 $RPM_BUILD_ROOT%{_mandir}/man1/webalizer.1
56 install msfree.png $RPM_BUILD_ROOT/home/httpd/html/usage
58 gzip -9nf CHANGES *README* country-codes.txt \
59 $RPM_BUILD_ROOT%{_mandir}/man1/webalizer.1
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
67 %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/webalizer.conf
68 %attr(755,root,root) %{_bindir}/webalizer
70 /home/httpd/html/usage