]> git.pld-linux.org Git - SPECS.git/blob - innpeer-stats.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / innpeer-stats.spec
1 # TODO:
2 # - cgi version
3 Summary:        innpeer-stats - Yet Another statistic tool for INN
4 Name:           innpeer-stats
5 Version:        0.03
6 Release:        1
7 License:        GPL v2+
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)
14
15 %define         _sysconfdir     /etc/%{name}
16
17 %description
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.
23
24 %prep
25 %setup -q -n %{name}
26 %patch0 -p1
27
28 %build
29 %{__make} \
30         CC="%{__cc}" \
31         COPTS="%{rpmcflags}"
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir}}
36
37 install %{name} $RPM_BUILD_ROOT%{_bindir}
38 install innpeer-groups.conf $RPM_BUILD_ROOT%{_sysconfdir}
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc README
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}
This page took 0.491837 seconds and 3 git commands to generate.