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