Summary: WWW server logfile analysis program
Summary(pl): Analizator logów serwera www
Name: analog
-Version: 3.31
+Version: 4.02
Release: 1
Copyright: distributable
Group: Utilities
Group(pl): Narzêdzia
-Source: ftp://ftp.nhl.nl/pub/unix/%{name}/%{name}%{version}.tar.gz
-Patch: analog-config.patch
+Source: ftp://ftp.nhl.nl/pub/unix/analog/%{name}%{version}.tar.gz
+Patch0: analog-config.patch
Requires: webserver
URL: http://www.statslab.cam.ac.uk/~sret1/analog/
BuildRoot: /tmp/%{name}-%{version}-buildroot
`analog -form +O/home/httpd/html/usage/anlgform.html`.
%prep
-%setup -q -n %{name}%{version}
-%patch -p1
+#%setup -q -n %{name}%{version}
+%setup -n %{name}%{version}
+%patch0 -p1
%build
-make CEXTRAFLAGS="$RPM_OPT_FLAGS" %{name} form
+make CEXTRAFLAGS="$RPM_OPT_FLAGS" %{name}
%install
rm -rf $RPM_BUILD_ROOT
install analog.cfg $RPM_BUILD_ROOT/etc
install images/* $RPM_BUILD_ROOT/home/httpd/icons
install anlgform.html $RPM_BUILD_ROOT/home/httpd/html/usage
-install anlgform.cgi $RPM_BUILD_ROOT/home/httpd/cgi-bin
+#install anlgform.cgi $RPM_BUILD_ROOT/home/httpd/cgi-bin
touch $RPM_BUILD_ROOT/home/httpd/html/usage/analog.html
gzip -9nf docs/* lang/*.html
%attr(755,root,root) %dir %{_datadir}/analog/lang
%attr(755,root,root) %dir %{_datadir}/analog
%attr(775,root,http) %dir /var/state/analog
-%attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/analog.cfg
+%config(noreplace) %verify(not size mtime md5) /etc/analog.cfg
%attr(775,root,root) %{_bindir}/analog
-%attr(644,root,root) %{_datadir}/analog/lang/*.*
-%attr(644,root,root) /home/httpd/icons/*.gif
+%{_datadir}/analog/lang/*.*
+/home/httpd/icons/*.gif
%attr(755,root,root) %dir /home/httpd/html/usage
-%attr(644,root,root) %verify(not size mtime md5) /home/httpd/html/usage/analog.html
+%verify(not size mtime md5) /home/httpd/html/usage/analog.html
-%files form
-%defattr(644,root,root,755)
-%attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /home/httpd/html/usage/anlgform.html
-%attr(755,root,root) /home/httpd/cgi-bin/anlgform.cgi
+#%files form
+#%defattr(644,root,root,755)
+#%config(noreplace) %verify(not size mtime md5) /home/httpd/html/usage/anlgform.html
+#%attr(755,root,root) /home/httpd/cgi-bin/anlgform.cgi