1 Summary: WWW server logfile analysis program
2 Summary(pl): Analizator logów serwera www
7 Group: Networking/Utilities
8 Group(de): Netzwerkwesen/Werkzeuge
9 Group(es): Red/Utilitarios
10 Group(pl): Sieciowe/Narzêdzia
11 Group(pt_BR): Rede/Utilitários
12 Source0: ftp://ftp.nhl.nl/pub/unix/analog/%{name}-%{version}.tar.gz
13 Patch0: %{name}-config.patch
15 URL: http://www.statslab.cam.ac.uk/~sret1/analog/
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 WWW server logfile analysis program with lots of features.
22 Analizator logów serwera www z wieloma opcjami.
25 Summary: Form interface to analog
26 Summary(pl): Interfejs w postaci formularza do analoga
27 Group: Networking/Utilities
28 Group(de): Netzwerkwesen/Werkzeuge
29 Group(es): Red/Utilitarios
30 Group(pl): Sieciowe/Narzêdzia
31 Group(pt_BR): Rede/Utilitários
32 Requires: %{name} = %{version}
35 Form interface to the analog httpd log analysis program. You should
36 regenerate the form file to customize it for your server by running
37 'analog -form +O/home/httpd/html/anlgform.html' after you have
38 modified /etc/analog.cfg.
40 %description -l pl form
41 Interfejs w postaci formularza do programu analog. Powiniene¶
42 wygenerowaæ nowy plik formularza po ustawieniu odpowiednich opcji w
43 /etc/analog.cfg poprzez wykonanie polecenia: 'analog -form
44 +O/home/httpd/html/anlgform.html'
51 %{__make} CFLAGS="%{rpmcflags}" CEXTRAFLAGS="%{rpmcflags}" %{name}
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT/home/httpd/{icons,cgi-bin,html/usage} \
56 $RPM_BUILD_ROOT{%{_var}/lib/%{name},%{_datadir}/%{name}/lang} \
57 $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
59 install analog $RPM_BUILD_ROOT%{_bindir}
60 install analog.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.cfg
61 install lang/* $RPM_BUILD_ROOT%{_datadir}/%{name}/lang
62 install analog.cfg $RPM_BUILD_ROOT%{_sysconfdir}
63 install images/* $RPM_BUILD_ROOT/home/httpd/icons
64 install anlgform.html $RPM_BUILD_ROOT/home/httpd/html/usage
65 install anlgform.pl $RPM_BUILD_ROOT/home/httpd/cgi-bin
67 touch $RPM_BUILD_ROOT/home/httpd/html/usage/analog.html
69 gzip -9nf docs/*.txt lang/*.html
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
77 %attr(755,root,root) %dir %{_datadir}/analog/lang
78 %attr(755,root,root) %dir %{_datadir}/analog
79 %attr(775,root,http) %dir /var/lib/analog
80 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/analog.cfg
81 %attr(755,root,root) %{_bindir}/analog
82 %{_datadir}/analog/lang/*.*
83 /home/httpd/icons/*.gif
84 %attr(755,root,root) %dir /home/httpd/html/usage
85 %verify(not size mtime md5) /home/httpd/html/usage/analog.html
88 %defattr(644,root,root,755)
89 %config(noreplace) %verify(not size mtime md5) /home/httpd/html/usage/anlgform.html
90 %attr(755,root,root) /home/httpd/cgi-bin/anlgform.pl