]> git.pld-linux.org Git - packages/awffull.git/blob - awffull.spec
- 3.7.1 - NFY
[packages/awffull.git] / awffull.spec
1 # TODO:
2 # - convertion tool: webalizer -> awffull - included in package
3 # - enable GeoIP support
4 #
5 Summary:        Web server log analysis program
6 Summary(pl):    Program do analizy logów serwera WWW
7 Name:           awffull
8 Version:        3.7.1
9 Release:        0.1
10 License:        GPL v2
11 Group:          Applications/Networking
12 Source0:        http://www.stedee.id.au/files/%{name}-%{version}.tar.gz
13 # Source0-md5:  f1cf872a64780b9b83432840d6da18a0
14 Source1:        %{name}.sysconfig
15 Source2:        %{name}.cron
16 Source3:        %{name}.crontab
17 URL:            http://www.stedee.id.au/awffull/
18 BuildRequires:  gd-devel
19 BuildRequires:  gettext-devel
20 BuildRequires:  pcre-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 AWFFull is a Web server log analysis program, forked from Webalizer.
25 It adds a number of new features and improvements, such as extended
26 frontpage history, resizable graphs, and a few more pie charts.
27
28 %description -l pl
29 AWFFull to program do analizy logów serwer WWW wywodz±cy siê z
30 Webalizera. Dodaje wiele nowych mo¿liwo¶ci i ulepszeñ, takich jak
31 rozszerzona historia strony g³ównej, skalowalne wykresy i nieco wiêcej
32 wykresów ko³owych.
33
34 %prep
35 %setup -q
36
37 %build
38 %configure
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/{%{name},sysconfig,cron.d},%{_sbindir}}
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 install sample.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
49 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name}
50 install %{SOURCE2} $RPM_BUILD_ROOT%{_sbindir}/%{name}.cron
51 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/%{name}
52
53 %find_lang %{name}
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files -f %{name}.lang
59 %defattr(644,root,root,755)
60 %doc ChangeLog *README* TODO
61 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
62 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}
63 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
64 %attr(2755,root,stats) %dir %{_sysconfdir}/%{name}
65 %attr(755,root,root) %{_bindir}/%{name}
66 %attr(755,root,root) %{_sbindir}/%{name}.cron
67 %{_mandir}/man1/awffull*
This page took 0.047805 seconds and 3 git commands to generate.