-Source1: calamaris.crontab
-Source2: calamaris.sysconfig
-Source3: calamaris-croniface
-BuildRoot: /tmp/%{name}-%{version}-root
-Prereq: /sbin/chkconfig
+# Source0-md5: 96383551b2e2aee188a221ef141167ce
+Source1: %{name}.crontab
+Source2: %{name}.sysconfig
+Source3: %{name}-croniface
+URL: http://cord.de/tools/squid/calamaris/Welcome.html
+Requires: /bin/zcat
-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.
-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-a. Niezbêdny dla administratorów Squida i NetCache.
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{/etc/{cron.d,sysconfig},%{_bindir},%{_sbindir},%{_mandir}/man1}
%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
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
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz
-%{_mandir}/*/*
-%attr(750,root,root) /etc/cron.d/calamaris
+%doc CHANGES EXAMPLES README
+%attr(750,root,root) %config(noreplace) /etc/cron.d/calamaris
-%attr(750,root,root) %{_bindir}/*
-%attr(750,root,root) %{_sbindir}/*
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_sbindir}/*
+%{_mandir}/*/*