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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1914537 - (hide annotations) (download)
Fri Dec 2 20:00:53 2022 UTC (19 months, 2 weeks ago) by danf
File size: 1279 byte(s)
SILENT: Switch SourceForge project URLs to https:
1 bertl 209251 Summary: Round-Robin Database Collecting Daemon
2     Name: rrdcollect
3     Version: 0.2.9
4 umeabot 1793965 Release: %mkrel 11
5 bertl 209251 Group: Monitoring
6     License: GPLv2
7 danf 1778871 Source: https://prdownloads.sourceforge.net/prdownloads/%{name}/%{name}-%{version}.tar.gz
8 bertl 209251 Patch0: rrdcollect-checkpid.diff
9     Patch1: rrdcollect-socket.diff
10 colin 235406 Patch2: rrdcollect-0.2.9-lsb.patch
11 bertl 209251 Requires: rrdtool
12 danf 1914537 URL: https://rrdcollect.sourceforge.net/
13 fwang 391228 Requires: chkconfig, initscripts >= 5.54
14 ovitters 648710 BuildRequires: pcre-devel
15     BuildRequires: byacc
16 bertl 209251
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 wally 1470803 %autopatch -p1
28 bertl 209251
29     %build
30 wally 1480415 %configure --enable-exec
31 bertl 209251 make
32    
33     %install
34 luigiwalser 958994 %make_install
35 bertl 209251
36 luigiwalser 958994 mkdir -p %{buildroot}/%{_initrddir}
37     install -m 0755 doc/sample-rrdcollect.init %{buildroot}%{_initrddir}/rrdcollect
38 bertl 209251
39     %post
40 colin 235406 %_post_service %{name}
41 bertl 209251
42     %preun
43 colin 235406 %_preun_service %{name}
44 bertl 209251
45     %files
46     %doc AUTHORS NEWS README
47     %attr(0644,root,root) %config(noreplace) /etc/rrdcollect.conf
48 fwang 391228 %attr(0755,root,root) %{_initrddir}/rrdcollect
49 bertl 209251 %{_mandir}/man5/rrdcollect.*
50     %{_mandir}/man8/rrdcollect.*
51     %{_sbindir}/rrdcollect

  ViewVC Help
Powered by ViewVC 1.1.30