]> git.pld-linux.org Git - packages/calamaris.git/blob - calamaris.spec
- updated to 2.33.
[packages/calamaris.git] / calamaris.spec
1 Summary:        Squid and NetCache log parser and report generator
2 Summary(pl):    Generator raportów dla Squid'a i NetCache
3 Name:           calamaris
4 Version:        2.33
5 Release:        1
6 License:        GPL
7 Group:          Networking/Utilities
8 Group(pl):      Sieciowe/Narzêdzia
9 Source0:        http://Cord.de/tools/squid/calamaris/%{name}-%{version}.tar.gz
10 Source1:        %{name}.crontab
11 Source2:        %{name}.sysconfig
12 Source3:        %{name}-croniface
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 Prereq:         /sbin/chkconfig
15 Requires:       /etc/cron.d
16 Requires:       crontabs
17 Requires:       /bin/zcat
18
19 %description
20 Calamaris is statistical info generator for Squid and NetCache based
21 on log parsing. It can create both plain-text and HTML reports. A
22 must-have for Squid/NetCache administrators.
23
24 %description -l pl
25 Calamaris generuje informacje statystyczne o pracy Squid'a i NetCache
26 w oparciu o ich logi. Potrafi tworzyæ raporty w postaci czystego
27 tekstu jak i HTML. Niezbêdny dla administratorów Squid'a i NetCache.
28
29 %prep
30 %setup -q -a 0
31
32 %build
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{/etc/{cron.d,sysconfig},%{_bindir},%{_sbindir},%{_mandir}/man1}
37
38 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/calamaris
39 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/calamaris
40 install %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}
41 install calamaris $RPM_BUILD_ROOT%{_bindir}
42 install calamaris.1 $RPM_BUILD_ROOT%{_mandir}/man1
43
44 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/*/* \
45         CHANGES COPYRIGHT EXAMPLES README
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc *.gz
53 %attr(750,root,root) /etc/cron.d/calamaris
54 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/calamaris
55 %attr(755,root,root) %{_bindir}/*
56 %attr(755,root,root) %{_sbindir}/*
57 %{_mandir}/*/*
This page took 0.051348 seconds and 4 git commands to generate.