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.statslab.cam.ac.uk/pub/users/sret1/%{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
Interfejs w postaci formularza do programu analog. Powiniene¶
wygenerowaæ nowy plik formularza po ustawieniu odpowiednich
opcji w /etc/analog.cfg poprzez wykonanie komendy:
-`analog -form +O/home/httpd/html/usage/anlgform.html`.
%prep
%setup -q -n %{name}%{version}
-%patch -p1
+%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.pl $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
-%attr(775,root,root) %{_bindir}/analog
-%attr(644,root,root) %{_datadir}/analog/lang/*.*
-%attr(644,root,root) /home/httpd/icons/*.gif
+%config(noreplace) %verify(not size mtime md5) /etc/analog.cfg
+%attr(755,root,root) %{_bindir}/analog
+%{_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
+%config(noreplace) %verify(not size mtime md5) /home/httpd/html/usage/anlgform.html
+%attr(755,root,root) /home/httpd/cgi-bin/anlgform.pl