]> git.pld-linux.org Git - packages/calamaris.git/blob - calamaris.spec
- updated to 2.51: bugfixes.
[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.51
6 Release:        1
7 License:        GPL
8 Group:          Networking/Utilities
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 Requires:       /etc/cron.d
14 Requires:       crontabs
15 Requires:       /bin/zcat
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Calamaris is statistical info generator for Squid and NetCache based
20 on log parsing. It can create both plain-text and HTML reports. A
21 must-have for Squid/NetCache administrators.
22
23 %description -l pl
24 Calamaris generuje informacje statystyczne o pracy Squida i NetCache w
25 oparciu o ich logi. Potrafi tworzyæ raporty w postaci czystego tekstu
26 jak i HTML. Niezbêdny dla administratorów Squida i NetCache.
27
28 %prep
29 %setup -q
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT{/etc/{cron.d,sysconfig},%{_bindir},%{_sbindir},%{_mandir}/man1}
34
35 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/calamaris
36 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/calamaris
37 install %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}
38 install calamaris $RPM_BUILD_ROOT%{_bindir}
39 install calamaris.1 $RPM_BUILD_ROOT%{_mandir}/man1
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc CHANGES EXAMPLES README
47 %attr(750,root,root) %config(noreplace) /etc/cron.d/calamaris
48 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/calamaris
49 %attr(755,root,root) %{_bindir}/*
50 %attr(755,root,root) %{_sbindir}/*
51 %{_mandir}/*/*
This page took 0.107527 seconds and 3 git commands to generate.