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.
9 # q: And how can I do that ?
10 # a: By following these instructions, using mock:
12 # - install and configure mock (https://fedoraproject.org/wiki/Projects/Mock)
14 # - enable the EPEL repository (http://dl.fedoraproject.org/pub/epel/) in the
15 # configuration files for your target systems (/etc/mock/*.cfg).
17 # - copy this file in your ~/rpmbuild/SPECS/ directory
19 # - fetch the desired collectd release file from https://collectd.org/files/
20 # and save it in your ~/rpmbuild/SOURCES/ directory
22 # - build the SRPM first:
23 # mock -r centos-6-x86_64 --buildsrpm --spec ~/rpmbuild/SPECS/collectd.spec \
24 # --sources ~/rpmbuild/SOURCES/
26 # - then build the RPMs:
27 # mock -r centos-6-x86_64 --no-clean --rebuild \
28 # /var/lib/mock/centos-6-x86_64/result/collectd-X.Y.Z-NN.src.rpm
30 # - you can also optionally enable/disable plugins which are disabled/enabled
32 # mock -r centos-6-x86_64 --no-clean --without=java --with=oracle --rebuild \
33 # /var/lib/mock/centos-6-x86_64/result/collectd-X.Y.Z-NN.src.rpm
36 %global _hardened_build 1
37 %{?perl_default_filter}
39 # plugins only buildable on RHEL6
40 # (NB: %{elN} macro is not available on RHEL < 6)
41 %{?el6:%global _has_libyajl 1}
42 %{?el6:%global _has_recent_libpcap 1}
43 %{?el6:%global _has_recent_sockios_h 1}
44 %{?el6:%global _has_recent_libganglia 1}
45 %{?el6:%global _has_working_libiptc 1}
46 %{?el6:%global _has_ip_vs_h 1}
47 %{?el6:%global _has_libmodbus 1}
48 %{?el6:%global _has_iproute 1}
50 %{?el7:%global _has_libyajl 1}
51 %{?el7:%global _has_recent_libpcap 1}
52 %{?el7:%global _has_recent_sockios_h 1}
53 %{?el7:%global _has_working_libiptc 1}
54 %{?el7:%global _has_ip_vs_h 1}
55 %{?el7:%global _has_recent_librrd 1}
56 %{?el7:%global _has_varnish4 1}
57 %{?el7:%global _has_broken_libmemcached 1}
58 %{?el7:%global _has_iproute 1}
60 # plugins enabled by default
61 %define with_aggregation 0%{!?_without_aggregation:1}
62 %define with_amqp 0%{!?_without_amqp:1}
63 %define with_apache 0%{!?_without_apache:1}
64 %define with_apcups 0%{!?_without_apcups:1}
65 %define with_ascent 0%{!?_without_ascent:1}
66 %define with_battery 0%{!?_without_battery:1}
67 %define with_bind 0%{!?_without_bind:1}
68 %define with_conntrack 0%{!?_without_conntrack:1}
69 %define with_contextswitch 0%{!?_without_contextswitch:1}
70 %define with_cpu 0%{!?_without_cpu:1}
71 %define with_cpufreq 0%{!?_without_cpufreq:1}
72 %define with_csv 0%{!?_without_csv:1}
73 %define with_curl 0%{!?_without_curl:1}
74 %define with_curl_json 0%{!?_without_curl_json:0%{?_has_libyajl}}
75 %define with_curl_xml 0%{!?_without_curl_xml:1}
76 %define with_dbi 0%{!?_without_dbi:1}
77 %define with_df 0%{!?_without_df:1}
78 %define with_disk 0%{!?_without_disk:1}
79 %define with_dns 0%{!?_without_dns:0%{?_has_recent_libpcap}}
80 %define with_email 0%{!?_without_email:1}
81 %define with_entropy 0%{!?_without_entropy:1}
82 %define with_ethstat 0%{!?_without_ethstat:0%{?_has_recent_sockios_h}}
83 %define with_exec 0%{!?_without_exec:1}
84 %define with_filecount 0%{!?_without_filecount:1}
85 %define with_fscache 0%{!?_without_fscache:1}
86 %define with_gmond 0%{!?_without_gmond:0%{?_has_recent_libganglia}}
87 %define with_hddtemp 0%{!?_without_hddtemp:1}
88 %define with_interface 0%{!?_without_interface:1}
89 %define with_ipmi 0%{!?_without_ipmi:1}
90 %define with_iptables 0%{!?_without_iptables:0%{?_has_working_libiptc}}
91 %define with_ipvs 0%{!?_without_ipvs:0%{?_has_ip_vs_h}}
92 %define with_irq 0%{!?_without_irq:1}
93 %define with_java 0%{!?_without_java:1}
94 %define with_libvirt 0%{!?_without_libvirt:1}
95 %define with_load 0%{!?_without_load:1}
96 %define with_logfile 0%{!?_without_logfile:1}
97 %define with_madwifi 0%{!?_without_madwifi:1}
98 %define with_mbmon 0%{!?_without_mbmon:1}
99 %define with_md 0%{!?_without_md:1}
100 %define with_memcachec 0%{!?_without_memcachec:0%{!?_has_broken_libmemcached:1}}
101 %define with_memcached 0%{!?_without_memcached:1}
102 %define with_memory 0%{!?_without_memory:1}
103 %define with_multimeter 0%{!?_without_multimeter:1}
104 %define with_modbus 0%{!?_without_modbus:0%{?_has_libmodbus}}
105 %define with_mysql 0%{!?_without_mysql:1}
106 %define with_netlink 0%{!?_without_netlink:0%{?_has_iproute}}
107 %define with_network 0%{!?_without_network:1}
108 %define with_nfs 0%{!?_without_nfs:1}
109 %define with_nginx 0%{!?_without_nginx:1}
110 %define with_notify_desktop 0%{!?_without_notify_desktop:1}
111 %define with_notify_email 0%{!?_without_notify_email:1}
112 %define with_ntpd 0%{!?_without_ntpd:1}
113 %define with_numa 0%{!?_without_numa:1}
114 %define with_nut 0%{!?_without_nut:1}
115 %define with_olsrd 0%{!?_without_olsrd:1}
116 %define with_openvpn 0%{!?_without_openvpn:1}
117 %define with_perl 0%{!?_without_perl:1}
118 %define with_pinba 0%{!?_without_pinba:1}
119 %define with_ping 0%{!?_without_ping:1}
120 %define with_postgresql 0%{!?_without_postgresql:1}
121 %define with_powerdns 0%{!?_without_powerdns:1}
122 %define with_processes 0%{!?_without_processes:1}
123 %define with_protocols 0%{!?_without_protocols:1}
124 %define with_python 0%{!?_without_python:1}
125 %define with_rrdcached 0%{!?_without_rrdcached:0%{?_has_recent_librrd}}
126 %define with_rrdtool 0%{!?_without_rrdtool:1}
127 %define with_sensors 0%{!?_without_sensors:1}
128 %define with_serial 0%{!?_without_serial:1}
129 %define with_snmp 0%{!?_without_snmp:1}
130 %define with_swap 0%{!?_without_swap:1}
131 %define with_syslog 0%{!?_without_syslog:1}
132 %define with_table 0%{!?_without_table:1}
133 %define with_tail 0%{!?_without_tail:1}
134 %define with_tail_csv 0%{!?_without_tail_csv:1}
135 %define with_tcpconns 0%{!?_without_tcpconns:1}
136 %define with_teamspeak2 0%{!?_without_teamspeak2:1}
137 %define with_ted 0%{!?_without_ted:1}
138 %define with_thermal 0%{!?_without_thermal:1}
139 %define with_threshold 0%{!?_without_threshold:1}
140 %define with_unixsock 0%{!?_without_unixsock:1}
141 %define with_uptime 0%{!?_without_uptime:1}
142 %define with_users 0%{!?_without_users:1}
143 %define with_uuid 0%{!?_without_uuid:1}
144 %define with_varnish 0%{!?_without_varnish:0%{!?_has_varnish4: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_riemann 0%{!?_without_write_riemann:1}
152 # Plugins not built by default because of dependencies on libraries not
153 # available in RHEL or EPEL:
155 # plugin apple_sensors disabled, requires a Mac
156 %define with_apple_sensors 0%{!?_without_apple_sensors:0}
157 # plugin lpar disabled, requires AIX
158 %define with_lpar 0%{!?_without_lpar:0}
159 # plugin netapp disabled, requires libnetapp
160 %define with_netapp 0%{!?_without_netapp:0}
161 # plugin onewire disabled, requires libowfs
162 %define with_onewire 0%{!?_without_onewire:0}
163 # plugin oracle disabled, requires Oracle
164 %define with_oracle 0%{!?_without_oracle:0}
165 # plugin oracle disabled, requires BSD
166 %define with_pf 0%{!?_without_pf:0}
167 # plugin redis disabled, requires credis
168 %define with_redis 0%{!?_without_redis:0}
169 # plugin routeros disabled, requires librouteros
170 %define with_routeros 0%{!?_without_routeros:0}
171 # plugin tape disabled, requires libkstat
172 %define with_tape 0%{!?_without_tape:0}
173 # plugin tokyotyrant disabled, requires tcrdb.h
174 %define with_tokyotyrant 0%{!?_without_tokyotyrant:0}
175 # plugin write_mongodb disabled, requires libmongoc
176 %define with_write_mongodb 0%{!?_without_write_mongodb:0}
177 # plugin write_redis disabled, requires credis
178 %define with_write_redis 0%{!?_without_write_redis:0}
179 # plugin xmms disabled, requires xmms
180 %define with_xmms 0%{!?_without_xmms:0}
181 # plugin zfs_arc disabled, requires FreeBSD/Solaris
182 %define with_zfs_arc 0%{!?_without_zfs_arc:0}
184 Summary: Statistics collection daemon for filling RRD files
188 URL: http://collectd.org
189 Source: http://collectd.org/files/%{name}-%{version}.tar.bz2
191 Group: System Environment/Daemons
192 BuildRoot: %{_tmppath}/%{name}-%{version}-root
193 BuildRequires: libgcrypt-devel, kernel-headers, libtool-ltdl-devel
194 Vendor: collectd development team <collectd@verplant.org>
196 Requires(post): chkconfig
197 Requires(preun): chkconfig, initscripts
198 Requires(postun): initscripts
201 collectd is a small daemon which collects system information periodically and
202 provides mechanisms to monitor and store the values in a variety of ways. It
203 is written in C for performance. Since the daemon doesn't need to start up
204 every time it wants to update the values it's very fast and easy on the
205 system. Also, the statistics are very fine grained since the files are updated
206 every 10 seconds by default.
210 Summary: AMQP plugin for collectd
211 Group: System Environment/Daemons
212 Requires: %{name}%{?_isa} = %{version}-%{release}
213 BuildRequires: librabbitmq-devel
215 The AMQP plugin transmits or receives values collected by collectd via the
216 Advanced Message Queuing Protocol (AMQP).
221 Summary: Apache plugin for collectd
222 Group: System Environment/Daemons
223 Requires: %{name}%{?_isa} = %{version}-%{release}
224 BuildRequires: curl-devel
226 This plugin collects data provided by Apache's `mod_status'.
231 Summary: Ascent plugin for collectd
232 Group: System Environment/Daemons
233 Requires: %{name}%{?_isa} = %{version}-%{release}
234 BuildRequires: libxml2-devel, curl-devel
236 The Ascent plugin reads and parses the statistics page of Ascent, a free and
237 open-source server software for the game World of Warcraft by Blizzard
243 Summary: Bind plugin for collectd
244 Group: System Environment/Daemons
245 Requires: %{name}%{?_isa} = %{version}-%{release}
246 BuildRequires: libxml2-devel, curl-devel
248 The BIND plugin retrieves this information that's encoded in XML and provided
249 via HTTP and submits the values to collectd.
254 Summary: Curl plugin for collectd
255 Group: System Environment/Daemons
256 Requires: %{name}%{?_isa} = %{version}-%{release}
257 BuildRequires: curl-devel
259 The cURL plugin uses libcurl to read files and then parses them according to
263 %if %{with_curl_json}
265 Summary: Curl_json plugin for collectd
266 Group: System Environment/Daemons
267 Requires: %{name}%{?_isa} = %{version}-%{release}
268 BuildRequires: curl-devel, yajl-devel
269 %description curl_json
270 The cURL-JSON plugin queries JavaScript Object Notation (JSON) data using the
271 cURL library and parses it according to the user's configuration.
276 Summary: Curl_xml plugin for collectd
277 Group: System Environment/Daemons
278 Requires: %{name}%{?_isa} = %{version}-%{release}
279 BuildRequires: curl-devel, libxml2-devel
280 %description curl_xml
281 The cURL-XML plugin reads files using libcurl and parses it as Extensible
282 Markup Language (XML).
287 Summary: DBI plugin for collectd
288 Group: System Environment/Daemons
289 Requires: %{name}%{?_isa} = %{version}-%{release}
290 BuildRequires: libdbi-devel
292 The DBI plugin uses libdbi, a database abstraction library, to execute SQL
293 statements on a database and read back the result.
298 Summary: DNS plugin for collectd
299 Group: System Environment/Daemons
300 Requires: %{name}%{?_isa} = %{version}-%{release}, libpcap >= 1.0
301 BuildRequires: libpcap-devel >= 1.0
303 The DNS plugin has a similar functionality to dnstop: It uses libpcap to get a
304 copy of all traffic from/to port UDP/53 (that's the DNS port), interprets the
305 packets and collects statistics of your DNS traffic.
310 Summary: Email plugin for collectd
311 Group: System Environment/Daemons
312 Requires: %{name}%{?_isa} = %{version}-%{release}, spamassassin
314 This plugin collects data provided by spamassassin.
319 Summary: Gmond plugin for collectd
320 Group: System Environment/Daemons
321 Requires: %{name}%{?_isa} = %{version}-%{release}
322 BuildRequires: ganglia-devel
324 The gmond plugin subscribes to a Multicast group to receive data from gmond,
325 the client daemon of the Ganglia project.
330 Summary: Hddtemp plugin for collectd
331 Group: System Environment/Daemons
332 Requires: %{name}%{?_isa} = %{version}-%{release}, hddtemp
334 The HDDTemp plugin collects the temperature of hard disks. The temperatures are
335 provided via SMART and queried by the external hddtemp daemon.
340 Summary: IPMI plugin for collectd
341 Group: System Environment/Daemons
342 Requires: %{name}%{?_isa} = %{version}-%{release}
343 BuildRequires: OpenIPMI-devel
345 The IPMI plugin uses the OpenIPMI library to read hardware sensors from servers
346 using the Intelligent Platform Management Interface (IPMI).
351 Summary: IPtables plugin for collectd
352 Group: System Environment/Daemons
353 Requires: %{name}%{?_isa} = %{version}-%{release}
354 BuildRequires: iptables-devel
355 %description iptables
356 The IPtables plugin can gather statistics from your ip_tables based packet
357 filter (aka. firewall) for both the IPv4 and the IPv6 protocol. It can collect
358 the byte- and packet-counters of selected rules and submit them to collectd.
363 Summary: Java plugin for collectd
364 Group: System Environment/Daemons
365 Requires: %{name}%{?_isa} = %{version}-%{release}
366 BuildRequires: java-devel, jpackage-utils
367 Requires: java, jpackage-utils
369 This plugin for collectd allows plugins to be written in Java and executed
375 Summary: Libvirt plugin for collectd
376 Group: System Environment/Daemons
377 Requires: %{name}%{?_isa} = %{version}-%{release}
378 BuildRequires: libvirt-devel
380 This plugin collects information from virtualized guests.
383 %if %{with_memcachec}
385 Summary: Memcachec plugin for collectd
386 Group: System Environment/Daemons
387 Requires: %{name}%{?_isa} = %{version}-%{release}
388 BuildRequires: libmemcached-devel
389 %description memcachec
390 The Memcachec plugin uses libmemcached to read statistics from a Memcached
391 instance. Note that another plugin, named `memcached', exists and does a
392 similar job, without requiring the installation of libmemcached.
397 Summary: modbus plugin for collectd
398 Group: System Environment/Daemons
399 Requires: %{name}%{?_isa} = %{version}-%{release}
400 BuildRequires: libmodbus-devel
402 The modbus plugin collects values from Modbus/TCP enabled devices
407 Summary: MySQL plugin for collectd
408 Group: System Environment/Daemons
409 Requires: %{name}%{?_isa} = %{version}-%{release}
410 BuildRequires: mysql-devel
412 MySQL querying plugin. This plugin provides data of issued commands, called
413 handlers and database traffic.
418 Summary: netlink plugin for collectd
419 Group: System Environment/Daemons
420 Requires: %{name}%{?_isa} = %{version}-%{release}
421 BuildRequires: iproute-devel
423 The netlink plugin collects detailed network interface and routing statistics.
428 Summary: Nginx plugin for collectd
429 Group: System Environment/Daemons
430 Requires: %{name}%{?_isa} = %{version}-%{release}
431 BuildRequires: curl-devel
433 This plugin gets data provided by nginx.
436 %if %{with_notify_desktop}
437 %package notify_desktop
438 Summary: Notify_desktop plugin for collectd
439 Group: System Environment/Daemons
440 Requires: %{name}%{?_isa} = %{version}-%{release}
441 BuildRequires: libnotify-devel, gtk2-devel
442 %description notify_desktop
443 The Notify Desktop plugin uses libnotify to display notifications to the user
444 via the desktop notification specification, i. e. on an X display.
447 %if %{with_notify_email}
448 %package notify_email
449 Summary: Notify_email plugin for collectd
450 Group: System Environment/Daemons
451 Requires: %{name}%{?_isa} = %{version}-%{release}
452 BuildRequires: libesmtp-devel
453 %description notify_email
454 The Notify Email plugin uses libESMTP to send notifications to a configured
460 Summary: Nut plugin for collectd
461 Group: System Environment/Daemons
462 Requires: %{name}%{?_isa} = %{version}-%{release}
463 BuildRequires: nut-devel
465 This plugin for collectd provides Network UPS Tools support.
470 Summary: Perl plugin for collectd
471 Group: System Environment/Daemons
472 Requires: %{name}%{?_isa} = %{version}-%{release}
473 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
475 BuildRequires: perl-ExtUtils-Embed
480 The Perl plugin embeds a Perl interpreter into collectd and exposes the
481 application programming interface (API) to Perl-scripts.
486 Summary: Pinba plugin for collectd
487 Group: System Environment/Daemons
488 Requires: %{name}%{?_isa} = %{version}-%{release}
489 BuildRequires: protobuf-c-devel
491 The Pinba plugin receives and dispatches timing values from Pinba, a profiling
497 Summary: Ping plugin for collectd
498 Group: System Environment/Daemons
499 Requires: %{name}%{?_isa} = %{version}-%{release}
500 BuildRequires: liboping-devel
502 The Ping plugin measures network latency using ICMP “echo requests”, usually
506 %if %{with_postgresql}
508 Summary: PostgreSQL plugin for collectd
509 Group: System Environment/Daemons
510 Requires: %{name}%{?_isa} = %{version}-%{release}
511 BuildRequires: postgresql-devel
512 %description postgresql
513 The PostgreSQL plugin connects to and executes SQL statements on a PostgreSQL
519 Summary: Python plugin for collectd
520 Group: System Environment/Daemons
521 Requires: %{name}%{?_isa} = %{version}-%{release}
523 BuildRequires: python-devel
525 BuildRequires: python26-devel
528 The Python plugin embeds a Python interpreter into collectd and exposes the
529 application programming interface (API) to Python-scripts.
534 Summary: Redis plugin for collectd
535 Group: System Environment/Daemons
536 Requires: %{name}%{?_isa} = %{version}-%{release}
537 BuildRequires: credis-devel
539 The Redis plugin connects to one or more instances of Redis, a key-value store,
540 and collects usage information using the credis library.
543 %if %{with_rrdcached}
545 Summary: RRDCached plugin for collectd
546 Group: System Environment/Daemons
547 Requires: %{name}%{?_isa} = %{version}-%{release}, rrdtool >= 1.4
548 BuildRequires: rrdtool-devel
549 %description rrdcached
550 The RRDCacheD plugin connects to the “RRD caching daemon”, rrdcached and
551 submits updates for RRD files to that daemon.
556 Summary: RRDtool plugin for collectd
557 Group: System Environment/Daemons
558 Requires: %{name}%{?_isa} = %{version}-%{release}
559 BuildRequires: rrdtool-devel
561 The RRDtool plugin writes values to RRD-files using librrd.
566 Summary: Sensors plugin for collectd
567 Group: System Environment/Daemons
568 Requires: %{name}%{?_isa} = %{version}-%{release}
569 BuildRequires: lm_sensors-devel
571 This plugin for collectd provides querying of sensors supported by lm_sensors.
576 Summary: SNMP plugin for collectd
577 Group: System Environment/Daemons
578 Requires: %{name}%{?_isa} = %{version}-%{release}
579 BuildRequires: net-snmp-devel
581 This plugin for collectd allows querying of network equipment using SNMP.
586 Summary: Varnish plugin for collectd
587 Group: System Environment/Daemons
588 Requires: %{name}%{?_isa} = %{version}-%{release}
589 BuildRequires: varnish-libs-devel
591 The Varnish plugin collects information about Varnish, an HTTP accelerator.
594 %if %{with_write_http}
596 Summary: Write-HTTP plugin for collectd
597 Group: System Environment/Daemons
598 Requires: %{name}%{?_isa} = %{version}-%{release}
599 BuildRequires: curl-devel
600 %description write_http
601 The Write-HTTP plugin sends the values collected by collectd to a web-server
602 using HTTP POST requests.
605 %if %{with_write_redis}
607 Summary: Write-Redis plugin for collectd
608 Group: System Environment/Daemons
609 Requires: %{name}%{?_isa} = %{version}-%{release}
610 BuildRequires: credis-devel
611 %description write_redis
612 The Write Redis plugin stores values in Redis, a “data structures server”.
615 %if %{with_write_riemann}
616 %package write_riemann
617 Summary: riemann plugin for collectd
618 Group: System Environment/Daemons
619 Requires: %{name}%{?_isa} = %{version}-%{release}
620 BuildRequires: protobuf-c-devel
621 %description write_riemann
622 The riemann plugin submits values to Riemann, an event stream processor.
626 Summary: Web-based viewer for collectd
627 Group: System Environment/Daemons
628 Requires: %{name}%{?_isa} = %{version}-%{release}
630 %description collection3
631 collection3 is a graphing front-end for the RRD files created by and filled
632 with collectd. It is written in Perl and should be run as an CGI-script.
633 Graphs are generated on-the-fly, so no cron job or similar is necessary.
635 %package php-collection
636 Summary: collect php webfrontent
637 Group: System Environment/Daemons
638 Requires: collectd = %{version}-%{release}
641 Requires: php-rrdtool
642 %description php-collection
643 PHP graphing frontend for RRD files created by and filled with collectd.
646 Summary: Contrib files for collectd
647 Group: System Environment/Daemons
648 Requires: %{name}%{?_isa} = %{version}-%{release}
650 All the files found under contrib/ in the source tree are bundled in this
653 %package -n libcollectdclient
654 Summary: Collectd client library
655 Group: System Environment/Daemons
656 %description -n libcollectdclient
657 Collectd client library
659 %package -n libcollectdclient-devel
660 Summary: Development files for libcollectdclient
661 Group: System Environment/Daemons
663 Requires: libcollectdclient%{?_isa} = %{version}-%{release}
664 %description -n libcollectdclient-devel
665 Development files for libcollectdclient
672 %if %{with_aggregation}
673 %define _with_aggregation --enable-aggregation
675 %define _with_aggregation --disable-aggregation
679 %define _with_amqp --enable-amqp
681 %define _with_amqp --disable-amqp
685 %define _with_apache --enable-apache
687 %define _with_apache --disable-apache
691 %define _with_apcups --enable-apcups
693 %define _with_apcups --disable-apcups
696 %if %{with_apple_sensors}
697 %define _with_apple_sensors --enable-apple_sensors
699 %define _with_apple_sensors --disable-apple_sensors
703 %define _with_ascent --enable-ascent
705 %define _with_ascent --disable-ascent
709 %define _with_battery --enable-battery
711 %define _with_battery --disable-battery
715 %define _with_bind --enable-bind
717 %define _with_bind --disable-bind
720 %if %{with_conntrack}
721 %define _with_conntrack --enable-conntrack
723 %define _with_conntrack --disable-conntrack
726 %if %{with_contextswitch}
727 %define _with_contextswitch --enable-contextswitch
729 %define _with_contextswitch --disable-contextswitch
733 %define _with_cpu --enable-cpu
735 %define _with_cpu --disable-cpu
739 %define _with_cpufreq --enable-cpufreq
741 %define _with_cpufreq --disable-cpufreq
745 %define _with_csv --enable-csv
747 %define _with_csv --disable-csv
751 %define _with_curl --enable-curl
753 %define _with_curl --disable-curl
756 %if %{with_curl_json}
757 %define _with_curl_json --enable-curl_json
759 %define _with_curl_json --disable-curl_json
763 %define _with_curl_xml --enable-curl_xml
765 %define _with_curl_xml --disable-curl_xml
769 %define _with_dbi --enable-dbi
771 %define _with_dbi --disable-dbi --without-libdbi
775 %define _with_df --enable-df
777 %define _with_df --disable-df
781 %define _with_disk --enable-disk
783 %define _with_disk --disable-disk
787 %define _with_dns --enable-dns
789 %define _with_dns --disable-dns
793 %define _with_email --enable-email
795 %define _with_email --disable-email
799 %define _with_entropy --enable-entropy
801 %define _with_entropy --disable-entropy
805 %define _with_ethstat --enable-ethstat
807 %define _with_ethstat --disable-ethstat
811 %define _with_exec --enable-exec
813 %define _with_exec --disable-exec
816 %if %{with_filecount}
817 %define _with_filecount --enable-filecount
819 %define _with_filecount --disable-filecount
823 %define _with_fscache --enable-fscache
825 %define _with_fscache --disable-fscache
829 %define _with_gmond --enable-gmond
831 %define _with_gmond --disable-gmond
835 %define _with_hddtemp --enable-hddtemp
837 %define _with_hddtemp --disable-hddtemp
840 %if %{with_interface}
841 %define _with_interface --enable-interface
843 %define _with_interface --disable-interface
847 %define _with_ipmi --enable-ipmi
849 %define _with_ipmi --disable-ipmi
853 %define _with_iptables --enable-iptables
855 %define _with_iptables --disable-iptables
859 %define _with_ipvs --enable-ipvs
861 %define _with_ipvs --disable-ipvs
865 %define _with_irq --enable-irq
867 %define _with_irq --disable-irq
871 %define _with_java --enable-java --with-java=%{java_home}/
873 %define _with_java --disable-java
877 %define _with_libvirt --enable-libvirt
879 %define _with_libvirt --disable-libvirt
883 %define _with_load --enable-load
885 %define _with_load --disable-load
889 %define _with_logfile --enable-logfile
891 %define _with_logfile --disable-logfile
895 %define _with_lpar --enable-lpar
897 %define _with_lpar --disable-lpar
901 %define _with_madwifi --enable-madwifi
903 %define _with_madwifi --disable-madwifi
907 %define _with_mbmon --enable-mbmon
909 %define _with_mbmon --disable-mbmon
913 %define _with_md --enable-md
915 %define _with_md --disable-md
918 %if %{with_memcachec}
919 %define _with_memcachec --enable-memcachec
921 %define _with_memcachec --disable-memcachec
924 %if %{with_memcached}
925 %define _with_memcached --enable-memcached
927 %define _with_memcached --disable-memcached
931 %define _with_memory --enable-memory
933 %define _with_memory --disable-memory
937 %define _with_modbus --enable-modbus
939 %define _with_modbus --disable-modbus
942 %if %{with_multimeter}
943 %define _with_multimeter --enable-multimeter
945 %define _with_multimeter --disable-multimeter
949 %define _with_mysql --enable-mysql
951 %define _with_mysql --disable-mysql
955 %define _with_netapp --enable-netapp
957 %define _with_netapp --disable-netapp
961 %define _with_netlink --enable-netlink
963 %define _with_netlink --disable-netlink
967 %define _with_network --enable-network
969 %define _with_network --disable-network
973 %define _with_nfs --enable-nfs
975 %define _with_nfs --disable-nfs
979 %define _with_nginx --enable-nginx
981 %define _with_nginx --disable-nginx
984 %if %{with_notify_desktop}
985 %define _with_notify_desktop --enable-notify_desktop
987 %define _with_notify_desktop --disable-notify_desktop
990 %if %{with_notify_email}
991 %define _with_notify_email --enable-notify_email
993 %define _with_notify_email --disable-notify_email --without-libesmpt
997 %define _with_ntpd --enable-ntpd
999 %define _with_ntpd --disable-ntpd
1003 %define _with_numa --enable-numa
1005 %define _with_numa --disable-numa
1009 %define _with_nut --enable-nut
1011 %define _with_nut --disable-nut
1015 %define _with_olsrd --enable-olsrd
1017 %define _with_olsrd --disable-olsrd
1021 %define _with_onewire --enable-onewire
1023 %define _with_onewire --disable-onewire
1027 %define _with_openvpn --enable-openvpn
1029 %define _with_openvpn --disable-openvpn
1033 %define _with_oracle --enable-oracle
1035 %define _with_oracle --disable-oracle
1039 %define _with_perl --enable-perl --with-perl-bindings="INSTALLDIRS=vendor"
1041 %define _with_perl --disable-perl --without-libperl
1045 %define _with_pf --enable-pf
1047 %define _with_pf --disable-pf
1051 %define _with_pinba --enable-pinba
1053 %define _with_pinba --disable-pinba
1057 %define _with_ping --enable-ping
1059 %define _with_ping --disable-ping
1062 %if %{with_postgresql}
1063 %define _with_postgresql --enable-postgresql
1065 %define _with_postgresql --disable-postgresql
1068 %if %{with_powerdns}
1069 %define _with_powerdns --enable-powerdns
1071 %define _with_powerdns --disable-powerdns
1074 %if %{with_processes}
1075 %define _with_processes --enable-processes
1077 %define _with_processes --disable-processes
1080 %if %{with_protocols}
1081 %define _with_protocols --enable-protocols
1083 %define _with_protocols --disable-protocols
1088 %define _with_python --enable-python
1090 %define _with_python --enable-python --with-python=%{_bindir}/python2.6
1093 %define _with_python --disable-python
1097 %define _with_redis --enable-redis
1099 %define _with_redis --disable-redis
1102 %if %{with_routeros}
1103 %define _with_routeros --enable-routeros
1105 %define _with_routeros --disable-routeros
1108 %if %{with_rrdcached}
1109 %define _with_rrdcached --enable-rrdcached
1111 %define _with_rrdcached --disable-rrdcached
1115 %define _with_rrdtool --enable-rrdtool
1117 %define _with_rrdtool --disable-rrdtool
1121 %define _with_sensors --enable-sensors
1123 %define _with_sensors --disable-sensors
1127 %define _with_serial --enable-serial
1129 %define _with_serial --disable-serial
1133 %define _with_snmp --enable-snmp
1135 %define _with_snmp --disable-snmp
1139 %define _with_swap --enable-swap
1141 %define _with_swap --disable-swap
1145 %define _with_syslog --enable-syslog
1147 %define _with_syslog --disable-syslog
1151 %define _with_table --enable-table
1153 %define _with_table --disable-table
1157 %define _with_tail --enable-tail
1159 %define _with_tail --disable-tail
1162 %if %{with_tail_csv}
1163 %define _with_tail_csv --enable-tail_csv
1165 %define _with_tail_csv --disable-tail_csv
1169 %define _with_tape --enable-tape
1171 %define _with_tape --disable-tape
1174 %if %{with_tcpconns}
1175 %define _with_tcpconns --enable-tcpconns
1177 %define _with_tcpconns --disable-tcpconns
1180 %if %{with_teamspeak2}
1181 %define _with_teamspeak2 --enable-teamspeak2
1183 %define _with_teamspeak2 --disable-teamspeak2
1187 %define _with_ted --enable-ted
1189 %define _with_ted --disable-ted
1193 %define _with_thermal --enable-thermal
1195 %define _with_thermal --disable-thermal
1198 %if %{with_threshold}
1199 %define _with_threshold --enable-threshold
1201 %define _with_threshold --disable-threshold
1204 %if %{with_tokyotyrant}
1205 %define _with_tokyotyrant --enable-tokyotyrant
1207 %define _with_tokyotyrant --disable-tokyotyrant
1210 %if %{with_unixsock}
1211 %define _with_unixsock --enable-unixsock
1213 %define _with_unixsock --disable-unixsock
1217 %define _with_uptime --enable-uptime
1219 %define _with_uptime --disable-uptime
1223 %define _with_users --enable-users
1225 %define _with_users --disable-users
1229 %define _with_uuid --enable-uuid
1231 %define _with_uuid --disable-uuid
1235 %define _with_varnish --enable-varnish
1237 %define _with_varnish --disable-varnish
1241 %define _with_vmem --enable-vmem
1243 %define _with_vmem --disable-vmem
1247 %define _with_vserver --enable-vserver
1249 %define _with_vserver --disable-vserver
1252 %if %{with_wireless}
1253 %define _with_wireless --enable-wireless
1255 %define _with_wireless --disable-wireless
1258 %if %{with_write_graphite}
1259 %define _with_write_graphite --enable-write_graphite
1261 %define _with_write_graphite --disable-write_graphite
1264 %if %{with_write_http}
1265 %define _with_write_http --enable-write_http
1267 %define _with_write_http --disable-write_http
1270 %if %{with_write_mongodb}
1271 %define _with_write_mongodb --enable-write_mongodb
1273 %define _with_write_mongodb --disable-write_mongodb --without-libmongoc
1276 %if %{with_write_redis}
1277 %define _with_write_redis --enable-write_redis
1279 %define _with_write_redis --disable-write_redis --without-libcredis
1282 %if %{with_write_riemann}
1283 %define _with_write_riemann --enable-write_riemann
1285 %define _with_write_riemann --disable-write_riemann
1289 %define _with_xmms --enable-xmms
1291 %define _with_xmms --disable-xmms
1295 %define _with_zfs_arc --enable-zfs_arc
1297 %define _with_zfs_arc --disable-zfs_arc
1300 %configure CFLAGS="%{optflags} -DLT_LAZY_OR_NOW=\"RTLD_LAZY|RTLD_GLOBAL\"" \
1302 --without-included-ltdl \
1303 --enable-all-plugins=yes \
1304 --enable-match_empty_counter \
1305 --enable-match_hashed \
1306 --enable-match_regex \
1307 --enable-match_timediff \
1308 --enable-match_value \
1309 --enable-target_notification \
1310 --enable-target_replace \
1311 --enable-target_scale \
1312 --enable-target_set \
1313 --enable-target_v5upgrade \
1314 %{?_with_aggregation} \
1318 %{?_with_apple_sensors} \
1322 %{?_with_conntrack} \
1323 %{?_with_contextswitch} \
1328 %{?_with_curl_json} \
1329 %{?_with_curl_xml} \
1338 %{?_with_filecount} \
1342 %{?_with_interface} \
1344 %{?_with_iptables} \
1349 %{?_with_memcachec} \
1351 %{?_with_multimeter} \
1356 %{?_with_notify_desktop} \
1357 %{?_with_notify_email} \
1365 %{?_with_postgresql} \
1368 %{?_with_routeros} \
1369 %{?_with_rrdcached} \
1374 %{?_with_tokyotyrant} \
1376 %{?_with_write_http} \
1377 %{?_with_write_mongodb} \
1378 %{?_with_write_redis} \
1387 %{?_with_memcached} \
1395 %{?_with_powerdns} \
1396 %{?_with_processes} \
1397 %{?_with_protocols} \
1403 %{?_with_tail_csv} \
1404 %{?_with_tcpconns} \
1405 %{?_with_teamspeak2} \
1408 %{?_with_threshold} \
1409 %{?_with_unixsock} \
1416 %{?_with_write_graphite} \
1417 %{?_with_write_http} \
1418 %{?_with_write_riemann}
1421 %{__make} %{?_smp_mflags}
1426 %{__make} install DESTDIR=%{buildroot}
1427 %{__install} -Dp -m 0755 contrib/redhat/init.d-collectd %{buildroot}%{_initrddir}/collectd
1428 %{__install} -Dp -m0644 src/collectd.conf %{buildroot}%{_sysconfdir}/collectd.conf
1429 %{__install} -d %{buildroot}%{_sharedstatedir}/collectd/
1430 %{__install} -d %{buildroot}%{_sysconfdir}/collectd.d/
1432 %{__mkdir} -p %{buildroot}%{_localstatedir}/www
1433 %{__mkdir} -p %{buildroot}/%{_sysconfdir}/httpd/conf.d
1435 %{__mv} contrib/collection3 %{buildroot}%{_localstatedir}/www
1436 %{__mv} contrib/redhat/collection3.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
1438 %{__mv} contrib/php-collection %{buildroot}%{_localstatedir}/www
1439 %{__mv} contrib/redhat/php-collection.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
1442 find contrib/ -type f -exec %{__chmod} a-x {} \;
1443 # *.la files shouldn't be distributed.
1444 rm -f %{buildroot}/%{_libdir}/{collectd/,}*.la
1446 # Remove Perl hidden .packlist files.
1447 find %{buildroot} -type f -name .packlist -delete
1448 # Remove Perl temporary file perllocal.pod
1449 find %{buildroot} -type f -name perllocal.pod -delete
1452 rm -f %{buildroot}%{_datadir}/collectd/java/collectd-api.jar
1453 rm -f %{buildroot}%{_datadir}/collectd/java/generic-jmx.jar
1454 rm -f %{buildroot}%{_mandir}/man5/collectd-java.5*
1458 rm -f %{buildroot}%{_mandir}/man5/collectd-perl.5*
1459 rm -f %{buildroot}%{_mandir}/man3/Collectd::Unixsock.3pm*
1460 rm -fr %{buildroot}/usr/lib/perl5/
1463 %if ! %{with_postgresql}
1464 rm -f %{buildroot}%{_datadir}/collectd/postgresql_default.conf
1467 %if ! %{with_python}
1468 rm -f %{buildroot}%{_mandir}/man5/collectd-python.5*
1472 rm -f %{buildroot}%{_mandir}/man5/collectd-snmp.5*
1480 /sbin/chkconfig --add collectd
1483 if [ $1 -eq 0 ]; then
1484 /sbin/service collectd stop &>/dev/null
1485 /sbin/chkconfig --del collectd
1489 if [ $1 -ge 1 ]; then
1490 /sbin/service collectd condrestart &>/dev/null || :
1493 %post -n libcollectdclient -p /sbin/ldconfig
1494 %postun -n libcollectdclient -p /sbin/ldconfig
1498 %doc AUTHORS COPYING ChangeLog README
1499 %config(noreplace) %{_sysconfdir}/collectd.conf
1500 %{_initrddir}/collectd
1501 %{_sbindir}/collectd
1502 %{_bindir}/collectd-nagios
1503 %{_bindir}/collectd-tg
1504 %{_bindir}/collectdctl
1505 %{_sbindir}/collectdmon
1506 %{_datadir}/collectd/types.db
1507 %{_sharedstatedir}/collectd
1508 %{_mandir}/man1/collectd-nagios.1*
1509 %{_mandir}/man1/collectd.1*
1510 %{_mandir}/man1/collectdctl.1*
1511 %{_mandir}/man1/collectdmon.1*
1512 %{_mandir}/man1/collectd-tg.1*
1513 %{_mandir}/man5/collectd-email.5*
1514 %{_mandir}/man5/collectd-exec.5*
1515 %{_mandir}/man5/collectd-threshold.5*
1516 %{_mandir}/man5/collectd-unixsock.5*
1517 %{_mandir}/man5/collectd.conf.5*
1518 %{_mandir}/man5/types.db.5*
1520 # all plugins bundled with the main collectd package
1521 %{_libdir}/%{name}/match_empty_counter.so
1522 %{_libdir}/%{name}/match_hashed.so
1523 %{_libdir}/%{name}/match_regex.so
1524 %{_libdir}/%{name}/match_timediff.so
1525 %{_libdir}/%{name}/match_value.so
1526 %{_libdir}/%{name}/target_notification.so
1527 %{_libdir}/%{name}/target_replace.so
1528 %{_libdir}/%{name}/target_scale.so
1529 %{_libdir}/%{name}/target_set.so
1530 %{_libdir}/%{name}/target_v5upgrade.so
1532 %if %{with_aggregation}
1533 %{_libdir}/%{name}/aggregation.so
1536 %{_libdir}/%{name}/apcups.so
1539 %{_libdir}/%{name}/battery.so
1541 %if %{with_conntrack}
1542 %{_libdir}/%{name}/conntrack.so
1544 %if %{with_contextswitch}
1545 %{_libdir}/%{name}/contextswitch.so
1548 %{_libdir}/%{name}/cpu.so
1551 %{_libdir}/%{name}/cpufreq.so
1554 %{_libdir}/%{name}/csv.so
1557 %{_libdir}/%{name}/df.so
1560 %{_libdir}/%{name}/disk.so
1563 %{_libdir}/%{name}/ethstat.so
1566 %{_libdir}/%{name}/entropy.so
1569 %{_libdir}/%{name}/exec.so
1571 %if %{with_filecount}
1572 %{_libdir}/%{name}/filecount.so
1575 %{_libdir}/%{name}/fscache.so
1577 %if %{with_interface}
1578 %{_libdir}/%{name}/interface.so
1581 %{_libdir}/%{name}/ipvs.so
1584 %{_libdir}/%{name}/irq.so
1587 %{_libdir}/%{name}/load.so
1590 %{_libdir}/%{name}/logfile.so
1593 %{_libdir}/%{name}/madwifi.so
1596 %{_libdir}/%{name}/mbmon.so
1599 %{_libdir}/%{name}/md.so
1601 %if %{with_memcached}
1602 %{_libdir}/%{name}/memcached.so
1605 %{_libdir}/%{name}/memory.so
1607 %if %{with_multimeter}
1608 %{_libdir}/%{name}/multimeter.so
1611 %{_libdir}/%{name}/network.so
1614 %{_libdir}/%{name}/nfs.so
1617 %{_libdir}/%{name}/ntpd.so
1620 %{_libdir}/%{name}/numa.so
1623 %{_libdir}/%{name}/openvpn.so
1626 %{_libdir}/%{name}/olsrd.so
1628 %if %{with_powerdns}
1629 %{_libdir}/%{name}/powerdns.so
1631 %if %{with_processes}
1632 %{_libdir}/%{name}/processes.so
1634 %if %{with_protocols}
1635 %{_libdir}/%{name}/protocols.so
1638 %{_libdir}/%{name}/serial.so
1641 %{_libdir}/%{name}/swap.so
1644 %{_libdir}/%{name}/syslog.so
1647 %{_libdir}/%{name}/table.so
1650 %{_libdir}/%{name}/tail.so
1652 %if %{with_tail_csv}
1653 %{_libdir}/%{name}/tail_csv.so
1655 %if %{with_tcpconns}
1656 %{_libdir}/%{name}/tcpconns.so
1658 %if %{with_teamspeak2}
1659 %{_libdir}/%{name}/teamspeak2.so
1662 %{_libdir}/%{name}/ted.so
1665 %{_libdir}/%{name}/thermal.so
1668 %{_libdir}/%{name}/threshold.so
1670 %if %{with_unixsock}
1671 %{_libdir}/%{name}/unixsock.so
1674 %{_libdir}/%{name}/uptime.so
1677 %{_libdir}/%{name}/users.so
1680 %{_libdir}/%{name}/uuid.so
1683 %{_libdir}/%{name}/vmem.so
1686 %{_libdir}/%{name}/vserver.so
1688 %if %{with_wireless}
1689 %{_libdir}/%{name}/wireless.so
1691 %if %{with_write_graphite}
1692 %{_libdir}/%{name}/write_graphite.so
1696 %files -n libcollectdclient-devel
1697 %{_includedir}/collectd/client.h
1698 %{_includedir}/collectd/network.h
1699 %{_includedir}/collectd/network_buffer.h
1700 %{_includedir}/collectd/lcc_features.h
1701 %{_libdir}/pkgconfig/libcollectdclient.pc
1703 %files -n libcollectdclient
1704 %{_libdir}/libcollectdclient.so
1705 %{_libdir}/libcollectdclient.so.*
1709 %{_libdir}/%{name}/amqp.so
1714 %{_libdir}/%{name}/apache.so
1719 %{_libdir}/%{name}/ascent.so
1724 %{_libdir}/%{name}/bind.so
1729 %{_libdir}/%{name}/curl.so
1732 %if %{with_curl_json}
1734 %{_libdir}/%{name}/curl_json.so
1737 %if %{with_curl_xml}
1739 %{_libdir}/%{name}/curl_xml.so
1744 %{_libdir}/%{name}/dns.so
1749 %{_libdir}/%{name}/dbi.so
1754 %{_libdir}/%{name}/email.so
1759 %{_libdir}/%{name}/gmond.so
1764 %{_libdir}/%{name}/hddtemp.so
1769 %{_libdir}/%{name}/ipmi.so
1772 %if %{with_iptables}
1774 %{_libdir}/%{name}/iptables.so
1779 %{_datadir}/collectd/java/collectd-api.jar
1780 %{_datadir}/collectd/java/generic-jmx.jar
1781 %{_libdir}/%{name}/java.so
1782 %{_mandir}/man5/collectd-java.5*
1787 %{_libdir}/%{name}/libvirt.so
1790 %if %{with_memcachec}
1792 %{_libdir}/%{name}/memcachec.so
1797 %{_libdir}/%{name}/modbus.so
1802 %{_libdir}/%{name}/mysql.so
1807 %{_libdir}/%{name}/netlink.so
1812 %{_libdir}/%{name}/nginx.so
1815 %if %{with_notify_desktop}
1816 %files notify_desktop
1817 %{_libdir}/%{name}/notify_desktop.so
1820 %if %{with_notify_email}
1822 %{_libdir}/%{name}/notify_email.so
1827 %{_libdir}/%{name}/nut.so
1832 %{perl_vendorlib}/Collectd.pm
1833 %{perl_vendorlib}/Collectd/
1834 %{_mandir}/man3/Collectd::Unixsock.3pm*
1835 %{_mandir}/man5/collectd-perl.5*
1836 %{_libdir}/%{name}/perl.so
1841 %{_libdir}/%{name}/pinba.so
1846 %{_libdir}/%{name}/ping.so
1849 %if %{with_postgresql}
1851 %{_datadir}/collectd/postgresql_default.conf
1852 %{_libdir}/%{name}/postgresql.so
1857 %{_mandir}/man5/collectd-python*
1858 %{_libdir}/%{name}/python.so
1863 %{_libdir}/%{name}/redis.so
1866 %if %{with_rrdcached}
1868 %{_libdir}/%{name}/rrdcached.so
1873 %{_libdir}/%{name}/rrdtool.so
1878 %{_libdir}/%{name}/sensors.so
1883 %{_mandir}/man5/collectd-snmp.5*
1884 %{_libdir}/%{name}/snmp.so
1889 %{_libdir}/%{name}/varnish.so
1892 %if %{with_write_http}
1894 %{_libdir}/%{name}/write_http.so
1897 %if %{with_write_redis}
1899 %{_libdir}/%{name}/write_redis.so
1902 %if %{with_write_riemann}
1903 %files write_riemann
1904 %{_libdir}/%{name}/write_riemann.so
1908 %{_localstatedir}/www/collection3
1909 %{_sysconfdir}/httpd/conf.d/collection3.conf
1911 %files php-collection
1912 %{_localstatedir}/www/php-collection
1913 %{_sysconfdir}/httpd/conf.d/php-collection.conf
1919 * Tue Aug 06 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.1-1
1920 - New upstream version
1921 - Added RHEL5 support:
1922 * conditionally disable plugins not building on this platform
1923 * add/specify some build dependencies and options
1924 * replace some RPM macros not available on this platform
1925 - Removed duplicate --enable-aggregation
1926 - Added some comments & usage examples
1927 - Replaced a couple of "Buildrequires" by "BuildRequires"
1928 - Enabled modbus plugin on RHEL6
1929 - Enabled netlink plugin on RHEL6 and RHEL7
1930 - Allow perl plugin to build on RHEL5
1931 - Add support for RHEL7
1932 - Misc perl-related improvements:
1933 * prevent rpmbuild from extracting dependencies from files in /usr/share/doc
1934 * don't package collection3 and php-collection twice
1935 * keep perl scripts from contrib/ in collectd-contrib
1937 * Wed Apr 10 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.0-1
1938 - New upstream version
1939 - Enabled write_riemann plugin
1940 - Enabled tail_csv plugin
1941 - Installed collectd-tc manpage
1943 * Fri Jan 11 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-3
1944 - remove dependency on libstatgrab, which isn't required on linux
1946 * Thu Jan 03 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-2
1947 - collection3 and php-collection viewers are now in separate packages
1949 * Fri Dec 21 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-1
1950 - New upstream version
1951 - Enabled aggregation plugin
1952 - Installed collectd-tc
1953 - Added network.h and network_buffer.h to libcollectdclient-devel
1954 - Moved libxml2-devel and libcurl-devel BRs to relevant plugins sections
1955 - Moved libcollectdclient.so from libcollectdclient-devel to libcollectdclient
1956 - Added rrdcached and redis plugin descriptions
1957 - Mentioned new pf plugin in disabled plugins list
1959 * Sun Nov 18 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-3
1960 - Follow Fedora Packaging Guidelines in java subpackage
1962 * Sat Nov 17 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-2
1963 - Move perl stuff to perl_vendorlib
1964 - Replace hardcoded paths with macros
1965 - Remove unneccesary Requires
1966 - Removed .a and .la files
1967 - Some other small cleanups
1969 * Fri Nov 16 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.1.0-1
1970 - New upstream version
1971 - Changes to support 5.1.0
1972 - Enabled all buildable plugins based on libraries available on EL6 + EPEL
1973 - All plugins requiring external libraries are now shipped in seperate
1975 - No longer treat Java plugin as an exception, correctly set $JAVA_HOME during
1976 the build process + ensure build deps are installed.
1977 - Dropped per-plugin configuration files, as they tend to diverge from upstream
1979 - Moved perl stuff to /usr/share/perl5/
1980 - Don't alter Interval and ReadThreads by default, let the user change this
1982 - Initscript improvements:
1983 * checks configuration before (re)starting, based on debian's initscript
1984 * use /etc/sysconfig instdead of /etc/default
1985 * include optional $ARGS in arguments passed to collectd.
1986 - Drop collection.cgi from main package, as it's been obsoleted by collection3
1987 - Moved contrib/ to its own package, to avoid cluttering the main package with
1988 non-essential stuff.
1989 - Replaced BuildPrereq by BuildRequires
1991 * Mon Jan 03 2011 Monetate <jason.stelzer@monetate.com> 5.0.1
1992 - New upstream version
1993 - Changes to support 5.0.1
1995 * Mon Jan 04 2010 Rackspace <stu.hood@rackspace.com> 4.9.0
1996 - New upstream version
1997 - Changes to support 4.9.0
1998 - Added support for Java/GenericJMX plugin
2000 * Mon Mar 17 2008 RightScale <support@rightscale.com> 4.3.1
2001 - New upstream version
2002 - Changes to support 4.3.1
2003 - Added More Prereqs to support more plugins
2004 - Added support for perl plugin
2006 * Mon Aug 06 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.6
2007 - New upstream version
2009 * Wed Jul 25 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.5
2011 - Changes to support 4.0.5
2013 * Thu Jan 11 2007 Iain Lea <iain@bricbrac.de> 3.11.0-0
2014 - fixed spec file to build correctly on fedora core
2015 - added improved init.d script to work with chkconfig
2016 - added %%post and %%postun to call chkconfig automatically
2018 * Sun Jul 09 2006 Florian octo Forster <octo@verplant.org> 3.10.0-1
2019 - New upstream version
2021 * Sun Jun 25 2006 Florian octo Forster <octo@verplant.org> 3.9.4-1
2022 - New upstream version
2024 * Thu Jun 01 2006 Florian octo Forster <octo@verplant.org> 3.9.3-1
2025 - New upstream version
2027 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.9.2-1
2028 - New upstream version
2030 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.8.5-1
2031 - New upstream version
2033 * Fri Apr 21 2006 Florian octo Forster <octo@verplant.org> 3.9.1-1
2034 - New upstream version
2036 * Fri Apr 14 2006 Florian octo Forster <octo@verplant.org> 3.9.0-1
2037 - New upstream version
2038 - Added the `apache' package.
2040 * Tue Mar 14 2006 Florian octo Forster <octo@verplant.org> 3.8.2-1
2041 - New upstream version
2043 * Mon Mar 13 2006 Florian octo Forster <octo@verplant.org> 3.8.1-1
2044 - New upstream version
2046 * Thu Mar 09 2006 Florian octo Forster <octo@verplant.org> 3.8.0-1
2047 - New upstream version
2049 * Sat Feb 18 2006 Florian octo Forster <octo@verplant.org> 3.7.2-1
2050 - Include `tape.so' so the build doesn't terminate because of missing files..
2051 - New upstream version
2053 * Sat Feb 04 2006 Florian octo Forster <octo@verplant.org> 3.7.1-1
2054 - New upstream version
2056 * Mon Jan 30 2006 Florian octo Forster <octo@verplant.org> 3.7.0-1
2057 - New upstream version
2058 - Removed the extra `hddtemp' package
2060 * Tue Jan 24 2006 Florian octo Forster <octo@verplant.org> 3.6.2-1
2061 - New upstream version
2063 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.1-1
2064 - New upstream version
2066 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.0-1
2067 - New upstream version
2068 - Added config file, `collectd.conf(5)', `df.so'
2069 - Added package `collectd-mysql', dependency on `mysqlclient10 | mysql'
2071 * Wed Dec 07 2005 Florian octo Forster <octo@verplant.org> 3.5.0-1
2072 - New upstream version
2074 * Sat Nov 26 2005 Florian octo Forster <octo@verplant.org> 3.4.0-1
2075 - New upstream version
2077 * Sat Nov 05 2005 Florian octo Forster <octo@verplant.org> 3.3.0-1
2078 - New upstream version
2080 * Wed Oct 26 2005 Florian octo Forster <octo@verplant.org> 3.2.0-1
2081 - New upstream version
2082 - Added statement to remove the `*.la' files. This fixes a problem when
2083 `Unpackaged files terminate build' is in effect.
2084 - Added `processes.so*' to the main package
2086 * Fri Oct 14 2005 Florian octo Forster <octo@verplant.org> 3.1.0-1
2087 - New upstream version
2088 - Added package `collectd-hddtemp'
2090 * Fri Sep 30 2005 Florian octo Forster <octo@verplant.org> 3.0.0-1
2091 - New upstream version
2092 - Split the package into `collectd' and `collectd-sensors'
2094 * Fri Sep 16 2005 Florian octo Forster <octo@verplant.org> 2.1.0-1
2095 - New upstream version
2097 * Sat Sep 10 2005 Florian octo Forster <octo@verplant.org> 2.0.0-1
2098 - New upstream version
2100 * Mon Aug 29 2005 Florian octo Forster <octo@verplant.org> 1.8.0-1
2101 - New upstream version
2103 * Thu Aug 25 2005 Florian octo Forster <octo@verplant.org> 1.7.0-1
2104 - New upstream version
2106 * Sun Aug 21 2005 Florian octo Forster <octo@verplant.org> 1.6.0-1
2107 - New upstream version
2109 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5.1-1
2110 - New upstream version
2112 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5-1
2113 - New upstream version
2115 * Mon Jul 11 2005 Florian octo Forster <octo@verplant.org> 1.4.2-1
2116 - New upstream version
2118 * Sat Jul 09 2005 Florian octo Forster <octo@verplant.org> 1.4-1
2119 - Built on RedHat 7.3