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
38 # plugins only buildable on RHEL6
39 # (NB: %{elN} macro is not available on RHEL < 6)
40 %{?el6:%global _has_libyajl 1}
41 %{?el6:%global _has_recent_libpcap 1}
42 %{?el6:%global _has_recent_sockios_h 1}
43 %{?el6:%global _has_recent_libganglia 1}
44 %{?el6:%global _has_working_libiptc 1}
45 %{?el6:%global _has_ip_vs_h 1}
46 %{?el6:%global _has_libmodbus 1}
48 %{?el7:%global _has_libyajl 1}
49 %{?el7:%global _has_recent_libpcap 1}
50 %{?el7:%global _has_recent_sockios_h 1}
51 %{?el7:%global _has_working_libiptc 1}
52 %{?el7:%global _has_ip_vs_h 1}
53 %{?el7:%global _has_recent_librrd 1}
54 %{?el7:%global _has_varnish4 1}
55 %{?el7:%global _has_broken_libmemcached 1}
57 # plugins enabled by default
58 %define with_aggregation 0%{!?_without_aggregation:1}
59 %define with_amqp 0%{!?_without_amqp:1}
60 %define with_apache 0%{!?_without_apache:1}
61 %define with_apcups 0%{!?_without_apcups:1}
62 %define with_ascent 0%{!?_without_ascent:1}
63 %define with_battery 0%{!?_without_battery:1}
64 %define with_bind 0%{!?_without_bind:1}
65 %define with_conntrack 0%{!?_without_conntrack:1}
66 %define with_contextswitch 0%{!?_without_contextswitch:1}
67 %define with_cpu 0%{!?_without_cpu:1}
68 %define with_cpufreq 0%{!?_without_cpufreq:1}
69 %define with_csv 0%{!?_without_csv:1}
70 %define with_curl 0%{!?_without_curl:1}
71 %define with_curl_json 0%{!?_without_curl_json:0%{?_has_libyajl}}
72 %define with_curl_xml 0%{!?_without_curl_xml:1}
73 %define with_dbi 0%{!?_without_dbi:1}
74 %define with_df 0%{!?_without_df:1}
75 %define with_disk 0%{!?_without_disk:1}
76 %define with_dns 0%{!?_without_dns:0%{?_has_recent_libpcap}}
77 %define with_email 0%{!?_without_email:1}
78 %define with_entropy 0%{!?_without_entropy:1}
79 %define with_ethstat 0%{!?_without_ethstat:0%{?_has_recent_sockios_h}}
80 %define with_exec 0%{!?_without_exec:1}
81 %define with_filecount 0%{!?_without_filecount:1}
82 %define with_fscache 0%{!?_without_fscache:1}
83 %define with_gmond 0%{!?_without_gmond:0%{?_has_recent_libganglia}}
84 %define with_hddtemp 0%{!?_without_hddtemp:1}
85 %define with_interface 0%{!?_without_interface:1}
86 %define with_ipmi 0%{!?_without_ipmi:1}
87 %define with_iptables 0%{!?_without_iptables:0%{?_has_working_libiptc}}
88 %define with_ipvs 0%{!?_without_ipvs:0%{?_has_ip_vs_h}}
89 %define with_irq 0%{!?_without_irq:1}
90 %define with_java 0%{!?_without_java:1}
91 %define with_libvirt 0%{!?_without_libvirt:1}
92 %define with_load 0%{!?_without_load:1}
93 %define with_logfile 0%{!?_without_logfile:1}
94 %define with_madwifi 0%{!?_without_madwifi:1}
95 %define with_mbmon 0%{!?_without_mbmon:1}
96 %define with_md 0%{!?_without_md:1}
97 %define with_memcachec 0%{!?_without_memcachec:0%{!?_has_broken_libmemcached:1}}
98 %define with_memcached 0%{!?_without_memcached:1}
99 %define with_memory 0%{!?_without_memory:1}
100 %define with_multimeter 0%{!?_without_multimeter:1}
101 %define with_modbus 0%{!?_without_modbus:0%{?_has_libmodbus}}
102 %define with_mysql 0%{!?_without_mysql:1}
103 %define with_network 0%{!?_without_network:1}
104 %define with_nfs 0%{!?_without_nfs:1}
105 %define with_nginx 0%{!?_without_nginx:1}
106 %define with_notify_desktop 0%{!?_without_notify_desktop:1}
107 %define with_notify_email 0%{!?_without_notify_email:1}
108 %define with_ntpd 0%{!?_without_ntpd:1}
109 %define with_numa 0%{!?_without_numa:1}
110 %define with_nut 0%{!?_without_nut:1}
111 %define with_olsrd 0%{!?_without_olsrd:1}
112 %define with_openvpn 0%{!?_without_openvpn:1}
113 %define with_perl 0%{!?_without_perl:1}
114 %define with_pinba 0%{!?_without_pinba:1}
115 %define with_ping 0%{!?_without_ping:1}
116 %define with_postgresql 0%{!?_without_postgresql:1}
117 %define with_powerdns 0%{!?_without_powerdns:1}
118 %define with_processes 0%{!?_without_processes:1}
119 %define with_protocols 0%{!?_without_protocols:1}
120 %define with_python 0%{!?_without_python:1}
121 %define with_rrdcached 0%{!?_without_rrdcached:0%{?_has_recent_librrd}}
122 %define with_rrdtool 0%{!?_without_rrdtool:1}
123 %define with_sensors 0%{!?_without_sensors:1}
124 %define with_serial 0%{!?_without_serial:1}
125 %define with_snmp 0%{!?_without_snmp:1}
126 %define with_swap 0%{!?_without_swap:1}
127 %define with_syslog 0%{!?_without_syslog:1}
128 %define with_table 0%{!?_without_table:1}
129 %define with_tail 0%{!?_without_tail:1}
130 %define with_tail_csv 0%{!?_without_tail_csv:1}
131 %define with_tcpconns 0%{!?_without_tcpconns:1}
132 %define with_teamspeak2 0%{!?_without_teamspeak2:1}
133 %define with_ted 0%{!?_without_ted:1}
134 %define with_thermal 0%{!?_without_thermal:1}
135 %define with_threshold 0%{!?_without_threshold:1}
136 %define with_unixsock 0%{!?_without_unixsock:1}
137 %define with_uptime 0%{!?_without_uptime:1}
138 %define with_users 0%{!?_without_users:1}
139 %define with_uuid 0%{!?_without_uuid:1}
140 %define with_varnish 0%{!?_without_varnish:0%{!?_has_varnish4:1}}
141 %define with_vmem 0%{!?_without_vmem:1}
142 %define with_vserver 0%{!?_without_vserver:1}
143 %define with_wireless 0%{!?_without_wireless:1}
144 %define with_write_graphite 0%{!?_without_write_graphite:1}
145 %define with_write_http 0%{!?_without_write_http:1}
146 %define with_write_riemann 0%{!?_without_write_riemann:1}
148 # Plugins not built by default because of dependencies on libraries not
149 # available in RHEL or EPEL:
151 # plugin apple_sensors disabled, requires a Mac
152 %define with_apple_sensors 0%{!?_without_apple_sensors:0}
153 # plugin lpar disabled, requires AIX
154 %define with_lpar 0%{!?_without_lpar:0}
155 # plugin netapp disabled, requires libnetapp
156 %define with_netapp 0%{!?_without_netapp:0}
157 # plugin netlink disabled, requires libnetlink.h
158 %define with_netlink 0%{!?_without_netlink:0}
159 # plugin onewire disabled, requires libowfs
160 %define with_onewire 0%{!?_without_onewire:0}
161 # plugin oracle disabled, requires Oracle
162 %define with_oracle 0%{!?_without_oracle:0}
163 # plugin oracle disabled, requires BSD
164 %define with_pf 0%{!?_without_pf:0}
165 # plugin redis disabled, requires credis
166 %define with_redis 0%{!?_without_redis:0}
167 # plugin routeros disabled, requires librouteros
168 %define with_routeros 0%{!?_without_routeros:0}
169 # plugin tape disabled, requires libkstat
170 %define with_tape 0%{!?_without_tape:0}
171 # plugin tokyotyrant disabled, requires tcrdb.h
172 %define with_tokyotyrant 0%{!?_without_tokyotyrant:0}
173 # plugin write_mongodb disabled, requires libmongoc
174 %define with_write_mongodb 0%{!?_without_write_mongodb:0}
175 # plugin write_redis disabled, requires credis
176 %define with_write_redis 0%{!?_without_write_redis:0}
177 # plugin xmms disabled, requires xmms
178 %define with_xmms 0%{!?_without_xmms:0}
179 # plugin zfs_arc disabled, requires FreeBSD/Solaris
180 %define with_zfs_arc 0%{!?_without_zfs_arc:0}
182 Summary: Statistics collection daemon for filling RRD files
186 URL: http://collectd.org
187 Source: http://collectd.org/files/%{name}-%{version}.tar.bz2
189 Group: System Environment/Daemons
190 BuildRoot: %{_tmppath}/%{name}-%{version}-root
191 BuildRequires: libgcrypt-devel, kernel-headers
192 Vendor: collectd development team <collectd@verplant.org>
194 Requires(post): chkconfig
195 Requires(preun): chkconfig, initscripts
196 Requires(postun): initscripts
199 collectd is a small daemon which collects system information periodically and
200 provides mechanisms to monitor and store the values in a variety of ways. It
201 is written in C for performance. Since the daemon doesn't need to start up
202 every time it wants to update the values it's very fast and easy on the
203 system. Also, the statistics are very fine grained since the files are updated
204 every 10 seconds by default.
208 Summary: AMQP plugin for collectd
209 Group: System Environment/Daemons
210 Requires: %{name}%{?_isa} = %{version}-%{release}
211 BuildRequires: librabbitmq-devel
213 The AMQP plugin transmits or receives values collected by collectd via the
214 Advanced Message Queuing Protocol (AMQP).
219 Summary: Apache plugin for collectd
220 Group: System Environment/Daemons
221 Requires: %{name}%{?_isa} = %{version}-%{release}
222 BuildRequires: curl-devel
224 This plugin collects data provided by Apache's `mod_status'.
229 Summary: Ascent plugin for collectd
230 Group: System Environment/Daemons
231 Requires: %{name}%{?_isa} = %{version}-%{release}
232 BuildRequires: libxml2-devel, curl-devel
234 The Ascent plugin reads and parses the statistics page of Ascent, a free and
235 open-source server software for the game World of Warcraft by Blizzard
241 Summary: Bind plugin for collectd
242 Group: System Environment/Daemons
243 Requires: %{name}%{?_isa} = %{version}-%{release}
244 BuildRequires: libxml2-devel, curl-devel
246 The BIND plugin retrieves this information that's encoded in XML and provided
247 via HTTP and submits the values to collectd.
252 Summary: Curl plugin for collectd
253 Group: System Environment/Daemons
254 Requires: %{name}%{?_isa} = %{version}-%{release}
255 BuildRequires: curl-devel
257 The cURL plugin uses libcurl to read files and then parses them according to
261 %if %{with_curl_json}
263 Summary: Curl_json plugin for collectd
264 Group: System Environment/Daemons
265 Requires: %{name}%{?_isa} = %{version}-%{release}
266 BuildRequires: curl-devel, yajl-devel
267 %description curl_json
268 The cURL-JSON plugin queries JavaScript Object Notation (JSON) data using the
269 cURL library and parses it according to the user's configuration.
274 Summary: Curl_xml plugin for collectd
275 Group: System Environment/Daemons
276 Requires: %{name}%{?_isa} = %{version}-%{release}
277 BuildRequires: curl-devel, libxml2-devel
278 %description curl_xml
279 The cURL-XML plugin reads files using libcurl and parses it as Extensible
280 Markup Language (XML).
285 Summary: DBI plugin for collectd
286 Group: System Environment/Daemons
287 Requires: %{name}%{?_isa} = %{version}-%{release}
288 BuildRequires: libdbi-devel
290 The DBI plugin uses libdbi, a database abstraction library, to execute SQL
291 statements on a database and read back the result.
296 Summary: DNS plugin for collectd
297 Group: System Environment/Daemons
298 Requires: %{name}%{?_isa} = %{version}-%{release}, libpcap >= 1.0
299 BuildRequires: libpcap-devel >= 1.0
301 The DNS plugin has a similar functionality to dnstop: It uses libpcap to get a
302 copy of all traffic from/to port UDP/53 (that's the DNS port), interprets the
303 packets and collects statistics of your DNS traffic.
308 Summary: Email plugin for collectd
309 Group: System Environment/Daemons
310 Requires: %{name}%{?_isa} = %{version}-%{release}, spamassassin
312 This plugin collects data provided by spamassassin.
317 Summary: Gmond plugin for collectd
318 Group: System Environment/Daemons
319 Requires: %{name}%{?_isa} = %{version}-%{release}
320 BuildRequires: ganglia-devel
322 The gmond plugin subscribes to a Multicast group to receive data from gmond,
323 the client daemon of the Ganglia project.
328 Summary: Hddtemp plugin for collectd
329 Group: System Environment/Daemons
330 Requires: %{name}%{?_isa} = %{version}-%{release}, hddtemp
332 The HDDTemp plugin collects the temperature of hard disks. The temperatures are
333 provided via SMART and queried by the external hddtemp daemon.
338 Summary: IPMI plugin for collectd
339 Group: System Environment/Daemons
340 Requires: %{name}%{?_isa} = %{version}-%{release}
341 BuildRequires: OpenIPMI-devel
343 The IPMI plugin uses the OpenIPMI library to read hardware sensors from servers
344 using the Intelligent Platform Management Interface (IPMI).
349 Summary: IPtables plugin for collectd
350 Group: System Environment/Daemons
351 Requires: %{name}%{?_isa} = %{version}-%{release}
352 BuildRequires: iptables-devel
353 %description iptables
354 The IPtables plugin can gather statistics from your ip_tables based packet
355 filter (aka. firewall) for both the IPv4 and the IPv6 protocol. It can collect
356 the byte- and packet-counters of selected rules and submit them to collectd.
361 Summary: Java plugin for collectd
362 Group: System Environment/Daemons
363 Requires: %{name}%{?_isa} = %{version}-%{release}
364 BuildRequires: java-devel, jpackage-utils
365 Requires: java, jpackage-utils
367 This plugin for collectd allows plugins to be written in Java and executed
373 Summary: Libvirt plugin for collectd
374 Group: System Environment/Daemons
375 Requires: %{name}%{?_isa} = %{version}-%{release}
376 BuildRequires: libvirt-devel
378 This plugin collects information from virtualized guests.
381 %if %{with_memcachec}
383 Summary: Memcachec plugin for collectd
384 Group: System Environment/Daemons
385 Requires: %{name}%{?_isa} = %{version}-%{release}
386 BuildRequires: libmemcached-devel
387 %description memcachec
388 The Memcachec plugin uses libmemcached to read statistics from a Memcached
389 instance. Note that another plugin, named `memcached', exists and does a
390 similar job, without requiring the installation of libmemcached.
395 Summary: modbus plugin for collectd
396 Group: System Environment/Daemons
397 Requires: %{name}%{?_isa} = %{version}-%{release}
398 BuildRequires: libmodbus-devel
400 The modbus plugin collects values from Modbus/TCP enabled devices
405 Summary: MySQL plugin for collectd
406 Group: System Environment/Daemons
407 Requires: %{name}%{?_isa} = %{version}-%{release}
408 BuildRequires: mysql-devel
410 MySQL querying plugin. This plugin provides data of issued commands, called
411 handlers and database traffic.
416 Summary: Nginx plugin for collectd
417 Group: System Environment/Daemons
418 Requires: %{name}%{?_isa} = %{version}-%{release}
419 BuildRequires: curl-devel
421 This plugin gets data provided by nginx.
424 %if %{with_notify_desktop}
425 %package notify_desktop
426 Summary: Notify_desktop plugin for collectd
427 Group: System Environment/Daemons
428 Requires: %{name}%{?_isa} = %{version}-%{release}
429 BuildRequires: libnotify-devel, gtk2-devel
430 %description notify_desktop
431 The Notify Desktop plugin uses libnotify to display notifications to the user
432 via the desktop notification specification, i. e. on an X display.
435 %if %{with_notify_email}
436 %package notify_email
437 Summary: Notify_email plugin for collectd
438 Group: System Environment/Daemons
439 Requires: %{name}%{?_isa} = %{version}-%{release}
440 BuildRequires: libesmtp-devel
441 %description notify_email
442 The Notify Email plugin uses libESMTP to send notifications to a configured
448 Summary: Nut plugin for collectd
449 Group: System Environment/Daemons
450 Requires: %{name}%{?_isa} = %{version}-%{release}
451 BuildRequires: nut-devel
453 This plugin for collectd provides Network UPS Tools support.
458 Summary: Perl plugin for collectd
459 Group: System Environment/Daemons
460 Requires: %{name}%{?_isa} = %{version}-%{release}
461 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
463 BuildRequires: perl-ExtUtils-Embed
468 The Perl plugin embeds a Perl interpreter into collectd and exposes the
469 application programming interface (API) to Perl-scripts.
474 Summary: Pinba plugin for collectd
475 Group: System Environment/Daemons
476 Requires: %{name}%{?_isa} = %{version}-%{release}
477 BuildRequires: protobuf-c-devel
479 The Pinba plugin receives and dispatches timing values from Pinba, a profiling
485 Summary: Ping plugin for collectd
486 Group: System Environment/Daemons
487 Requires: %{name}%{?_isa} = %{version}-%{release}
488 BuildRequires: liboping-devel
490 The Ping plugin measures network latency using ICMP “echo requests”, usually
494 %if %{with_postgresql}
496 Summary: PostgreSQL plugin for collectd
497 Group: System Environment/Daemons
498 Requires: %{name}%{?_isa} = %{version}-%{release}
499 BuildRequires: postgresql-devel
500 %description postgresql
501 The PostgreSQL plugin connects to and executes SQL statements on a PostgreSQL
507 Summary: Python plugin for collectd
508 Group: System Environment/Daemons
509 Requires: %{name}%{?_isa} = %{version}-%{release}
511 BuildRequires: python-devel
513 BuildRequires: python26-devel
516 The Python plugin embeds a Python interpreter into collectd and exposes the
517 application programming interface (API) to Python-scripts.
522 Summary: Redis plugin for collectd
523 Group: System Environment/Daemons
524 Requires: %{name}%{?_isa} = %{version}-%{release}
525 BuildRequires: credis-devel
527 The Redis plugin connects to one or more instances of Redis, a key-value store,
528 and collects usage information using the credis library.
531 %if %{with_rrdcached}
533 Summary: RRDCached plugin for collectd
534 Group: System Environment/Daemons
535 Requires: %{name}%{?_isa} = %{version}-%{release}, rrdtool >= 1.4
536 BuildRequires: rrdtool-devel
537 %description rrdcached
538 The RRDCacheD plugin connects to the “RRD caching daemon”, rrdcached and
539 submits updates for RRD files to that daemon.
544 Summary: RRDtool plugin for collectd
545 Group: System Environment/Daemons
546 Requires: %{name}%{?_isa} = %{version}-%{release}
547 BuildRequires: rrdtool-devel
549 The RRDtool plugin writes values to RRD-files using librrd.
554 Summary: Sensors plugin for collectd
555 Group: System Environment/Daemons
556 Requires: %{name}%{?_isa} = %{version}-%{release}
557 BuildRequires: lm_sensors-devel
559 This plugin for collectd provides querying of sensors supported by lm_sensors.
564 Summary: SNMP plugin for collectd
565 Group: System Environment/Daemons
566 Requires: %{name}%{?_isa} = %{version}-%{release}
567 BuildRequires: net-snmp-devel
569 This plugin for collectd allows querying of network equipment using SNMP.
574 Summary: Varnish plugin for collectd
575 Group: System Environment/Daemons
576 Requires: %{name}%{?_isa} = %{version}-%{release}
577 BuildRequires: varnish-libs-devel
579 The Varnish plugin collects information about Varnish, an HTTP accelerator.
582 %if %{with_write_http}
584 Summary: Write-HTTP plugin for collectd
585 Group: System Environment/Daemons
586 Requires: %{name}%{?_isa} = %{version}-%{release}
587 BuildRequires: curl-devel
588 %description write_http
589 The Write-HTTP plugin sends the values collected by collectd to a web-server
590 using HTTP POST requests.
593 %if %{with_write_redis}
595 Summary: Write-Redis plugin for collectd
596 Group: System Environment/Daemons
597 Requires: %{name}%{?_isa} = %{version}-%{release}
598 BuildRequires: credis-devel
599 %description write_redis
600 The Write Redis plugin stores values in Redis, a “data structures server”.
603 %if %{with_write_riemann}
604 %package write_riemann
605 Summary: riemann plugin for collectd
606 Group: System Environment/Daemons
607 Requires: %{name}%{?_isa} = %{version}-%{release}
608 BuildRequires: protobuf-c-devel
609 %description write_riemann
610 The riemann plugin submits values to Riemann, an event stream processor.
614 Summary: Web-based viewer for collectd
615 Group: System Environment/Daemons
616 Requires: %{name}%{?_isa} = %{version}-%{release}
618 %description collection3
619 collection3 is a graphing front-end for the RRD files created by and filled
620 with collectd. It is written in Perl and should be run as an CGI-script.
621 Graphs are generated on-the-fly, so no cron job or similar is necessary.
623 %package php-collection
624 Summary: collect php webfrontent
625 Group: System Environment/Daemons
626 Requires: collectd = %{version}-%{release}
629 Requires: php-rrdtool
630 %description php-collection
631 PHP graphing frontend for RRD files created by and filled with collectd.
634 Summary: Contrib files for collectd
635 Group: System Environment/Daemons
636 Requires: %{name}%{?_isa} = %{version}-%{release}
638 All the files found under contrib/ in the source tree are bundled in this
641 %package -n libcollectdclient
642 Summary: Collectd client library
643 Group: System Environment/Daemons
644 %description -n libcollectdclient
645 Collectd client library
647 %package -n libcollectdclient-devel
648 Summary: Development files for libcollectdclient
649 Group: System Environment/Daemons
651 Requires: libcollectdclient%{?_isa} = %{version}-%{release}
652 %description -n libcollectdclient-devel
653 Development files for libcollectdclient
660 %if %{with_aggregation}
661 %define _with_aggregation --enable-aggregation
663 %define _with_aggregation --disable-aggregation
667 %define _with_amqp --enable-amqp
669 %define _with_amqp --disable-amqp
673 %define _with_apache --enable-apache
675 %define _with_apache --disable-apache
679 %define _with_apcups --enable-apcups
681 %define _with_apcups --disable-apcups
684 %if %{with_apple_sensors}
685 %define _with_apple_sensors --enable-apple_sensors
687 %define _with_apple_sensors --disable-apple_sensors
691 %define _with_ascent --enable-ascent
693 %define _with_ascent --disable-ascent
697 %define _with_battery --enable-battery
699 %define _with_battery --disable-battery
703 %define _with_bind --enable-bind
705 %define _with_bind --disable-bind
708 %if %{with_conntrack}
709 %define _with_conntrack --enable-conntrack
711 %define _with_conntrack --disable-conntrack
714 %if %{with_contextswitch}
715 %define _with_contextswitch --enable-contextswitch
717 %define _with_contextswitch --disable-contextswitch
721 %define _with_cpu --enable-cpu
723 %define _with_cpu --disable-cpu
727 %define _with_cpufreq --enable-cpufreq
729 %define _with_cpufreq --disable-cpufreq
733 %define _with_csv --enable-csv
735 %define _with_csv --disable-csv
739 %define _with_curl --enable-curl
741 %define _with_curl --disable-curl
744 %if %{with_curl_json}
745 %define _with_curl_json --enable-curl_json
747 %define _with_curl_json --disable-curl_json
751 %define _with_curl_xml --enable-curl_xml
753 %define _with_curl_xml --disable-curl_xml
757 %define _with_dbi --enable-dbi
759 %define _with_dbi --disable-dbi --without-libdbi
763 %define _with_df --enable-df
765 %define _with_df --disable-df
769 %define _with_disk --enable-disk
771 %define _with_disk --disable-disk
775 %define _with_dns --enable-dns
777 %define _with_dns --disable-dns
781 %define _with_email --enable-email
783 %define _with_email --disable-email
787 %define _with_entropy --enable-entropy
789 %define _with_entropy --disable-entropy
793 %define _with_ethstat --enable-ethstat
795 %define _with_ethstat --disable-ethstat
799 %define _with_exec --enable-exec
801 %define _with_exec --disable-exec
804 %if %{with_filecount}
805 %define _with_filecount --enable-filecount
807 %define _with_filecount --disable-filecount
811 %define _with_fscache --enable-fscache
813 %define _with_fscache --disable-fscache
817 %define _with_gmond --enable-gmond
819 %define _with_gmond --disable-gmond
823 %define _with_hddtemp --enable-hddtemp
825 %define _with_hddtemp --disable-hddtemp
828 %if %{with_interface}
829 %define _with_interface --enable-interface
831 %define _with_interface --disable-interface
835 %define _with_ipmi --enable-ipmi
837 %define _with_ipmi --disable-ipmi
841 %define _with_iptables --enable-iptables
843 %define _with_iptables --disable-iptables
847 %define _with_ipvs --enable-ipvs
849 %define _with_ipvs --disable-ipvs
853 %define _with_irq --enable-irq
855 %define _with_irq --disable-irq
859 %define _with_java --enable-java --with-java=%{java_home}/
861 %define _with_java --disable-java
865 %define _with_libvirt --enable-libvirt
867 %define _with_libvirt --disable-libvirt
871 %define _with_load --enable-load
873 %define _with_load --disable-load
877 %define _with_logfile --enable-logfile
879 %define _with_logfile --disable-logfile
883 %define _with_lpar --enable-lpar
885 %define _with_lpar --disable-lpar
889 %define _with_madwifi --enable-madwifi
891 %define _with_madwifi --disable-madwifi
895 %define _with_mbmon --enable-mbmon
897 %define _with_mbmon --disable-mbmon
901 %define _with_md --enable-md
903 %define _with_md --disable-md
906 %if %{with_memcachec}
907 %define _with_memcachec --enable-memcachec
909 %define _with_memcachec --disable-memcachec
912 %if %{with_memcached}
913 %define _with_memcached --enable-memcached
915 %define _with_memcached --disable-memcached
919 %define _with_memory --enable-memory
921 %define _with_memory --disable-memory
925 %define _with_modbus --enable-modbus
927 %define _with_modbus --disable-modbus
930 %if %{with_multimeter}
931 %define _with_multimeter --enable-multimeter
933 %define _with_multimeter --disable-multimeter
937 %define _with_mysql --enable-mysql
939 %define _with_mysql --disable-mysql
943 %define _with_netapp --enable-netapp
945 %define _with_netapp --disable-netapp
949 %define _with_netlink --enable-netlink
951 %define _with_netlink --disable-netlink
955 %define _with_network --enable-network
957 %define _with_network --disable-network
961 %define _with_nfs --enable-nfs
963 %define _with_nfs --disable-nfs
967 %define _with_nginx --enable-nginx
969 %define _with_nginx --disable-nginx
972 %if %{with_notify_desktop}
973 %define _with_notify_desktop --enable-notify_desktop
975 %define _with_notify_desktop --disable-notify_desktop
978 %if %{with_notify_email}
979 %define _with_notify_email --enable-notify_email
981 %define _with_notify_email --disable-notify_email --without-libesmpt
985 %define _with_ntpd --enable-ntpd
987 %define _with_ntpd --disable-ntpd
991 %define _with_numa --enable-numa
993 %define _with_numa --disable-numa
997 %define _with_nut --enable-nut
999 %define _with_nut --disable-nut
1003 %define _with_olsrd --enable-olsrd
1005 %define _with_olsrd --disable-olsrd
1009 %define _with_onewire --enable-onewire
1011 %define _with_onewire --disable-onewire
1015 %define _with_openvpn --enable-openvpn
1017 %define _with_openvpn --disable-openvpn
1021 %define _with_oracle --enable-oracle
1023 %define _with_oracle --disable-oracle
1027 %define _with_perl --enable-perl --with-perl-bindings="INSTALLDIRS=vendor"
1029 %define _with_perl --disable-perl --without-libperl
1033 %define _with_pf --enable-pf
1035 %define _with_pf --disable-pf
1039 %define _with_pinba --enable-pinba
1041 %define _with_pinba --disable-pinba
1045 %define _with_ping --enable-ping
1047 %define _with_ping --disable-ping
1050 %if %{with_postgresql}
1051 %define _with_postgresql --enable-postgresql
1053 %define _with_postgresql --disable-postgresql
1056 %if %{with_powerdns}
1057 %define _with_powerdns --enable-powerdns
1059 %define _with_powerdns --disable-powerdns
1062 %if %{with_processes}
1063 %define _with_processes --enable-processes
1065 %define _with_processes --disable-processes
1068 %if %{with_protocols}
1069 %define _with_protocols --enable-protocols
1071 %define _with_protocols --disable-protocols
1076 %define _with_python --enable-python
1078 %define _with_python --enable-python --with-python=%{_bindir}/python2.6
1081 %define _with_python --disable-python
1085 %define _with_redis --enable-redis
1087 %define _with_redis --disable-redis
1090 %if %{with_routeros}
1091 %define _with_routeros --enable-routeros
1093 %define _with_routeros --disable-routeros
1096 %if %{with_rrdcached}
1097 %define _with_rrdcached --enable-rrdcached
1099 %define _with_rrdcached --disable-rrdcached
1103 %define _with_rrdtool --enable-rrdtool
1105 %define _with_rrdtool --disable-rrdtool
1109 %define _with_sensors --enable-sensors
1111 %define _with_sensors --disable-sensors
1115 %define _with_serial --enable-serial
1117 %define _with_serial --disable-serial
1121 %define _with_snmp --enable-snmp
1123 %define _with_snmp --disable-snmp
1127 %define _with_swap --enable-swap
1129 %define _with_swap --disable-swap
1133 %define _with_syslog --enable-syslog
1135 %define _with_syslog --disable-syslog
1139 %define _with_table --enable-table
1141 %define _with_table --disable-table
1145 %define _with_tail --enable-tail
1147 %define _with_tail --disable-tail
1150 %if %{with_tail_csv}
1151 %define _with_tail_csv --enable-tail_csv
1153 %define _with_tail_csv --disable-tail_csv
1157 %define _with_tape --enable-tape
1159 %define _with_tape --disable-tape
1162 %if %{with_tcpconns}
1163 %define _with_tcpconns --enable-tcpconns
1165 %define _with_tcpconns --disable-tcpconns
1168 %if %{with_teamspeak2}
1169 %define _with_teamspeak2 --enable-teamspeak2
1171 %define _with_teamspeak2 --disable-teamspeak2
1175 %define _with_ted --enable-ted
1177 %define _with_ted --disable-ted
1181 %define _with_thermal --enable-thermal
1183 %define _with_thermal --disable-thermal
1186 %if %{with_threshold}
1187 %define _with_threshold --enable-threshold
1189 %define _with_threshold --disable-threshold
1192 %if %{with_tokyotyrant}
1193 %define _with_tokyotyrant --enable-tokyotyrant
1195 %define _with_tokyotyrant --disable-tokyotyrant
1198 %if %{with_unixsock}
1199 %define _with_unixsock --enable-unixsock
1201 %define _with_unixsock --disable-unixsock
1205 %define _with_uptime --enable-uptime
1207 %define _with_uptime --disable-uptime
1211 %define _with_users --enable-users
1213 %define _with_users --disable-users
1217 %define _with_uuid --enable-uuid
1219 %define _with_uuid --disable-uuid
1223 %define _with_varnish --enable-varnish
1225 %define _with_varnish --disable-varnish
1229 %define _with_vmem --enable-vmem
1231 %define _with_vmem --disable-vmem
1235 %define _with_vserver --enable-vserver
1237 %define _with_vserver --disable-vserver
1240 %if %{with_wireless}
1241 %define _with_wireless --enable-wireless
1243 %define _with_wireless --disable-wireless
1246 %if %{with_write_graphite}
1247 %define _with_write_graphite --enable-write_graphite
1249 %define _with_write_graphite --disable-write_graphite
1252 %if %{with_write_http}
1253 %define _with_write_http --enable-write_http
1255 %define _with_write_http --disable-write_http
1258 %if %{with_write_mongodb}
1259 %define _with_write_mongodb --enable-write_mongodb
1261 %define _with_write_mongodb --disable-write_mongodb --without-libmongoc
1264 %if %{with_write_redis}
1265 %define _with_write_redis --enable-write_redis
1267 %define _with_write_redis --disable-write_redis --without-libcredis
1270 %if %{with_write_riemann}
1271 %define _with_write_riemann --enable-write_riemann
1273 %define _with_write_riemann --disable-write_riemann
1277 %define _with_xmms --enable-xmms
1279 %define _with_xmms --disable-xmms
1283 %define _with_zfs_arc --enable-zfs_arc
1285 %define _with_zfs_arc --disable-zfs_arc
1288 %configure CFLAGS="%{optflags} -DLT_LAZY_OR_NOW=\"RTLD_LAZY|RTLD_GLOBAL\"" \
1290 --without-included-ltdl \
1291 --enable-all-plugins=yes \
1292 --enable-match_empty_counter \
1293 --enable-match_hashed \
1294 --enable-match_regex \
1295 --enable-match_timediff \
1296 --enable-match_value \
1297 --enable-target_notification \
1298 --enable-target_replace \
1299 --enable-target_scale \
1300 --enable-target_set \
1301 --enable-target_v5upgrade \
1302 %{?_with_aggregation} \
1306 %{?_with_apple_sensors} \
1310 %{?_with_conntrack} \
1311 %{?_with_contextswitch} \
1316 %{?_with_curl_json} \
1317 %{?_with_curl_xml} \
1326 %{?_with_filecount} \
1330 %{?_with_interface} \
1332 %{?_with_iptables} \
1337 %{?_with_memcachec} \
1339 %{?_with_multimeter} \
1344 %{?_with_notify_desktop} \
1345 %{?_with_notify_email} \
1353 %{?_with_postgresql} \
1356 %{?_with_routeros} \
1357 %{?_with_rrdcached} \
1362 %{?_with_tokyotyrant} \
1364 %{?_with_write_http} \
1365 %{?_with_write_mongodb} \
1366 %{?_with_write_redis} \
1375 %{?_with_memcached} \
1383 %{?_with_powerdns} \
1384 %{?_with_processes} \
1385 %{?_with_protocols} \
1391 %{?_with_tail_csv} \
1392 %{?_with_tcpconns} \
1393 %{?_with_teamspeak2} \
1396 %{?_with_threshold} \
1397 %{?_with_unixsock} \
1404 %{?_with_write_graphite} \
1405 %{?_with_write_http} \
1406 %{?_with_write_riemann}
1409 %{__make} %{?_smp_mflags}
1414 %{__make} install DESTDIR=%{buildroot}
1415 %{__install} -Dp -m 0755 contrib/redhat/init.d-collectd %{buildroot}%{_initrddir}/collectd
1416 %{__install} -Dp -m0644 src/collectd.conf %{buildroot}%{_sysconfdir}/collectd.conf
1417 %{__install} -d %{buildroot}%{_sharedstatedir}/collectd/
1418 %{__install} -d %{buildroot}%{_sysconfdir}/collectd.d/
1420 %{__mkdir} -p %{buildroot}%{_localstatedir}/www
1421 %{__mkdir} -p %{buildroot}/%{_sysconfdir}/httpd/conf.d
1423 %{__cp} -a contrib/collection3 %{buildroot}%{_localstatedir}/www
1424 %{__cp} -a contrib/redhat/collection3.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
1426 %{__cp} -a contrib/php-collection %{buildroot}%{_localstatedir}/www
1427 %{__cp} -a contrib/redhat/php-collection.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
1430 find contrib/ -type f -exec %{__chmod} a-x {} \;
1431 # *.la files shouldn't be distributed.
1432 rm -f %{buildroot}/%{_libdir}/{collectd/,}*.la
1434 # Move the Perl examples to a separate directory.
1436 find contrib -name '*.p[lm]' -exec mv {} perl-examples/ \;
1438 # Remove Perl hidden .packlist files.
1439 find %{buildroot} -type f -name .packlist -delete
1440 # Remove Perl temporary file perllocal.pod
1441 find %{buildroot} -type f -name perllocal.pod -delete
1444 rm -f %{buildroot}%{_mandir}/man5/collectd-java.5*
1448 rm -f %{buildroot}%{_mandir}/man5/collectd-perl.5*
1449 rm -f %{buildroot}%{_mandir}/man3/Collectd::Unixsock.3pm*
1450 rm -fr perl-examples/
1451 rm -fr %{buildroot}/usr/lib/perl5/
1454 %if ! %{with_python}
1455 rm -f %{buildroot}%{_mandir}/man5/collectd-python.5*
1459 rm -f %{buildroot}%{_mandir}/man5/collectd-snmp.5*
1467 /sbin/chkconfig --add collectd
1470 if [ $1 -eq 0 ]; then
1471 /sbin/service collectd stop &>/dev/null
1472 /sbin/chkconfig --del collectd
1476 if [ $1 -ge 1 ]; then
1477 /sbin/service collectd condrestart &>/dev/null || :
1480 %post -n libcollectdclient -p /sbin/ldconfig
1481 %postun -n libcollectdclient -p /sbin/ldconfig
1485 %doc AUTHORS COPYING ChangeLog README
1486 %config(noreplace) %{_sysconfdir}/collectd.conf
1487 %{_initrddir}/collectd
1488 %{_sbindir}/collectd
1489 %{_bindir}/collectd-nagios
1490 %{_bindir}/collectd-tg
1491 %{_bindir}/collectdctl
1492 %{_sbindir}/collectdmon
1493 %{_datadir}/collectd/
1494 %{_sharedstatedir}/collectd
1495 %{_mandir}/man1/collectd-nagios.1*
1496 %{_mandir}/man1/collectd.1*
1497 %{_mandir}/man1/collectdctl.1*
1498 %{_mandir}/man1/collectdmon.1*
1499 %{_mandir}/man1/collectd-tg.1*
1500 %{_mandir}/man5/collectd-email.5*
1501 %{_mandir}/man5/collectd-exec.5*
1502 %{_mandir}/man5/collectd-threshold.5*
1503 %{_mandir}/man5/collectd-unixsock.5*
1504 %{_mandir}/man5/collectd.conf.5*
1505 %{_mandir}/man5/types.db.5*
1507 # all plugins bundled with the main collectd package
1508 %{_libdir}/%{name}/match_empty_counter.so
1509 %{_libdir}/%{name}/match_hashed.so
1510 %{_libdir}/%{name}/match_regex.so
1511 %{_libdir}/%{name}/match_timediff.so
1512 %{_libdir}/%{name}/match_value.so
1513 %{_libdir}/%{name}/target_notification.so
1514 %{_libdir}/%{name}/target_replace.so
1515 %{_libdir}/%{name}/target_scale.so
1516 %{_libdir}/%{name}/target_set.so
1517 %{_libdir}/%{name}/target_v5upgrade.so
1519 %if %{with_aggregation}
1520 %{_libdir}/%{name}/aggregation.so
1523 %{_libdir}/%{name}/apcups.so
1526 %{_libdir}/%{name}/battery.so
1528 %if %{with_conntrack}
1529 %{_libdir}/%{name}/conntrack.so
1531 %if %{with_contextswitch}
1532 %{_libdir}/%{name}/contextswitch.so
1535 %{_libdir}/%{name}/cpu.so
1538 %{_libdir}/%{name}/cpufreq.so
1541 %{_libdir}/%{name}/csv.so
1544 %{_libdir}/%{name}/df.so
1547 %{_libdir}/%{name}/disk.so
1550 %{_libdir}/%{name}/ethstat.so
1553 %{_libdir}/%{name}/entropy.so
1556 %{_libdir}/%{name}/exec.so
1558 %if %{with_filecount}
1559 %{_libdir}/%{name}/filecount.so
1562 %{_libdir}/%{name}/fscache.so
1564 %if %{with_interface}
1565 %{_libdir}/%{name}/interface.so
1568 %{_libdir}/%{name}/ipvs.so
1571 %{_libdir}/%{name}/irq.so
1574 %{_libdir}/%{name}/load.so
1577 %{_libdir}/%{name}/logfile.so
1580 %{_libdir}/%{name}/madwifi.so
1583 %{_libdir}/%{name}/mbmon.so
1586 %{_libdir}/%{name}/md.so
1588 %if %{with_memcached}
1589 %{_libdir}/%{name}/memcached.so
1592 %{_libdir}/%{name}/memory.so
1594 %if %{with_multimeter}
1595 %{_libdir}/%{name}/multimeter.so
1598 %{_libdir}/%{name}/network.so
1601 %{_libdir}/%{name}/nfs.so
1604 %{_libdir}/%{name}/ntpd.so
1607 %{_libdir}/%{name}/numa.so
1610 %{_libdir}/%{name}/openvpn.so
1613 %{_libdir}/%{name}/olsrd.so
1615 %if %{with_powerdns}
1616 %{_libdir}/%{name}/powerdns.so
1618 %if %{with_processes}
1619 %{_libdir}/%{name}/processes.so
1621 %if %{with_protocols}
1622 %{_libdir}/%{name}/protocols.so
1625 %{_libdir}/%{name}/serial.so
1628 %{_libdir}/%{name}/swap.so
1631 %{_libdir}/%{name}/syslog.so
1634 %{_libdir}/%{name}/table.so
1637 %{_libdir}/%{name}/tail.so
1639 %if %{with_tail_csv}
1640 %{_libdir}/%{name}/tail_csv.so
1642 %if %{with_tcpconns}
1643 %{_libdir}/%{name}/tcpconns.so
1645 %if %{with_teamspeak2}
1646 %{_libdir}/%{name}/teamspeak2.so
1649 %{_libdir}/%{name}/ted.so
1652 %{_libdir}/%{name}/thermal.so
1655 %{_libdir}/%{name}/threshold.so
1657 %if %{with_unixsock}
1658 %{_libdir}/%{name}/unixsock.so
1661 %{_libdir}/%{name}/uptime.so
1664 %{_libdir}/%{name}/users.so
1667 %{_libdir}/%{name}/uuid.so
1670 %{_libdir}/%{name}/vmem.so
1673 %{_libdir}/%{name}/vserver.so
1675 %if %{with_wireless}
1676 %{_libdir}/%{name}/wireless.so
1678 %if %{with_write_graphite}
1679 %{_libdir}/%{name}/write_graphite.so
1683 %files -n libcollectdclient-devel
1684 %{_includedir}/collectd/client.h
1685 %{_includedir}/collectd/network.h
1686 %{_includedir}/collectd/network_buffer.h
1687 %{_includedir}/collectd/lcc_features.h
1688 %{_libdir}/pkgconfig/libcollectdclient.pc
1690 %files -n libcollectdclient
1691 %{_libdir}/libcollectdclient.so
1692 %{_libdir}/libcollectdclient.so.*
1696 %{_libdir}/%{name}/amqp.so
1701 %{_libdir}/%{name}/apache.so
1706 %{_libdir}/%{name}/ascent.so
1711 %{_libdir}/%{name}/bind.so
1716 %{_libdir}/%{name}/curl.so
1719 %if %{with_curl_json}
1721 %{_libdir}/%{name}/curl_json.so
1724 %if %{with_curl_xml}
1726 %{_libdir}/%{name}/curl_xml.so
1731 %{_libdir}/%{name}/dns.so
1736 %{_libdir}/%{name}/dbi.so
1741 %{_libdir}/%{name}/email.so
1746 %{_libdir}/%{name}/gmond.so
1751 %{_libdir}/%{name}/hddtemp.so
1756 %{_libdir}/%{name}/ipmi.so
1759 %if %{with_iptables}
1761 %{_libdir}/%{name}/iptables.so
1766 %{_prefix}/share/collectd/java/collectd-api.jar
1767 %{_prefix}/share/collectd/java/generic-jmx.jar
1768 %{_libdir}/%{name}/java.so
1769 %{_mandir}/man5/collectd-java.5*
1774 %{_libdir}/%{name}/libvirt.so
1777 %if %{with_memcachec}
1779 %{_libdir}/%{name}/memcachec.so
1784 %{_libdir}/%{name}/modbus.so
1789 %{_libdir}/%{name}/mysql.so
1794 %{_libdir}/%{name}/nginx.so
1797 %if %{with_notify_desktop}
1798 %files notify_desktop
1799 %{_libdir}/%{name}/notify_desktop.so
1802 %if %{with_notify_email}
1804 %{_libdir}/%{name}/notify_email.so
1809 %{_libdir}/%{name}/nut.so
1814 %doc perl-examples/*
1815 %{perl_vendorlib}/Collectd.pm
1816 %{perl_vendorlib}/Collectd/
1817 %{_mandir}/man3/Collectd::Unixsock.3pm*
1818 %{_mandir}/man5/collectd-perl.5*
1819 %{_libdir}/%{name}/perl.so
1824 %{_libdir}/%{name}/pinba.so
1829 %{_libdir}/%{name}/ping.so
1832 %if %{with_postgresql}
1834 %{_prefix}/share/collectd/postgresql_default.conf
1835 %{_libdir}/%{name}/postgresql.so
1840 %{_mandir}/man5/collectd-python*
1841 %{_libdir}/%{name}/python.so
1846 %{_libdir}/%{name}/redis.so
1849 %if %{with_rrdcached}
1851 %{_libdir}/%{name}/rrdcached.so
1856 %{_libdir}/%{name}/rrdtool.so
1861 %{_libdir}/%{name}/sensors.so
1866 %{_mandir}/man5/collectd-snmp.5*
1867 %{_libdir}/%{name}/snmp.so
1872 %{_libdir}/%{name}/varnish.so
1875 %if %{with_write_http}
1877 %{_libdir}/%{name}/write_http.so
1880 %if %{with_write_redis}
1882 %{_libdir}/%{name}/write_redis.so
1885 %if %{with_write_riemann}
1886 %files write_riemann
1887 %{_libdir}/%{name}/write_riemann.so
1891 %{_localstatedir}/www/collection3
1892 %{_sysconfdir}/httpd/conf.d/collection3.conf
1894 %files php-collection
1895 %{_localstatedir}/www/php-collection
1896 %{_sysconfdir}/httpd/conf.d/php-collection.conf
1902 * Tue Aug 06 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.1-1
1903 - New upstream version
1904 - Added RHEL5 support:
1905 * conditionally disable plugins not building on this platform
1906 * add/specify some build dependencies and options
1907 * replace some RPM macros not available on this platform
1908 - Removed duplicate --enable-aggregation
1909 - Added some comments & usage examples
1910 - Replaced a couple of "Buildrequires" by "BuildRequires"
1911 - Enabled modbus plugin
1912 - Allow perl plugin to build on RHEL5
1913 - Add support for RHEL7
1915 * Wed Apr 10 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.0-1
1916 - New upstream version
1917 - Enabled write_riemann plugin
1918 - Enabled tail_csv plugin
1919 - Installed collectd-tc manpage
1921 * Fri Jan 11 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-3
1922 - remove dependency on libstatgrab, which isn't required on linux
1924 * Thu Jan 03 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-2
1925 - collection3 and php-collection viewers are now in separate packages
1927 * Fri Dec 21 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-1
1928 - New upstream version
1929 - Enabled aggregation plugin
1930 - Installed collectd-tc
1931 - Added network.h and network_buffer.h to libcollectdclient-devel
1932 - Moved libxml2-devel and libcurl-devel BRs to relevant plugins sections
1933 - Moved libcollectdclient.so from libcollectdclient-devel to libcollectdclient
1934 - Added rrdcached and redis plugin descriptions
1935 - Mentioned new pf plugin in disabled plugins list
1937 * Sun Nov 18 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-3
1938 - Follow Fedora Packaging Guidelines in java subpackage
1940 * Sat Nov 17 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-2
1941 - Move perl stuff to perl_vendorlib
1942 - Replace hardcoded paths with macros
1943 - Remove unneccesary Requires
1944 - Removed .a and .la files
1945 - Some other small cleanups
1947 * Fri Nov 16 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.1.0-1
1948 - New upstream version
1949 - Changes to support 5.1.0
1950 - Enabled all buildable plugins based on libraries available on EL6 + EPEL
1951 - All plugins requiring external libraries are now shipped in seperate
1953 - No longer treat Java plugin as an exception, correctly set $JAVA_HOME during
1954 the build process + ensure build deps are installed.
1955 - Dropped per-plugin configuration files, as they tend to diverge from upstream
1957 - Moved perl stuff to /usr/share/perl5/
1958 - Don't alter Interval and ReadThreads by default, let the user change this
1960 - Initscript improvements:
1961 * checks configuration before (re)starting, based on debian's initscript
1962 * use /etc/sysconfig instdead of /etc/default
1963 * include optional $ARGS in arguments passed to collectd.
1964 - Drop collection.cgi from main package, as it's been obsoleted by collection3
1965 - Moved contrib/ to its own package, to avoid cluttering the main package with
1966 non-essential stuff.
1967 - Replaced BuildPrereq by BuildRequires
1969 * Mon Jan 03 2011 Monetate <jason.stelzer@monetate.com> 5.0.1
1970 - New upstream version
1971 - Changes to support 5.0.1
1973 * Mon Jan 04 2010 Rackspace <stu.hood@rackspace.com> 4.9.0
1974 - New upstream version
1975 - Changes to support 4.9.0
1976 - Added support for Java/GenericJMX plugin
1978 * Mon Mar 17 2008 RightScale <support@rightscale.com> 4.3.1
1979 - New upstream version
1980 - Changes to support 4.3.1
1981 - Added More Prereqs to support more plugins
1982 - Added support for perl plugin
1984 * Mon Aug 06 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.6
1985 - New upstream version
1987 * Wed Jul 25 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.5
1989 - Changes to support 4.0.5
1991 * Thu Jan 11 2007 Iain Lea <iain@bricbrac.de> 3.11.0-0
1992 - fixed spec file to build correctly on fedora core
1993 - added improved init.d script to work with chkconfig
1994 - added %%post and %%postun to call chkconfig automatically
1996 * Sun Jul 09 2006 Florian octo Forster <octo@verplant.org> 3.10.0-1
1997 - New upstream version
1999 * Sun Jun 25 2006 Florian octo Forster <octo@verplant.org> 3.9.4-1
2000 - New upstream version
2002 * Thu Jun 01 2006 Florian octo Forster <octo@verplant.org> 3.9.3-1
2003 - New upstream version
2005 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.9.2-1
2006 - New upstream version
2008 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.8.5-1
2009 - New upstream version
2011 * Fri Apr 21 2006 Florian octo Forster <octo@verplant.org> 3.9.1-1
2012 - New upstream version
2014 * Fri Apr 14 2006 Florian octo Forster <octo@verplant.org> 3.9.0-1
2015 - New upstream version
2016 - Added the `apache' package.
2018 * Tue Mar 14 2006 Florian octo Forster <octo@verplant.org> 3.8.2-1
2019 - New upstream version
2021 * Mon Mar 13 2006 Florian octo Forster <octo@verplant.org> 3.8.1-1
2022 - New upstream version
2024 * Thu Mar 09 2006 Florian octo Forster <octo@verplant.org> 3.8.0-1
2025 - New upstream version
2027 * Sat Feb 18 2006 Florian octo Forster <octo@verplant.org> 3.7.2-1
2028 - Include `tape.so' so the build doesn't terminate because of missing files..
2029 - New upstream version
2031 * Sat Feb 04 2006 Florian octo Forster <octo@verplant.org> 3.7.1-1
2032 - New upstream version
2034 * Mon Jan 30 2006 Florian octo Forster <octo@verplant.org> 3.7.0-1
2035 - New upstream version
2036 - Removed the extra `hddtemp' package
2038 * Tue Jan 24 2006 Florian octo Forster <octo@verplant.org> 3.6.2-1
2039 - New upstream version
2041 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.1-1
2042 - New upstream version
2044 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.0-1
2045 - New upstream version
2046 - Added config file, `collectd.conf(5)', `df.so'
2047 - Added package `collectd-mysql', dependency on `mysqlclient10 | mysql'
2049 * Wed Dec 07 2005 Florian octo Forster <octo@verplant.org> 3.5.0-1
2050 - New upstream version
2052 * Sat Nov 26 2005 Florian octo Forster <octo@verplant.org> 3.4.0-1
2053 - New upstream version
2055 * Sat Nov 05 2005 Florian octo Forster <octo@verplant.org> 3.3.0-1
2056 - New upstream version
2058 * Wed Oct 26 2005 Florian octo Forster <octo@verplant.org> 3.2.0-1
2059 - New upstream version
2060 - Added statement to remove the `*.la' files. This fixes a problem when
2061 `Unpackaged files terminate build' is in effect.
2062 - Added `processes.so*' to the main package
2064 * Fri Oct 14 2005 Florian octo Forster <octo@verplant.org> 3.1.0-1
2065 - New upstream version
2066 - Added package `collectd-hddtemp'
2068 * Fri Sep 30 2005 Florian octo Forster <octo@verplant.org> 3.0.0-1
2069 - New upstream version
2070 - Split the package into `collectd' and `collectd-sensors'
2072 * Fri Sep 16 2005 Florian octo Forster <octo@verplant.org> 2.1.0-1
2073 - New upstream version
2075 * Sat Sep 10 2005 Florian octo Forster <octo@verplant.org> 2.0.0-1
2076 - New upstream version
2078 * Mon Aug 29 2005 Florian octo Forster <octo@verplant.org> 1.8.0-1
2079 - New upstream version
2081 * Thu Aug 25 2005 Florian octo Forster <octo@verplant.org> 1.7.0-1
2082 - New upstream version
2084 * Sun Aug 21 2005 Florian octo Forster <octo@verplant.org> 1.6.0-1
2085 - New upstream version
2087 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5.1-1
2088 - New upstream version
2090 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5-1
2091 - New upstream version
2093 * Mon Jul 11 2005 Florian octo Forster <octo@verplant.org> 1.4.2-1
2094 - New upstream version
2096 * Sat Jul 09 2005 Florian octo Forster <octo@verplant.org> 1.4-1
2097 - Built on RedHat 7.3