]> git.pld-linux.org Git - packages/calamaris.git/blob - calamaris.spec
- pl fixes, cosmetics
[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:        3
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 Requires:       /bin/zcat
15 Requires:       /etc/cron.d
16 Requires:       crontabs
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 Squida i NetCache w
26 oparciu o ich logi. Potrafi tworzyæ raporty w postaci czystego tekstu
27 jak i HTML-a. Niezbêdny dla administratorów Squida i NetCache.
28
29 %prep
30 %setup -q
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{/etc/{cron.d,sysconfig},%{_bindir},%{_sbindir},%{_mandir}/man1}
35
36 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/calamaris
37 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/calamaris
38 install %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}
39 install calamaris $RPM_BUILD_ROOT%{_bindir}
40 install calamaris.1 $RPM_BUILD_ROOT%{_mandir}/man1
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc CHANGES EXAMPLES README
48 %attr(750,root,root) %config(noreplace) /etc/cron.d/calamaris
49 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/calamaris
50 %attr(755,root,root) %{_bindir}/*
51 %attr(755,root,root) %{_sbindir}/*
52 %{_mandir}/*/*
This page took 0.035664 seconds and 4 git commands to generate.