]> git.pld-linux.org Git - packages/calamaris.git/blob - calamaris.spec
b550a433d4b343bf386ccfc1790a631d15f68afd
[packages/calamaris.git] / calamaris.spec
1 Summary:        Squid and NetCache log parser and report generator
2 Summary(pl):    Generator raportów dla Squida i NetCache
3 Name:           calamaris
4 Version:        2.42
5 Release:        3
6 License:        GPL
7 Group:          Networking/Utilities
8 Group(de):      Netzwerkwesen/Werkzeuge
9 Group(es):      Red/Utilitarios
10 Group(pl):      Sieciowe/Narzêdzia
11 Group(pt_BR):   Rede/Utilitários
12 Source0:        http://Cord.de/tools/squid/calamaris/%{name}-%{version}.tar.gz
13 Source1:        %{name}.crontab
14 Source2:        %{name}.sysconfig
15 Source3:        %{name}-croniface
16 Requires:       /etc/cron.d
17 Requires:       crontabs
18 Requires:       squid
19 Requires:       /bin/zcat
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Calamaris is statistical info generator for Squid and NetCache based
24 on log parsing. It can create both plain-text and HTML reports. A
25 must-have for Squid/NetCache administrators.
26
27 %description -l pl
28 Calamaris generuje informacje statystyczne o pracy Squida i NetCache w
29 oparciu o ich logi. Potrafi tworzyæ raporty w postaci czystego tekstu
30 jak i HTML. Niezbêdny dla administratorów Squida i NetCache.
31
32 %prep
33 %setup -q
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{/etc/{cron.d,sysconfig},%{_bindir},%{_sbindir},%{_mandir}/man1}
38
39 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/calamaris
40 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/calamaris
41 install %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}
42 install calamaris $RPM_BUILD_ROOT%{_bindir}
43 install calamaris.1 $RPM_BUILD_ROOT%{_mandir}/man1
44
45 gzip -9nf CHANGES 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) %config(noreplace) /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.194584 seconds and 2 git commands to generate.