1 Summary: WWW server logfile analysis program
2 Summary(pl): Analizator logów serwera www
6 Copyright: distributable
9 Source0: 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: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 opcji w
37 /etc/analog.cfg poprzez wykonanie komendy:
40 %setup -q -n %{name}-%{version}
44 %{__make} CEXTRAFLAGS="$RPM_OPT_FLAGS" %{name}
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT/home/httpd/{icons,cgi-bin,html/usage} \
49 $RPM_BUILD_ROOT{%{_var}/lib/%{name},%{_datadir}/%{name}/lang} \
50 $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
52 install -s analog $RPM_BUILD_ROOT%{_bindir}
53 install analog.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.cfg
54 install lang/* $RPM_BUILD_ROOT%{_datadir}/%{name}/lang
55 install analog.cfg $RPM_BUILD_ROOT%{_sysconfdir}
56 install images/* $RPM_BUILD_ROOT/home/httpd/icons
57 install anlgform.html $RPM_BUILD_ROOT/home/httpd/html/usage
58 install anlgform.pl $RPM_BUILD_ROOT/home/httpd/cgi-bin
60 touch $RPM_BUILD_ROOT/home/httpd/html/usage/analog.html
62 gzip -9nf docs/*.txt lang/*.html
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
70 %attr(755,root,root) %dir %{_datadir}/analog/lang
71 %attr(755,root,root) %dir %{_datadir}/analog
72 %attr(775,root,http) %dir /var/lib/analog
73 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/analog.cfg
74 %attr(755,root,root) %{_bindir}/analog
75 %{_datadir}/analog/lang/*.*
76 /home/httpd/icons/*.gif
77 %attr(755,root,root) %dir /home/httpd/html/usage
78 %verify(not size mtime md5) /home/httpd/html/usage/analog.html
81 %defattr(644,root,root,755)
82 %config(noreplace) %verify(not size mtime md5) /home/httpd/html/usage/anlgform.html
83 %attr(755,root,root) /home/httpd/cgi-bin/anlgform.pl