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