1 Summary: WWW server logfile analysis program
2 Summary(pl): Analizator logów serwera www
7 Group: Networking/Utilities
8 Source0: http://www.analog.cx/%{name}-%{version}.tar.gz
9 Patch0: %{name}-config.patch
11 URL: http://www.statslab.cam.ac.uk/~sret1/analog/
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 WWW server logfile analysis program with lots of features.
18 Analizator logów serwera www z wieloma opcjami.
21 Summary: Form interface to analog
22 Summary(pl): Interfejs w postaci formularza do analoga
23 Group: Networking/Utilities
24 Requires: %{name} = %{version}
27 Form interface to the analog httpd log analysis program. You should
28 regenerate the form file to customize it for your server by running
29 'analog -form +O/home/httpd/html/anlgform.html' after you have
30 modified /etc/analog.cfg.
32 %description form -l pl
33 Interfejs w postaci formularza do programu analog. Powiniene¶
34 wygenerowaæ nowy plik formularza po ustawieniu odpowiednich opcji w
35 /etc/analog.cfg poprzez wykonanie polecenia: 'analog -form
36 +O/home/httpd/html/anlgform.html'
43 %{__make} CFLAGS="%{rpmcflags}" CEXTRAFLAGS="%{rpmcflags}" %{name}
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT/home/httpd/{icons,cgi-bin,html/usage} \
48 $RPM_BUILD_ROOT{%{_var}/lib/%{name},%{_datadir}/%{name}/lang} \
49 $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
51 install analog $RPM_BUILD_ROOT%{_bindir}
52 install analog.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.cfg
53 install lang/* $RPM_BUILD_ROOT%{_datadir}/%{name}/lang
54 install analog.cfg $RPM_BUILD_ROOT%{_sysconfdir}
55 install images/* $RPM_BUILD_ROOT/home/httpd/icons
56 install anlgform.html $RPM_BUILD_ROOT/home/httpd/html/usage
57 install anlgform.pl $RPM_BUILD_ROOT/home/httpd/cgi-bin
59 touch $RPM_BUILD_ROOT/home/httpd/html/usage/analog.html
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
67 %attr(755,root,root) %dir %{_datadir}/analog/lang
68 %attr(755,root,root) %dir %{_datadir}/analog
69 %attr(775,root,http) %dir /var/lib/analog
70 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/analog.cfg
71 %attr(755,root,root) %{_bindir}/analog
72 %{_datadir}/analog/lang/*.*
73 /home/httpd/icons/*.gif
74 %attr(755,root,root) %dir /home/httpd/html/usage
75 %verify(not size mtime md5) /home/httpd/html/usage/analog.html
78 %defattr(644,root,root,755)
79 %config(noreplace) %verify(not size mtime md5) /home/httpd/html/usage/anlgform.html
80 %attr(755,root,root) /home/httpd/cgi-bin/anlgform.pl