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