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