Merge branch 'collectd-5.6'
[collectd.git] / contrib / redhat / collectd.spec
1 #
2 # q: What is this ?
3 # a: A specfile for building RPM packages of current collectd releases, for
4 #    RHEL/CentOS versions 5, 6 and 7. By default all the plugins which are
5 #    buildable based on the libraries available in the distribution + the
6 #    EPEL repository, will be built. Plugins depending on external libs will
7 #    be packaged in separate RPMs.
8 #
9 # q: And how can I do that ?
10 # a: By following these instructions, using mock:
11 #
12 # - install and configure mock (https://fedoraproject.org/wiki/Projects/Mock)
13 #
14 # - enable the EPEL repository (http://dl.fedoraproject.org/pub/epel/) in the
15 #   configuration files for your target systems (/etc/mock/*.cfg).
16 #
17 # - fetch the desired collectd release file from https://collectd.org/files/
18 #   and save it in your ~/rpmbuild/SOURCES/ directory (or build your own out of
19 #   the git repository: ./build.sh && ./configure && make-dist-bz2)
20 #
21 # - copy this file in your ~/rpmbuild/SPECS/ directory. Make sure the
22 #   "Version:" tag matches the version from the tarball.
23 #
24 # - build the SRPM first:
25 #   mock -r centos-6-x86_64 --buildsrpm --spec ~/rpmbuild/SPECS/collectd.spec \
26 #     --sources ~/rpmbuild/SOURCES/
27 #
28 # - then build the RPMs:
29 #   mock -r centos-6-x86_64 --no-clean --rebuild \
30 #     /var/lib/mock/centos-6-x86_64/result/collectd-X.Y.Z-NN.src.rpm
31 #
32 # - you can also optionally enable/disable plugins which are disabled/enabled
33 #   by default:
34 #   mock -r centos-6-x86_64 --no-clean --without=java --with=oracle --rebuild \
35 #     /var/lib/mock/centos-6-x86_64/result/collectd-X.Y.Z-NN.src.rpm
36 #
37
38 %global _hardened_build 1
39 %{?perl_default_filter}
40
41 # plugins enabled by default
42 %define with_aggregation 0%{!?_without_aggregation:1}
43 %define with_amqp 0%{!?_without_amqp:1}
44 %define with_apache 0%{!?_without_apache:1}
45 %define with_apcups 0%{!?_without_apcups:1}
46 %define with_ascent 0%{!?_without_ascent:1}
47 %define with_battery 0%{!?_without_battery:1}
48 %define with_bind 0%{!?_without_bind:1}
49 %define with_ceph 0%{!?_without_ceph:1}
50 %define with_cgroups 0%{!?_without_cgroups:1}
51 %define with_chrony 0%{!?_without_chrony:1}
52 %define with_conntrack 0%{!?_without_conntrack:1}
53 %define with_contextswitch 0%{!?_without_contextswitch:1}
54 %define with_cpu 0%{!?_without_cpu:1}
55 %define with_cpufreq 0%{!?_without_cpufreq:1}
56 %define with_cpusleep 0%{!?_without_cpusleep:1}
57 %define with_csv 0%{!?_without_csv:1}
58 %define with_curl 0%{!?_without_curl:1}
59 %define with_curl_json 0%{!?_without_curl_json:1}
60 %define with_curl_xml 0%{!?_without_curl_xml:1}
61 %define with_dbi 0%{!?_without_dbi:1}
62 %define with_df 0%{!?_without_df:1}
63 %define with_disk 0%{!?_without_disk:1}
64 %define with_dns 0%{!?_without_dns:1}
65 %define with_drbd 0%{!?_without_drbd:1}
66 %define with_email 0%{!?_without_email:1}
67 %define with_entropy 0%{!?_without_entropy:1}
68 %define with_ethstat 0%{!?_without_ethstat:1}
69 %define with_exec 0%{!?_without_exec:1}
70 %define with_fhcount 0%{!?_without_fhcount:1}
71 %define with_filecount 0%{!?_without_filecount:1}
72 %define with_fscache 0%{!?_without_fscache:1}
73 %define with_gmond 0%{!?_without_gmond:1}
74 %define with_gps 0%{!?_without_gps:1}
75 %define with_hddtemp 0%{!?_without_hddtemp:1}
76 %define with_hugepages 0%{!?_without_hugepages:1}
77 %define with_interface 0%{!?_without_interface:1}
78 %define with_ipc 0%{!?_without_ipc:1}
79 %define with_ipmi 0%{!?_without_ipmi:1}
80 %define with_iptables 0%{!?_without_iptables:1}
81 %define with_ipvs 0%{!?_without_ipvs:1}
82 %define with_irq 0%{!?_without_irq:1}
83 %define with_java 0%{!?_without_java:1}
84 %define with_load 0%{!?_without_load:1}
85 %define with_log_logstash 0%{!?_without_log_logstash:1}
86 %define with_logfile 0%{!?_without_logfile:1}
87 %define with_lua 0%{!?_without_lua:1}
88 %define with_lvm 0%{!?_without_lvm:1}
89 %define with_madwifi 0%{!?_without_madwifi:1}
90 %define with_mbmon 0%{!?_without_mbmon:1}
91 %define with_md 0%{!?_without_md:1}
92 %define with_memcachec 0%{!?_without_memcachec:1}
93 %define with_memcached 0%{!?_without_memcached:1}
94 %define with_memory 0%{!?_without_memory:1}
95 %define with_modbus 0%{!?_without_modbus:1}
96 %define with_mqtt 0%{!?_without_mqtt:1}
97 %define with_multimeter 0%{!?_without_multimeter:1}
98 %define with_mysql 0%{!?_without_mysql:1}
99 %define with_netlink 0%{!?_without_netlink:1}
100 %define with_network 0%{!?_without_network:1}
101 %define with_nfs 0%{!?_without_nfs:1}
102 %define with_nginx 0%{!?_without_nginx:1}
103 %define with_notify_desktop 0%{!?_without_notify_desktop:1}
104 %define with_notify_email 0%{!?_without_notify_email:1}
105 %define with_notify_nagios 0%{!?_without_notify_nagios:1}
106 %define with_ntpd 0%{!?_without_ntpd:1}
107 %define with_numa 0%{!?_without_numa:1}
108 %define with_nut 0%{!?_without_nut:1}
109 %define with_olsrd 0%{!?_without_olsrd:1}
110 %define with_openldap 0%{!?_without_openldap:1}
111 %define with_openvpn 0%{!?_without_openvpn:1}
112 %define with_perl 0%{!?_without_perl:1}
113 %define with_pinba 0%{!?_without_pinba:1}
114 %define with_ping 0%{!?_without_ping:1}
115 %define with_postgresql 0%{!?_without_postgresql:1}
116 %define with_powerdns 0%{!?_without_powerdns:1}
117 %define with_processes 0%{!?_without_processes:1}
118 %define with_protocols 0%{!?_without_protocols:1}
119 %define with_python 0%{!?_without_python:1}
120 %define with_redis 0%{!?_without_redis:1}
121 %define with_rrdcached 0%{!?_without_rrdcached:1}
122 %define with_rrdtool 0%{!?_without_rrdtool:1}
123 %define with_sensors 0%{!?_without_sensors:1}
124 %define with_serial 0%{!?_without_serial:1}
125 %define with_smart 0%{!?_without_smart:1}
126 %define with_snmp 0%{!?_without_snmp:1}
127 %define with_statsd 0%{!?_without_statsd:1}
128 %define with_swap 0%{!?_without_swap:1}
129 %define with_syslog 0%{!?_without_syslog:1}
130 %define with_table 0%{!?_without_table:1}
131 %define with_tail 0%{!?_without_tail:1}
132 %define with_tail_csv 0%{!?_without_tail_csv:1}
133 %define with_tcpconns 0%{!?_without_tcpconns:1}
134 %define with_teamspeak2 0%{!?_without_teamspeak2:1}
135 %define with_ted 0%{!?_without_ted:1}
136 %define with_thermal 0%{!?_without_thermal:1}
137 %define with_threshold 0%{!?_without_threshold:1}
138 %define with_turbostat 0%{!?_without_turbostat:1}
139 %define with_unixsock 0%{!?_without_unixsock:1}
140 %define with_uptime 0%{!?_without_uptime:1}
141 %define with_users 0%{!?_without_users:1}
142 %define with_uuid 0%{!?_without_uuid:1}
143 %define with_varnish 0%{!?_without_varnish:1}
144 %define with_virt 0%{!?_without_virt:1}
145 %define with_vmem 0%{!?_without_vmem:1}
146 %define with_vserver 0%{!?_without_vserver:1}
147 %define with_wireless 0%{!?_without_wireless:1}
148 %define with_write_graphite 0%{!?_without_write_graphite:1}
149 %define with_write_http 0%{!?_without_write_http:1}
150 %define with_write_log 0%{!?_without_write_log:1}
151 %define with_write_redis 0%{!?_without_write_redis:1}
152 %define with_write_sensu 0%{!?_without_write_sensu:1}
153 %define with_write_tsdb 0%{!?_without_write_tsdb:1}
154 %define with_xmms 0%{!?_without_xmms:0%{?_has_xmms}}
155 %define with_zfs_arc 0%{!?_without_zfs_arc:1}
156 %define with_zookeeper 0%{!?_without_zookeeper:1}
157
158 # Plugins not built by default because of dependencies on libraries not
159 # available in RHEL or EPEL:
160
161 # plugin apple_sensors disabled, requires a Mac
162 %define with_apple_sensors 0%{!?_without_apple_sensors:0}
163 # plugin aquaero disabled, requires a libaquaero5
164 %define with_aquaero 0%{!?_without_aquaero:0}
165 # plugin barometer disabled, requires a libi2c
166 %define with_barometer 0%{!?_without_barometer:0}
167 # plugin grpc disabled, requires protobuf-compiler >= 3.0
168 %define with_grpc 0%{!?_without_grpc:0}
169 # plugin dpdkstat disabled, requires libdpdk
170 %define with_dpdkstat 0%{!?_without_dpdkstat:0}
171 # plugin lpar disabled, requires AIX
172 %define with_lpar 0%{!?_without_lpar:0}
173 # plugin intel_rdt disabled, requires intel-cmt-cat
174 %define with_intel_rdt 0%{!?_without_intel_rdt:0}
175 # plugin mic disabled, requires Mic
176 %define with_mic 0%{!?_without_mic:0}
177 # plugin netapp disabled, requires libnetapp
178 %define with_netapp 0%{!?_without_netapp:0}
179 # plugin onewire disabled, requires libowfs
180 %define with_onewire 0%{!?_without_onewire:0}
181 # plugin oracle disabled, requires Oracle
182 %define with_oracle 0%{!?_without_oracle:0}
183 # plugin oracle disabled, requires BSD
184 %define with_pf 0%{!?_without_pf:0}
185 # plugin routeros disabled, requires librouteros
186 %define with_routeros 0%{!?_without_routeros:0}
187 # plugin sigrok disabled, requires libsigrok
188 %define with_sigrok 0%{!?_without_sigrok:0}
189 # plugin tape disabled, requires libkstat
190 %define with_tape 0%{!?_without_tape:0}
191 # plugin tokyotyrant disabled, requires tcrdb.h
192 %define with_tokyotyrant 0%{!?_without_tokyotyrant:0}
193 # plugin write_kafka disabled, requires librdkafka
194 %define with_write_kafka 0%{!?_without_write_kafka:0}
195 # plugin write_mongodb disabled, requires libmongoc
196 %define with_write_mongodb 0%{!?_without_write_mongodb:0}
197 # plugin write_riemann disabled, requires a new enough riemann_c_client
198 %define with_write_riemann 0%{!?_without_write_riemann:0}
199 # plugin xencpu disabled, requires xen-devel from non-default repo
200 %define with_xencpu 0%{!?_without_xencpu:0}
201 # plugin zone disabled, requires Solaris
202 %define with_zone 0%{!?_without_zone:0}
203
204 # Plugins not buildable on RHEL < 6
205 %if 0%{?rhel} && 0%{?rhel} < 6
206 %define with_ceph 0
207 %define with_curl_json 0
208 %define with_log_logstash 0
209 %define with_dns 0
210 %define with_ethstat 0
211 %define with_gmond 0
212 %define with_iptables 0
213 %define with_ipvs 0
214 %define with_lvm 0
215 %define with_modbus 0
216 %define with_netlink 0
217 %define with_redis 0
218 %define with_smart 0
219 %define with_turbostat 0
220 %define with_write_redis 0
221 %endif
222
223 # Plugins not buildable on RHEL < 7
224 %if 0%{?rhel} && 0%{?rhel} < 7
225 %define with_cpusleep 0
226 %define with_gps 0
227 %define with_mqtt 0
228 %define with_rrdcached 0
229 %define with_xmms 0
230 %endif
231
232 Summary:        Statistics collection and monitoring daemon
233 Name:           collectd
234 Version:        5.7.0
235 Release:        1%{?dist}
236 URL:            https://collectd.org
237 Source:         https://collectd.org/files/%{name}-%{version}.tar.bz2
238 License:        GPLv2
239 Group:          System Environment/Daemons
240 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
241 BuildRequires:  libgcrypt-devel, kernel-headers, libtool-ltdl-devel, libcap-devel, which
242 Vendor:         collectd development team <collectd@verplant.org>
243
244 %if 0%{?fedora} || 0%{?rhel} >= 7
245 %{?systemd_requires}
246 BuildRequires:          systemd
247 %else
248 Requires(post):         chkconfig
249 Requires(preun):        chkconfig, initscripts
250 Requires(postun):       initscripts
251 %endif
252
253 %description
254 collectd is a small daemon which collects system information periodically and
255 provides mechanisms to monitor and store the values in a variety of ways. It
256 is written in C for performance. Since the daemon doesn't need to start up
257 every time it wants to update the values it's very fast and easy on the
258 system. Also, the statistics are very fine grained since the files are updated
259 every 10 seconds by default.
260
261 %if %{with_amqp}
262 %package amqp
263 Summary:        AMQP plugin for collectd
264 Group:          System Environment/Daemons
265 Requires:       %{name}%{?_isa} = %{version}-%{release}
266 BuildRequires:  librabbitmq-devel
267 %description amqp
268 The AMQP plugin transmits or receives values collected by collectd via the
269 Advanced Message Queuing Protocol (AMQP).
270 %endif
271
272 %if %{with_apache}
273 %package apache
274 Summary:        Apache plugin for collectd
275 Group:          System Environment/Daemons
276 Requires:       %{name}%{?_isa} = %{version}-%{release}
277 BuildRequires:  curl-devel
278 %description apache
279 This plugin collects data provided by Apache's `mod_status'.
280 %endif
281
282 %if %{with_aquaero}
283 %package aquaero
284 Summary:        aquaero plugin for collectd
285 Group:          System Environment/Daemons
286 Requires:       %{name}%{?_isa} = %{version}-%{release}
287 %description aquaero
288 Various sensors in the Aquaero 5 watercooling board made by Aquacomputer.
289 %endif
290
291 %if %{with_ascent}
292 %package ascent
293 Summary:        Ascent plugin for collectd
294 Group:          System Environment/Daemons
295 Requires:       %{name}%{?_isa} = %{version}-%{release}
296 BuildRequires:  libxml2-devel, curl-devel
297 %description ascent
298 The Ascent plugin reads and parses the statistics page of Ascent, a free and
299 open-source server software for the game World of Warcraft by Blizzard
300 Entertainment.
301 %endif
302
303 %if %{with_barometer}
304 %package barometer
305 Summary:       barometer plugin for collectd
306 Group:         System Environment/Daemons
307 Requires:      %{name}%{?_isa} = %{version}-%{release}
308 %description barometer
309 Collects pressure and temperature from digital barometers.
310 %endif
311
312 %if %{with_bind}
313 %package bind
314 Summary:        Bind plugin for collectd
315 Group:          System Environment/Daemons
316 Requires:       %{name}%{?_isa} = %{version}-%{release}
317 BuildRequires:  libxml2-devel, curl-devel
318 %description bind
319 The BIND plugin retrieves this information that's encoded in XML and provided
320 via HTTP and submits the values to collectd.
321 %endif
322
323 %if %{with_ceph}
324 %package ceph
325 Summary:       Ceph plugin for collectd
326 Group:         System Environment/Daemons
327 Requires:      %{name}%{?_isa} = %{version}-%{release}
328 BuildRequires: yajl-devel
329 %description ceph
330 Ceph plugin for collectd
331 %endif
332
333 %if %{with_chrony}
334 %package chrony
335 Summary:       Chrony plugin for collectd
336 Group:         System Environment/Daemons
337 Requires:      %{name}%{?_isa} = %{version}-%{release}
338 %description chrony
339 Chrony plugin for collectd
340 %endif
341
342 %if %{with_curl}
343 %package curl
344 Summary:        Curl plugin for collectd
345 Group:          System Environment/Daemons
346 Requires:       %{name}%{?_isa} = %{version}-%{release}
347 BuildRequires:  curl-devel
348 %description curl
349 The cURL plugin uses libcurl to read files and then parses them according to
350 the configuration.
351 %endif
352
353 %if %{with_curl_json}
354 %package curl_json
355 Summary:        Curl_json plugin for collectd
356 Group:          System Environment/Daemons
357 Requires:       %{name}%{?_isa} = %{version}-%{release}
358 BuildRequires:  curl-devel, yajl-devel
359 %description curl_json
360 The cURL-JSON plugin queries JavaScript Object Notation (JSON) data using the
361 cURL library and parses it according to the user's configuration.
362 %endif
363
364 %if %{with_curl_xml}
365 %package curl_xml
366 Summary:        Curl_xml plugin for collectd
367 Group:          System Environment/Daemons
368 Requires:       %{name}%{?_isa} = %{version}-%{release}
369 BuildRequires:  curl-devel, libxml2-devel
370 %description curl_xml
371 The cURL-XML plugin reads files using libcurl and parses it as Extensible
372 Markup Language (XML).
373 %endif
374
375 %if %{with_dbi}
376 %package dbi
377 Summary:        DBI plugin for collectd
378 Group:          System Environment/Daemons
379 Requires:       %{name}%{?_isa} = %{version}-%{release}
380 BuildRequires:  libdbi-devel
381 %description dbi
382 The DBI plugin uses libdbi, a database abstraction library, to execute SQL
383 statements on a database and read back the result.
384 %endif
385
386 %if %{with_disk}
387 %package disk
388 Summary:        disk plugin for collectd
389 Group:          System Environment/Daemons
390 Requires:       %{name}%{?_isa} = %{version}-%{release}
391 %{?_has_libudev:BuildRequires:  libudev-devel}
392 %description disk
393 The "disk" plugin collects information about the usage of physical disks and
394 logical disks (partitions).
395 %endif
396
397 %if %{with_dns}
398 %package dns
399 Summary:        DNS plugin for collectd
400 Group:          System Environment/Daemons
401 Requires:       %{name}%{?_isa} = %{version}-%{release}, libpcap >= 1.0
402 BuildRequires:  libpcap-devel >= 1.0
403 %description dns
404 The DNS plugin has a similar functionality to dnstop: It uses libpcap to get a
405 copy of all traffic from/to port UDP/53 (that's the DNS port), interprets the
406 packets and collects statistics of your DNS traffic.
407 %endif
408
409 %if %{with_email}
410 %package email
411 Summary:        Email plugin for collectd
412 Group:          System Environment/Daemons
413 Requires:       %{name}%{?_isa} = %{version}-%{release}, spamassassin
414 %description email
415 This plugin collects data provided by spamassassin.
416 %endif
417
418 %if %{with_gmond}
419 %package gmond
420 Summary:        Gmond plugin for collectd
421 Group:          System Environment/Daemons
422 Requires:       %{name}%{?_isa} = %{version}-%{release}
423 BuildRequires:  ganglia-devel
424 %description gmond
425 The gmond plugin subscribes to a Multicast group to receive data from gmond,
426 the client daemon of the Ganglia project.
427 %endif
428
429 %if %{with_gps}
430 %package gps
431 Summary:        GPS plugin for collectd
432 Group:          System Environment/Daemons
433 Requires:       %{name}%{?_isa} = %{version}-%{release}
434 BuildRequires:  gpsd-devel
435 %description gps
436 This plugin monitor gps related data through gpsd.
437 %endif
438
439 %if %{with_grpc}
440 %package grpc
441 Summary:        GRPC plugin for collectd
442 Group:          System Environment/Daemons
443 Requires:       %{name}%{?_isa} = %{version}-%{release}
444 BuildRequires:  protobuf-compiler
445 %description grpc
446 This plugin embeds a gRPC server into Collectd.
447 %endif
448
449 %if %{with_hddtemp}
450 %package hddtemp
451 Summary:        Hddtemp plugin for collectd
452 Group:          System Environment/Daemons
453 Requires:       %{name}%{?_isa} = %{version}-%{release}, hddtemp
454 %description hddtemp
455 The HDDTemp plugin collects the temperature of hard disks. The temperatures are
456 provided via SMART and queried by the external hddtemp daemon.
457 %endif
458
459 %if %{with_intel_rdt}
460 %package intel_rdt
461 Summary:        Intel RDT plugin for collectd
462 Group:          System Environment/Daemons
463 Requires:       %{name}%{?_isa} = %{version}-%{release}
464 BuildRequires:  intel-cmt-cat
465 %description intel_rdt
466 The intel_rdt plugin collects information provided by monitoring features of
467 Intel Resource Director Technology (Intel(R) RDT).
468 %endif
469
470 %if %{with_ipmi}
471 %package ipmi
472 Summary:        IPMI plugin for collectd
473 Group:          System Environment/Daemons
474 Requires:       %{name}%{?_isa} = %{version}-%{release}
475 BuildRequires:  OpenIPMI-devel
476 %description ipmi
477 The IPMI plugin uses the OpenIPMI library to read hardware sensors from servers
478 using the Intelligent Platform Management Interface (IPMI).
479 %endif
480
481 %if %{with_iptables}
482 %package iptables
483 Summary:        IPtables plugin for collectd
484 Group:          System Environment/Daemons
485 Requires:       %{name}%{?_isa} = %{version}-%{release}
486 BuildRequires:  iptables-devel
487 %description iptables
488 The IPtables plugin can gather statistics from your ip_tables based packet
489 filter (aka. firewall) for both the IPv4 and the IPv6 protocol. It can collect
490 the byte- and packet-counters of selected rules and submit them to collectd.
491 %endif
492
493 %if %{with_java}
494 %package java
495 Summary:        Java plugin for collectd
496 Group:          System Environment/Daemons
497 Requires:       %{name}%{?_isa} = %{version}-%{release}
498 BuildRequires:  java-devel, jpackage-utils
499 Requires:       java, jpackage-utils
500 %description java
501 This plugin for collectd allows plugins to be written in Java and executed
502 in an embedded JVM.
503 %endif
504
505 %if %{with_log_logstash}
506 %package log_logstash
507 Summary:       log_logstash plugin for collectd
508 Group:         System Environment/Daemons
509 Requires:      %{name}%{?_isa} = %{version}-%{release}
510 BuildRequires: yajl-devel
511 %description log_logstash
512 This plugin logs in logstash JSON format
513 %endif
514
515 %if %{with_lua}
516 %package lua
517 Summary:        Lua plugin for collectd
518 Group:          System Environment/Daemons
519 Requires:       %{name}%{?_isa} = %{version}-%{release}
520 BuildRequires:  lua-devel
521 %description lua
522 The Lua plugin embeds a Lua interpreter into collectd and exposes the
523 application programming interface (API) to Lua scripts.
524 %endif
525
526 %if %{with_lvm}
527 %package lvm
528 Summary:        LVM plugin for collectd
529 Group:          System Environment/Daemons
530 Requires:       %{name}%{?_isa} = %{version}-%{release}
531 BuildRequires:  lvm2-devel
532 %description lvm
533 This plugin collects size of “Logical Volumes” (LV) and “Volume Groups” (VG)
534 of Linux' “Logical Volume Manager” (LVM).
535 %endif
536
537 %if %{with_memcachec}
538 %package memcachec
539 Summary:        Memcachec plugin for collectd
540 Group:          System Environment/Daemons
541 Requires:       %{name}%{?_isa} = %{version}-%{release}
542 BuildRequires:  libmemcached-devel
543 %description memcachec
544 The Memcachec plugin uses libmemcached to read statistics from a Memcached
545 instance. Note that another plugin, named `memcached', exists and does a
546 similar job, without requiring the installation of libmemcached.
547 %endif
548
549 %if %{with_mic}
550 %package mic
551 Summary:        mic plugin for collectd
552 Group:          System Environment/Daemons
553 Requires:       %{name}%{?_isa} = %{version}-%{release}
554 %description mic
555 The mic plugin collects CPU usage, memory usage, temperatures and power
556 consumption from Intel Many Integrated Core (MIC) CPUs.
557 %endif
558
559 %if %{with_modbus}
560 %package modbus
561 Summary:       modbus plugin for collectd
562 Group:         System Environment/Daemons
563 Requires:      %{name}%{?_isa} = %{version}-%{release}
564 BuildRequires:  libmodbus-devel
565 %description modbus
566 The modbus plugin collects values from Modbus/TCP enabled devices
567 %endif
568
569 %if %{with_mysql}
570 %package mysql
571 Summary:        MySQL plugin for collectd
572 Group:          System Environment/Daemons
573 Requires:       %{name}%{?_isa} = %{version}-%{release}
574 BuildRequires:  mysql-devel
575 %description mysql
576 MySQL querying plugin. This plugin provides data of issued commands, called
577 handlers and database traffic.
578 %endif
579
580 %if %{with_mqtt}
581 %package mqtt
582 Summary:        mqtt plugin for collectd
583 Group:          System Environment/Daemons
584 Requires:       %{name}%{?_isa} = %{version}-%{release}
585 BuildRequires:  mosquitto-devel
586 %description mqtt
587 The MQTT plugin publishes and subscribes to MQTT topics.
588 %endif
589
590 %if %{with_netlink}
591 %package netlink
592 Summary:        netlink plugin for collectd
593 Group:          System Environment/Daemons
594 Requires:       %{name}%{?_isa} = %{version}-%{release}
595 BuildRequires:  libmnl-devel, iproute-devel
596 %description netlink
597 The netlink plugin collects detailed network interface and routing statistics.
598 %endif
599
600 %if %{with_nginx}
601 %package nginx
602 Summary:        Nginx plugin for collectd
603 Group:          System Environment/Daemons
604 Requires:       %{name}%{?_isa} = %{version}-%{release}
605 BuildRequires:  curl-devel
606 %description nginx
607 This plugin gets data provided by nginx.
608 %endif
609
610 %if %{with_notify_desktop}
611 %package notify_desktop
612 Summary:        Notify_desktop plugin for collectd
613 Group:          System Environment/Daemons
614 Requires:       %{name}%{?_isa} = %{version}-%{release}
615 BuildRequires:  libnotify-devel, gtk2-devel
616 %description notify_desktop
617 The Notify Desktop plugin uses libnotify to display notifications to the user
618 via the desktop notification specification, i. e. on an X display.
619 %endif
620
621 %if %{with_notify_email}
622 %package notify_email
623 Summary:        Notify_email plugin for collectd
624 Group:          System Environment/Daemons
625 Requires:       %{name}%{?_isa} = %{version}-%{release}
626 BuildRequires:  libesmtp-devel
627 %description notify_email
628 The Notify Email plugin uses libESMTP to send notifications to a configured
629 email address.
630 %endif
631
632 %if %{with_nut}
633 %package nut
634 Summary:        Nut plugin for collectd
635 Group:          System Environment/Daemons
636 Requires:       %{name}%{?_isa} = %{version}-%{release}
637 BuildRequires:  nut-devel
638 %description nut
639 This plugin for collectd provides Network UPS Tools support.
640 %endif
641
642 %if %{with_openldap}
643 %package openldap
644 Summary:       Openldap plugin for collectd
645 Group:         System Environment/Daemons
646 Requires:      %{name}%{?_isa} = %{version}-%{release}
647 BuildRequires: openldap-devel
648 %description openldap
649 This plugin reads monitoring information from OpenLDAP's cn=Monitor subtree.
650 %endif
651
652 %if %{with_perl}
653 %package perl
654 Summary:        Perl plugin for collectd
655 Group:          System Environment/Daemons
656 Requires:       %{name}%{?_isa} = %{version}-%{release}
657 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
658         %if 0%{?rhel} && 0%{?rhel} < 6
659 BuildRequires:  perl
660         %else
661 BuildRequires:  perl-ExtUtils-Embed
662         %endif
663 %description perl
664 The Perl plugin embeds a Perl interpreter into collectd and exposes the
665 application programming interface (API) to Perl-scripts.
666 %endif
667
668 %if %{with_pinba}
669 %package pinba
670 Summary:        Pinba plugin for collectd
671 Group:          System Environment/Daemons
672 Requires:       %{name}%{?_isa} = %{version}-%{release}
673 BuildRequires:  protobuf-c-devel
674 %description pinba
675 The Pinba plugin receives and dispatches timing values from Pinba, a profiling
676 extension for PHP.
677 %endif
678
679 %if %{with_ping}
680 %package ping
681 Summary:        Ping plugin for collectd
682 Group:          System Environment/Daemons
683 Requires:       %{name}%{?_isa} = %{version}-%{release}
684 BuildRequires:  liboping-devel
685 %description ping
686 The Ping plugin measures network latency using ICMP “echo requests”, usually
687 known as “ping”.
688 %endif
689
690 %if %{with_postgresql}
691 %package postgresql
692 Summary:        PostgreSQL plugin for collectd
693 Group:          System Environment/Daemons
694 Requires:       %{name}%{?_isa} = %{version}-%{release}
695 BuildRequires:  postgresql-devel
696 %description postgresql
697 The PostgreSQL plugin connects to and executes SQL statements on a PostgreSQL
698 database.
699 %endif
700
701 %if %{with_python}
702 %package python
703 Summary:        Python plugin for collectd
704 Group:          System Environment/Daemons
705 Requires:       %{name}%{?_isa} = %{version}-%{release}
706         %if 0%{?rhel} && 0%{?rhel} < 6
707 BuildRequires: python26-devel
708         %else
709 BuildRequires: python-devel
710         %endif
711 %description python
712 The Python plugin embeds a Python interpreter into collectd and exposes the
713 application programming interface (API) to Python-scripts.
714 %endif
715
716 %if %{with_redis}
717 %package redis
718 Summary:        Redis plugin for collectd
719 Group:          System Environment/Daemons
720 Requires:       %{name}%{?_isa} = %{version}-%{release}
721 BuildRequires:  hiredis-devel
722 %description redis
723 The Redis plugin connects to one or more instances of Redis, a key-value store,
724 and collects usage information using the hiredis library.
725 %endif
726
727 %if %{with_rrdcached}
728 %package rrdcached
729 Summary:        RRDCached plugin for collectd
730 Group:          System Environment/Daemons
731 Requires:       %{name}%{?_isa} = %{version}-%{release}, rrdtool >= 1.4
732 BuildRequires:  rrdtool-devel
733 %description rrdcached
734 The RRDCacheD plugin connects to the “RRD caching daemon”, rrdcached and
735 submits updates for RRD files to that daemon.
736 %endif
737
738 %if %{with_rrdtool}
739 %package rrdtool
740 Summary:        RRDtool plugin for collectd
741 Group:          System Environment/Daemons
742 Requires:       %{name}%{?_isa} = %{version}-%{release}
743 BuildRequires:  rrdtool-devel
744 %description rrdtool
745 The RRDtool plugin writes values to RRD-files using librrd.
746 %endif
747
748 %if %{with_sensors}
749 %package sensors
750 Summary:        Sensors plugin for collectd
751 Group:          System Environment/Daemons
752 Requires:       %{name}%{?_isa} = %{version}-%{release}
753 BuildRequires:  lm_sensors-devel
754 %description sensors
755 This plugin for collectd provides querying of sensors supported by lm_sensors.
756 %endif
757
758 %if %{with_sigrok}
759 %package sigrok
760 Summary:        sigrok plugin for collectd
761 Group:          System Environment/Daemons
762 Requires:       %{name}%{?_isa} = %{version}-%{release}
763 %description sigrok
764 Uses libsigrok as a backend, allowing any sigrok-supported device to have its
765 measurements fed to collectd. This includes multimeters, sound level meters,
766 thermometers, and much more.
767 %endif
768
769 %if %{with_smart}
770 %package smart
771 Summary:       SMART plugin for collectd
772 Group:         System Environment/Daemons
773 Requires:      %{name}%{?_isa} = %{version}-%{release}
774 BuildRequires: libatasmart-devel
775 %description smart
776 Collect SMART statistics, notably load cycle count, temperature and bad
777 sectors.
778 %endif
779
780 %if %{with_snmp}
781 %package snmp
782 Summary:        SNMP plugin for collectd
783 Group:          System Environment/Daemons
784 Requires:       %{name}%{?_isa} = %{version}-%{release}
785 BuildRequires:  net-snmp-devel
786 %description snmp
787 This plugin for collectd allows querying of network equipment using SNMP.
788 %endif
789
790 %if %{with_varnish}
791 %package varnish
792 Summary:        Varnish plugin for collectd
793 Group:          System Environment/Daemons
794 Requires:       %{name}%{?_isa} = %{version}-%{release}
795 BuildRequires:  varnish-libs-devel
796 %description varnish
797 The Varnish plugin collects information about Varnish, an HTTP accelerator.
798 %endif
799
800 %if %{with_virt}
801 %package virt
802 Summary:        Virt plugin for collectd
803 Group:          System Environment/Daemons
804 Requires:       %{name}%{?_isa} = %{version}-%{release}
805 BuildRequires:  libvirt-devel
806 %description virt
807 This plugin collects information from virtualized guests.
808 %endif
809
810 %if %{with_write_http}
811 %package write_http
812 Summary:        Write-HTTP plugin for collectd
813 Group:          System Environment/Daemons
814 Requires:       %{name}%{?_isa} = %{version}-%{release}
815 BuildRequires:  curl-devel
816 %description write_http
817 The Write-HTTP plugin sends the values collected by collectd to a web-server
818 using HTTP POST requests.
819 %endif
820
821 %if %{with_write_kafka}
822 %package write_kafka
823 Summary:       Write-kafka plugin for collectd
824 Group:         System Environment/Daemons
825 Requires:      %{name}%{?_isa} = %{version}-%{release}
826 BuildRequires: librdkafka-devel
827 %description write_kafka
828 The write_kafka plugin sends values to kafka, a distributed messaging system.
829 %endif
830
831 %if %{with_write_redis}
832 %package write_redis
833 Summary:        Write-Redis plugin for collectd
834 Group:          System Environment/Daemons
835 Requires:       %{name}%{?_isa} = %{version}-%{release}
836 BuildRequires:  hiredis-devel
837 %description write_redis
838 The Write Redis plugin stores values in Redis, a “data structures server”.
839 %endif
840
841 %if %{with_write_riemann}
842 %package write_riemann
843 Summary:        riemann plugin for collectd
844 Group:          System Environment/Daemons
845 Requires:       %{name}%{?_isa} = %{version}-%{release}
846 BuildRequires:  protobuf-c-devel
847 %description write_riemann
848 The riemann plugin submits values to Riemann, an event stream processor.
849 %endif
850
851 %if %{with_xencpu}
852 %package xencpu
853 Summary:        xencpu plugin for collectd
854 Group:          System Environment/Daemons
855 Requires:       %{name}%{?_isa} = %{version}-%{release}
856 BuildRequires:  xen-devel
857 %description xencpu
858 The xencpu plugin collects CPU statistics from Xen.
859 %endif
860
861 %if %{with_xmms}
862 %package xmms
863 Summary:        XMMS plugin for collectd
864 Group:          System Environment/Daemons
865 Requires:       %{name}%{?_isa} = %{version}-%{release}
866 BuildRequires:  xmms-devel
867 %description xmms
868 The xmms plugin collects information from the XMMS music player.
869 %endif
870
871 %package collection3
872 Summary:        Web-based viewer for collectd
873 Group:          System Environment/Daemons
874 Requires:       %{name}%{?_isa} = %{version}-%{release}
875 Requires: httpd
876 %description collection3
877 collection3 is a graphing front-end for the RRD files created by and filled
878 with collectd. It is written in Perl and should be run as an CGI-script.
879 Graphs are generated on-the-fly, so no cron job or similar is necessary.
880
881 %package php-collection
882 Summary:        collect php webfrontent
883 Group:          System Environment/Daemons
884 Requires:       collectd = %{version}-%{release}
885 Requires:       httpd
886 Requires:       php
887 Requires:       php-rrdtool
888 %description php-collection
889 PHP graphing frontend for RRD files created by and filled with collectd.
890
891 %package contrib
892 Summary:        Contrib files for collectd
893 Group:          System Environment/Daemons
894 Requires:       %{name}%{?_isa} = %{version}-%{release}
895 %description contrib
896 All the files found under contrib/ in the source tree are bundled in this
897 package.
898
899 %package -n libcollectdclient
900 Summary:        Collectd client library
901 Group:          System Environment/Daemons
902 %description -n libcollectdclient
903 Collectd client library
904
905 %package -n libcollectdclient-devel
906 Summary:        Development files for libcollectdclient
907 Group:          System Environment/Daemons
908 Requires:       pkgconfig
909 Requires:       libcollectdclient%{?_isa} = %{version}-%{release}
910 %description -n libcollectdclient-devel
911 Development files for libcollectdclient
912
913 %package -n collectd-utils
914 Summary:        Collectd utilities
915 Group:          System Environment/Daemons
916 Requires:       libcollectdclient%{?_isa} = %{version}-%{release}
917 Requires:       collectd%{?_isa} = %{version}-%{release}
918 %description -n collectd-utils
919 Collectd utilities
920
921 %prep
922 %setup -q
923
924 %build
925 %if %{with_aggregation}
926 %define _with_aggregation --enable-aggregation
927 %else
928 %define _with_aggregation --disable-aggregation
929 %endif
930
931 %if %{with_amqp}
932 %define _with_amqp --enable-amqp
933 %else
934 %define _with_amqp --disable-amqp
935 %endif
936
937 %if %{with_apache}
938 %define _with_apache --enable-apache
939 %else
940 %define _with_apache --disable-apache
941 %endif
942
943 %if %{with_apcups}
944 %define _with_apcups --enable-apcups
945 %else
946 %define _with_apcups --disable-apcups
947 %endif
948
949 %if %{with_apple_sensors}
950 %define _with_apple_sensors --enable-apple_sensors
951 %else
952 %define _with_apple_sensors --disable-apple_sensors
953 %endif
954
955 %if %{with_aquaero}
956 %define _with_aquaero --enable-aquaero
957 %else
958 %define _with_aquaero --disable-aquaero
959 %endif
960
961 %if %{with_ascent}
962 %define _with_ascent --enable-ascent
963 %else
964 %define _with_ascent --disable-ascent
965 %endif
966
967 %if %{with_barometer}
968 %define _with_barometer --enable-barometer
969 %else
970 %define _with_barometer --disable-barometer
971 %endif
972
973 %if %{with_battery}
974 %define _with_battery --enable-battery
975 %else
976 %define _with_battery --disable-battery
977 %endif
978
979 %if %{with_bind}
980 %define _with_bind --enable-bind
981 %else
982 %define _with_bind --disable-bind
983 %endif
984
985 %if %{with_cgroups}
986 %define _with_cgroups --enable-cgroups
987 %else
988 %define _with_cgroups --disable-cgroups
989 %endif
990
991 %if %{with_chrony}
992 %define _with_chrony --enable-chrony
993 %else
994 %define _with_chrony --disable-chrony
995 %endif
996
997 %if %{with_conntrack}
998 %define _with_conntrack --enable-conntrack
999 %else
1000 %define _with_conntrack --disable-conntrack
1001 %endif
1002
1003 %if %{with_contextswitch}
1004 %define _with_contextswitch --enable-contextswitch
1005 %else
1006 %define _with_contextswitch --disable-contextswitch
1007 %endif
1008
1009 %if %{with_cpu}
1010 %define _with_cpu --enable-cpu
1011 %else
1012 %define _with_cpu --disable-cpu
1013 %endif
1014
1015 %if %{with_cpufreq}
1016 %define _with_cpufreq --enable-cpufreq
1017 %else
1018 %define _with_cpufreq --disable-cpufreq
1019 %endif
1020
1021 %if %{with_cpusleep}
1022 %define _with_cpusleep --enable-cpusleep
1023 %else
1024 %define _with_cpusleep --disable-cpusleep
1025 %endif
1026
1027 %if %{with_csv}
1028 %define _with_csv --enable-csv
1029 %else
1030 %define _with_csv --disable-csv
1031 %endif
1032
1033 %if %{with_ceph}
1034 %define _with_ceph --enable-ceph
1035 %else
1036 %define _with_ceph --disable-ceph
1037 %endif
1038
1039 %if %{with_curl}
1040 %define _with_curl --enable-curl
1041 %else
1042 %define _with_curl --disable-curl
1043 %endif
1044
1045 %if %{with_curl_json}
1046 %define _with_curl_json --enable-curl_json
1047 %else
1048 %define _with_curl_json --disable-curl_json
1049 %endif
1050
1051 %if %{with_curl_xml}
1052 %define _with_curl_xml --enable-curl_xml
1053 %else
1054 %define _with_curl_xml --disable-curl_xml
1055 %endif
1056
1057 %if %{with_dbi}
1058 %define _with_dbi --enable-dbi
1059 %else
1060 %define _with_dbi --disable-dbi
1061 %endif
1062
1063 %if %{with_df}
1064 %define _with_df --enable-df
1065 %else
1066 %define _with_df --disable-df
1067 %endif
1068
1069 %if %{with_disk}
1070 %define _with_disk --enable-disk
1071 %else
1072 %define _with_disk --disable-disk
1073 %endif
1074
1075 %if %{with_dns}
1076 %define _with_dns --enable-dns
1077 %else
1078 %define _with_dns --disable-dns
1079 %endif
1080
1081 %if %{with_drbd}
1082 %define _with_drbd --enable-drbd
1083 %else
1084 %define _with_drbd --disable-drbd
1085 %endif
1086
1087 %if %{with_dpdkstat}
1088 %define _with_dpdkstat --enable-dpdkstat
1089 %else
1090 %define _with_dpdkstat --disable-dpdkstat
1091 %endif
1092
1093 %if %{with_email}
1094 %define _with_email --enable-email
1095 %else
1096 %define _with_email --disable-email
1097 %endif
1098
1099 %if %{with_entropy}
1100 %define _with_entropy --enable-entropy
1101 %else
1102 %define _with_entropy --disable-entropy
1103 %endif
1104
1105 %if %{with_ethstat}
1106 %define _with_ethstat --enable-ethstat
1107 %else
1108 %define _with_ethstat --disable-ethstat
1109 %endif
1110
1111 %if %{with_exec}
1112 %define _with_exec --enable-exec
1113 %else
1114 %define _with_exec --disable-exec
1115 %endif
1116
1117 %if %{with_fhcount}
1118 %define _with_fhcount --enable-fhcount
1119 %else
1120 %define _with_fhcount --disable-fhcount
1121 %endif
1122
1123 %if %{with_filecount}
1124 %define _with_filecount --enable-filecount
1125 %else
1126 %define _with_filecount --disable-filecount
1127 %endif
1128
1129 %if %{with_fscache}
1130 %define _with_fscache --enable-fscache
1131 %else
1132 %define _with_fscache --disable-fscache
1133 %endif
1134
1135 %if %{with_gmond}
1136 %define _with_gmond --enable-gmond
1137 %else
1138 %define _with_gmond --disable-gmond
1139 %endif
1140
1141 %if %{with_gps}
1142 %define _with_gps --enable-gps
1143 %else
1144 %define _with_gps --disable-gps
1145 %endif
1146
1147 %if %{with_grpc}
1148 %define _with_grpc --enable-grpc
1149 %else
1150 %define _with_grpc --disable-grpc
1151 %endif
1152
1153 %if %{with_hddtemp}
1154 %define _with_hddtemp --enable-hddtemp
1155 %else
1156 %define _with_hddtemp --disable-hddtemp
1157 %endif
1158
1159 %if %{with_hugepages}
1160 %define _with_hugepages --enable-hugepages
1161 %else
1162 %define _with_hugepages --disable-hugepages
1163 %endif
1164
1165 %if %{with_intel_rdt}
1166 %define _with_intel_rdt --enable-intel_rdt
1167 %else
1168 %define _with_intel_rdt --disable-intel_rdt
1169 %endif
1170
1171 %if %{with_interface}
1172 %define _with_interface --enable-interface
1173 %else
1174 %define _with_interface --disable-interface
1175 %endif
1176
1177 %if %{with_ipc}
1178 %define _with_ipc --enable-ipc
1179 %else
1180 %define _with_ipc --disable-ipc
1181 %endif
1182
1183 %if %{with_ipmi}
1184 %define _with_ipmi --enable-ipmi
1185 %else
1186 %define _with_ipmi --disable-ipmi
1187 %endif
1188
1189 %if %{with_iptables}
1190 %define _with_iptables --enable-iptables
1191 %else
1192 %define _with_iptables --disable-iptables
1193 %endif
1194
1195 %if %{with_ipvs}
1196 %define _with_ipvs --enable-ipvs
1197 %else
1198 %define _with_ipvs --disable-ipvs
1199 %endif
1200
1201 %if %{with_irq}
1202 %define _with_irq --enable-irq
1203 %else
1204 %define _with_irq --disable-irq
1205 %endif
1206
1207 %if %{with_java}
1208 %define _with_java --enable-java --with-java=%{java_home}/
1209 %else
1210 %define _with_java --disable-java
1211 %endif
1212
1213 %if %{with_virt}
1214 %define _with_virt --enable-virt
1215 %else
1216 %define _with_virt --disable-virt
1217 %endif
1218
1219 %if %{with_load}
1220 %define _with_load --enable-load
1221 %else
1222 %define _with_load --disable-load
1223 %endif
1224
1225 %if %{with_logfile}
1226 %define _with_logfile --enable-logfile
1227 %else
1228 %define _with_logfile --disable-logfile
1229 %endif
1230
1231 %if %{with_log_logstash}
1232 %define _with_log_logstash --enable-log_logstash
1233 %else
1234 %define _with_log_logstash --disable-log_logstash
1235 %endif
1236
1237 %if %{with_lpar}
1238 %define _with_lpar --enable-lpar
1239 %else
1240 %define _with_lpar --disable-lpar
1241 %endif
1242
1243 %if %{with_lua}
1244 %define _with_lua --enable-lua
1245 %else
1246 %define _with_lua --disable-lua
1247 %endif
1248
1249 %if %{with_lvm}
1250 %define _with_lvm --enable-lvm
1251 %else
1252 %define _with_lvm --disable-lvm
1253 %endif
1254
1255 %if %{with_madwifi}
1256 %define _with_madwifi --enable-madwifi
1257 %else
1258 %define _with_madwifi --disable-madwifi
1259 %endif
1260
1261 %if %{with_mbmon}
1262 %define _with_mbmon --enable-mbmon
1263 %else
1264 %define _with_mbmon --disable-mbmon
1265 %endif
1266
1267 %if %{with_md}
1268 %define _with_md --enable-md
1269 %else
1270 %define _with_md --disable-md
1271 %endif
1272
1273 %if %{with_memcachec}
1274 %define _with_memcachec --enable-memcachec
1275 %else
1276 %define _with_memcachec --disable-memcachec
1277 %endif
1278
1279 %if %{with_memcached}
1280 %define _with_memcached --enable-memcached
1281 %else
1282 %define _with_memcached --disable-memcached
1283 %endif
1284
1285 %if %{with_memory}
1286 %define _with_memory --enable-memory
1287 %else
1288 %define _with_memory --disable-memory
1289 %endif
1290
1291 %if %{with_mic}
1292 %define _with_mic --enable-mic
1293 %else
1294 %define _with_mic --disable-mic
1295 %endif
1296
1297 %if %{with_modbus}
1298 %define _with_modbus --enable-modbus
1299 %else
1300 %define _with_modbus --disable-modbus
1301 %endif
1302
1303 %if %{with_multimeter}
1304 %define _with_multimeter --enable-multimeter
1305 %else
1306 %define _with_multimeter --disable-multimeter
1307 %endif
1308
1309 %if %{with_mqtt}
1310 %define _with_mqtt --enable-mqtt
1311 %else
1312 %define _with_mqtt --disable-mqtt
1313 %endif
1314
1315 %if %{with_mysql}
1316 %define _with_mysql --enable-mysql
1317 %else
1318 %define _with_mysql --disable-mysql
1319 %endif
1320
1321 %if %{with_netapp}
1322 %define _with_netapp --enable-netapp
1323 %else
1324 %define _with_netapp --disable-netapp
1325 %endif
1326
1327 %if %{with_netlink}
1328 %define _with_netlink --enable-netlink
1329 %else
1330 %define _with_netlink --disable-netlink
1331 %endif
1332
1333 %if %{with_network}
1334 %define _with_network --enable-network
1335 %else
1336 %define _with_network --disable-network
1337 %endif
1338
1339 %if %{with_nfs}
1340 %define _with_nfs --enable-nfs
1341 %else
1342 %define _with_nfs --disable-nfs
1343 %endif
1344
1345 %if %{with_nginx}
1346 %define _with_nginx --enable-nginx
1347 %else
1348 %define _with_nginx --disable-nginx
1349 %endif
1350
1351 %if %{with_notify_desktop}
1352 %define _with_notify_desktop --enable-notify_desktop
1353 %else
1354 %define _with_notify_desktop --disable-notify_desktop
1355 %endif
1356
1357 %if %{with_notify_email}
1358 %define _with_notify_email --enable-notify_email
1359 %else
1360 %define _with_notify_email --disable-notify_email
1361 %endif
1362
1363 %if %{with_notify_nagios}
1364 %define _with_notify_nagios --enable-notify_nagios
1365 %else
1366 %define _with_notify_nagios --disable-notify_nagios
1367 %endif
1368
1369 %if %{with_ntpd}
1370 %define _with_ntpd --enable-ntpd
1371 %else
1372 %define _with_ntpd --disable-ntpd
1373 %endif
1374
1375 %if %{with_numa}
1376 %define _with_numa --enable-numa
1377 %else
1378 %define _with_numa --disable-numa
1379 %endif
1380
1381 %if %{with_nut}
1382 %define _with_nut --enable-nut
1383 %else
1384 %define _with_nut --disable-nut
1385 %endif
1386
1387 %if %{with_olsrd}
1388 %define _with_olsrd --enable-olsrd
1389 %else
1390 %define _with_olsrd --disable-olsrd
1391 %endif
1392
1393 %if %{with_onewire}
1394 %define _with_onewire --enable-onewire
1395 %else
1396 %define _with_onewire --disable-onewire
1397 %endif
1398
1399 %if %{with_openldap}
1400 %define _with_openldap --enable-openldap
1401 %else
1402 %define _with_openldap --disable-openldap
1403 %endif
1404
1405 %if %{with_openvpn}
1406 %define _with_openvpn --enable-openvpn
1407 %else
1408 %define _with_openvpn --disable-openvpn
1409 %endif
1410
1411 %if %{with_oracle}
1412 %define _with_oracle --enable-oracle
1413 %else
1414 %define _with_oracle --disable-oracle
1415 %endif
1416
1417 %if %{with_perl}
1418 %define _with_perl --enable-perl --with-perl-bindings="INSTALLDIRS=vendor"
1419 %else
1420 %define _with_perl --disable-perl
1421 %endif
1422
1423 %if %{with_pf}
1424 %define _with_pf --enable-pf
1425 %else
1426 %define _with_pf --disable-pf
1427 %endif
1428
1429 %if %{with_pinba}
1430 %define _with_pinba --enable-pinba
1431 %else
1432 %define _with_pinba --disable-pinba
1433 %endif
1434
1435 %if %{with_ping}
1436 %define _with_ping --enable-ping
1437 %else
1438 %define _with_ping --disable-ping
1439 %endif
1440
1441 %if %{with_postgresql}
1442 %define _with_postgresql --enable-postgresql
1443 %else
1444 %define _with_postgresql --disable-postgresql
1445 %endif
1446
1447 %if %{with_powerdns}
1448 %define _with_powerdns --enable-powerdns
1449 %else
1450 %define _with_powerdns --disable-powerdns
1451 %endif
1452
1453 %if %{with_processes}
1454 %define _with_processes --enable-processes
1455 %else
1456 %define _with_processes --disable-processes
1457 %endif
1458
1459 %if %{with_protocols}
1460 %define _with_protocols --enable-protocols
1461 %else
1462 %define _with_protocols --disable-protocols
1463 %endif
1464
1465 %if %{with_python}
1466         %if 0%{?rhel} && 0%{?rhel} < 6
1467 %define _with_python --enable-python --with-python=%{_bindir}/python2.6
1468 %define _python_config PYTHON_CONFIG="%{_bindir}/python2.6-config"
1469         %else
1470 %define _with_python --enable-python
1471         %endif
1472 %else
1473 %define _with_python --disable-python
1474 %endif
1475
1476 %if %{with_redis}
1477 %define _with_redis --enable-redis
1478 %else
1479 %define _with_redis --disable-redis
1480 %endif
1481
1482 %if %{with_routeros}
1483 %define _with_routeros --enable-routeros
1484 %else
1485 %define _with_routeros --disable-routeros
1486 %endif
1487
1488 %if %{with_rrdcached}
1489 %define _with_rrdcached --enable-rrdcached
1490 %else
1491 %define _with_rrdcached --disable-rrdcached
1492 %endif
1493
1494 %if %{with_rrdtool}
1495 %define _with_rrdtool --enable-rrdtool
1496 %else
1497 %define _with_rrdtool --disable-rrdtool
1498 %endif
1499
1500 %if %{with_sensors}
1501 %define _with_sensors --enable-sensors
1502 %else
1503 %define _with_sensors --disable-sensors
1504 %endif
1505
1506 %if %{with_serial}
1507 %define _with_serial --enable-serial
1508 %else
1509 %define _with_serial --disable-serial
1510 %endif
1511
1512 %if %{with_sigrok}
1513 %define _with_sigrok --enable-sigrok
1514 %else
1515 %define _with_sigrok --disable-sigrok
1516 %endif
1517
1518 %if %{with_smart}
1519 %define _with_smart --enable-smart
1520 %else
1521 %define _with_smart --disable-smart
1522 %endif
1523
1524 %if %{with_snmp}
1525 %define _with_snmp --enable-snmp
1526 %else
1527 %define _with_snmp --disable-snmp
1528 %endif
1529
1530 %if %{with_statsd}
1531 %define _with_statsd --enable-statsd
1532 %else
1533 %define _with_statsd --disable-statsd
1534 %endif
1535
1536 %if %{with_swap}
1537 %define _with_swap --enable-swap
1538 %else
1539 %define _with_swap --disable-swap
1540 %endif
1541
1542 %if %{with_syslog}
1543 %define _with_syslog --enable-syslog
1544 %else
1545 %define _with_syslog --disable-syslog
1546 %endif
1547
1548 %if %{with_table}
1549 %define _with_table --enable-table
1550 %else
1551 %define _with_table --disable-table
1552 %endif
1553
1554 %if %{with_tail}
1555 %define _with_tail --enable-tail
1556 %else
1557 %define _with_tail --disable-tail
1558 %endif
1559
1560 %if %{with_tail_csv}
1561 %define _with_tail_csv --enable-tail_csv
1562 %else
1563 %define _with_tail_csv --disable-tail_csv
1564 %endif
1565
1566 %if %{with_tape}
1567 %define _with_tape --enable-tape
1568 %else
1569 %define _with_tape --disable-tape
1570 %endif
1571
1572 %if %{with_tcpconns}
1573 %define _with_tcpconns --enable-tcpconns
1574 %else
1575 %define _with_tcpconns --disable-tcpconns
1576 %endif
1577
1578 %if %{with_teamspeak2}
1579 %define _with_teamspeak2 --enable-teamspeak2
1580 %else
1581 %define _with_teamspeak2 --disable-teamspeak2
1582 %endif
1583
1584 %if %{with_ted}
1585 %define _with_ted --enable-ted
1586 %else
1587 %define _with_ted --disable-ted
1588 %endif
1589
1590 %if %{with_thermal}
1591 %define _with_thermal --enable-thermal
1592 %else
1593 %define _with_thermal --disable-thermal
1594 %endif
1595
1596 %if %{with_threshold}
1597 %define _with_threshold --enable-threshold
1598 %else
1599 %define _with_threshold --disable-threshold
1600 %endif
1601
1602 %if %{with_tokyotyrant}
1603 %define _with_tokyotyrant --enable-tokyotyrant
1604 %else
1605 %define _with_tokyotyrant --disable-tokyotyrant
1606 %endif
1607
1608 %if %{with_turbostat}
1609 %define _with_turbostat --enable-turbostat
1610 %else
1611 %define _with_turbostat --disable-turbostat
1612 %endif
1613
1614 %if %{with_unixsock}
1615 %define _with_unixsock --enable-unixsock
1616 %else
1617 %define _with_unixsock --disable-unixsock
1618 %endif
1619
1620 %if %{with_uptime}
1621 %define _with_uptime --enable-uptime
1622 %else
1623 %define _with_uptime --disable-uptime
1624 %endif
1625
1626 %if %{with_users}
1627 %define _with_users --enable-users
1628 %else
1629 %define _with_users --disable-users
1630 %endif
1631
1632 %if %{with_uuid}
1633 %define _with_uuid --enable-uuid
1634 %else
1635 %define _with_uuid --disable-uuid
1636 %endif
1637
1638 %if %{with_varnish}
1639 %define _with_varnish --enable-varnish
1640 %else
1641 %define _with_varnish --disable-varnish
1642 %endif
1643
1644 %if %{with_vmem}
1645 %define _with_vmem --enable-vmem
1646 %else
1647 %define _with_vmem --disable-vmem
1648 %endif
1649
1650 %if %{with_vserver}
1651 %define _with_vserver --enable-vserver
1652 %else
1653 %define _with_vserver --disable-vserver
1654 %endif
1655
1656 %if %{with_wireless}
1657 %define _with_wireless --enable-wireless
1658 %else
1659 %define _with_wireless --disable-wireless
1660 %endif
1661
1662 %if %{with_write_graphite}
1663 %define _with_write_graphite --enable-write_graphite
1664 %else
1665 %define _with_write_graphite --disable-write_graphite
1666 %endif
1667
1668 %if %{with_write_http}
1669 %define _with_write_http --enable-write_http
1670 %else
1671 %define _with_write_http --disable-write_http
1672 %endif
1673
1674 %if %{with_write_kafka}
1675 %define _with_write_kafka --enable-write_kafka
1676 %else
1677 %define _with_write_kafka --disable-write_kafka
1678 %endif
1679
1680 %if %{with_write_log}
1681 %define _with_write_log --enable-write_log
1682 %else
1683 %define _with_write_log --disable-write_log
1684 %endif
1685
1686 %if %{with_write_mongodb}
1687 %define _with_write_mongodb --enable-write_mongodb
1688 %else
1689 %define _with_write_mongodb --disable-write_mongodb
1690 %endif
1691
1692 %if %{with_write_redis}
1693 %define _with_write_redis --enable-write_redis
1694 %else
1695 %define _with_write_redis --disable-write_redis
1696 %endif
1697
1698 %if %{with_write_riemann}
1699 %define _with_write_riemann --enable-write_riemann
1700 %else
1701 %define _with_write_riemann --disable-write_riemann
1702 %endif
1703
1704 %if %{with_write_sensu}
1705 %define _with_write_sensu --enable-write_sensu
1706 %else
1707 %define _with_write_sensu --disable-write_sensu
1708 %endif
1709
1710 %if %{with_write_tsdb}
1711 %define _with_write_tsdb --enable-write_tsdb
1712 %else
1713 %define _with_write_tsdb --disable-write_tsdb
1714 %endif
1715
1716 %if %{with_xencpu}
1717 %define _with_xencpu --enable-xencpu
1718 %else
1719 %define _with_xencpu --disable-xencpu
1720 %endif
1721
1722 %if %{with_xmms}
1723 %define _with_xmms --enable-xmms
1724 %else
1725 %define _with_xmms --disable-xmms
1726 %endif
1727
1728 %if %{with_zfs_arc}
1729 %define _with_zfs_arc --enable-zfs_arc
1730 %else
1731 %define _with_zfs_arc --disable-zfs_arc
1732 %endif
1733
1734 %if %{with_zone}
1735 %define _with_zone --enable-zone
1736 %else
1737 %define _with_zone --disable-zone
1738 %endif
1739
1740 %if %{with_zookeeper}
1741 %define _with_zookeeper --enable-zookeeper
1742 %else
1743 %define _with_zookeeper --disable-zookeeper
1744 %endif
1745
1746 %configure CFLAGS="%{optflags} -DLT_LAZY_OR_NOW=\"RTLD_LAZY|RTLD_GLOBAL\"" \
1747         %{?_python_config} \
1748         --disable-static \
1749         --without-included-ltdl \
1750         --enable-all-plugins=yes \
1751         --enable-match_empty_counter \
1752         --enable-match_hashed \
1753         --enable-match_regex \
1754         --enable-match_timediff \
1755         --enable-match_value \
1756         --enable-target_notification \
1757         --enable-target_replace \
1758         --enable-target_scale \
1759         --enable-target_set \
1760         --enable-target_v5upgrade \
1761         %{?_with_aggregation} \
1762         %{?_with_amqp} \
1763         %{?_with_apache} \
1764         %{?_with_apcups} \
1765         %{?_with_apple_sensors} \
1766         %{?_with_aquaero} \
1767         %{?_with_ascent} \
1768         %{?_with_barometer} \
1769         %{?_with_battery} \
1770         %{?_with_bind} \
1771         %{?_with_ceph} \
1772         %{?_with_cgroups} \
1773         %{?_with_chrony} \
1774         %{?_with_conntrack} \
1775         %{?_with_contextswitch} \
1776         %{?_with_cpufreq} \
1777         %{?_with_cpusleep} \
1778         %{?_with_cpu} \
1779         %{?_with_csv} \
1780         %{?_with_curl_json} \
1781         %{?_with_curl_xml} \
1782         %{?_with_curl} \
1783         %{?_with_dbi} \
1784         %{?_with_df} \
1785         %{?_with_disk} \
1786         %{?_with_dns} \
1787         %{?_with_drbd} \
1788         %{?_with_dpdkstat} \
1789         %{?_with_email} \
1790         %{?_with_entropy} \
1791         %{?_with_ethstat} \
1792         %{?_with_exec} \
1793         %{?_with_fhcount} \
1794         %{?_with_filecount} \
1795         %{?_with_fscache} \
1796         %{?_with_gmond} \
1797         %{?_with_gps} \
1798         %{?_with_grpc} \
1799         %{?_with_hddtemp} \
1800         %{?_with_hugepages} \
1801         %{?_with_intel_rdt} \
1802         %{?_with_interface} \
1803         %{?_with_ipc} \
1804         %{?_with_ipmi} \
1805         %{?_with_iptables} \
1806         %{?_with_ipvs} \
1807         %{?_with_irq} \
1808         %{?_with_java} \
1809         %{?_with_load} \
1810         %{?_with_log_logstash} \
1811         %{?_with_logfile} \
1812         %{?_with_lpar} \
1813         %{?_with_lua} \
1814         %{?_with_lvm} \
1815         %{?_with_madwifi} \
1816         %{?_with_mbmon} \
1817         %{?_with_md} \
1818         %{?_with_memcachec} \
1819         %{?_with_memcached} \
1820         %{?_with_memory} \
1821         %{?_with_mic} \
1822         %{?_with_modbus} \
1823         %{?_with_mqtt} \
1824         %{?_with_multimeter} \
1825         %{?_with_mysql} \
1826         %{?_with_netapp} \
1827         %{?_with_netlink} \
1828         %{?_with_network} \
1829         %{?_with_nfs} \
1830         %{?_with_nginx} \
1831         %{?_with_notify_desktop} \
1832         %{?_with_notify_email} \
1833         %{?_with_notify_nagios} \
1834         %{?_with_ntpd} \
1835         %{?_with_numa} \
1836         %{?_with_nut} \
1837         %{?_with_olsrd} \
1838         %{?_with_onewire} \
1839         %{?_with_openldap} \
1840         %{?_with_openvpn} \
1841         %{?_with_oracle} \
1842         %{?_with_perl} \
1843         %{?_with_pf} \
1844         %{?_with_pinba} \
1845         %{?_with_ping} \
1846         %{?_with_postgresql} \
1847         %{?_with_powerdns} \
1848         %{?_with_processes} \
1849         %{?_with_protocols} \
1850         %{?_with_python} \
1851         %{?_with_redis} \
1852         %{?_with_routeros} \
1853         %{?_with_rrdcached} \
1854         %{?_with_rrdtool} \
1855         %{?_with_sensors} \
1856         %{?_with_serial} \
1857         %{?_with_sigrok} \
1858         %{?_with_smart} \
1859         %{?_with_snmp} \
1860         %{?_with_statsd} \
1861         %{?_with_swap} \
1862         %{?_with_syslog} \
1863         %{?_with_table} \
1864         %{?_with_tail_csv} \
1865         %{?_with_tail} \
1866         %{?_with_tape} \
1867         %{?_with_tcpconns} \
1868         %{?_with_teamspeak2} \
1869         %{?_with_ted} \
1870         %{?_with_thermal} \
1871         %{?_with_threshold} \
1872         %{?_with_tokyotyrant} \
1873         %{?_with_turbostat} \
1874         %{?_with_unixsock} \
1875         %{?_with_uptime} \
1876         %{?_with_users} \
1877         %{?_with_uuid} \
1878         %{?_with_varnish} \
1879         %{?_with_virt} \
1880         %{?_with_vmem} \
1881         %{?_with_vserver} \
1882         %{?_with_wireless}\
1883         %{?_with_write_graphite} \
1884         %{?_with_write_http} \
1885         %{?_with_write_http} \
1886         %{?_with_write_kafka} \
1887         %{?_with_write_log} \
1888         %{?_with_write_mongodb} \
1889         %{?_with_write_redis} \
1890         %{?_with_write_riemann} \
1891         %{?_with_write_sensu} \
1892         %{?_with_write_tsdb} \
1893         %{?_with_xencpu} \
1894         %{?_with_xmms} \
1895         %{?_with_zfs_arc} \
1896         %{?_with_zone} \
1897         %{?_with_zookeeper}
1898
1899
1900 %{__make} %{?_smp_mflags}
1901
1902
1903 %install
1904 rm -rf %{buildroot}
1905 %{__make} install DESTDIR=%{buildroot}
1906 %if 0%{?fedora} || 0%{?rhel} >= 7
1907 %{__install} -Dp -m0644 contrib/systemd.collectd.service %{buildroot}%{_unitdir}/collectd.service
1908 %else
1909 %{__install} -Dp -m0755 contrib/redhat/init.d-collectd %{buildroot}%{_initrddir}/collectd
1910 %endif
1911 %{__install} -Dp -m0644 src/collectd.conf %{buildroot}%{_sysconfdir}/collectd.conf
1912 %{__install} -d %{buildroot}%{_sharedstatedir}/collectd/
1913 %{__install} -d %{buildroot}%{_sysconfdir}/collectd.d/
1914
1915 %{__mkdir} -p %{buildroot}%{_localstatedir}/www
1916 %{__mkdir} -p %{buildroot}/%{_sysconfdir}/httpd/conf.d
1917
1918 %{__mv} contrib/collection3 %{buildroot}%{_localstatedir}/www
1919 %{__mv} contrib/redhat/collection3.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
1920
1921 %{__mv} contrib/php-collection %{buildroot}%{_localstatedir}/www
1922 %{__mv} contrib/redhat/php-collection.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
1923
1924 ### Clean up docs
1925 find contrib/ -type f -exec %{__chmod} a-x {} \;
1926 # *.la files shouldn't be distributed.
1927 rm -f %{buildroot}/%{_libdir}/{collectd/,}*.la
1928
1929 # Remove Perl hidden .packlist files.
1930 find %{buildroot} -type f -name .packlist -delete
1931 # Remove Perl temporary file perllocal.pod
1932 find %{buildroot} -type f -name perllocal.pod -delete
1933
1934 %if ! %{with_java}
1935 rm -f %{buildroot}%{_datadir}/collectd/java/collectd-api.jar
1936 rm -f %{buildroot}%{_datadir}/collectd/java/generic-jmx.jar
1937 rm -f %{buildroot}%{_mandir}/man5/collectd-java.5*
1938 %endif
1939
1940 %if ! %{with_lua}
1941 rm -f %{buildroot}%{_mandir}/man5/collectd-lua.5*
1942 %endif
1943
1944 %if ! %{with_perl}
1945 rm -f %{buildroot}%{_mandir}/man5/collectd-perl.5*
1946 rm -f %{buildroot}%{_mandir}/man3/Collectd::Unixsock.3pm*
1947 rm -fr %{buildroot}/usr/lib/perl5/
1948 %endif
1949
1950 %if ! %{with_postgresql}
1951 rm -f %{buildroot}%{_datadir}/collectd/postgresql_default.conf
1952 %endif
1953
1954 %if ! %{with_python}
1955 rm -f %{buildroot}%{_mandir}/man5/collectd-python.5*
1956 %endif
1957
1958 %if ! %{with_snmp}
1959 rm -f %{buildroot}%{_mandir}/man5/collectd-snmp.5*
1960 %endif
1961
1962
1963 %clean
1964 rm -rf %{buildroot}
1965
1966 %post
1967 %if 0%{?fedora} || 0%{?rhel} >= 7
1968 %systemd_post collectd.service
1969 %else
1970 /sbin/chkconfig --add collectd || :
1971 %endif
1972
1973 %preun
1974 %if 0%{?fedora} || 0%{?rhel} >= 7
1975 %systemd_preun collectd.service
1976 %else
1977 # stop collectd only when uninstalling
1978 if [ $1 -eq 0 ]; then
1979         /sbin/service collectd stop >/dev/null 2>&1 || :
1980         /sbin/chkconfig --del collectd || :
1981 fi
1982 %endif
1983
1984 %postun
1985 %if 0%{?fedora} || 0%{?rhel} >= 7
1986 %systemd_postun_with_restart collectd.service
1987 %else
1988 # restart collectd only when upgrading
1989 if [ $1 -eq 1 ]; then
1990         /sbin/service collectd condrestart >/dev/null 2>&1 || :
1991 fi
1992 %endif
1993
1994 %post -n libcollectdclient -p /sbin/ldconfig
1995 %postun -n libcollectdclient -p /sbin/ldconfig
1996
1997
1998 %files
1999 %doc AUTHORS COPYING ChangeLog README
2000 %config(noreplace) %{_sysconfdir}/collectd.conf
2001 %if 0%{?fedora} || 0%{?rhel} >= 7
2002 %{_unitdir}/collectd.service
2003 %else
2004 %{_initrddir}/collectd
2005 %endif
2006 %{_sbindir}/collectd
2007 %{_sbindir}/collectdmon
2008 %{_datadir}/collectd/types.db
2009 %{_sharedstatedir}/collectd
2010 %{_mandir}/man1/collectd.1*
2011 %{_mandir}/man1/collectdmon.1*
2012 %{_mandir}/man5/collectd-email.5*
2013 %{_mandir}/man5/collectd-exec.5*
2014 %{_mandir}/man5/collectd-threshold.5*
2015 %{_mandir}/man5/collectd-unixsock.5*
2016 %{_mandir}/man5/collectd.conf.5*
2017 %{_mandir}/man5/types.db.5*
2018
2019 # all plugins bundled with the main collectd package
2020 %{_libdir}/%{name}/match_empty_counter.so
2021 %{_libdir}/%{name}/match_hashed.so
2022 %{_libdir}/%{name}/match_regex.so
2023 %{_libdir}/%{name}/match_timediff.so
2024 %{_libdir}/%{name}/match_value.so
2025 %{_libdir}/%{name}/target_notification.so
2026 %{_libdir}/%{name}/target_replace.so
2027 %{_libdir}/%{name}/target_scale.so
2028 %{_libdir}/%{name}/target_set.so
2029 %{_libdir}/%{name}/target_v5upgrade.so
2030
2031 %if %{with_aggregation}
2032 %{_libdir}/%{name}/aggregation.so
2033 %endif
2034 %if %{with_apcups}
2035 %{_libdir}/%{name}/apcups.so
2036 %endif
2037 %if %{with_battery}
2038 %{_libdir}/%{name}/battery.so
2039 %endif
2040 %if %{with_cgroups}
2041 %{_libdir}/%{name}/cgroups.so
2042 %endif
2043 %if %{with_conntrack}
2044 %{_libdir}/%{name}/conntrack.so
2045 %endif
2046 %if %{with_contextswitch}
2047 %{_libdir}/%{name}/contextswitch.so
2048 %endif
2049 %if %{with_cpu}
2050 %{_libdir}/%{name}/cpu.so
2051 %endif
2052 %if %{with_cpufreq}
2053 %{_libdir}/%{name}/cpufreq.so
2054 %endif
2055 %if %{with_cpusleep}
2056 %{_libdir}/%{name}/cpusleep.so
2057 %endif
2058 %if %{with_csv}
2059 %{_libdir}/%{name}/csv.so
2060 %endif
2061 %if %{with_df}
2062 %{_libdir}/%{name}/df.so
2063 %endif
2064 %if %{with_drbd}
2065 %{_libdir}/%{name}/drbd.so
2066 %endif
2067 %if %{with_dpdkstat}
2068 %{_libdir}/%{name}/dpdkstat.so
2069 %endif
2070 %if %{with_ethstat}
2071 %{_libdir}/%{name}/ethstat.so
2072 %endif
2073 %if %{with_entropy}
2074 %{_libdir}/%{name}/entropy.so
2075 %endif
2076 %if %{with_exec}
2077 %{_libdir}/%{name}/exec.so
2078 %endif
2079 %if %{with_fhcount}
2080 %{_libdir}/%{name}/fhcount.so
2081 %endif
2082 %if %{with_filecount}
2083 %{_libdir}/%{name}/filecount.so
2084 %endif
2085 %if %{with_fscache}
2086 %{_libdir}/%{name}/fscache.so
2087 %endif
2088 %if %{with_hugepages}
2089 %{_libdir}/%{name}/hugepages.so
2090 %endif
2091 %if %{with_interface}
2092 %{_libdir}/%{name}/interface.so
2093 %endif
2094 %if %{with_ipc}
2095 %{_libdir}/%{name}/ipc.so
2096 %endif
2097 %if %{with_ipvs}
2098 %{_libdir}/%{name}/ipvs.so
2099 %endif
2100 %if %{with_irq}
2101 %{_libdir}/%{name}/irq.so
2102 %endif
2103 %if %{with_load}
2104 %{_libdir}/%{name}/load.so
2105 %endif
2106 %if %{with_logfile}
2107 %{_libdir}/%{name}/logfile.so
2108 %endif
2109 %if %{with_madwifi}
2110 %{_libdir}/%{name}/madwifi.so
2111 %endif
2112 %if %{with_mbmon}
2113 %{_libdir}/%{name}/mbmon.so
2114 %endif
2115 %if %{with_md}
2116 %{_libdir}/%{name}/md.so
2117 %endif
2118 %if %{with_memcached}
2119 %{_libdir}/%{name}/memcached.so
2120 %endif
2121 %if %{with_memory}
2122 %{_libdir}/%{name}/memory.so
2123 %endif
2124 %if %{with_multimeter}
2125 %{_libdir}/%{name}/multimeter.so
2126 %endif
2127 %if %{with_network}
2128 %{_libdir}/%{name}/network.so
2129 %endif
2130 %if %{with_nfs}
2131 %{_libdir}/%{name}/nfs.so
2132 %endif
2133 %if %{with_notify_nagios}
2134 %{_libdir}/%{name}/notify_nagios.so
2135 %endif
2136 %if %{with_ntpd}
2137 %{_libdir}/%{name}/ntpd.so
2138 %endif
2139 %if %{with_numa}
2140 %{_libdir}/%{name}/numa.so
2141 %endif
2142 %if %{with_openvpn}
2143 %{_libdir}/%{name}/openvpn.so
2144 %endif
2145 %if %{with_olsrd}
2146 %{_libdir}/%{name}/olsrd.so
2147 %endif
2148 %if %{with_powerdns}
2149 %{_libdir}/%{name}/powerdns.so
2150 %endif
2151 %if %{with_processes}
2152 %{_libdir}/%{name}/processes.so
2153 %endif
2154 %if %{with_protocols}
2155 %{_libdir}/%{name}/protocols.so
2156 %endif
2157 %if %{with_serial}
2158 %{_libdir}/%{name}/serial.so
2159 %endif
2160 %if %{with_statsd}
2161 %{_libdir}/%{name}/statsd.so
2162 %endif
2163 %if %{with_swap}
2164 %{_libdir}/%{name}/swap.so
2165 %endif
2166 %if %{with_syslog}
2167 %{_libdir}/%{name}/syslog.so
2168 %endif
2169 %if %{with_table}
2170 %{_libdir}/%{name}/table.so
2171 %endif
2172 %if %{with_tail}
2173 %{_libdir}/%{name}/tail.so
2174 %endif
2175 %if %{with_tail_csv}
2176 %{_libdir}/%{name}/tail_csv.so
2177 %endif
2178 %if %{with_tcpconns}
2179 %{_libdir}/%{name}/tcpconns.so
2180 %endif
2181 %if %{with_teamspeak2}
2182 %{_libdir}/%{name}/teamspeak2.so
2183 %endif
2184 %if %{with_ted}
2185 %{_libdir}/%{name}/ted.so
2186 %endif
2187 %if %{with_thermal}
2188 %{_libdir}/%{name}/thermal.so
2189 %endif
2190 %if %{with_threshold}
2191 %{_libdir}/%{name}/threshold.so
2192 %endif
2193 %if %{with_turbostat}
2194 %{_libdir}/%{name}/turbostat.so
2195 %endif
2196 %if %{with_unixsock}
2197 %{_libdir}/%{name}/unixsock.so
2198 %endif
2199 %if %{with_uptime}
2200 %{_libdir}/%{name}/uptime.so
2201 %endif
2202 %if %{with_users}
2203 %{_libdir}/%{name}/users.so
2204 %endif
2205 %if %{with_uuid}
2206 %{_libdir}/%{name}/uuid.so
2207 %endif
2208 %if %{with_vmem}
2209 %{_libdir}/%{name}/vmem.so
2210 %endif
2211 %if %{with_vserver}
2212 %{_libdir}/%{name}/vserver.so
2213 %endif
2214 %if %{with_wireless}
2215 %{_libdir}/%{name}/wireless.so
2216 %endif
2217 %if %{with_write_graphite}
2218 %{_libdir}/%{name}/write_graphite.so
2219 %endif
2220 %if %{with_write_log}
2221 %{_libdir}/%{name}/write_log.so
2222 %endif
2223 %if %{with_write_sensu}
2224 %{_libdir}/%{name}/write_sensu.so
2225 %endif
2226 %if %{with_write_tsdb}
2227 %{_libdir}/%{name}/write_tsdb.so
2228 %endif
2229 %if %{with_zfs_arc}
2230 %{_libdir}/%{name}/zfs_arc.so
2231 %endif
2232 %if %{with_zookeeper}
2233 %{_libdir}/%{name}/zookeeper.so
2234 %endif
2235
2236 %files -n libcollectdclient-devel
2237 %{_includedir}/collectd/client.h
2238 %{_includedir}/collectd/network.h
2239 %{_includedir}/collectd/network_buffer.h
2240 %{_includedir}/collectd/lcc_features.h
2241 %{_libdir}/pkgconfig/libcollectdclient.pc
2242 %{_libdir}/libcollectdclient.so
2243
2244 %files -n libcollectdclient
2245 %{_libdir}/libcollectdclient.so.*
2246
2247 %files -n collectd-utils
2248 %{_bindir}/collectd-nagios
2249 %{_bindir}/collectd-tg
2250 %{_bindir}/collectdctl
2251 %{_mandir}/man1/collectdctl.1*
2252 %{_mandir}/man1/collectd-nagios.1*
2253 %{_mandir}/man1/collectd-tg.1*
2254
2255 %if %{with_amqp}
2256 %files amqp
2257 %{_libdir}/%{name}/amqp.so
2258 %endif
2259
2260 %if %{with_apache}
2261 %files apache
2262 %{_libdir}/%{name}/apache.so
2263 %endif
2264
2265 %if %{with_aquaero}
2266 %files aquaero
2267 %{_libdir}/%{name}/aquaero.so
2268 %endif
2269
2270 %if %{with_ascent}
2271 %files ascent
2272 %{_libdir}/%{name}/ascent.so
2273 %endif
2274
2275 %if %{with_barometer}
2276 %files barometer
2277 %{_libdir}/%{name}/barometer.so
2278 %endif
2279
2280 %if %{with_bind}
2281 %files bind
2282 %{_libdir}/%{name}/bind.so
2283 %endif
2284
2285 %if %{with_ceph}
2286 %files ceph
2287 %{_libdir}/%{name}/ceph.so
2288 %endif
2289
2290 %if %{with_chrony}
2291 %files chrony
2292 %{_libdir}/%{name}/chrony.so
2293 %endif
2294
2295 %if %{with_curl}
2296 %files curl
2297 %{_libdir}/%{name}/curl.so
2298 %endif
2299
2300 %if %{with_curl_json}
2301 %files curl_json
2302 %{_libdir}/%{name}/curl_json.so
2303 %endif
2304
2305 %if %{with_curl_xml}
2306 %files curl_xml
2307 %{_libdir}/%{name}/curl_xml.so
2308 %endif
2309
2310 %if %{with_disk}
2311 %files disk
2312 %{_libdir}/%{name}/disk.so
2313 %endif
2314
2315 %if %{with_dns}
2316 %files dns
2317 %{_libdir}/%{name}/dns.so
2318 %endif
2319
2320 %if %{with_dbi}
2321 %files dbi
2322 %{_libdir}/%{name}/dbi.so
2323 %endif
2324
2325 %if %{with_email}
2326 %files email
2327 %{_libdir}/%{name}/email.so
2328 %endif
2329
2330 %if %{with_gmond}
2331 %files gmond
2332 %{_libdir}/%{name}/gmond.so
2333 %endif
2334
2335 %if %{with_gps}
2336 %files gps
2337 %{_libdir}/%{name}/gps.so
2338 %endif
2339
2340 %if %{with_grpc}
2341 %files grpc
2342 %{_libdir}/%{name}/grpc.so
2343 %endif
2344
2345 %if %{with_hddtemp}
2346 %files hddtemp
2347 %{_libdir}/%{name}/hddtemp.so
2348 %endif
2349
2350 %if %{with_intel_rdt}
2351 %files intel_rdt
2352 %{_libdir}/%{name}/intel_rdt.so
2353 %endif
2354
2355 %if %{with_ipmi}
2356 %files ipmi
2357 %{_libdir}/%{name}/ipmi.so
2358 %endif
2359
2360 %if %{with_iptables}
2361 %files iptables
2362 %{_libdir}/%{name}/iptables.so
2363 %endif
2364
2365 %if %{with_java}
2366 %files java
2367 %{_datadir}/collectd/java/collectd-api.jar
2368 %{_datadir}/collectd/java/generic-jmx.jar
2369 %{_libdir}/%{name}/java.so
2370 %{_mandir}/man5/collectd-java.5*
2371 %endif
2372
2373 %if %{with_virt}
2374 %files virt
2375 %{_libdir}/%{name}/virt.so
2376 %endif
2377
2378 %if %{with_log_logstash}
2379 %files log_logstash
2380 %{_libdir}/%{name}/log_logstash.so
2381 %endif
2382
2383 %if %{with_lua}
2384 %files lua
2385 %{_mandir}/man5/collectd-lua*
2386 %{_libdir}/%{name}/lua.so
2387 %endif
2388
2389 %if %{with_lvm}
2390 %files lvm
2391 %{_libdir}/%{name}/lvm.so
2392 %endif
2393
2394 %if %{with_memcachec}
2395 %files memcachec
2396 %{_libdir}/%{name}/memcachec.so
2397 %endif
2398
2399 %if %{with_mic}
2400 %files mic
2401 %{_libdir}/%{name}/mic.so
2402 %endif
2403
2404 %if %{with_modbus}
2405 %files modbus
2406 %{_libdir}/%{name}/modbus.so
2407 %endif
2408
2409 %if %{with_mqtt}
2410 %files mqtt
2411 %{_libdir}/%{name}/mqtt.so
2412 %endif
2413
2414 %if %{with_mysql}
2415 %files mysql
2416 %{_libdir}/%{name}/mysql.so
2417 %endif
2418
2419 %if %{with_netlink}
2420 %files netlink
2421 %{_libdir}/%{name}/netlink.so
2422 %endif
2423
2424 %if %{with_nginx}
2425 %files nginx
2426 %{_libdir}/%{name}/nginx.so
2427 %endif
2428
2429 %if %{with_notify_desktop}
2430 %files notify_desktop
2431 %{_libdir}/%{name}/notify_desktop.so
2432 %endif
2433
2434 %if %{with_notify_email}
2435 %files notify_email
2436 %{_libdir}/%{name}/notify_email.so
2437 %endif
2438
2439 %if %{with_nut}
2440 %files nut
2441 %{_libdir}/%{name}/nut.so
2442 %endif
2443
2444 %if %{with_openldap}
2445 %files openldap
2446 %{_libdir}/%{name}/openldap.so
2447 %endif
2448
2449 %if %{with_perl}
2450 %files perl
2451 %{perl_vendorlib}/Collectd.pm
2452 %{perl_vendorlib}/Collectd/
2453 %{_mandir}/man3/Collectd::Unixsock.3pm*
2454 %{_mandir}/man5/collectd-perl.5*
2455 %{_libdir}/%{name}/perl.so
2456 %endif
2457
2458 %if %{with_pinba}
2459 %files pinba
2460 %{_libdir}/%{name}/pinba.so
2461 %endif
2462
2463 %if %{with_ping}
2464 %files ping
2465 %{_libdir}/%{name}/ping.so
2466 %endif
2467
2468 %if %{with_postgresql}
2469 %files postgresql
2470 %{_datadir}/collectd/postgresql_default.conf
2471 %{_libdir}/%{name}/postgresql.so
2472 %endif
2473
2474 %if %{with_python}
2475 %files python
2476 %{_mandir}/man5/collectd-python*
2477 %{_libdir}/%{name}/python.so
2478 %endif
2479
2480 %if %{with_redis}
2481 %files redis
2482 %{_libdir}/%{name}/redis.so
2483 %endif
2484
2485 %if %{with_rrdcached}
2486 %files rrdcached
2487 %{_libdir}/%{name}/rrdcached.so
2488 %endif
2489
2490 %if %{with_rrdtool}
2491 %files rrdtool
2492 %{_libdir}/%{name}/rrdtool.so
2493 %endif
2494
2495 %if %{with_sensors}
2496 %files sensors
2497 %{_libdir}/%{name}/sensors.so
2498 %endif
2499
2500 %if %{with_sigrok}
2501 %files sigrok
2502 %{_libdir}/%{name}/sigrok.so
2503 %endif
2504
2505 %if %{with_smart}
2506 %files smart
2507 %{_libdir}/%{name}/smart.so
2508 %endif
2509
2510 %if %{with_snmp}
2511 %files snmp
2512 %{_mandir}/man5/collectd-snmp.5*
2513 %{_libdir}/%{name}/snmp.so
2514 %endif
2515
2516 %if %{with_varnish}
2517 %files varnish
2518 %{_libdir}/%{name}/varnish.so
2519 %endif
2520
2521 %if %{with_write_http}
2522 %files write_http
2523 %{_libdir}/%{name}/write_http.so
2524 %endif
2525
2526 %if %{with_write_kafka}
2527 %files write_kafka
2528 %{_libdir}/%{name}/write_kafka.so
2529 %endif
2530
2531 %if %{with_write_redis}
2532 %files write_redis
2533 %{_libdir}/%{name}/write_redis.so
2534 %endif
2535
2536 %if %{with_write_riemann}
2537 %files write_riemann
2538 %{_libdir}/%{name}/write_riemann.so
2539 %endif
2540
2541 %if %{with_xencpu}
2542 %files xencpu
2543 %{_libdir}/%{name}/xencpu.so
2544 %endif
2545
2546 %if %{with_xmms}
2547 %files xmms
2548 %{_libdir}/%{name}/xmms.so
2549 %endif
2550
2551 %files collection3
2552 %{_localstatedir}/www/collection3
2553 %{_sysconfdir}/httpd/conf.d/collection3.conf
2554
2555 %files php-collection
2556 %{_localstatedir}/www/php-collection
2557 %{_sysconfdir}/httpd/conf.d/php-collection.conf
2558
2559 %files contrib
2560 %doc contrib/
2561
2562 %changelog
2563 * Mon Oct 10 2016 Marc Fournier <marc.fournier@camptocamp.com> - 5.7.0-1
2564 - New PRE-RELEASE version
2565 - New plugins enabled by default: hugepages
2566 - New plugins disabled by default: dpdkstat, intel_rdt
2567
2568 * Mon Oct 10 2016 Victor Demonchy <v.demonchy@criteo.com> - 5.6.1-1
2569 - New upstream version
2570
2571 * Sun Aug 14 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.6.0-1
2572 - New upstream version
2573 - New plugins enabled by default: chrony, cpusleep, gps, lua, mqtt, notify_nagios
2574 - New plugins disabled by default: grpc, xencpu, zone
2575
2576 * Tue Jul 26 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.5.2-1
2577 - New upstream version
2578 - Contains fix for CVE-2016-6254
2579 - Change collectd.org url to https
2580
2581 * Sat Jun 04 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> 5.5.1-1
2582 - New upstream version
2583
2584 * Wed May 27 2015 Marc Fournier <marc.fournier@camptocamp.com> 5.5.0-1
2585 - New upstream version
2586 - New plugins enabled by default: ceph, drbd, log_logstash, write_tsdb, smart,
2587   openldap, redis, write_redis, zookeeper, write_log, write_sensu, ipc,
2588   turbostat, fhcount
2589 - New plugins disabled by default: barometer, write_kafka
2590 - Enable zfs_arc, now supported on Linux
2591 - Install disk plugin in a dedicated package, as it depends on libudev
2592 - use systemd on EL7, sysvinit on EL6 & EL5
2593 - Install collectdctl, collectd-tg and collectd-nagios in collectd-utils.rpm
2594 - Add build-dependency on libcap-devel
2595
2596 * Mon Aug 19 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.4.2-1
2597 - New upstream version
2598 - Build netlink plugin by default
2599 - Enable cgroups, lvm and statsd plugins
2600 - Enable (but don't build by default) mic, aquaero and sigrok plugins
2601 - Enable modbus, memcachec and xmms plugins on RHEL7
2602
2603 * Tue Aug 06 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.1-1
2604 - New upstream version
2605 - Added RHEL5 support:
2606   * conditionally disable plugins not building on this platform
2607   * add/specify some build dependencies and options
2608   * replace some RPM macros not available on this platform
2609 - Removed duplicate --enable-aggregation
2610 - Added some comments & usage examples
2611 - Replaced a couple of "Buildrequires" by "BuildRequires"
2612 - Enabled modbus plugin on RHEL6
2613 - Enabled netlink plugin on RHEL6 and RHEL7
2614 - Allow perl plugin to build on RHEL5
2615 - Add support for RHEL7
2616 - Misc perl-related improvements:
2617   * prevent rpmbuild from extracting dependencies from files in /usr/share/doc
2618   * don't package collection3 and php-collection twice
2619   * keep perl scripts from contrib/ in collectd-contrib
2620
2621 * Wed Apr 10 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.0-1
2622 - New upstream version
2623 - Enabled write_riemann plugin
2624 - Enabled tail_csv plugin
2625 - Installed collectd-tc manpage
2626
2627 * Fri Jan 11 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-3
2628 - remove dependency on libstatgrab, which isn't required on linux
2629
2630 * Thu Jan 03 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-2
2631 - collection3 and php-collection viewers are now in separate packages
2632
2633 * Fri Dec 21 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-1
2634 - New upstream version
2635 - Enabled aggregation plugin
2636 - Installed collectd-tc
2637 - Added network.h and network_buffer.h to libcollectdclient-devel
2638 - Moved libxml2-devel and libcurl-devel BRs to relevant plugins sections
2639 - Moved libcollectdclient.so from libcollectdclient-devel to libcollectdclient
2640 - Added rrdcached and redis plugin descriptions
2641 - Mentioned new pf plugin in disabled plugins list
2642
2643 * Sun Nov 18 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-3
2644 - Follow Fedora Packaging Guidelines in java subpackage
2645
2646 * Sat Nov 17 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-2
2647 - Move perl stuff to perl_vendorlib
2648 - Replace hardcoded paths with macros
2649 - Remove unnecessary Requires
2650 - Removed .a and .la files
2651 - Some other small cleanups
2652
2653 * Fri Nov 16 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.1.0-1
2654 - New upstream version
2655 - Changes to support 5.1.0
2656 - Enabled all buildable plugins based on libraries available on EL6 + EPEL
2657 - All plugins requiring external libraries are now shipped in separate
2658   packages.
2659 - No longer treat Java plugin as an exception, correctly set $JAVA_HOME during
2660   the build process + ensure build deps are installed.
2661 - Dropped per-plugin configuration files, as they tend to diverge from upstream
2662   defaults.
2663 - Moved perl stuff to /usr/share/perl5/
2664 - Don't alter Interval and ReadThreads by default, let the user change this
2665   himself.
2666 - Initscript improvements:
2667   * checks configuration before (re)starting, based on debian's initscript
2668   * use /etc/sysconfig instdead of /etc/default
2669   * include optional $ARGS in arguments passed to collectd.
2670 - Drop collection.cgi from main package, as it's been obsoleted by collection3
2671 - Moved contrib/ to its own package, to avoid cluttering the main package with
2672   non-essential stuff.
2673 - Replaced BuildPrereq by BuildRequires
2674
2675 * Mon Jan 03 2011 Monetate <jason.stelzer@monetate.com> 5.0.1
2676 - New upstream version
2677 - Changes to support 5.0.1
2678
2679 * Mon Jan 04 2010 Rackspace <stu.hood@rackspace.com> 4.9.0
2680 - New upstream version
2681 - Changes to support 4.9.0
2682 - Added support for Java/GenericJMX plugin
2683
2684 * Mon Mar 17 2008 RightScale <support@rightscale.com> 4.3.1
2685 - New upstream version
2686 - Changes to support 4.3.1
2687 - Added More Prereqs to support more plugins
2688 - Added support for perl plugin
2689
2690 * Mon Aug 06 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.6
2691 - New upstream version
2692
2693 * Wed Jul 25 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.5
2694 - New major releas
2695 - Changes to support 4.0.5
2696
2697 * Thu Jan 11 2007 Iain Lea <iain@bricbrac.de> 3.11.0-0
2698 - fixed spec file to build correctly on fedora core
2699 - added improved init.d script to work with chkconfig
2700 - added %%post and %%postun to call chkconfig automatically
2701
2702 * Sun Jul 09 2006 Florian octo Forster <octo@verplant.org> 3.10.0-1
2703 - New upstream version
2704
2705 * Sun Jun 25 2006 Florian octo Forster <octo@verplant.org> 3.9.4-1
2706 - New upstream version
2707
2708 * Thu Jun 01 2006 Florian octo Forster <octo@verplant.org> 3.9.3-1
2709 - New upstream version
2710
2711 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.9.2-1
2712 - New upstream version
2713
2714 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.8.5-1
2715 - New upstream version
2716
2717 * Fri Apr 21 2006 Florian octo Forster <octo@verplant.org> 3.9.1-1
2718 - New upstream version
2719
2720 * Fri Apr 14 2006 Florian octo Forster <octo@verplant.org> 3.9.0-1
2721 - New upstream version
2722 - Added the `apache' package.
2723
2724 * Tue Mar 14 2006 Florian octo Forster <octo@verplant.org> 3.8.2-1
2725 - New upstream version
2726
2727 * Mon Mar 13 2006 Florian octo Forster <octo@verplant.org> 3.8.1-1
2728 - New upstream version
2729
2730 * Thu Mar 09 2006 Florian octo Forster <octo@verplant.org> 3.8.0-1
2731 - New upstream version
2732
2733 * Sat Feb 18 2006 Florian octo Forster <octo@verplant.org> 3.7.2-1
2734 - Include `tape.so' so the build doesn't terminate because of missing files..
2735 - New upstream version
2736
2737 * Sat Feb 04 2006 Florian octo Forster <octo@verplant.org> 3.7.1-1
2738 - New upstream version
2739
2740 * Mon Jan 30 2006 Florian octo Forster <octo@verplant.org> 3.7.0-1
2741 - New upstream version
2742 - Removed the extra `hddtemp' package
2743
2744 * Tue Jan 24 2006 Florian octo Forster <octo@verplant.org> 3.6.2-1
2745 - New upstream version
2746
2747 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.1-1
2748 - New upstream version
2749
2750 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.0-1
2751 - New upstream version
2752 - Added config file, `collectd.conf(5)', `df.so'
2753 - Added package `collectd-mysql', dependency on `mysqlclient10 | mysql'
2754
2755 * Wed Dec 07 2005 Florian octo Forster <octo@verplant.org> 3.5.0-1
2756 - New upstream version
2757
2758 * Sat Nov 26 2005 Florian octo Forster <octo@verplant.org> 3.4.0-1
2759 - New upstream version
2760
2761 * Sat Nov 05 2005 Florian octo Forster <octo@verplant.org> 3.3.0-1
2762 - New upstream version
2763
2764 * Wed Oct 26 2005 Florian octo Forster <octo@verplant.org> 3.2.0-1
2765 - New upstream version
2766 - Added statement to remove the `*.la' files. This fixes a problem when
2767   `Unpackaged files terminate build' is in effect.
2768 - Added `processes.so*' to the main package
2769
2770 * Fri Oct 14 2005 Florian octo Forster <octo@verplant.org> 3.1.0-1
2771 - New upstream version
2772 - Added package `collectd-hddtemp'
2773
2774 * Fri Sep 30 2005 Florian octo Forster <octo@verplant.org> 3.0.0-1
2775 - New upstream version
2776 - Split the package into `collectd' and `collectd-sensors'
2777
2778 * Fri Sep 16 2005 Florian octo Forster <octo@verplant.org> 2.1.0-1
2779 - New upstream version
2780
2781 * Sat Sep 10 2005 Florian octo Forster <octo@verplant.org> 2.0.0-1
2782 - New upstream version
2783
2784 * Mon Aug 29 2005 Florian octo Forster <octo@verplant.org> 1.8.0-1
2785 - New upstream version
2786
2787 * Thu Aug 25 2005 Florian octo Forster <octo@verplant.org> 1.7.0-1
2788 - New upstream version
2789
2790 * Sun Aug 21 2005 Florian octo Forster <octo@verplant.org> 1.6.0-1
2791 - New upstream version
2792
2793 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5.1-1
2794 - New upstream version
2795
2796 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5-1
2797 - New upstream version
2798
2799 * Mon Jul 11 2005 Florian octo Forster <octo@verplant.org> 1.4.2-1
2800 - New upstream version
2801
2802 * Sat Jul 09 2005 Florian octo Forster <octo@verplant.org> 1.4-1
2803 - Built on RedHat 7.3