1 Summary: The Webalizer - A web server log file analysis thingie
2 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/%{name}-%{ver}-%{patchlvl}-src.tar.bz2
13 URL: http://www.mrunix.net/webalizer/
14 BuildRequires: gd-devel >= 1.8.3
15 BuildRequires: libpng >= 1.0.8
16 BuildRequires: zlib-devel
17 BuildRequires: autoconf
18 BuildRequires: db3-devel
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}
41 CFLAGS="$RPM_OPT_FLAGS -fsigned-char"; export CFLAGS
47 #--with-language=polish
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_mandir}/man1} \
53 $RPM_BUILD_ROOT/home/httpd/html/usage
55 install sample.conf $RPM_BUILD_ROOT%{_sysconfdir}/webalizer.conf
56 install -s webalizer $RPM_BUILD_ROOT%{_bindir}
57 install webalizer.1 $RPM_BUILD_ROOT%{_mandir}/man1/
58 install msfree.png $RPM_BUILD_ROOT/home/httpd/html/usage
60 gzip -9nf CHANGES *README* country-codes.txt \
61 $RPM_BUILD_ROOT%{_mandir}/man1/*
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
69 %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/webalizer.conf
70 %attr(755,root,root) %{_bindir}/webalizer
72 /home/httpd/html/usage