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