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