]> git.pld-linux.org Git - packages/calamaris.git/blobdiff - calamaris.spec
- updated to 2.51: bugfixes.
[packages/calamaris.git] / calamaris.spec
index 6f4b2ec03f8f795cb2f3fd94b32fcf6271e30218..e9deba893c22c766d4d0e6b7468d9f22056c8244 100644 (file)
@@ -1,20 +1,19 @@
+%include        /usr/lib/rpm/macros.perl
 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.35
-Release:       2
+Version:       2.51
+Release:       1
 License:       GPL
 Group:         Networking/Utilities
-Group(pl):     Sieciowe/Narzêdzia
 Source0:       http://Cord.de/tools/squid/calamaris/%{name}-%{version}.tar.gz
 Source1:       %{name}.crontab
 Source2:       %{name}.sysconfig
 Source3:       %{name}-croniface
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Prereq:                /sbin/chkconfig
 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
@@ -22,14 +21,12 @@ 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
@@ -41,16 +38,13 @@ 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
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
-%attr(750,root,root) /etc/cron.d/calamaris
+%doc CHANGES EXAMPLES README
+%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}/*
This page took 0.081614 seconds and 4 git commands to generate.