]> git.pld-linux.org Git - packages/analog.git/blob - analog.spec
- updated to 4.03
[packages/analog.git] / analog.spec
1 Summary:        WWW server logfile analysis program
2 Summary(pl):    Analizator logów serwera www
3 Name:           analog
4 Version:        4.03
5 Release:        1
6 Copyright:      distributable
7 Group:          Utilities
8 Group(pl):      Narzêdzia
9 Source:         ftp://ftp.nhl.nl/pub/unix/analog/%{name}%{version}.tar.gz
10 Patch0:         analog-config.patch
11 Requires:       webserver
12 URL:            http://www.statslab.cam.ac.uk/~sret1/analog/
13 BuildRoot:      /tmp/%{name}-%{version}-buildroot
14
15 %description
16 WWW server logfile analysis program with lots of features.
17
18 %description -l pl
19 Analizator logów serwera www z wieloma opcjami.
20
21 %package form
22 Summary:        Form interface to analog
23 Summary(pl):    Interfejs w postaci formularza do analoga
24 Requires:       %{name} = %{version}
25 Group:          Utilities
26 Group(pl):      Narzêdzia
27
28 %description form
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.
33
34 %description -l pl form
35 Interfejs w postaci formularza do programu analog. Powiniene¶
36 wygenerowaæ nowy plik formularza po ustawieniu odpowiednich
37 opcji w /etc/analog.cfg poprzez wykonanie komendy:
38
39 %prep
40 %setup -q -n %{name}%{version}
41 %patch0 -p1
42
43 %build
44 make CEXTRAFLAGS="$RPM_OPT_FLAGS" %{name}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 install -d      $RPM_BUILD_ROOT/home/httpd/{icons,cgi-bin,html/usage}
50 install -d      $RPM_BUILD_ROOT%{_var}/state/%{name}
51 install -d      $RPM_BUILD_ROOT%{_datadir}/%{name}/lang
52 install -d      $RPM_BUILD_ROOT%{_bindir}
53 install -d      $RPM_BUILD_ROOT/etc
54
55 install -s      analog          $RPM_BUILD_ROOT%{_bindir}
56 install         analog.cfg      $RPM_BUILD_ROOT/etc/%{name}.cfg
57 install         lang/*          $RPM_BUILD_ROOT%{_datadir}/%{name}/lang
58 install         analog.cfg      $RPM_BUILD_ROOT/etc
59 install         images/*        $RPM_BUILD_ROOT/home/httpd/icons
60 install         anlgform.html   $RPM_BUILD_ROOT/home/httpd/html/usage
61 install         anlgform.pl     $RPM_BUILD_ROOT/home/httpd/cgi-bin
62 touch                           $RPM_BUILD_ROOT/home/httpd/html/usage/analog.html
63
64 gzip -9nf docs/*.txt lang/*.html
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc docs/* lang/*.gz
71 %attr(755,root,root) %dir %{_datadir}/analog/lang
72 %attr(755,root,root) %dir %{_datadir}/analog
73 %attr(775,root,http) %dir /var/state/analog
74 %config(noreplace) %verify(not size mtime md5) /etc/analog.cfg
75 %attr(755,root,root) %{_bindir}/analog
76 %{_datadir}/analog/lang/*.*
77 /home/httpd/icons/*.gif
78 %attr(755,root,root) %dir /home/httpd/html/usage
79 %verify(not size mtime md5) /home/httpd/html/usage/analog.html
80
81 %files form
82 %defattr(644,root,root,755)
83 %config(noreplace) %verify(not size mtime md5) /home/httpd/html/usage/anlgform.html
84 %attr(755,root,root) /home/httpd/cgi-bin/anlgform.pl
This page took 0.030104 seconds and 4 git commands to generate.