]> git.pld-linux.org Git - packages/calamaris.git/commitdiff
- Spec for Calamaris, Squid/NetCache statistics generator. Should work. BTW,
authormkochano <mkochano@pld-linux.org>
Fri, 24 Mar 2000 15:15:28 +0000 (15:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  this spec is ready for almost one week, but I forgot to do 'cvs add'... I'm
  great ;(

Changed files:
    calamaris.spec -> 1.1

calamaris.spec [new file with mode: 0644]

diff --git a/calamaris.spec b/calamaris.spec
new file mode 100644 (file)
index 0000000..aa30d58
--- /dev/null
@@ -0,0 +1,56 @@
+Summary:       Squid and NetCache log parser and report generator
+Summary(pl):   Generator raportów dla Squid'a i NetCache
+Name:          calamaris
+Version:       2.29
+Release:       1
+Copyright:     GPL
+Group:         Networking/Utilities
+Group(pl):     Sieciowe/Narzêdzia
+Source0:       http://Cord.de/tools/squid/calamaris/%{name}-%{version}.tar.gz
+Source1:       calamaris.crontab
+Source2:       calamaris.sysconfig
+Source3:       calamaris-croniface
+BuildRoot:     /tmp/%{name}-%{version}-root
+Prereq:                /sbin/chkconfig
+Requires:      /etc/cron.d
+Requires:      crontabs
+Requires:      /bin/zcat
+
+%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.
+
+%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.
+
+%prep
+%setup -q -a 0
+
+%build
+
+%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
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.gz
+%{_mandir}/*/*
+%attr(750,root,root) /etc/cron.d/calamaris
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/calamaris
+%attr(750,root,root) %{_bindir}/*
+%attr(750,root,root) %{_sbindir}/*
This page took 0.032752 seconds and 4 git commands to generate.