Merge pull request #827 from yogeswaran/collectdctl
[collectd.git] / contrib / redhat / collectd.spec
1 #
2 # q: What is this ?
3 # a: A specfile for building RPM packages of current collectd releases, for
4 #    RHEL/CentOS versions 5, 6 and 7. By default all the plugins which are
5 #    buildable based on the libraries available in the distribution + the
6 #    EPEL repository, will be built. Plugins depending on external libs will
7 #    be packaged in separate RPMs.
8 #
9 # q: And how can I do that ?
10 # a: By following these instructions, using mock:
11 #
12 # - install and configure mock (https://fedoraproject.org/wiki/Projects/Mock)
13 #
14 # - enable the EPEL repository (http://dl.fedoraproject.org/pub/epel/) in the
15 #   configuration files for your target systems (/etc/mock/*.cfg).
16 #
17 # - copy this file in your ~/rpmbuild/SPECS/ directory
18 #
19 # - fetch the desired collectd release file from https://collectd.org/files/
20 #   and save it in your ~/rpmbuild/SOURCES/ directory
21 #
22 # - build the SRPM first:
23 #   mock -r centos-6-x86_64 --buildsrpm --spec ~/rpmbuild/SPECS/collectd.spec \
24 #     --sources ~/rpmbuild/SOURCES/
25 #
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
29 #
30 # - you can also optionally enable/disable plugins which are disabled/enabled
31 #   by default:
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
34 #
35
36 %global _hardened_build 1
37
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}
47 %{?el6:%global _has_iproute 1}
48
49 %{?el7:%global _has_libyajl 1}
50 %{?el7:%global _has_recent_libpcap 1}
51 %{?el7:%global _has_recent_sockios_h 1}
52 %{?el7:%global _has_working_libiptc 1}
53 %{?el7:%global _has_ip_vs_h 1}
54 %{?el7:%global _has_recent_librrd 1}
55 %{?el7:%global _has_varnish4 1}
56 %{?el7:%global _has_broken_libmemcached 1}
57 %{?el7:%global _has_iproute 1}
58
59 # plugins enabled by default
60 %define with_aggregation 0%{!?_without_aggregation:1}
61 %define with_amqp 0%{!?_without_amqp:1}
62 %define with_apache 0%{!?_without_apache:1}
63 %define with_apcups 0%{!?_without_apcups:1}
64 %define with_ascent 0%{!?_without_ascent:1}
65 %define with_battery 0%{!?_without_battery:1}
66 %define with_bind 0%{!?_without_bind:1}
67 %define with_conntrack 0%{!?_without_conntrack:1}
68 %define with_contextswitch 0%{!?_without_contextswitch:1}
69 %define with_cpu 0%{!?_without_cpu:1}
70 %define with_cpufreq 0%{!?_without_cpufreq:1}
71 %define with_csv 0%{!?_without_csv:1}
72 %define with_curl 0%{!?_without_curl:1}
73 %define with_curl_json 0%{!?_without_curl_json:0%{?_has_libyajl}}
74 %define with_curl_xml 0%{!?_without_curl_xml:1}
75 %define with_dbi 0%{!?_without_dbi:1}
76 %define with_df 0%{!?_without_df:1}
77 %define with_disk 0%{!?_without_disk:1}
78 %define with_dns 0%{!?_without_dns:0%{?_has_recent_libpcap}}
79 %define with_email 0%{!?_without_email:1}
80 %define with_entropy 0%{!?_without_entropy:1}
81 %define with_ethstat 0%{!?_without_ethstat:0%{?_has_recent_sockios_h}}
82 %define with_exec 0%{!?_without_exec:1}
83 %define with_filecount 0%{!?_without_filecount:1}
84 %define with_fscache 0%{!?_without_fscache:1}
85 %define with_gmond 0%{!?_without_gmond:0%{?_has_recent_libganglia}}
86 %define with_hddtemp 0%{!?_without_hddtemp:1}
87 %define with_interface 0%{!?_without_interface:1}
88 %define with_ipmi 0%{!?_without_ipmi:1}
89 %define with_iptables 0%{!?_without_iptables:0%{?_has_working_libiptc}}
90 %define with_ipvs 0%{!?_without_ipvs:0%{?_has_ip_vs_h}}
91 %define with_irq 0%{!?_without_irq:1}
92 %define with_java 0%{!?_without_java:1}
93 %define with_libvirt 0%{!?_without_libvirt:1}
94 %define with_load 0%{!?_without_load:1}
95 %define with_logfile 0%{!?_without_logfile:1}
96 %define with_madwifi 0%{!?_without_madwifi:1}
97 %define with_mbmon 0%{!?_without_mbmon:1}
98 %define with_md 0%{!?_without_md:1}
99 %define with_memcachec 0%{!?_without_memcachec:0%{!?_has_broken_libmemcached:1}}
100 %define with_memcached 0%{!?_without_memcached:1}
101 %define with_memory 0%{!?_without_memory:1}
102 %define with_multimeter 0%{!?_without_multimeter:1}
103 %define with_modbus 0%{!?_without_modbus:0%{?_has_libmodbus}}
104 %define with_mysql 0%{!?_without_mysql:1}
105 %define with_netlink 0%{!?_without_netlink:0%{?_has_iproute}}
106 %define with_network 0%{!?_without_network:1}
107 %define with_nfs 0%{!?_without_nfs:1}
108 %define with_nginx 0%{!?_without_nginx:1}
109 %define with_notify_desktop 0%{!?_without_notify_desktop:1}
110 %define with_notify_email 0%{!?_without_notify_email:1}
111 %define with_ntpd 0%{!?_without_ntpd:1}
112 %define with_numa 0%{!?_without_numa:1}
113 %define with_nut 0%{!?_without_nut:1}
114 %define with_olsrd 0%{!?_without_olsrd:1}
115 %define with_openvpn 0%{!?_without_openvpn:1}
116 %define with_perl 0%{!?_without_perl:1}
117 %define with_pinba 0%{!?_without_pinba:1}
118 %define with_ping 0%{!?_without_ping:1}
119 %define with_postgresql 0%{!?_without_postgresql:1}
120 %define with_powerdns 0%{!?_without_powerdns:1}
121 %define with_processes 0%{!?_without_processes:1}
122 %define with_protocols 0%{!?_without_protocols:1}
123 %define with_python 0%{!?_without_python:1}
124 %define with_rrdcached 0%{!?_without_rrdcached:0%{?_has_recent_librrd}}
125 %define with_rrdtool 0%{!?_without_rrdtool:1}
126 %define with_sensors 0%{!?_without_sensors:1}
127 %define with_serial 0%{!?_without_serial:1}
128 %define with_snmp 0%{!?_without_snmp:1}
129 %define with_swap 0%{!?_without_swap:1}
130 %define with_syslog 0%{!?_without_syslog:1}
131 %define with_table 0%{!?_without_table:1}
132 %define with_tail 0%{!?_without_tail:1}
133 %define with_tail_csv 0%{!?_without_tail_csv:1}
134 %define with_tcpconns 0%{!?_without_tcpconns:1}
135 %define with_teamspeak2 0%{!?_without_teamspeak2:1}
136 %define with_ted 0%{!?_without_ted:1}
137 %define with_thermal 0%{!?_without_thermal:1}
138 %define with_threshold 0%{!?_without_threshold:1}
139 %define with_unixsock 0%{!?_without_unixsock:1}
140 %define with_uptime 0%{!?_without_uptime:1}
141 %define with_users 0%{!?_without_users:1}
142 %define with_uuid 0%{!?_without_uuid:1}
143 %define with_varnish 0%{!?_without_varnish:0%{!?_has_varnish4:1}}
144 %define with_vmem 0%{!?_without_vmem:1}
145 %define with_vserver 0%{!?_without_vserver:1}
146 %define with_wireless 0%{!?_without_wireless:1}
147 %define with_write_graphite 0%{!?_without_write_graphite:1}
148 %define with_write_http 0%{!?_without_write_http:1}
149 %define with_write_riemann 0%{!?_without_write_riemann:1}
150
151 # Plugins not built by default because of dependencies on libraries not
152 # available in RHEL or EPEL:
153
154 # plugin apple_sensors disabled, requires a Mac
155 %define with_apple_sensors 0%{!?_without_apple_sensors:0}
156 # plugin lpar disabled, requires AIX
157 %define with_lpar 0%{!?_without_lpar:0}
158 # plugin netapp disabled, requires libnetapp
159 %define with_netapp 0%{!?_without_netapp:0}
160 # plugin onewire disabled, requires libowfs
161 %define with_onewire 0%{!?_without_onewire:0}
162 # plugin oracle disabled, requires Oracle
163 %define with_oracle 0%{!?_without_oracle:0}
164 # plugin oracle disabled, requires BSD
165 %define with_pf 0%{!?_without_pf:0}
166 # plugin redis disabled, requires credis
167 %define with_redis 0%{!?_without_redis:0}
168 # plugin routeros disabled, requires librouteros
169 %define with_routeros 0%{!?_without_routeros:0}
170 # plugin tape disabled, requires libkstat
171 %define with_tape 0%{!?_without_tape:0}
172 # plugin tokyotyrant disabled, requires tcrdb.h
173 %define with_tokyotyrant 0%{!?_without_tokyotyrant:0}
174 # plugin write_mongodb disabled, requires libmongoc
175 %define with_write_mongodb 0%{!?_without_write_mongodb:0}
176 # plugin write_redis disabled, requires credis
177 %define with_write_redis 0%{!?_without_write_redis:0}
178 # plugin xmms disabled, requires xmms
179 %define with_xmms 0%{!?_without_xmms:0}
180 # plugin zfs_arc disabled, requires FreeBSD/Solaris
181 %define with_zfs_arc 0%{!?_without_zfs_arc:0}
182
183 Summary:        Statistics collection daemon for filling RRD files
184 Name:           collectd
185 Version:        5.3.1
186 Release:        1%{?dist}
187 URL:            http://collectd.org
188 Source:         http://collectd.org/files/%{name}-%{version}.tar.bz2
189 License:        GPLv2
190 Group:          System Environment/Daemons
191 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
192 BuildRequires:  libgcrypt-devel, kernel-headers, libtool-ltdl-devel
193 Vendor:         collectd development team <collectd@verplant.org>
194
195 Requires(post):         chkconfig
196 Requires(preun):        chkconfig, initscripts
197 Requires(postun):       initscripts
198
199 %description
200 collectd is a small daemon which collects system information periodically and
201 provides mechanisms to monitor and store the values in a variety of ways. It
202 is written in C for performance. Since the daemon doesn't need to start up
203 every time it wants to update the values it's very fast and easy on the
204 system. Also, the statistics are very fine grained since the files are updated
205 every 10 seconds by default.
206
207 %if %{with_amqp}
208 %package amqp
209 Summary:        AMQP plugin for collectd
210 Group:          System Environment/Daemons
211 Requires:       %{name}%{?_isa} = %{version}-%{release}
212 BuildRequires:  librabbitmq-devel
213 %description amqp
214 The AMQP plugin transmits or receives values collected by collectd via the
215 Advanced Message Queuing Protocol (AMQP).
216 %endif
217
218 %if %{with_apache}
219 %package apache
220 Summary:        Apache plugin for collectd
221 Group:          System Environment/Daemons
222 Requires:       %{name}%{?_isa} = %{version}-%{release}
223 BuildRequires:  curl-devel
224 %description apache
225 This plugin collects data provided by Apache's `mod_status'.
226 %endif
227
228 %if %{with_ascent}
229 %package ascent
230 Summary:        Ascent plugin for collectd
231 Group:          System Environment/Daemons
232 Requires:       %{name}%{?_isa} = %{version}-%{release}
233 BuildRequires:  libxml2-devel, curl-devel
234 %description ascent
235 The Ascent plugin reads and parses the statistics page of Ascent, a free and
236 open-source server software for the game World of Warcraft by Blizzard
237 Entertainment.
238 %endif
239
240 %if %{with_bind}
241 %package bind
242 Summary:        Bind plugin for collectd
243 Group:          System Environment/Daemons
244 Requires:       %{name}%{?_isa} = %{version}-%{release}
245 BuildRequires:  libxml2-devel, curl-devel
246 %description bind
247 The BIND plugin retrieves this information that's encoded in XML and provided
248 via HTTP and submits the values to collectd.
249 %endif
250
251 %if %{with_curl}
252 %package curl
253 Summary:        Curl plugin for collectd
254 Group:          System Environment/Daemons
255 Requires:       %{name}%{?_isa} = %{version}-%{release}
256 BuildRequires:  curl-devel
257 %description curl
258 The cURL plugin uses libcurl to read files and then parses them according to
259 the configuration.
260 %endif
261
262 %if %{with_curl_json}
263 %package curl_json
264 Summary:        Curl_json plugin for collectd
265 Group:          System Environment/Daemons
266 Requires:       %{name}%{?_isa} = %{version}-%{release}
267 BuildRequires:  curl-devel, yajl-devel
268 %description curl_json
269 The cURL-JSON plugin queries JavaScript Object Notation (JSON) data using the
270 cURL library and parses it according to the user's configuration.
271 %endif
272
273 %if %{with_curl_xml}
274 %package curl_xml
275 Summary:        Curl_xml plugin for collectd
276 Group:          System Environment/Daemons
277 Requires:       %{name}%{?_isa} = %{version}-%{release}
278 BuildRequires:  curl-devel, libxml2-devel
279 %description curl_xml
280 The cURL-XML plugin reads files using libcurl and parses it as Extensible
281 Markup Language (XML).
282 %endif
283
284 %if %{with_dbi}
285 %package dbi
286 Summary:        DBI plugin for collectd
287 Group:          System Environment/Daemons
288 Requires:       %{name}%{?_isa} = %{version}-%{release}
289 BuildRequires:  libdbi-devel
290 %description dbi
291 The DBI plugin uses libdbi, a database abstraction library, to execute SQL
292 statements on a database and read back the result.
293 %endif
294
295 %if %{with_dns}
296 %package dns
297 Summary:        DNS plugin for collectd
298 Group:          System Environment/Daemons
299 Requires:       %{name}%{?_isa} = %{version}-%{release}, libpcap >= 1.0
300 BuildRequires:  libpcap-devel >= 1.0
301 %description dns
302 The DNS plugin has a similar functionality to dnstop: It uses libpcap to get a
303 copy of all traffic from/to port UDP/53 (that's the DNS port), interprets the
304 packets and collects statistics of your DNS traffic.
305 %endif
306
307 %if %{with_email}
308 %package email
309 Summary:        Email plugin for collectd
310 Group:          System Environment/Daemons
311 Requires:       %{name}%{?_isa} = %{version}-%{release}, spamassassin
312 %description email
313 This plugin collects data provided by spamassassin.
314 %endif
315
316 %if %{with_gmond}
317 %package gmond
318 Summary:        Gmond plugin for collectd
319 Group:          System Environment/Daemons
320 Requires:       %{name}%{?_isa} = %{version}-%{release}
321 BuildRequires:  ganglia-devel
322 %description gmond
323 The gmond plugin subscribes to a Multicast group to receive data from gmond,
324 the client daemon of the Ganglia project.
325 %endif
326
327 %if %{with_hddtemp}
328 %package hddtemp
329 Summary:        Hddtemp plugin for collectd
330 Group:          System Environment/Daemons
331 Requires:       %{name}%{?_isa} = %{version}-%{release}, hddtemp
332 %description hddtemp
333 The HDDTemp plugin collects the temperature of hard disks. The temperatures are
334 provided via SMART and queried by the external hddtemp daemon.
335 %endif
336
337 %if %{with_ipmi}
338 %package ipmi
339 Summary:        IPMI plugin for collectd
340 Group:          System Environment/Daemons
341 Requires:       %{name}%{?_isa} = %{version}-%{release}
342 BuildRequires:  OpenIPMI-devel
343 %description ipmi
344 The IPMI plugin uses the OpenIPMI library to read hardware sensors from servers
345 using the Intelligent Platform Management Interface (IPMI).
346 %endif
347
348 %if %{with_iptables}
349 %package iptables
350 Summary:        IPtables plugin for collectd
351 Group:          System Environment/Daemons
352 Requires:       %{name}%{?_isa} = %{version}-%{release}
353 BuildRequires:  iptables-devel
354 %description iptables
355 The IPtables plugin can gather statistics from your ip_tables based packet
356 filter (aka. firewall) for both the IPv4 and the IPv6 protocol. It can collect
357 the byte- and packet-counters of selected rules and submit them to collectd.
358 %endif
359
360 %if %{with_java}
361 %package java
362 Summary:        Java plugin for collectd
363 Group:          System Environment/Daemons
364 Requires:       %{name}%{?_isa} = %{version}-%{release}
365 BuildRequires:  java-devel, jpackage-utils
366 Requires:       java, jpackage-utils
367 %description java
368 This plugin for collectd allows plugins to be written in Java and executed
369 in an embedded JVM.
370 %endif
371
372 %if %{with_libvirt}
373 %package libvirt
374 Summary:        Libvirt plugin for collectd
375 Group:          System Environment/Daemons
376 Requires:       %{name}%{?_isa} = %{version}-%{release}
377 BuildRequires:  libvirt-devel
378 %description libvirt
379 This plugin collects information from virtualized guests.
380 %endif
381
382 %if %{with_memcachec}
383 %package memcachec
384 Summary:        Memcachec plugin for collectd
385 Group:          System Environment/Daemons
386 Requires:       %{name}%{?_isa} = %{version}-%{release}
387 BuildRequires:  libmemcached-devel
388 %description memcachec
389 The Memcachec plugin uses libmemcached to read statistics from a Memcached
390 instance. Note that another plugin, named `memcached', exists and does a
391 similar job, without requiring the installation of libmemcached.
392 %endif
393
394 %if %{with_modbus}
395 %package modbus
396 Summary:       modbus plugin for collectd
397 Group:         System Environment/Daemons
398 Requires:      %{name}%{?_isa} = %{version}-%{release}
399 BuildRequires:  libmodbus-devel
400 %description modbus
401 The modbus plugin collects values from Modbus/TCP enabled devices
402 %endif
403
404 %if %{with_mysql}
405 %package mysql
406 Summary:        MySQL plugin for collectd
407 Group:          System Environment/Daemons
408 Requires:       %{name}%{?_isa} = %{version}-%{release}
409 BuildRequires:  mysql-devel
410 %description mysql
411 MySQL querying plugin. This plugin provides data of issued commands, called
412 handlers and database traffic.
413 %endif
414
415 %if %{with_netlink}
416 %package netlink
417 Summary:        netlink plugin for collectd
418 Group:          System Environment/Daemons
419 Requires:       %{name}%{?_isa} = %{version}-%{release}
420 BuildRequires:  iproute-devel
421 %description netlink
422 The netlink plugin collects detailed network interface and routing statistics.
423 %endif
424
425 %if %{with_nginx}
426 %package nginx
427 Summary:        Nginx plugin for collectd
428 Group:          System Environment/Daemons
429 Requires:       %{name}%{?_isa} = %{version}-%{release}
430 BuildRequires:  curl-devel
431 %description nginx
432 This plugin gets data provided by nginx.
433 %endif
434
435 %if %{with_notify_desktop}
436 %package notify_desktop
437 Summary:        Notify_desktop plugin for collectd
438 Group:          System Environment/Daemons
439 Requires:       %{name}%{?_isa} = %{version}-%{release}
440 BuildRequires:  libnotify-devel, gtk2-devel
441 %description notify_desktop
442 The Notify Desktop plugin uses libnotify to display notifications to the user
443 via the desktop notification specification, i. e. on an X display.
444 %endif
445
446 %if %{with_notify_email}
447 %package notify_email
448 Summary:        Notify_email plugin for collectd
449 Group:          System Environment/Daemons
450 Requires:       %{name}%{?_isa} = %{version}-%{release}
451 BuildRequires:  libesmtp-devel
452 %description notify_email
453 The Notify Email plugin uses libESMTP to send notifications to a configured
454 email address.
455 %endif
456
457 %if %{with_nut}
458 %package nut
459 Summary:        Nut plugin for collectd
460 Group:          System Environment/Daemons
461 Requires:       %{name}%{?_isa} = %{version}-%{release}
462 BuildRequires:  nut-devel
463 %description nut
464 This plugin for collectd provides Network UPS Tools support.
465 %endif
466
467 %if %{with_perl}
468 %package perl
469 Summary:        Perl plugin for collectd
470 Group:          System Environment/Daemons
471 Requires:       %{name}%{?_isa} = %{version}-%{release}
472 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
473 %if 0%{?rhel} >= 6
474 BuildRequires:  perl-ExtUtils-Embed
475 %else
476 BuildRequires:  perl
477 %endif
478 %description perl
479 The Perl plugin embeds a Perl interpreter into collectd and exposes the
480 application programming interface (API) to Perl-scripts.
481 %endif
482
483 %if %{with_pinba}
484 %package pinba
485 Summary:        Pinba plugin for collectd
486 Group:          System Environment/Daemons
487 Requires:       %{name}%{?_isa} = %{version}-%{release}
488 BuildRequires:  protobuf-c-devel
489 %description pinba
490 The Pinba plugin receives and dispatches timing values from Pinba, a profiling
491 extension for PHP.
492 %endif
493
494 %if %{with_ping}
495 %package ping
496 Summary:        Ping plugin for collectd
497 Group:          System Environment/Daemons
498 Requires:       %{name}%{?_isa} = %{version}-%{release}
499 BuildRequires:  liboping-devel
500 %description ping
501 The Ping plugin measures network latency using ICMP “echo requests”, usually
502 known as “ping”.
503 %endif
504
505 %if %{with_postgresql}
506 %package postgresql
507 Summary:        PostgreSQL plugin for collectd
508 Group:          System Environment/Daemons
509 Requires:       %{name}%{?_isa} = %{version}-%{release}
510 BuildRequires:  postgresql-devel
511 %description postgresql
512 The PostgreSQL plugin connects to and executes SQL statements on a PostgreSQL
513 database.
514 %endif
515
516 %if %{with_python}
517 %package python
518 Summary:        Python plugin for collectd
519 Group:          System Environment/Daemons
520 Requires:       %{name}%{?_isa} = %{version}-%{release}
521 %if 0%{?rhel} >= 6
522 BuildRequires: python-devel
523 %else
524 BuildRequires: python26-devel
525 %endif
526 %description python
527 The Python plugin embeds a Python interpreter into collectd and exposes the
528 application programming interface (API) to Python-scripts.
529 %endif
530
531 %if %{with_redis}
532 %package redis
533 Summary:        Redis plugin for collectd
534 Group:          System Environment/Daemons
535 Requires:       %{name}%{?_isa} = %{version}-%{release}
536 BuildRequires:  credis-devel
537 %description redis
538 The Redis plugin connects to one or more instances of Redis, a key-value store,
539 and collects usage information using the credis library.
540 %endif
541
542 %if %{with_rrdcached}
543 %package rrdcached
544 Summary:        RRDCached plugin for collectd
545 Group:          System Environment/Daemons
546 Requires:       %{name}%{?_isa} = %{version}-%{release}, rrdtool >= 1.4
547 BuildRequires:  rrdtool-devel
548 %description rrdcached
549 The RRDCacheD plugin connects to the “RRD caching daemon”, rrdcached and
550 submits updates for RRD files to that daemon.
551 %endif
552
553 %if %{with_rrdtool}
554 %package rrdtool
555 Summary:        RRDtool plugin for collectd
556 Group:          System Environment/Daemons
557 Requires:       %{name}%{?_isa} = %{version}-%{release}
558 BuildRequires:  rrdtool-devel
559 %description rrdtool
560 The RRDtool plugin writes values to RRD-files using librrd.
561 %endif
562
563 %if %{with_sensors}
564 %package sensors
565 Summary:        Sensors plugin for collectd
566 Group:          System Environment/Daemons
567 Requires:       %{name}%{?_isa} = %{version}-%{release}
568 BuildRequires:  lm_sensors-devel
569 %description sensors
570 This plugin for collectd provides querying of sensors supported by lm_sensors.
571 %endif
572
573 %if %{with_snmp}
574 %package snmp
575 Summary:        SNMP plugin for collectd
576 Group:          System Environment/Daemons
577 Requires:       %{name}%{?_isa} = %{version}-%{release}
578 BuildRequires:  net-snmp-devel
579 %description snmp
580 This plugin for collectd allows querying of network equipment using SNMP.
581 %endif
582
583 %if %{with_varnish}
584 %package varnish
585 Summary:        Varnish plugin for collectd
586 Group:          System Environment/Daemons
587 Requires:       %{name}%{?_isa} = %{version}-%{release}
588 BuildRequires:  varnish-libs-devel
589 %description varnish
590 The Varnish plugin collects information about Varnish, an HTTP accelerator.
591 %endif
592
593 %if %{with_write_http}
594 %package write_http
595 Summary:        Write-HTTP plugin for collectd
596 Group:          System Environment/Daemons
597 Requires:       %{name}%{?_isa} = %{version}-%{release}
598 BuildRequires:  curl-devel
599 %description write_http
600 The Write-HTTP plugin sends the values collected by collectd to a web-server
601 using HTTP POST requests.
602 %endif
603
604 %if %{with_write_redis}
605 %package write_redis
606 Summary:        Write-Redis plugin for collectd
607 Group:          System Environment/Daemons
608 Requires:       %{name}%{?_isa} = %{version}-%{release}
609 BuildRequires:  credis-devel
610 %description write_redis
611 The Write Redis plugin stores values in Redis, a “data structures server”.
612 %endif
613
614 %if %{with_write_riemann}
615 %package write_riemann
616 Summary:        riemann plugin for collectd
617 Group:          System Environment/Daemons
618 Requires:       %{name}%{?_isa} = %{version}-%{release}
619 BuildRequires:  protobuf-c-devel
620 %description write_riemann
621 The riemann plugin submits values to Riemann, an event stream processor.
622 %endif
623
624 %package collection3
625 Summary:        Web-based viewer for collectd
626 Group:          System Environment/Daemons
627 Requires:       %{name}%{?_isa} = %{version}-%{release}
628 Requires: httpd
629 %description collection3
630 collection3 is a graphing front-end for the RRD files created by and filled
631 with collectd. It is written in Perl and should be run as an CGI-script.
632 Graphs are generated on-the-fly, so no cron job or similar is necessary.
633
634 %package php-collection
635 Summary:        collect php webfrontent
636 Group:          System Environment/Daemons
637 Requires:       collectd = %{version}-%{release}
638 Requires:       httpd
639 Requires:       php
640 Requires:       php-rrdtool
641 %description php-collection
642 PHP graphing frontend for RRD files created by and filled with collectd.
643
644 %package contrib
645 Summary:        Contrib files for collectd
646 Group:          System Environment/Daemons
647 Requires:       %{name}%{?_isa} = %{version}-%{release}
648 %description contrib
649 All the files found under contrib/ in the source tree are bundled in this
650 package.
651
652 %package -n libcollectdclient
653 Summary:        Collectd client library
654 Group:          System Environment/Daemons
655 %description -n libcollectdclient
656 Collectd client library
657
658 %package -n libcollectdclient-devel
659 Summary:        Development files for libcollectdclient
660 Group:          System Environment/Daemons
661 Requires:       pkgconfig
662 Requires:       libcollectdclient%{?_isa} = %{version}-%{release}
663 %description -n libcollectdclient-devel
664 Development files for libcollectdclient
665
666
667 %prep
668 %setup -q
669
670 %build
671 %if %{with_aggregation}
672 %define _with_aggregation --enable-aggregation
673 %else
674 %define _with_aggregation --disable-aggregation
675 %endif
676
677 %if %{with_amqp}
678 %define _with_amqp --enable-amqp
679 %else
680 %define _with_amqp --disable-amqp
681 %endif
682
683 %if %{with_apache}
684 %define _with_apache --enable-apache
685 %else
686 %define _with_apache --disable-apache
687 %endif
688
689 %if %{with_apcups}
690 %define _with_apcups --enable-apcups
691 %else
692 %define _with_apcups --disable-apcups
693 %endif
694
695 %if %{with_apple_sensors}
696 %define _with_apple_sensors --enable-apple_sensors
697 %else
698 %define _with_apple_sensors --disable-apple_sensors
699 %endif
700
701 %if %{with_ascent}
702 %define _with_ascent --enable-ascent
703 %else
704 %define _with_ascent --disable-ascent
705 %endif
706
707 %if %{with_battery}
708 %define _with_battery --enable-battery
709 %else
710 %define _with_battery --disable-battery
711 %endif
712
713 %if %{with_bind}
714 %define _with_bind --enable-bind
715 %else
716 %define _with_bind --disable-bind
717 %endif
718
719 %if %{with_conntrack}
720 %define _with_conntrack --enable-conntrack
721 %else
722 %define _with_conntrack --disable-conntrack
723 %endif
724
725 %if %{with_contextswitch}
726 %define _with_contextswitch --enable-contextswitch
727 %else
728 %define _with_contextswitch --disable-contextswitch
729 %endif
730
731 %if %{with_cpu}
732 %define _with_cpu --enable-cpu
733 %else
734 %define _with_cpu --disable-cpu
735 %endif
736
737 %if %{with_cpufreq}
738 %define _with_cpufreq --enable-cpufreq
739 %else
740 %define _with_cpufreq --disable-cpufreq
741 %endif
742
743 %if %{with_csv}
744 %define _with_csv --enable-csv
745 %else
746 %define _with_csv --disable-csv
747 %endif
748
749 %if %{with_curl}
750 %define _with_curl --enable-curl
751 %else
752 %define _with_curl --disable-curl
753 %endif
754
755 %if %{with_curl_json}
756 %define _with_curl_json --enable-curl_json
757 %else
758 %define _with_curl_json --disable-curl_json
759 %endif
760
761 %if %{with_curl_xml}
762 %define _with_curl_xml --enable-curl_xml
763 %else
764 %define _with_curl_xml --disable-curl_xml
765 %endif
766
767 %if %{with_dbi}
768 %define _with_dbi --enable-dbi
769 %else
770 %define _with_dbi --disable-dbi --without-libdbi
771 %endif
772
773 %if %{with_df}
774 %define _with_df --enable-df
775 %else
776 %define _with_df --disable-df
777 %endif
778
779 %if %{with_disk}
780 %define _with_disk --enable-disk
781 %else
782 %define _with_disk --disable-disk
783 %endif
784
785 %if %{with_dns}
786 %define _with_dns --enable-dns
787 %else
788 %define _with_dns --disable-dns
789 %endif
790
791 %if %{with_email}
792 %define _with_email --enable-email
793 %else
794 %define _with_email --disable-email
795 %endif
796
797 %if %{with_entropy}
798 %define _with_entropy --enable-entropy
799 %else
800 %define _with_entropy --disable-entropy
801 %endif
802
803 %if %{with_ethstat}
804 %define _with_ethstat --enable-ethstat
805 %else
806 %define _with_ethstat --disable-ethstat
807 %endif
808
809 %if %{with_exec}
810 %define _with_exec --enable-exec
811 %else
812 %define _with_exec --disable-exec
813 %endif
814
815 %if %{with_filecount}
816 %define _with_filecount --enable-filecount
817 %else
818 %define _with_filecount --disable-filecount
819 %endif
820
821 %if %{with_fscache}
822 %define _with_fscache --enable-fscache
823 %else
824 %define _with_fscache --disable-fscache
825 %endif
826
827 %if %{with_gmond}
828 %define _with_gmond --enable-gmond
829 %else
830 %define _with_gmond --disable-gmond
831 %endif
832
833 %if %{with_hddtemp}
834 %define _with_hddtemp --enable-hddtemp
835 %else
836 %define _with_hddtemp --disable-hddtemp
837 %endif
838
839 %if %{with_interface}
840 %define _with_interface --enable-interface
841 %else
842 %define _with_interface --disable-interface
843 %endif
844
845 %if %{with_ipmi}
846 %define _with_ipmi --enable-ipmi
847 %else
848 %define _with_ipmi --disable-ipmi
849 %endif
850
851 %if %{with_iptables}
852 %define _with_iptables --enable-iptables
853 %else
854 %define _with_iptables --disable-iptables
855 %endif
856
857 %if %{with_ipvs}
858 %define _with_ipvs --enable-ipvs
859 %else
860 %define _with_ipvs --disable-ipvs
861 %endif
862
863 %if %{with_irq}
864 %define _with_irq --enable-irq
865 %else
866 %define _with_irq --disable-irq
867 %endif
868
869 %if %{with_java}
870 %define _with_java --enable-java --with-java=%{java_home}/
871 %else
872 %define _with_java --disable-java
873 %endif
874
875 %if %{with_libvirt}
876 %define _with_libvirt --enable-libvirt
877 %else
878 %define _with_libvirt --disable-libvirt
879 %endif
880
881 %if %{with_load}
882 %define _with_load --enable-load
883 %else
884 %define _with_load --disable-load
885 %endif
886
887 %if %{with_logfile}
888 %define _with_logfile --enable-logfile
889 %else
890 %define _with_logfile --disable-logfile
891 %endif
892
893 %if %{with_lpar}
894 %define _with_lpar --enable-lpar
895 %else
896 %define _with_lpar --disable-lpar
897 %endif
898
899 %if %{with_madwifi}
900 %define _with_madwifi --enable-madwifi
901 %else
902 %define _with_madwifi --disable-madwifi
903 %endif
904
905 %if %{with_mbmon}
906 %define _with_mbmon --enable-mbmon
907 %else
908 %define _with_mbmon --disable-mbmon
909 %endif
910
911 %if %{with_md}
912 %define _with_md --enable-md
913 %else
914 %define _with_md --disable-md
915 %endif
916
917 %if %{with_memcachec}
918 %define _with_memcachec --enable-memcachec
919 %else
920 %define _with_memcachec --disable-memcachec
921 %endif
922
923 %if %{with_memcached}
924 %define _with_memcached --enable-memcached
925 %else
926 %define _with_memcached --disable-memcached
927 %endif
928
929 %if %{with_memory}
930 %define _with_memory --enable-memory
931 %else
932 %define _with_memory --disable-memory
933 %endif
934
935 %if %{with_modbus}
936 %define _with_modbus --enable-modbus
937 %else
938 %define _with_modbus --disable-modbus
939 %endif
940
941 %if %{with_multimeter}
942 %define _with_multimeter --enable-multimeter
943 %else
944 %define _with_multimeter --disable-multimeter
945 %endif
946
947 %if %{with_mysql}
948 %define _with_mysql --enable-mysql
949 %else
950 %define _with_mysql --disable-mysql
951 %endif
952
953 %if %{with_netapp}
954 %define _with_netapp --enable-netapp
955 %else
956 %define _with_netapp --disable-netapp
957 %endif
958
959 %if %{with_netlink}
960 %define _with_netlink --enable-netlink
961 %else
962 %define _with_netlink --disable-netlink
963 %endif
964
965 %if %{with_network}
966 %define _with_network --enable-network
967 %else
968 %define _with_network --disable-network
969 %endif
970
971 %if %{with_nfs}
972 %define _with_nfs --enable-nfs
973 %else
974 %define _with_nfs --disable-nfs
975 %endif
976
977 %if %{with_nginx}
978 %define _with_nginx --enable-nginx
979 %else
980 %define _with_nginx --disable-nginx
981 %endif
982
983 %if %{with_notify_desktop}
984 %define _with_notify_desktop --enable-notify_desktop
985 %else
986 %define _with_notify_desktop --disable-notify_desktop
987 %endif
988
989 %if %{with_notify_email}
990 %define _with_notify_email --enable-notify_email
991 %else
992 %define _with_notify_email --disable-notify_email --without-libesmpt
993 %endif
994
995 %if %{with_ntpd}
996 %define _with_ntpd --enable-ntpd
997 %else
998 %define _with_ntpd --disable-ntpd
999 %endif
1000
1001 %if %{with_numa}
1002 %define _with_numa --enable-numa
1003 %else
1004 %define _with_numa --disable-numa
1005 %endif
1006
1007 %if %{with_nut}
1008 %define _with_nut --enable-nut
1009 %else
1010 %define _with_nut --disable-nut
1011 %endif
1012
1013 %if %{with_olsrd}
1014 %define _with_olsrd --enable-olsrd
1015 %else
1016 %define _with_olsrd --disable-olsrd
1017 %endif
1018
1019 %if %{with_onewire}
1020 %define _with_onewire --enable-onewire
1021 %else
1022 %define _with_onewire --disable-onewire
1023 %endif
1024
1025 %if %{with_openvpn}
1026 %define _with_openvpn --enable-openvpn
1027 %else
1028 %define _with_openvpn --disable-openvpn
1029 %endif
1030
1031 %if %{with_oracle}
1032 %define _with_oracle --enable-oracle
1033 %else
1034 %define _with_oracle --disable-oracle
1035 %endif
1036
1037 %if %{with_perl}
1038 %define _with_perl --enable-perl --with-perl-bindings="INSTALLDIRS=vendor"
1039 %else
1040 %define _with_perl --disable-perl --without-libperl
1041 %endif
1042
1043 %if %{with_pf}
1044 %define _with_pf --enable-pf
1045 %else
1046 %define _with_pf --disable-pf
1047 %endif
1048
1049 %if %{with_pinba}
1050 %define _with_pinba --enable-pinba
1051 %else
1052 %define _with_pinba --disable-pinba
1053 %endif
1054
1055 %if %{with_ping}
1056 %define _with_ping --enable-ping
1057 %else
1058 %define _with_ping --disable-ping
1059 %endif
1060
1061 %if %{with_postgresql}
1062 %define _with_postgresql --enable-postgresql
1063 %else
1064 %define _with_postgresql --disable-postgresql
1065 %endif
1066
1067 %if %{with_powerdns}
1068 %define _with_powerdns --enable-powerdns
1069 %else
1070 %define _with_powerdns --disable-powerdns
1071 %endif
1072
1073 %if %{with_processes}
1074 %define _with_processes --enable-processes
1075 %else
1076 %define _with_processes --disable-processes
1077 %endif
1078
1079 %if %{with_protocols}
1080 %define _with_protocols --enable-protocols
1081 %else
1082 %define _with_protocols --disable-protocols
1083 %endif
1084
1085 %if %{with_python}
1086 %if 0%{?rhel} >= 6
1087 %define _with_python --enable-python
1088 %else
1089 %define _with_python --enable-python --with-python=%{_bindir}/python2.6
1090 %endif
1091 %else
1092 %define _with_python --disable-python
1093 %endif
1094
1095 %if %{with_redis}
1096 %define _with_redis --enable-redis
1097 %else
1098 %define _with_redis --disable-redis
1099 %endif
1100
1101 %if %{with_routeros}
1102 %define _with_routeros --enable-routeros
1103 %else
1104 %define _with_routeros --disable-routeros
1105 %endif
1106
1107 %if %{with_rrdcached}
1108 %define _with_rrdcached --enable-rrdcached
1109 %else
1110 %define _with_rrdcached --disable-rrdcached
1111 %endif
1112
1113 %if %{with_rrdtool}
1114 %define _with_rrdtool --enable-rrdtool
1115 %else
1116 %define _with_rrdtool --disable-rrdtool
1117 %endif
1118
1119 %if %{with_sensors}
1120 %define _with_sensors --enable-sensors
1121 %else
1122 %define _with_sensors --disable-sensors
1123 %endif
1124
1125 %if %{with_serial}
1126 %define _with_serial --enable-serial
1127 %else
1128 %define _with_serial --disable-serial
1129 %endif
1130
1131 %if %{with_snmp}
1132 %define _with_snmp --enable-snmp
1133 %else
1134 %define _with_snmp --disable-snmp
1135 %endif
1136
1137 %if %{with_swap}
1138 %define _with_swap --enable-swap
1139 %else
1140 %define _with_swap --disable-swap
1141 %endif
1142
1143 %if %{with_syslog}
1144 %define _with_syslog --enable-syslog
1145 %else
1146 %define _with_syslog --disable-syslog
1147 %endif
1148
1149 %if %{with_table}
1150 %define _with_table --enable-table
1151 %else
1152 %define _with_table --disable-table
1153 %endif
1154
1155 %if %{with_tail}
1156 %define _with_tail --enable-tail
1157 %else
1158 %define _with_tail --disable-tail
1159 %endif
1160
1161 %if %{with_tail_csv}
1162 %define _with_tail_csv --enable-tail_csv
1163 %else
1164 %define _with_tail_csv --disable-tail_csv
1165 %endif
1166
1167 %if %{with_tape}
1168 %define _with_tape --enable-tape
1169 %else
1170 %define _with_tape --disable-tape
1171 %endif
1172
1173 %if %{with_tcpconns}
1174 %define _with_tcpconns --enable-tcpconns
1175 %else
1176 %define _with_tcpconns --disable-tcpconns
1177 %endif
1178
1179 %if %{with_teamspeak2}
1180 %define _with_teamspeak2 --enable-teamspeak2
1181 %else
1182 %define _with_teamspeak2 --disable-teamspeak2
1183 %endif
1184
1185 %if %{with_ted}
1186 %define _with_ted --enable-ted
1187 %else
1188 %define _with_ted --disable-ted
1189 %endif
1190
1191 %if %{with_thermal}
1192 %define _with_thermal --enable-thermal
1193 %else
1194 %define _with_thermal --disable-thermal
1195 %endif
1196
1197 %if %{with_threshold}
1198 %define _with_threshold --enable-threshold
1199 %else
1200 %define _with_threshold --disable-threshold
1201 %endif
1202
1203 %if %{with_tokyotyrant}
1204 %define _with_tokyotyrant --enable-tokyotyrant
1205 %else
1206 %define _with_tokyotyrant --disable-tokyotyrant
1207 %endif
1208
1209 %if %{with_unixsock}
1210 %define _with_unixsock --enable-unixsock
1211 %else
1212 %define _with_unixsock --disable-unixsock
1213 %endif
1214
1215 %if %{with_uptime}
1216 %define _with_uptime --enable-uptime
1217 %else
1218 %define _with_uptime --disable-uptime
1219 %endif
1220
1221 %if %{with_users}
1222 %define _with_users --enable-users
1223 %else
1224 %define _with_users --disable-users
1225 %endif
1226
1227 %if %{with_uuid}
1228 %define _with_uuid --enable-uuid
1229 %else
1230 %define _with_uuid --disable-uuid
1231 %endif
1232
1233 %if %{with_varnish}
1234 %define _with_varnish --enable-varnish
1235 %else
1236 %define _with_varnish --disable-varnish
1237 %endif
1238
1239 %if %{with_vmem}
1240 %define _with_vmem --enable-vmem
1241 %else
1242 %define _with_vmem --disable-vmem
1243 %endif
1244
1245 %if %{with_vserver}
1246 %define _with_vserver --enable-vserver
1247 %else
1248 %define _with_vserver --disable-vserver
1249 %endif
1250
1251 %if %{with_wireless}
1252 %define _with_wireless --enable-wireless
1253 %else
1254 %define _with_wireless --disable-wireless
1255 %endif
1256
1257 %if %{with_write_graphite}
1258 %define _with_write_graphite --enable-write_graphite
1259 %else
1260 %define _with_write_graphite --disable-write_graphite
1261 %endif
1262
1263 %if %{with_write_http}
1264 %define _with_write_http --enable-write_http
1265 %else
1266 %define _with_write_http --disable-write_http
1267 %endif
1268
1269 %if %{with_write_mongodb}
1270 %define _with_write_mongodb --enable-write_mongodb
1271 %else
1272 %define _with_write_mongodb --disable-write_mongodb --without-libmongoc
1273 %endif
1274
1275 %if %{with_write_redis}
1276 %define _with_write_redis --enable-write_redis
1277 %else
1278 %define _with_write_redis --disable-write_redis --without-libcredis
1279 %endif
1280
1281 %if %{with_write_riemann}
1282 %define _with_write_riemann --enable-write_riemann
1283 %else
1284 %define _with_write_riemann --disable-write_riemann
1285 %endif
1286
1287 %if %{with_xmms}
1288 %define _with_xmms --enable-xmms
1289 %else
1290 %define _with_xmms --disable-xmms
1291 %endif
1292
1293 %if %{with_zfs_arc}
1294 %define _with_zfs_arc --enable-zfs_arc
1295 %else
1296 %define _with_zfs_arc --disable-zfs_arc
1297 %endif
1298
1299 %configure CFLAGS="%{optflags} -DLT_LAZY_OR_NOW=\"RTLD_LAZY|RTLD_GLOBAL\"" \
1300         --disable-static \
1301         --without-included-ltdl \
1302         --enable-all-plugins=yes \
1303         --enable-match_empty_counter \
1304         --enable-match_hashed \
1305         --enable-match_regex \
1306         --enable-match_timediff \
1307         --enable-match_value \
1308         --enable-target_notification \
1309         --enable-target_replace \
1310         --enable-target_scale \
1311         --enable-target_set \
1312         --enable-target_v5upgrade \
1313         %{?_with_aggregation} \
1314         %{?_with_amqp} \
1315         %{?_with_apache} \
1316         %{?_with_apcups} \
1317         %{?_with_apple_sensors} \
1318         %{?_with_ascent} \
1319         %{?_with_battery} \
1320         %{?_with_bind} \
1321         %{?_with_conntrack} \
1322         %{?_with_contextswitch} \
1323         %{?_with_cpu} \
1324         %{?_with_cpufreq} \
1325         %{?_with_csv} \
1326         %{?_with_curl} \
1327         %{?_with_curl_json} \
1328         %{?_with_curl_xml} \
1329         %{?_with_dbi} \
1330         %{?_with_df} \
1331         %{?_with_disk} \
1332         %{?_with_dns} \
1333         %{?_with_email} \
1334         %{?_with_entropy} \
1335         %{?_with_ethstat} \
1336         %{?_with_exec} \
1337         %{?_with_filecount} \
1338         %{?_with_fscache} \
1339         %{?_with_gmond} \
1340         %{?_with_hddtemp} \
1341         %{?_with_interface} \
1342         %{?_with_ipmi} \
1343         %{?_with_iptables} \
1344         %{?_with_ipvs} \
1345         %{?_with_java} \
1346         %{?_with_libvirt} \
1347         %{?_with_lpar} \
1348         %{?_with_memcachec} \
1349         %{?_with_modbus} \
1350         %{?_with_multimeter} \
1351         %{?_with_mysql} \
1352         %{?_with_netapp} \
1353         %{?_with_netlink} \
1354         %{?_with_nginx} \
1355         %{?_with_notify_desktop} \
1356         %{?_with_notify_email} \
1357         %{?_with_nut} \
1358         %{?_with_onewire} \
1359         %{?_with_oracle} \
1360         %{?_with_perl} \
1361         %{?_with_pf} \
1362         %{?_with_pinba} \
1363         %{?_with_ping} \
1364         %{?_with_postgresql} \
1365         %{?_with_python} \
1366         %{?_with_redis} \
1367         %{?_with_routeros} \
1368         %{?_with_rrdcached} \
1369         %{?_with_rrdtool} \
1370         %{?_with_sensors} \
1371         %{?_with_snmp} \
1372         %{?_with_tape} \
1373         %{?_with_tokyotyrant} \
1374         %{?_with_varnish} \
1375         %{?_with_write_http} \
1376         %{?_with_write_mongodb} \
1377         %{?_with_write_redis} \
1378         %{?_with_xmms} \
1379         %{?_with_zfs_arc} \
1380         %{?_with_irq} \
1381         %{?_with_load} \
1382         %{?_with_logfile} \
1383         %{?_with_madwifi} \
1384         %{?_with_mbmon} \
1385         %{?_with_md} \
1386         %{?_with_memcached} \
1387         %{?_with_memory} \
1388         %{?_with_network} \
1389         %{?_with_nfs} \
1390         %{?_with_ntpd} \
1391         %{?_with_numa} \
1392         %{?_with_olsrd} \
1393         %{?_with_openvpn} \
1394         %{?_with_powerdns} \
1395         %{?_with_processes} \
1396         %{?_with_protocols} \
1397         %{?_with_serial} \
1398         %{?_with_swap} \
1399         %{?_with_syslog} \
1400         %{?_with_table} \
1401         %{?_with_tail} \
1402         %{?_with_tail_csv} \
1403         %{?_with_tcpconns} \
1404         %{?_with_teamspeak2} \
1405         %{?_with_ted} \
1406         %{?_with_thermal} \
1407         %{?_with_threshold} \
1408         %{?_with_unixsock} \
1409         %{?_with_uptime} \
1410         %{?_with_users} \
1411         %{?_with_uuid} \
1412         %{?_with_vmem} \
1413         %{?_with_vserver} \
1414         %{?_with_wireless}\
1415         %{?_with_write_graphite} \
1416         %{?_with_write_http} \
1417         %{?_with_write_riemann}
1418
1419
1420 %{__make} %{?_smp_mflags}
1421
1422
1423 %install
1424 rm -rf %{buildroot}
1425 %{__make} install DESTDIR=%{buildroot}
1426 %{__install} -Dp -m 0755 contrib/redhat/init.d-collectd %{buildroot}%{_initrddir}/collectd
1427 %{__install} -Dp -m0644 src/collectd.conf %{buildroot}%{_sysconfdir}/collectd.conf
1428 %{__install} -d %{buildroot}%{_sharedstatedir}/collectd/
1429 %{__install} -d %{buildroot}%{_sysconfdir}/collectd.d/
1430
1431 %{__mkdir} -p %{buildroot}%{_localstatedir}/www
1432 %{__mkdir} -p %{buildroot}/%{_sysconfdir}/httpd/conf.d
1433
1434 %{__cp} -a contrib/collection3 %{buildroot}%{_localstatedir}/www
1435 %{__cp} -a contrib/redhat/collection3.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
1436
1437 %{__cp} -a contrib/php-collection %{buildroot}%{_localstatedir}/www
1438 %{__cp} -a contrib/redhat/php-collection.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
1439
1440 ### Clean up docs
1441 find contrib/ -type f -exec %{__chmod} a-x {} \;
1442 # *.la files shouldn't be distributed.
1443 rm -f %{buildroot}/%{_libdir}/{collectd/,}*.la
1444
1445 # Move the Perl examples to a separate directory.
1446 mkdir perl-examples
1447 find contrib -name '*.p[lm]' -exec mv {} perl-examples/ \;
1448
1449 # Remove Perl hidden .packlist files.
1450 find %{buildroot} -type f -name .packlist -delete
1451 # Remove Perl temporary file perllocal.pod
1452 find %{buildroot} -type f -name perllocal.pod -delete
1453
1454 %if ! %{with_java}
1455 rm -f %{buildroot}%{_mandir}/man5/collectd-java.5*
1456 %endif
1457
1458 %if ! %{with_perl}
1459 rm -f %{buildroot}%{_mandir}/man5/collectd-perl.5*
1460 rm -f %{buildroot}%{_mandir}/man3/Collectd::Unixsock.3pm*
1461 rm -fr perl-examples/
1462 rm -fr %{buildroot}/usr/lib/perl5/
1463 %endif
1464
1465 %if ! %{with_python}
1466 rm -f %{buildroot}%{_mandir}/man5/collectd-python.5*
1467 %endif
1468
1469 %if ! %{with_snmp}
1470 rm -f %{buildroot}%{_mandir}/man5/collectd-snmp.5*
1471 %endif
1472
1473
1474 %clean
1475 rm -rf %{buildroot}
1476
1477 %post
1478 /sbin/chkconfig --add collectd
1479
1480 %preun
1481 if [ $1 -eq 0 ]; then
1482         /sbin/service collectd stop &>/dev/null
1483         /sbin/chkconfig --del collectd
1484 fi
1485
1486 %postun
1487 if [ $1 -ge 1 ]; then
1488         /sbin/service collectd condrestart &>/dev/null || :
1489 fi
1490
1491 %post -n libcollectdclient -p /sbin/ldconfig
1492 %postun -n libcollectdclient -p /sbin/ldconfig
1493
1494
1495 %files
1496 %doc AUTHORS COPYING ChangeLog README
1497 %config(noreplace) %{_sysconfdir}/collectd.conf
1498 %{_initrddir}/collectd
1499 %{_sbindir}/collectd
1500 %{_bindir}/collectd-nagios
1501 %{_bindir}/collectd-tg
1502 %{_bindir}/collectdctl
1503 %{_sbindir}/collectdmon
1504 %{_datadir}/collectd/
1505 %{_sharedstatedir}/collectd
1506 %{_mandir}/man1/collectd-nagios.1*
1507 %{_mandir}/man1/collectd.1*
1508 %{_mandir}/man1/collectdctl.1*
1509 %{_mandir}/man1/collectdmon.1*
1510 %{_mandir}/man1/collectd-tg.1*
1511 %{_mandir}/man5/collectd-email.5*
1512 %{_mandir}/man5/collectd-exec.5*
1513 %{_mandir}/man5/collectd-threshold.5*
1514 %{_mandir}/man5/collectd-unixsock.5*
1515 %{_mandir}/man5/collectd.conf.5*
1516 %{_mandir}/man5/types.db.5*
1517
1518 # all plugins bundled with the main collectd package
1519 %{_libdir}/%{name}/match_empty_counter.so
1520 %{_libdir}/%{name}/match_hashed.so
1521 %{_libdir}/%{name}/match_regex.so
1522 %{_libdir}/%{name}/match_timediff.so
1523 %{_libdir}/%{name}/match_value.so
1524 %{_libdir}/%{name}/target_notification.so
1525 %{_libdir}/%{name}/target_replace.so
1526 %{_libdir}/%{name}/target_scale.so
1527 %{_libdir}/%{name}/target_set.so
1528 %{_libdir}/%{name}/target_v5upgrade.so
1529
1530 %if %{with_aggregation}
1531 %{_libdir}/%{name}/aggregation.so
1532 %endif
1533 %if %{with_apcups}
1534 %{_libdir}/%{name}/apcups.so
1535 %endif
1536 %if %{with_battery}
1537 %{_libdir}/%{name}/battery.so
1538 %endif
1539 %if %{with_conntrack}
1540 %{_libdir}/%{name}/conntrack.so
1541 %endif
1542 %if %{with_contextswitch}
1543 %{_libdir}/%{name}/contextswitch.so
1544 %endif
1545 %if %{with_cpu}
1546 %{_libdir}/%{name}/cpu.so
1547 %endif
1548 %if %{with_cpufreq}
1549 %{_libdir}/%{name}/cpufreq.so
1550 %endif
1551 %if %{with_csv}
1552 %{_libdir}/%{name}/csv.so
1553 %endif
1554 %if %{with_df}
1555 %{_libdir}/%{name}/df.so
1556 %endif
1557 %if %{with_disk}
1558 %{_libdir}/%{name}/disk.so
1559 %endif
1560 %if %{with_ethstat}
1561 %{_libdir}/%{name}/ethstat.so
1562 %endif
1563 %if %{with_entropy}
1564 %{_libdir}/%{name}/entropy.so
1565 %endif
1566 %if %{with_exec}
1567 %{_libdir}/%{name}/exec.so
1568 %endif
1569 %if %{with_filecount}
1570 %{_libdir}/%{name}/filecount.so
1571 %endif
1572 %if %{with_fscache}
1573 %{_libdir}/%{name}/fscache.so
1574 %endif
1575 %if %{with_interface}
1576 %{_libdir}/%{name}/interface.so
1577 %endif
1578 %if %{with_ipvs}
1579 %{_libdir}/%{name}/ipvs.so
1580 %endif
1581 %if %{with_irq}
1582 %{_libdir}/%{name}/irq.so
1583 %endif
1584 %if %{with_load}
1585 %{_libdir}/%{name}/load.so
1586 %endif
1587 %if %{with_logfile}
1588 %{_libdir}/%{name}/logfile.so
1589 %endif
1590 %if %{with_madwifi}
1591 %{_libdir}/%{name}/madwifi.so
1592 %endif
1593 %if %{with_mbmon}
1594 %{_libdir}/%{name}/mbmon.so
1595 %endif
1596 %if %{with_md}
1597 %{_libdir}/%{name}/md.so
1598 %endif
1599 %if %{with_memcached}
1600 %{_libdir}/%{name}/memcached.so
1601 %endif
1602 %if %{with_memory}
1603 %{_libdir}/%{name}/memory.so
1604 %endif
1605 %if %{with_multimeter}
1606 %{_libdir}/%{name}/multimeter.so
1607 %endif
1608 %if %{with_network}
1609 %{_libdir}/%{name}/network.so
1610 %endif
1611 %if %{with_nfs}
1612 %{_libdir}/%{name}/nfs.so
1613 %endif
1614 %if %{with_ntpd}
1615 %{_libdir}/%{name}/ntpd.so
1616 %endif
1617 %if %{with_numa}
1618 %{_libdir}/%{name}/numa.so
1619 %endif
1620 %if %{with_openvpn}
1621 %{_libdir}/%{name}/openvpn.so
1622 %endif
1623 %if %{with_olsrd}
1624 %{_libdir}/%{name}/olsrd.so
1625 %endif
1626 %if %{with_powerdns}
1627 %{_libdir}/%{name}/powerdns.so
1628 %endif
1629 %if %{with_processes}
1630 %{_libdir}/%{name}/processes.so
1631 %endif
1632 %if %{with_protocols}
1633 %{_libdir}/%{name}/protocols.so
1634 %endif
1635 %if %{with_serial}
1636 %{_libdir}/%{name}/serial.so
1637 %endif
1638 %if %{with_swap}
1639 %{_libdir}/%{name}/swap.so
1640 %endif
1641 %if %{with_syslog}
1642 %{_libdir}/%{name}/syslog.so
1643 %endif
1644 %if %{with_table}
1645 %{_libdir}/%{name}/table.so
1646 %endif
1647 %if %{with_tail}
1648 %{_libdir}/%{name}/tail.so
1649 %endif
1650 %if %{with_tail_csv}
1651 %{_libdir}/%{name}/tail_csv.so
1652 %endif
1653 %if %{with_tcpconns}
1654 %{_libdir}/%{name}/tcpconns.so
1655 %endif
1656 %if %{with_teamspeak2}
1657 %{_libdir}/%{name}/teamspeak2.so
1658 %endif
1659 %if %{with_ted}
1660 %{_libdir}/%{name}/ted.so
1661 %endif
1662 %if %{with_thermal}
1663 %{_libdir}/%{name}/thermal.so
1664 %endif
1665 %if %{with_load}
1666 %{_libdir}/%{name}/threshold.so
1667 %endif
1668 %if %{with_unixsock}
1669 %{_libdir}/%{name}/unixsock.so
1670 %endif
1671 %if %{with_uptime}
1672 %{_libdir}/%{name}/uptime.so
1673 %endif
1674 %if %{with_users}
1675 %{_libdir}/%{name}/users.so
1676 %endif
1677 %if %{with_uuid}
1678 %{_libdir}/%{name}/uuid.so
1679 %endif
1680 %if %{with_vmem}
1681 %{_libdir}/%{name}/vmem.so
1682 %endif
1683 %if %{with_vserver}
1684 %{_libdir}/%{name}/vserver.so
1685 %endif
1686 %if %{with_wireless}
1687 %{_libdir}/%{name}/wireless.so
1688 %endif
1689 %if %{with_write_graphite}
1690 %{_libdir}/%{name}/write_graphite.so
1691 %endif
1692
1693
1694 %files -n libcollectdclient-devel
1695 %{_includedir}/collectd/client.h
1696 %{_includedir}/collectd/network.h
1697 %{_includedir}/collectd/network_buffer.h
1698 %{_includedir}/collectd/lcc_features.h
1699 %{_libdir}/pkgconfig/libcollectdclient.pc
1700
1701 %files -n libcollectdclient
1702 %{_libdir}/libcollectdclient.so
1703 %{_libdir}/libcollectdclient.so.*
1704
1705 %if %{with_amqp}
1706 %files amqp
1707 %{_libdir}/%{name}/amqp.so
1708 %endif
1709
1710 %if %{with_apache}
1711 %files apache
1712 %{_libdir}/%{name}/apache.so
1713 %endif
1714
1715 %if %{with_ascent}
1716 %files ascent
1717 %{_libdir}/%{name}/ascent.so
1718 %endif
1719
1720 %if %{with_bind}
1721 %files bind
1722 %{_libdir}/%{name}/bind.so
1723 %endif
1724
1725 %if %{with_curl}
1726 %files curl
1727 %{_libdir}/%{name}/curl.so
1728 %endif
1729
1730 %if %{with_curl_json}
1731 %files curl_json
1732 %{_libdir}/%{name}/curl_json.so
1733 %endif
1734
1735 %if %{with_curl_xml}
1736 %files curl_xml
1737 %{_libdir}/%{name}/curl_xml.so
1738 %endif
1739
1740 %if %{with_dns}
1741 %files dns
1742 %{_libdir}/%{name}/dns.so
1743 %endif
1744
1745 %if %{with_dbi}
1746 %files dbi
1747 %{_libdir}/%{name}/dbi.so
1748 %endif
1749
1750 %if %{with_email}
1751 %files email
1752 %{_libdir}/%{name}/email.so
1753 %endif
1754
1755 %if %{with_gmond}
1756 %files gmond
1757 %{_libdir}/%{name}/gmond.so
1758 %endif
1759
1760 %if %{with_hddtemp}
1761 %files hddtemp
1762 %{_libdir}/%{name}/hddtemp.so
1763 %endif
1764
1765 %if %{with_ipmi}
1766 %files ipmi
1767 %{_libdir}/%{name}/ipmi.so
1768 %endif
1769
1770 %if %{with_iptables}
1771 %files iptables
1772 %{_libdir}/%{name}/iptables.so
1773 %endif
1774
1775 %if %{with_java}
1776 %files java
1777 %{_prefix}/share/collectd/java/collectd-api.jar
1778 %{_prefix}/share/collectd/java/generic-jmx.jar
1779 %{_libdir}/%{name}/java.so
1780 %{_mandir}/man5/collectd-java.5*
1781 %endif
1782
1783 %if %{with_libvirt}
1784 %files libvirt
1785 %{_libdir}/%{name}/libvirt.so
1786 %endif
1787
1788 %if %{with_memcachec}
1789 %files memcachec
1790 %{_libdir}/%{name}/memcachec.so
1791 %endif
1792
1793 %if %{with_modbus}
1794 %files modbus
1795 %{_libdir}/%{name}/modbus.so
1796 %endif
1797
1798 %if %{with_mysql}
1799 %files mysql
1800 %{_libdir}/%{name}/mysql.so
1801 %endif
1802
1803 %if %{with_netlink}
1804 %files netlink
1805 %{_libdir}/%{name}/netlink.so
1806 %endif
1807
1808 %if %{with_nginx}
1809 %files nginx
1810 %{_libdir}/%{name}/nginx.so
1811 %endif
1812
1813 %if %{with_notify_desktop}
1814 %files notify_desktop
1815 %{_libdir}/%{name}/notify_desktop.so
1816 %endif
1817
1818 %if %{with_notify_email}
1819 %files notify_email
1820 %{_libdir}/%{name}/notify_email.so
1821 %endif
1822
1823 %if %{with_nut}
1824 %files nut
1825 %{_libdir}/%{name}/nut.so
1826 %endif
1827
1828 %if %{with_perl}
1829 %files perl
1830 %doc perl-examples/*
1831 %{perl_vendorlib}/Collectd.pm
1832 %{perl_vendorlib}/Collectd/
1833 %{_mandir}/man3/Collectd::Unixsock.3pm*
1834 %{_mandir}/man5/collectd-perl.5*
1835 %{_libdir}/%{name}/perl.so
1836 %endif
1837
1838 %if %{with_pinba}
1839 %files pinba
1840 %{_libdir}/%{name}/pinba.so
1841 %endif
1842
1843 %if %{with_ping}
1844 %files ping
1845 %{_libdir}/%{name}/ping.so
1846 %endif
1847
1848 %if %{with_postgresql}
1849 %files postgresql
1850 %{_prefix}/share/collectd/postgresql_default.conf
1851 %{_libdir}/%{name}/postgresql.so
1852 %endif
1853
1854 %if %{with_python}
1855 %files python
1856 %{_mandir}/man5/collectd-python*
1857 %{_libdir}/%{name}/python.so
1858 %endif
1859
1860 %if %{with_redis}
1861 %files redis
1862 %{_libdir}/%{name}/redis.so
1863 %endif
1864
1865 %if %{with_rrdcached}
1866 %files rrdcached
1867 %{_libdir}/%{name}/rrdcached.so
1868 %endif
1869
1870 %if %{with_rrdtool}
1871 %files rrdtool
1872 %{_libdir}/%{name}/rrdtool.so
1873 %endif
1874
1875 %if %{with_sensors}
1876 %files sensors
1877 %{_libdir}/%{name}/sensors.so
1878 %endif
1879
1880 %if %{with_snmp}
1881 %files snmp
1882 %{_mandir}/man5/collectd-snmp.5*
1883 %{_libdir}/%{name}/snmp.so
1884 %endif
1885
1886 %if %{with_varnish}
1887 %files varnish
1888 %{_libdir}/%{name}/varnish.so
1889 %endif
1890
1891 %if %{with_write_http}
1892 %files write_http
1893 %{_libdir}/%{name}/write_http.so
1894 %endif
1895
1896 %if %{with_write_redis}
1897 %files write_redis
1898 %{_libdir}/%{name}/write_redis.so
1899 %endif
1900
1901 %if %{with_write_riemann}
1902 %files write_riemann
1903 %{_libdir}/%{name}/write_riemann.so
1904 %endif
1905
1906 %files collection3
1907 %{_localstatedir}/www/collection3
1908 %{_sysconfdir}/httpd/conf.d/collection3.conf
1909
1910 %files php-collection
1911 %{_localstatedir}/www/php-collection
1912 %{_sysconfdir}/httpd/conf.d/php-collection.conf
1913
1914 %files contrib
1915 %doc contrib/
1916
1917 %changelog
1918 * Tue Aug 06 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.1-1
1919 - New upstream version
1920 - Added RHEL5 support:
1921   * conditionally disable plugins not building on this platform
1922   * add/specify some build dependencies and options
1923   * replace some RPM macros not available on this platform
1924 - Removed duplicate --enable-aggregation
1925 - Added some comments & usage examples
1926 - Replaced a couple of "Buildrequires" by "BuildRequires"
1927 - Enabled modbus plugin on RHEL6
1928 - Enabled netlink plugin on RHEL6 and RHEL7
1929 - Allow perl plugin to build on RHEL5
1930 - Add support for RHEL7
1931
1932 * Wed Apr 10 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.0-1
1933 - New upstream version
1934 - Enabled write_riemann plugin
1935 - Enabled tail_csv plugin
1936 - Installed collectd-tc manpage
1937
1938 * Fri Jan 11 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-3
1939 - remove dependency on libstatgrab, which isn't required on linux
1940
1941 * Thu Jan 03 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-2
1942 - collection3 and php-collection viewers are now in separate packages
1943
1944 * Fri Dec 21 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-1
1945 - New upstream version
1946 - Enabled aggregation plugin
1947 - Installed collectd-tc
1948 - Added network.h and network_buffer.h to libcollectdclient-devel
1949 - Moved libxml2-devel and libcurl-devel BRs to relevant plugins sections
1950 - Moved libcollectdclient.so from libcollectdclient-devel to libcollectdclient
1951 - Added rrdcached and redis plugin descriptions
1952 - Mentioned new pf plugin in disabled plugins list
1953
1954 * Sun Nov 18 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-3
1955 - Follow Fedora Packaging Guidelines in java subpackage
1956
1957 * Sat Nov 17 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-2
1958 - Move perl stuff to perl_vendorlib
1959 - Replace hardcoded paths with macros
1960 - Remove unneccesary Requires
1961 - Removed .a and .la files
1962 - Some other small cleanups
1963
1964 * Fri Nov 16 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.1.0-1
1965 - New upstream version
1966 - Changes to support 5.1.0
1967 - Enabled all buildable plugins based on libraries available on EL6 + EPEL
1968 - All plugins requiring external libraries are now shipped in seperate
1969   packages.
1970 - No longer treat Java plugin as an exception, correctly set $JAVA_HOME during
1971   the build process + ensure build deps are installed.
1972 - Dropped per-plugin configuration files, as they tend to diverge from upstream
1973   defaults.
1974 - Moved perl stuff to /usr/share/perl5/
1975 - Don't alter Interval and ReadThreads by default, let the user change this
1976   himself.
1977 - Initscript improvements:
1978   * checks configuration before (re)starting, based on debian's initscript
1979   * use /etc/sysconfig instdead of /etc/default
1980   * include optional $ARGS in arguments passed to collectd.
1981 - Drop collection.cgi from main package, as it's been obsoleted by collection3
1982 - Moved contrib/ to its own package, to avoid cluttering the main package with
1983   non-essential stuff.
1984 - Replaced BuildPrereq by BuildRequires
1985
1986 * Mon Jan 03 2011 Monetate <jason.stelzer@monetate.com> 5.0.1
1987 - New upstream version
1988 - Changes to support 5.0.1
1989
1990 * Mon Jan 04 2010 Rackspace <stu.hood@rackspace.com> 4.9.0
1991 - New upstream version
1992 - Changes to support 4.9.0
1993 - Added support for Java/GenericJMX plugin
1994
1995 * Mon Mar 17 2008 RightScale <support@rightscale.com> 4.3.1
1996 - New upstream version
1997 - Changes to support 4.3.1
1998 - Added More Prereqs to support more plugins
1999 - Added support for perl plugin
2000
2001 * Mon Aug 06 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.6
2002 - New upstream version
2003
2004 * Wed Jul 25 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.5
2005 - New major releas
2006 - Changes to support 4.0.5
2007
2008 * Thu Jan 11 2007 Iain Lea <iain@bricbrac.de> 3.11.0-0
2009 - fixed spec file to build correctly on fedora core
2010 - added improved init.d script to work with chkconfig
2011 - added %%post and %%postun to call chkconfig automatically
2012
2013 * Sun Jul 09 2006 Florian octo Forster <octo@verplant.org> 3.10.0-1
2014 - New upstream version
2015
2016 * Sun Jun 25 2006 Florian octo Forster <octo@verplant.org> 3.9.4-1
2017 - New upstream version
2018
2019 * Thu Jun 01 2006 Florian octo Forster <octo@verplant.org> 3.9.3-1
2020 - New upstream version
2021
2022 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.9.2-1
2023 - New upstream version
2024
2025 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.8.5-1
2026 - New upstream version
2027
2028 * Fri Apr 21 2006 Florian octo Forster <octo@verplant.org> 3.9.1-1
2029 - New upstream version
2030
2031 * Fri Apr 14 2006 Florian octo Forster <octo@verplant.org> 3.9.0-1
2032 - New upstream version
2033 - Added the `apache' package.
2034
2035 * Tue Mar 14 2006 Florian octo Forster <octo@verplant.org> 3.8.2-1
2036 - New upstream version
2037
2038 * Mon Mar 13 2006 Florian octo Forster <octo@verplant.org> 3.8.1-1
2039 - New upstream version
2040
2041 * Thu Mar 09 2006 Florian octo Forster <octo@verplant.org> 3.8.0-1
2042 - New upstream version
2043
2044 * Sat Feb 18 2006 Florian octo Forster <octo@verplant.org> 3.7.2-1
2045 - Include `tape.so' so the build doesn't terminate because of missing files..
2046 - New upstream version
2047
2048 * Sat Feb 04 2006 Florian octo Forster <octo@verplant.org> 3.7.1-1
2049 - New upstream version
2050
2051 * Mon Jan 30 2006 Florian octo Forster <octo@verplant.org> 3.7.0-1
2052 - New upstream version
2053 - Removed the extra `hddtemp' package
2054
2055 * Tue Jan 24 2006 Florian octo Forster <octo@verplant.org> 3.6.2-1
2056 - New upstream version
2057
2058 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.1-1
2059 - New upstream version
2060
2061 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.0-1
2062 - New upstream version
2063 - Added config file, `collectd.conf(5)', `df.so'
2064 - Added package `collectd-mysql', dependency on `mysqlclient10 | mysql'
2065
2066 * Wed Dec 07 2005 Florian octo Forster <octo@verplant.org> 3.5.0-1
2067 - New upstream version
2068
2069 * Sat Nov 26 2005 Florian octo Forster <octo@verplant.org> 3.4.0-1
2070 - New upstream version
2071
2072 * Sat Nov 05 2005 Florian octo Forster <octo@verplant.org> 3.3.0-1
2073 - New upstream version
2074
2075 * Wed Oct 26 2005 Florian octo Forster <octo@verplant.org> 3.2.0-1
2076 - New upstream version
2077 - Added statement to remove the `*.la' files. This fixes a problem when
2078   `Unpackaged files terminate build' is in effect.
2079 - Added `processes.so*' to the main package
2080
2081 * Fri Oct 14 2005 Florian octo Forster <octo@verplant.org> 3.1.0-1
2082 - New upstream version
2083 - Added package `collectd-hddtemp'
2084
2085 * Fri Sep 30 2005 Florian octo Forster <octo@verplant.org> 3.0.0-1
2086 - New upstream version
2087 - Split the package into `collectd' and `collectd-sensors'
2088
2089 * Fri Sep 16 2005 Florian octo Forster <octo@verplant.org> 2.1.0-1
2090 - New upstream version
2091
2092 * Sat Sep 10 2005 Florian octo Forster <octo@verplant.org> 2.0.0-1
2093 - New upstream version
2094
2095 * Mon Aug 29 2005 Florian octo Forster <octo@verplant.org> 1.8.0-1
2096 - New upstream version
2097
2098 * Thu Aug 25 2005 Florian octo Forster <octo@verplant.org> 1.7.0-1
2099 - New upstream version
2100
2101 * Sun Aug 21 2005 Florian octo Forster <octo@verplant.org> 1.6.0-1
2102 - New upstream version
2103
2104 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5.1-1
2105 - New upstream version
2106
2107 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5-1
2108 - New upstream version
2109
2110 * Mon Jul 11 2005 Florian octo Forster <octo@verplant.org> 1.4.2-1
2111 - New upstream version
2112
2113 * Sat Jul 09 2005 Florian octo Forster <octo@verplant.org> 1.4-1
2114 - Built on RedHat 7.3