1 Summary: WWW server logfile analysis program
2 Summary(pl): Analizator logów serwera www
7 Group: Networking/Utilities
8 #Source0Download: http://www.analog.cx/download.html
9 Source0: http://www.analog.cx/%{name}-%{version}.tar.gz
10 Patch0: %{name}-config.patch
11 Patch1: %{name}-png.patch
13 URL: http://www.statslab.cam.ac.uk/~sret1/analog/
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 WWW server logfile analysis program with lots of features.
20 Analizator logów serwera www z wieloma opcjami.
23 Summary: Form interface to analog
24 Summary(pl): Interfejs w postaci formularza do analoga
25 Group: Networking/Utilities
26 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 form -l pl
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 polecenia: 'analog -form
38 +O/home/httpd/html/anlgform.html'
46 %{__make} CFLAGS="%{rpmcflags}" CEXTRAFLAGS="%{rpmcflags}" %{name}
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT/home/httpd/{icons,cgi-bin,html/usage} \
51 $RPM_BUILD_ROOT{%{_var}/lib/%{name},%{_datadir}/%{name}/lang} \
52 $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
54 install analog $RPM_BUILD_ROOT%{_bindir}
55 install analog.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.cfg
56 install lang/* $RPM_BUILD_ROOT%{_datadir}/%{name}/lang
57 install analog.cfg $RPM_BUILD_ROOT%{_sysconfdir}
58 install images/* $RPM_BUILD_ROOT/home/httpd/icons
59 install anlgform.html $RPM_BUILD_ROOT/home/httpd/html/usage
60 install anlgform.pl $RPM_BUILD_ROOT/home/httpd/cgi-bin
62 touch $RPM_BUILD_ROOT/home/httpd/html/usage/analog.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