/[packages]/cauldron/rrdcollect/current/SPECS/rrdcollect.spec
ViewVC logotype

Contents of /cauldron/rrdcollect/current/SPECS/rrdcollect.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1914537 - (show annotations) (download)
Fri Dec 2 20:00:53 2022 UTC (18 months, 2 weeks ago) by danf
File size: 1279 byte(s)
SILENT: Switch SourceForge project URLs to https:
1 Summary: Round-Robin Database Collecting Daemon
2 Name: rrdcollect
3 Version: 0.2.9
4 Release: %mkrel 11
5 Group: Monitoring
6 License: GPLv2
7 Source: https://prdownloads.sourceforge.net/prdownloads/%{name}/%{name}-%{version}.tar.gz
8 Patch0: rrdcollect-checkpid.diff
9 Patch1: rrdcollect-socket.diff
10 Patch2: rrdcollect-0.2.9-lsb.patch
11 Requires: rrdtool
12 URL: https://rrdcollect.sourceforge.net/
13 Requires: chkconfig, initscripts >= 5.54
14 BuildRequires: pcre-devel
15 BuildRequires: byacc
16
17 %description
18 RRDcollect is a small daemon which periodically polls
19 certain files in /proc or network sockets, to gather
20 data which is then stored inside an rrd database.
21 Being written in C it's fast and resources-friendly.
22 Supports both scanf(3)-style pattern matches and
23 perl compatible regular expressions.
24
25 %prep
26 %setup -q
27 %autopatch -p1
28
29 %build
30 %configure --enable-exec
31 make
32
33 %install
34 %make_install
35
36 mkdir -p %{buildroot}/%{_initrddir}
37 install -m 0755 doc/sample-rrdcollect.init %{buildroot}%{_initrddir}/rrdcollect
38
39 %post
40 %_post_service %{name}
41
42 %preun
43 %_preun_service %{name}
44
45 %files
46 %doc AUTHORS NEWS README
47 %attr(0644,root,root) %config(noreplace) /etc/rrdcollect.conf
48 %attr(0755,root,root) %{_initrddir}/rrdcollect
49 %{_mandir}/man5/rrdcollect.*
50 %{_mandir}/man8/rrdcollect.*
51 %{_sbindir}/rrdcollect

  ViewVC Help
Powered by ViewVC 1.1.30