X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=calamaris.spec;h=9909cf659a6188088cbff470ebe944fc045cdb56;hb=223412eb7424960e597520c3ec5b202163510dc4;hp=824358c89437b7ab7bd1f90a00c26bae7d5b002d;hpb=07f6d539ce06a953d8433e2e31c145916784f469;p=packages%2Fcalamaris.git diff --git a/calamaris.spec b/calamaris.spec index 824358c..9909cf6 100644 --- a/calamaris.spec +++ b/calamaris.spec @@ -1,47 +1,47 @@ Summary: Squid and NetCache log parser and report generator -Summary(pl): Generator raportów dla Squid'a i NetCache +Summary(pl): Generator raportów dla Squida i NetCache Name: calamaris -Version: 2.29 -Release: 1 +Version: 2.45 +Release: 2 License: GPL Group: Networking/Utilities +Group(de): Netzwerkwesen/Werkzeuge +Group(es): Red/Utilitarios Group(pl): Sieciowe/Narzêdzia +Group(pt_BR): Rede/Utilitários Source0: http://Cord.de/tools/squid/calamaris/%{name}-%{version}.tar.gz -Source1: calamaris.crontab -Source2: calamaris.sysconfig -Source3: calamaris-croniface -BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -Prereq: /sbin/chkconfig +Source1: %{name}.crontab +Source2: %{name}.sysconfig +Source3: %{name}-croniface Requires: /etc/cron.d Requires: crontabs Requires: /bin/zcat +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -Calamaris is statistical info generator for Squid and NetCache based on log -parsing. It can create both plain-text and HTML reports. A must-have for -Squid/NetCache administrators. +Calamaris is statistical info generator for Squid and NetCache based +on log parsing. It can create both plain-text and HTML reports. A +must-have for Squid/NetCache administrators. %description -l pl -Calamaris generuje informacje statystyczne o pracy Squid'a i NetCache w -oparciu o ich logi. Potrafi tworzyæ raporty w postaci czystego tekstu jak i -HTML. Niezbêdny dla administratorów Squid'a i NetCache. +Calamaris generuje informacje statystyczne o pracy Squida i NetCache w +oparciu o ich logi. Potrafi tworzyæ raporty w postaci czystego tekstu +jak i HTML. Niezbêdny dla administratorów Squida i NetCache. %prep -%setup -q -a 0 - -%build +%setup -q %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{/etc/{cron.d,sysconfig},%{_bindir},%{_sbindir},%{_mandir}/man1} + install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/calamaris install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/calamaris install %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir} install calamaris $RPM_BUILD_ROOT%{_bindir} install calamaris.1 $RPM_BUILD_ROOT%{_mandir}/man1 -gzip -9nf $RPM_BUILD_ROOT%{_mandir}/*/* \ - CHANGES COPYRIGHT EXAMPLES README +gzip -9nf CHANGES EXAMPLES README %clean rm -rf $RPM_BUILD_ROOT @@ -49,7 +49,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc *.gz -%attr(750,root,root) /etc/cron.d/calamaris +%attr(750,root,root) %config(noreplace) /etc/cron.d/calamaris %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/calamaris %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_sbindir}/*