1 Summary: WWW server logfile analysis program
2 Summary(pl): Analizator logów serwera www
6 Copyright: distributable
9 Source: ftp://ftp.nhl.nl/pub/unix/analog/%{name}%{version}.tar.gz
10 Patch0: analog-config.patch
12 URL: http://www.statslab.cam.ac.uk/~sret1/analog/
13 BuildRoot: /tmp/%{name}-%{version}-buildroot
16 WWW server logfile analysis program with lots of features.
19 Analizator logów serwera www z wieloma opcjami.
22 Summary: Form interface to analog
23 Summary(pl): Interfejs w postaci formularza do analoga
24 Requires: %{name} = %{version}
29 Form interface to the analog httpd log analysis program. You should
30 regenerate the form file to customize it for your server by running
31 'analog -form +O/home/httpd/html/anlgform.html' after you have
32 modified /etc/analog.cfg.
34 %description -l pl form
35 Interfejs w postaci formularza do programu analog. Powiniene¶
36 wygenerowaæ nowy plik formularza po ustawieniu odpowiednich
37 opcji w /etc/analog.cfg poprzez wykonanie komendy:
38 `analog -form +O/home/httpd/html/usage/anlgform.html`.
41 #%setup -q -n %{name}%{version}
42 %setup -n %{name}%{version}
46 make CEXTRAFLAGS="$RPM_OPT_FLAGS" %{name}
49 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT/home/httpd/{icons,cgi-bin,html/usage}
52 install -d $RPM_BUILD_ROOT%{_var}/state/%{name}
53 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/lang
54 install -d $RPM_BUILD_ROOT%{_bindir}
55 install -d $RPM_BUILD_ROOT/etc
57 install -s analog $RPM_BUILD_ROOT%{_bindir}
58 install analog.cfg $RPM_BUILD_ROOT/etc/%{name}.cfg
59 install lang/* $RPM_BUILD_ROOT%{_datadir}/%{name}/lang
60 install analog.cfg $RPM_BUILD_ROOT/etc
61 install images/* $RPM_BUILD_ROOT/home/httpd/icons
62 install anlgform.html $RPM_BUILD_ROOT/home/httpd/html/usage
63 #install anlgform.cgi $RPM_BUILD_ROOT/home/httpd/cgi-bin
64 touch $RPM_BUILD_ROOT/home/httpd/html/usage/analog.html
66 gzip -9nf docs/* lang/*.html
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
73 %attr(755,root,root) %dir %{_datadir}/analog/lang
74 %attr(755,root,root) %dir %{_datadir}/analog
75 %attr(775,root,http) %dir /var/state/analog
76 %config(noreplace) %verify(not size mtime md5) /etc/analog.cfg
77 %attr(755,root,root) %{_bindir}/analog
78 %{_datadir}/analog/lang/*.*
79 /home/httpd/icons/*.gif
80 %attr(755,root,root) %dir /home/httpd/html/usage
81 %verify(not size mtime md5) /home/httpd/html/usage/analog.html
84 #%defattr(644,root,root,755)
85 #%config(noreplace) %verify(not size mtime md5) /home/httpd/html/usage/anlgform.html
86 #%attr(755,root,root) /home/httpd/cgi-bin/anlgform.cgi