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