Author: blues                        Date: Thu Aug 14 14:39:38 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   innpeer-stats.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/innpeer-stats.spec
diff -u /dev/null SPECS/innpeer-stats.spec:1.1
--- /dev/null   Thu Aug 14 16:39:38 2008
+++ SPECS/innpeer-stats.spec    Thu Aug 14 16:39:32 2008
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+# TODO:
+# - cgi version
+Summary:       innpeer-stats - Yet Another statistic tool for INN
+Name:          innpeer-stats
+Version:       0.03
+Release:       1
+License:       GPL v2+
+Group:         Networking/Daemons
+Source0:       
http://www.sofaraway.org/projects/innpeer-stats/%{name}-%{version}.tar.gz
+# Source0-md5: 8dcba6d3f1df906176f408d360cab9d5
+Patch0:                %{name}-conf.patch
+URL:           http://www.sofaraway.org/projects/innpeer-stats/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _sysconfdir     /etc/%{name}
+
+%description
+innpeer-stats is an application producing a lot of fancy graphics 
+concerning usenet peers. Both incoming and outgoing reports are available.
+Data are extracted from the current syslog file generated by INN (in
+this version, only innd and innfeed logs are processed). This is very
+useful to tune your server or to debug strange problems.
+
+%prep
+%setup -q -n %{name}
+%patch0 -p1
+
+%build
+%{__make} \
+       CC="%{__cc}" \
+       COPTS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir}}
+
+install %{name} $RPM_BUILD_ROOT%{_bindir}
+install innpeer-groups.conf $RPM_BUILD_ROOT%{_sysconfdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(750,root,news) %dir %{_sysconfdir}
+%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/*
+%attr(755,root,root) %{_bindir}/%{name}
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/08/14 14:39:32  blues
+- initial
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to