1 Summary: Squid and NetCache log parser and report generator
2 Summary(pl): Generator raportów dla Squid'a i NetCache
7 Group: Networking/Utilities
8 Group(pl): Sieciowe/Narzêdzia
9 Source0: http://Cord.de/tools/squid/calamaris/%{name}-%{version}.tar.gz
10 Source1: calamaris.crontab
11 Source2: calamaris.sysconfig
12 Source3: calamaris-croniface
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 Prereq: /sbin/chkconfig
20 Calamaris is statistical info generator for Squid and NetCache based on log
21 parsing. It can create both plain-text and HTML reports. A must-have for
22 Squid/NetCache administrators.
25 Calamaris generuje informacje statystyczne o pracy Squid'a i NetCache w
26 oparciu o ich logi. Potrafi tworzyæ raporty w postaci czystego tekstu jak i
27 HTML. Niezbêdny dla administratorów Squid'a i NetCache.
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{/etc/{cron.d,sysconfig},%{_bindir},%{_sbindir},%{_mandir}/man1}
37 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/calamaris
38 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/calamaris
39 install %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}
40 install calamaris $RPM_BUILD_ROOT%{_bindir}
41 install calamaris.1 $RPM_BUILD_ROOT%{_mandir}/man1
43 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/*/* \
44 CHANGES COPYRIGHT EXAMPLES README
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %attr(750,root,root) /etc/cron.d/calamaris
53 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/calamaris
54 %attr(755,root,root) %{_bindir}/*
55 %attr(755,root,root) %{_sbindir}/*