3 Summary: innpeer-stats - Yet Another statistic tool for INN
8 Group: Networking/Daemons
9 Source0: http://www.sofaraway.org/projects/innpeer-stats/%{name}-%{version}.tar.gz
10 # Source0-md5: 8dcba6d3f1df906176f408d360cab9d5
11 Patch0: %{name}-conf.patch
12 URL: http://www.sofaraway.org/projects/innpeer-stats/
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 %define _sysconfdir /etc/%{name}
18 innpeer-stats is an application producing a lot of fancy graphics
19 concerning usenet peers. Both incoming and outgoing reports are available.
20 Data are extracted from the current syslog file generated by INN (in
21 this version, only innd and innfeed logs are processed). This is very
22 useful to tune your server or to debug strange problems.
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir}}
37 install %{name} $RPM_BUILD_ROOT%{_bindir}
38 install innpeer-groups.conf $RPM_BUILD_ROOT%{_sysconfdir}
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
46 %attr(750,root,news) %dir %{_sysconfdir}
47 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
48 %attr(755,root,root) %{_bindir}/%{name}