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