]> git.pld-linux.org Git - packages/calamaris.git/blob - calamaris.spec
a28ec900b4a33beae537057e88e471e8182aae16
[packages/calamaris.git] / calamaris.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Squid and NetCache log parser and report generator
3 Summary(pl):    Generator raportów dla Squida i NetCache
4 Name:           calamaris
5 Version:        2.58
6 Release:        4
7 License:        GPL
8 Group:          Networking/Utilities
9 Source0:        http://Cord.de/tools/squid/calamaris/%{name}-%{version}.tar.gz
10 # Source0-md5:  96383551b2e2aee188a221ef141167ce
11 Source1:        %{name}.crontab
12 Source2:        %{name}.sysconfig
13 Source3:        %{name}-croniface
14 URL:            http://cord.de/tools/squid/calamaris/Welcome.html
15 Requires:       /bin/zcat
16 Requires:       /etc/cron.d
17 Requires:       crontabs
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 Squida i NetCache w
27 oparciu o ich logi. Potrafi tworzyæ raporty w postaci czystego tekstu
28 jak i HTML-a. Niezbêdny dla administratorów Squida i NetCache.
29
30 %prep
31 %setup -q
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 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc CHANGES EXAMPLES README
49 %attr(750,root,root) %config(noreplace) /etc/cron.d/calamaris
50 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/calamaris
51 %attr(755,root,root) %{_bindir}/*
52 %attr(755,root,root) %{_sbindir}/*
53 %{_mandir}/*/*
This page took 0.137329 seconds and 2 git commands to generate.