]> git.pld-linux.org Git - packages/webalizer.git/blob - webalizer.spec
- moved /home/httpd/html/usage/* to /home/httpd/icons
[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:        2
8 License:        GPL
9 Group:          Networking/Utilities
10 Group(de):      Netzwerkwesen/Werkzeuge
11 Group(pl):      Sieciowe/Narzêdzia
12 Source0:        ftp://ftp.mrunix.net/pub/webalizer/%{name}-%{ver}-%{patchlvl}-src.tar.bz2
13 Icon:           webalizer.gif
14 URL:            http://www.mrunix.net/webalizer/
15 BuildRequires:  gd-devel >= 1.8.3
16 BuildRequires:  libpng >= 1.0.8
17 BuildRequires:  zlib-devel
18 BuildRequires:  autoconf
19 BuildRequires:  db3-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 The Webalizer is a web server log file analysis program which produces
24 usage statistics in HTML format for viewing with a browser. The
25 results are presented in both columnar and graphical format, which
26 facilitates interpretation. Yearly, monthly, daily and hourly usage
27 statistics are presented, along with the ability to display usage by
28 site, URL, referrer, user agent (browser) and country (user agent and
29 referrer are only available if your web server produces combined log
30 format files).
31
32 %description -l pl
33 Webalizer to program analizuj±cy logi serwera www i tworz±cy strony w
34 formacie HTML zawieraj±ce statystyki u¿ycia tego¿ serwera www.
35
36 %prep
37 %setup -q -n %{name}-%{ver}-%{patchlvl}
38
39 %build
40 aclocal
41 autoconf
42 CFLAGS="%{rpmcflags} -fsigned-char"
43 %configure \
44         --with-gd \
45         --with-db \
46         --with-dblib \
47         --enable-dns 
48 #--with-language=polish
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_mandir}/man1} \
54         $RPM_BUILD_ROOT/home/httpd/icons
55
56 install sample.conf $RPM_BUILD_ROOT%{_sysconfdir}/webalizer.conf
57 install webalizer $RPM_BUILD_ROOT%{_bindir}
58 install webalizer.1 $RPM_BUILD_ROOT%{_mandir}/man1
59 install msfree.png $RPM_BUILD_ROOT/home/httpd/icons
60
61 gzip -9nf CHANGES *README* country-codes.txt
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/icons/*
This page took 0.065643 seconds and 4 git commands to generate.