]> git.pld-linux.org Git - packages/analog.git/blobdiff - analog.spec
- fixed forms (anlgform.pl, anlgform.html not yet)
[packages/analog.git] / analog.spec
index 6160f159a86e5fe286dd2728593f867dbf7a79c2..7c7c49ea540eb61caa5bbdd0c6fe84148095629d 100644 (file)
@@ -1,13 +1,13 @@
 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
@@ -35,14 +35,13 @@ modified /etc/analog.cfg.
 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
@@ -59,7 +58,7 @@ install               lang/*          $RPM_BUILD_ROOT%{_datadir}/%{name}/lang
 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
@@ -72,14 +71,14 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.097928 seconds and 4 git commands to generate.