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