]> git.pld-linux.org Git - packages/webalizer.git/blob - webalizer.spec
- new version 2.01 patchlevel 06
[packages/webalizer.git] / webalizer.spec
1 Summary:        The Webalizer - A web server log file analysis thingie
2 Summary(pl):    Webalizer - analizator logów serwera www
3 Name:           webalizer
4 %define         ver     2.01
5 %define         patchlvl 06
6 Version:        %{ver}_%{patchlvl}
7 Release:        1
8 License:        GPL
9 Group:          Networking/Utilities
10 Group(pl):      Sieciowe/Narzêdzia
11 Source0:        ftp://ftp.mrunix.net/pub/webalizer/%{name}-%{ver}-%{patchlvl}-src.tar.bz2
12 Icon:           webalizer.gif
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)
20
21 %description
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
29 format files).
30
31 %description -l pl
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.
34
35 %prep
36 %setup -q -n %{name}-%{ver}-%{patchlvl}
37
38 %build
39 aclocal
40 autoconf
41 CFLAGS="$RPM_OPT_FLAGS -fsigned-char"; export CFLAGS
42 %configure \
43         --with-gd \
44         --with-db \
45         --with-dblib \
46         --enable-dns 
47 #--with-language=polish
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_mandir}/man1} \
53         $RPM_BUILD_ROOT/home/httpd/html/usage
54
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
59
60 gzip -9nf CHANGES *README* country-codes.txt \
61         $RPM_BUILD_ROOT%{_mandir}/man1/*
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc *.gz
69 %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/webalizer.conf
70 %attr(755,root,root) %{_bindir}/webalizer
71 %{_mandir}/man1/*
72 /home/httpd/html/usage
This page took 0.058197 seconds and 4 git commands to generate.