]> git.pld-linux.org Git - packages/collectd.git/blob - collectd.spec
- 4.7.5 - last maintenance release of that line - let's build it for us
[packages/collectd.git] / collectd.spec
1 # TODO:
2 # - package contrib scripts as %doc
3 # - perl modules with Collectd classes package to separate package
4 # - Disabled modules:
5 #   apple_sensors . . . no             (obvious)
6 #   ipvs  . . . . . . . no             (ip_vs.h not found - llh to be fixed)
7 #   libvirt . . . . . . no             (requires library)
8 #   multimeter  . . . . no             ?
9 #   onewire . . . . . . no             (needs libowfs)
10 #   perl  . . . . . . . no             (buggy perl: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467072)
11 #   rrdcached . . . . . no             (requires rrdtool >= 1.4.0)
12 #   tape  . . . . . . . no             ?
13 # - logrotate file for logfile plugin
14 # - %desc -l pl for plugins
15 # - package SpamAssassin plugin from contrib
16
17 # Conditional build:
18 %bcond_without  curl            # apache, ascent, bind, curl and nginx plugins
19 %bcond_without  dns             # DNS plugin
20 %bcond_without  ipmi            # IPMI plugin
21 %bcond_without  iptables        # iptables plugin
22 %bcond_without  libesmtp        # notify_email plugin
23 %bcond_with     multimeter      # multimeter plugin
24 %bcond_without  mysql           # MySQL plugin
25 %bcond_without  netlink         # netlink plugin
26 %bcond_without  notify          # notify_desktop plugin
27 %bcond_without  ping            # ping plugin
28 %bcond_without  psql            # PostgreSQL plugin
29 %bcond_without  rrd             # rrdtool and rrdcached plugins
30 %bcond_without  sensors         # sensors plugin
31 %bcond_without  snmp            # SNMP plugin
32 %bcond_without  ups             # nut plugin
33 %bcond_without  xml             # ascent, bind and libvirt plugins
34 %bcond_without  xmms            # XMMS plugin
35
36 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358637
37 %ifarch %{x8664}
38 %undefine with_iptables
39 %undefine with_netlink
40 %endif
41
42 Summary:        Collects system information in RRD files
43 Summary(pl.UTF-8):      Zbieranie informacji o systemie w plikach RRD
44 Name:           collectd
45 Version:        4.7.5
46 Release:        1
47 License:        GPL v2
48 Group:          Daemons
49 Source0:        http://collectd.org/files/%{name}-%{version}.tar.bz2
50 # Source0-md5:  0d662b58365fad1a76f5d2fd714bf3df
51 Source1:        %{name}.conf
52 Source2:        %{name}.init
53 Source3:        %{name}-http.conf
54 Source4:        %{name}-lighttpd.conf
55 Source10:       %{name}-df.conf
56 Source11:       %{name}-rrdtool.conf
57 Patch0:         %{name}-collection.patch
58 URL:            http://collectd.org/
59 %{?with_ipmi:BuildRequires:     OpenIPMI-devel >= 2.0.14-3}
60 BuildRequires:  autoconf
61 BuildRequires:  automake
62 %{?with_curl:BuildRequires:     curl-devel}
63 BuildRequires:  hal-devel
64 %{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4}
65 BuildRequires:  libdbi-devel
66 %{?with_libesmtp:BuildRequires: libesmtp-devel}
67 BuildRequires:  libltdl-devel
68 %{?with_netlink:BuildRequires:  libnetlink-devel}
69 %{?with_notify:BuildRequires:   libnotify-devel}
70 %{?with_ping:BuildRequires:     liboping-devel}
71 %{?with_dns:BuildRequires:      libpcap-devel}
72 BuildRequires:  libstatgrab-devel >= 0.12
73 BuildRequires:  libstdc++-devel
74 BuildRequires:  libtool
75 %{?with_xml:BuildRequires:      libxml2-devel}
76 %{?with_sensors:BuildRequires:  lm_sensors-devel}
77 %{?with_mysql:BuildRequires:    mysql-devel}
78 %{?with_snmp:BuildRequires:     net-snmp-devel}
79 %{?with_ups:BuildRequires:      nut-devel}
80 BuildRequires:  perl-devel
81 %{?with_psql:BuildRequires:     postgresql-devel}
82 BuildRequires:  rpmbuild(macros) >= 1.268
83 %{?with_rrd:BuildRequires:      rrdtool-devel}
84 %{?with_xmms:BuildRequires:     xmms-devel}
85 Requires(post,preun):   /sbin/chkconfig
86 Requires:       rc-scripts
87 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
88
89 %define         _pkglibdir      %{_sharedstatedir}/%{name}
90 %define         _webapps        /etc/webapps
91 %define         _webapp         %{name}
92 %define         _webappdir      %{_webapps}/%{_webapp}
93 %define         _appdir         %{_datadir}/%{_webapp}
94
95 %description
96 collectd is a small daemon which collects system information every 10
97 seconds and writes the results in an RRD-file.
98
99 In contrast to most similar software, collectd is not a script but
100 written in plain C for performance and portability. As a daemon it
101 stays in memory, so there is no need to start up a heavy interpreter
102 every time new values should be logged. This allows collectd to have a
103 10 second resolution while being nice to the system.
104
105 %description -l pl.UTF-8
106 collectd to mały demon zbierający co 10 sekund informacje o systemie
107 i zapisujący wyniki do pliku RRD.
108
109 W odróżnieniu od innych podobnych programów collectd nie jest
110 skryptem, lecz jest napisany w czystym C z myślą o wydajności i
111 przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
112 urychamiania ciężkiego interpretera za każdym razem, kiedy powinny
113 być zapisane nowe wartości. Dzięki temu collect może mieć
114 rozdzielczość 10 sekund i nie obciążać zbytnio systemu.
115
116 %package libs
117 Summary:        %{name} libraries
118 Summary(pl.UTF-8):      Biblioteki %{name}
119 Group:          Libraries
120
121 %description libs
122 %{name} libraries.
123
124 %description libs -l pl.UTF-8
125 Biblioteki %{name}.
126
127 %package devel
128 Summary:        Header files for %{name} libraries
129 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek %{name}
130 Group:          Development/Libraries
131 Requires:       %{name}-libs = %{version}-%{release}
132
133 %description devel
134 Header files for %{name} libraries.
135
136 %description devel -l pl.UTF-8
137 Pliki nagłówkowe bibliotek %{name}.
138
139 %package static
140 Summary:        Static files for %{name} libraries
141 Summary(pl.UTF-8):      Pliki statyczne bibliotek %{name}
142 Group:          Development/Libraries
143 Requires:       %{name}-libs = %{version}-%{release}
144
145 %description static
146 Static files for %{name} libraries.
147
148 %description static -l pl.UTF-8
149 Pliki statyczne bibliotek %{name}.
150
151 %package apache
152 Summary:        apache-plugin for collectd
153 Summary(pl_PL.UTF-8):   Wtyczka apache dla collectd
154 Group:          Daemons
155 Requires:       %{name} = %{version}-%{release}
156
157 %description apache
158 This plugin collect data provided by Apache's `mod_status'.
159
160 %description apache -l pl.UTF-8
161 Wtyczka collectd zbierająca informacje udostępniane przez moduł
162 'mod_status' Apacha.
163
164 %package apcups
165 Summary:        APC UPS plugin for collectd
166 Summary(pl_PL.UTF-8):   Wtyczka APC UPS dla collectd
167 Group:          Daemons
168 Requires:       %{name} = %{version}-%{release}
169
170 %description apcups
171 APC UPS plugin for collectd.
172
173 %package ascent
174 Summary:        ascent-plugin for collectd
175 Summary(pl_PL.UTF-8):   Wtyczka ascent dla collectd
176 Group:          Daemons
177 Requires:       %{name} = %{version}-%{release}
178
179 %description ascent
180 ascent plugin for collectd.
181
182 %package battery
183 Summary:        battery plugin for collectd
184 Summary(pl_PL.UTF-8):   Wtyczka battery dla collectd
185 Group:          Daemons
186 Requires:       %{name} = %{version}-%{release}
187
188 %description battery
189 This plugin collects the battery's charge, the drawn current and the
190 battery's voltage.
191
192 %package bind
193 Summary:        bind plugin for collectd
194 Summary(pl_PL.UTF-8):   Wtyczka bind dla collectd
195 Group:          Daemons
196 Requires:       %{name} = %{version}-%{release}
197
198 %description bind
199 Starting with BIND 9.5.0, the most widely used DNS server software
200 provides extensive statistics about queries, responses and lots of
201 other information. The bind plugin retrieves this information that's
202 encoded in XML and provided via HTTP and submits the values to
203 collectd.
204
205 %package collection
206 Summary:        Web script for collectd
207 Summary(pl_PL.UTF-8):   Web script for collectd
208 Group:          Applications/WWW
209 Requires:       %{name} = %{version}-%{release}
210 Requires:       perl(CGI)
211 Requires:       perl(Data::Dumper)
212 Requires:       perl(HTML::Entities)
213 Requires:       perl(RRDs)
214 Requires:       perl(URI::Escape)
215 Requires:       webserver(cgi)
216 Suggests:       fonts-TTF-DejaVu
217
218 %description collection
219 Web script for collectd.
220
221 %package collection3
222 Summary:        Web script for collectd
223 Summary(pl_PL.UTF-8):   Web script for collectd
224 Group:          Applications/WWW
225 Requires:       %{name} = %{version}-%{release}
226 Requires:       perl(Config::General)
227 Requires:       perl(HTML::Entities)
228 Requires:       perl(RRDs)
229 Requires:       webserver(cgi)
230 Suggests:       fonts-TTF-DejaVu
231
232 %description collection3
233 Web script for collectd.
234
235 %package conntrack
236 Summary:        conntrack-plugin for collectd
237 Summary(pl_PL.UTF-8):   Wtyczka conntrack dla collectd
238 Group:          Daemons
239 Requires:       %{name} = %{version}-%{release}
240
241 %description conntrack
242 The conntrack-plugin collects the connection tracking table size.
243
244 %package cpu
245 Summary:        cpu-plugin for collectd
246 Summary(pl_PL.UTF-8):   Wtyczka cpu dla collectd
247 Group:          Daemons
248 Requires:       %{name} = %{version}-%{release}
249
250 %description cpu
251 The cpu-plugin collects the amount of time spent by the CPU in various
252 states, most notably executing user code, executing system code,
253 waiting for IO operations and being idle.
254
255 %package cpufreq
256 Summary:        cpufreq-plugin for collectd
257 Summary(pl_PL.UTF-8):   Wtyczka cpufreq dla collectd
258 Group:          Daemons
259 Requires:       %{name} = %{version}-%{release}
260
261 %description cpufreq
262 Collects the current CPU's frequency, mostly for mobile computers.
263
264 %package csv
265 Summary:        CSV output plugin for collectd
266 Summary(pl_PL.UTF-8):   Wtyczka wyjściowa CSV dla collectd
267 Group:          Daemons
268 Requires:       %{name} = %{version}-%{release}
269
270 %description csv
271 CSV output plugin for collectd.
272
273 %package curl
274 Summary:        cURL output plugin for collectd
275 Summary(pl_PL.UTF-8):   Wtyczka wyjściowa cURL dla collectd
276 Group:          Daemons
277 Requires:       %{name} = %{version}-%{release}
278
279 %description curl
280 The curl plugin uses the libcurl to read web pages and the match
281 infrastructure (the same code used by the tail plugin) to use regular
282 expressions with the received data.
283
284 %package dbi
285 Summary:        dbi plugin for collectd
286 Summary(pl_PL.UTF-8):   Wtyczka dbi dla collectd
287 Group:          Daemons
288 Requires:       %{name} = %{version}-%{release}
289
290 %description dbi
291 This plugin uses the dbi library to connect to various databases,
292 execute SQL statements and read back the results. dbi is an acronym
293 for "database interface" in case you were wondering about the name.
294 You can configure how each column is to be interpreted and the plugin
295 will generate one or more data sets from each row returned according
296 to these rules.
297
298 %package df
299 Summary:        df-plugin for collectd
300 Summary(pl_PL.UTF-8):   Wtyczka df dla collectd
301 Group:          Daemons
302 Requires:       %{name} = %{version}-%{release}
303
304 %description df
305 The df-plugin collects file system usage information, i. e. basically
306 how much space on a mounted partition is used and how much is
307 available. It's named after and very similar to the df(1) UNIX command
308 that's been around forever.
309
310 %package disk
311 Summary:        disk-plugin for collectd
312 Summary(pl_PL.UTF-8):   Wtyczka disk dla collectd
313 Group:          Daemons
314 Requires:       %{name} = %{version}-%{release}
315
316 %description disk
317 This plugin collects performance statistics of harddisks and, where
318 supported, partitions.
319
320 %package dns
321 Summary:        dns-plugin for collectd
322 Summary(pl_PL.UTF-8):   Wtyczka dns dla collectd
323 Group:          Daemons
324 Requires:       %{name} = %{version}-%{release}
325 Requires:       perl-rrdtool
326
327 %description dns
328 This plugin has a similar functionality to dnstop: It uses libpcap to
329 get a copy of all traffic from/to port UDP/53 (that's the DNS port),
330 interprets the packets and collects statistics of your DNS traffic.
331
332 %package email
333 Summary:        email-plugin for collectd
334 Summary(pl_PL.UTF-8):   Wtyczka email dla collectd
335 Group:          Daemons
336 Requires:       %{name} = %{version}-%{release}
337
338 %description email
339 The email plugin opens an UNIX-socket over which one can submit email
340 statistics, such as the number of ``ham'', ``spam'', ``virus'', etc.
341 mails received/handled, spam scores and matched spam checks.
342
343 This plugin is intended to be used with the the
344 Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which
345 is included in contrib/, but is of course not limited to that use.
346
347 %package entropy
348 Summary:        entropy-plugin for collectd
349 Summary(pl_PL.UTF-8):   Wtyczka entropy dla collectd
350 Group:          Daemons
351 Requires:       %{name} = %{version}-%{release}
352
353 %description entropy
354 entropy plugin for collectd.
355
356 %package exec
357 Summary:        exec-plugin for collectd
358 Summary(pl_PL.UTF-8):   Wtyczka exec dla collectd
359 Group:          Daemons
360 Requires:       %{name} = %{version}-%{release}
361
362 %description exec
363 The exec plugin forks of an executable either to receive values or to
364 dispatch notifications to the outside world.
365
366 %package filecount
367 Summary:        filecount-plugin for collectd
368 Summary(pl_PL.UTF-8):   Wtyczka filecount dla collectd
369 Group:          Daemons
370 Requires:       %{name} = %{version}-%{release}
371
372 %description filecount
373 The filecount-plugin does something very simple: Count the number of
374 files in a directory and all its subdirectories. This can be used for
375 a variety of statistics, for example the queue length of an MTA, the
376 number of PHP sessions of a web server or simply the number of files
377 in your home directory.
378
379 %package fscache
380 Summary:        fscache-plugin for collectd
381 Summary(pl_PL.UTF-8):   Wtyczka fscache dla collectd
382 Group:          Daemons
383 Requires:       %{name} = %{version}-%{release}
384
385 %description fscache
386 The fscache-plugin collects statistics about Linux file-system based
387 caching framework.
388
389 %package hddtemp
390 Summary:        hddtemp-plugin for collectd
391 Summary(pl_PL.UTF-8):   Wtyczka hddtemp dla collectd
392 Group:          Daemons
393 Requires:       %{name} = %{version}-%{release}
394 Suggests:       hddtemp-hddtempd
395
396 %description hddtemp
397 Temperature of harddisks. The temperatures are provided via S.M.A.R.T.
398 and queried by the external hddtemp-daemon.
399
400 %package interface
401 Summary:        interface-plugin for collectd
402 Summary(pl_PL.UTF-8):   Wtyczka interface dla collectd
403 Group:          Daemons
404 Requires:       %{name} = %{version}-%{release}
405
406 %description interface
407 The interface-plugin collects information about the traffic (octets),
408 packets and errors of interfaces.
409
410 %package iptables
411 Summary:        iptables-plugin for collectd
412 Summary(pl_PL.UTF-8):   Wtyczka iptables dla collectd
413 Group:          Daemons
414 Requires:       %{name} = %{version}-%{release}
415
416 %description iptables
417 With this plugin you can gather statistics from your ip_tables based
418 packetfilter (aka. firewall). It can collect the byte- and
419 packet-counters of selected rules and submit them to collectd. You can
420 select rules that should be collected wither by its position (e.g.
421 "the fourth rule in the INPUT queue in the filter table") or by its
422 comment (using the COMMENT match). This means that depending on your
423 firewall layout you can collect certain services (such as the amount
424 of web-traffic), source or destination hosts or networks, dropped
425 packets and much more.
426
427 %package ipmi
428 Summary:        ipmi-plugin for collectd
429 Summary(pl_PL.UTF-8):   Wtyczka ipmi dla collectd
430 Group:          Daemons
431 Requires:       %{name} = %{version}-%{release}
432
433 %description ipmi
434 ipmi plugin for collectd.
435
436 %description ipmi -l pl.UTF-8
437 Wtyczka ipmi dla collectd.
438
439 %package irq
440 Summary:        IRQs-plugin for collectd
441 Summary(pl_PL.UTF-8):   Wtyczka IRQs dla collectd
442 Group:          Daemons
443 Requires:       %{name} = %{version}-%{release}
444
445 %description irq
446 IRQs plugin for collectd.
447
448 %package load
449 Summary:        load-plugin for collectd
450 Summary(pl_PL.UTF-8):   Wtyczka load dla collectd
451 Group:          Daemons
452 Requires:       %{name} = %{version}-%{release}
453
454 %description load
455 Collects the system load. These numbers give a rough overview over the
456 utilization of a machine, though their meaning is mostly overrated.
457
458 %package logfile
459 Summary:        logfile-plugin for collectd
460 Summary(pl_PL.UTF-8):   Wtyczka logfile dla collectd
461 Group:          Daemons
462 Requires:       %{name} = %{version}-%{release}
463
464 %description logfile
465 Logfile plugin for collectd.
466
467 %package match_regex
468 Summary:        match_regex plugin for collectd
469 Summary(pl_PL.UTF-8):   Wtyczka match_regex dla collectd
470 Group:          Daemons
471 Requires:       %{name} = %{version}-%{release}
472
473 %description match_regex
474 match_regex plugin for collectd.
475
476 %package match_timediff
477 Summary:        match_timediff plugin for collectd
478 Summary(pl_PL.UTF-8):   Wtyczka match_timediff dla collectd
479 Group:          Daemons
480 Requires:       %{name} = %{version}-%{release}
481
482 %description match_timediff
483 match_timediff plugin for collectd.
484
485 %package match_value
486 Summary:        match_value plugin for collectd
487 Summary(pl_PL.UTF-8):   Wtyczka match_value dla collectd
488 Group:          Daemons
489 Requires:       %{name} = %{version}-%{release}
490
491 %description match_value
492 match_value plugin for collectd.
493
494 %package mbmon
495 Summary:        mbmon plugin for collectd
496 Summary(pl_PL.UTF-8):   Wtyczka mbmon dla collectd
497 Group:          Daemons
498 Requires:       %{name} = %{version}-%{release}
499
500 %description mbmon
501 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
502
503 %package memcached
504 Summary:        memcached-plugin for collectd
505 Summary(pl_PL.UTF-8):   Wtyczka memcached dla collectd
506 Group:          Daemons
507 Requires:       %{name} = %{version}-%{release}
508
509 %description memcached
510 The memcached plugin connects to a memcached daemon and collects the
511 number of connections and requests handled by the daemon, the CPU
512 resources consumed, number of items cached, number of threads, and
513 bytes sent and received.
514
515 %package memory
516 Summary:        memory-plugin for collectd
517 Summary(pl_PL.UTF-8):   Wtyczka memory dla collectd
518 Group:          Daemons
519 Requires:       %{name} = %{version}-%{release}
520
521 %description memory
522 Collects physical memory utilization for collectd.
523
524 %package multimeter
525 Summary:        multimeter-plugin for collectd
526 Summary(pl_PL.UTF-8):   Wtyczka multimeter dla collectd
527 Group:          Daemons
528 Requires:       %{name} = %{version}-%{release}
529
530 %description multimeter
531 Multimeter plugin for collectd.
532
533 %package mysql
534 Summary:        mysql-plugin for collectd
535 Summary(pl_PL.UTF-8):   Moduł mysql dla collectd.
536 Group:          Daemons
537 Requires:       %{name} = %{version}-%{release}
538 Requires:       mysql-client
539
540 %description mysql
541 MySQL querying plugin. This plugins provides data of issued commands,
542 called handlers and database traffic.
543
544 %description mysql -l pl.UTF-8
545 Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
546 poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
547
548 %package netlink
549 Summary:        netlink-plugin for collectd
550 Summary(pl_PL.UTF-8):   Wtyczka netlink dla collectd
551 Group:          Daemons
552 Requires:       %{name} = %{version}-%{release}
553
554 %description netlink
555 This plugin will open a netlink socket to the Linux kernel and use it
556 to get statistics for interfaces, qdiscs, classes, and, if you can
557 make use of it, filters. Since in most setups many of the statistics
558 this plugin can collect aren't of interest, you can select which
559 information to gather using the configuration.
560
561 %package network
562 Summary:        network-plugin for collectd
563 Summary(pl_PL.UTF-8):   Wtyczka network dla collectd
564 Group:          Daemons
565 Requires:       %{name} = %{version}-%{release}
566
567 %description network
568 nginx plugin for collectd.
569
570 %package nfs
571 Summary:        NFS-plugin for collectd
572 Summary(pl_PL.UTF-8):   Wtyczka NFS dla collectd
573 Group:          Daemons
574 Requires:       %{name} = %{version}-%{release}
575
576 %description nfs
577 The nfs plugin counts the number of procedure calls of the different
578 NFS procedures.
579
580 %package nginx
581 Summary:        nginx-plugin for collectd
582 Summary(pl_PL.UTF-8):   Wtyczka nginx dla collectd
583 Group:          Daemons
584 Requires:       %{name} = %{version}-%{release}
585
586 %description nginx
587 This plugin collects the number of connections and requests handled by
588 the nginx daemon, a HTTP and mail server/proxy. It queries the page
589 provided by the ngx_http_stub_status_module module, which isn't
590 compiled by default.
591
592 %package notify_desktop
593 Summary:        notify_desktop for collectd
594 Summary(pl_PL.UTF-8):   Wtyczka notify_desktop dla collectd
595 Group:          Daemons
596 Requires:       %{name} = %{version}-%{release}
597 Requires:       dbus(org.freedesktop.Notifications)
598
599 %description notify_desktop
600 This plugin sends a desktop notification to a notification daemon, as
601 defined in the Desktop Notification Specification.
602
603 %package notify_email
604 Summary:        notify_email-plugin for collectd
605 Summary(pl_PL.UTF-8):   Wtyczka notify_email dla collectd
606 Group:          Daemons
607 Requires:       %{name} = %{version}-%{release}
608
609 %description notify_email
610 notify_email plugin for collectd.
611
612 %package ntpd
613 Summary:        ntpd-plugin for collectd
614 Summary(pl_PL.UTF-8):   Wtyczka ntpd dla collectd
615 Group:          Daemons
616 Requires:       %{name} = %{version}-%{release}
617
618 %description ntpd
619 NTPd plugin for collectd.
620
621 %package nut
622 Summary:        nut-plugin for collectd
623 Summary(pl_PL.UTF-8):   Wtyczka nut dla collectd
624 Group:          Daemons
625 Requires:       %{name} = %{version}-%{release}
626
627 %description nut
628 UPS statistics using the Network UPS Tools. These statistics include
629 basically everything NUT will give us, including voltages, currents,
630 power, frequencies, load, and temperatures.
631
632 %package openvpn
633 Summary:        openvpn plugin for collectd
634 Summary(pl_PL.UTF-8):   Wtyczka openvpn dla collectd
635 Group:          Daemons
636 Requires:       %{name} = %{version}-%{release}
637 Requires:       openvpn
638
639 %description openvpn
640 The OpenVPN plugin reads a status file maintained by OpenVPN and
641 gathers traffic statistics about connected clients.
642
643 %package ping
644 Summary:        ping-plugin for collectd
645 Summary(pl_PL.UTF-8):   Wtyczka ping dla collectd
646 Group:          Daemons
647 Requires:       %{name} = %{version}-%{release}
648 Requires:       liboping >= 1.1.2
649
650 %description ping
651 The network latency is measured as a roundtrip time. An
652 ICMP-echo-request (aka. "ping")is sent to a host and the time needed
653 for his echo-reply (aka. "pong") to arrive is measured. If a reply is
654 not received within one second the plugin will no longer expect a
655 reply and return. This may happen in several circumstances, e. g. the
656 packet is lost, the host is down, a router has dismissed the packet,
657 etc.
658
659 %package postgresql
660 Summary:        mysql-plugin for collectd
661 Summary(pl_PL.UTF-8):   Moduł postgresql dla collectd.
662 Group:          Daemons
663 Requires:       %{name} = %{version}-%{release}
664
665 %description postgresql
666 The postgresql plugin queries statistics from PostgreSQL databases. It
667 keeps a persistent connection to all configured databases and tries to
668 reconnect if the connection has been interrupted.
669
670 %package powerdns
671 Summary:        powerdns-plugin for collectd
672 Summary(pl_PL.UTF-8):   Wtyczka powerdns dla collectd
673 Group:          Daemons
674 Requires:       %{name} = %{version}-%{release}
675
676 %description powerdns
677 The powerdns plugin queries statistics from an authoritative PowerDNS
678 nameserver and/or a PowerDNS recursor. Since both offer a wide variety
679 of values, many of which are probably meaningless to most users, but
680 may be useful for some.
681
682 %package processes
683 Summary:        processes-plugin for collectd
684 Summary(pl_PL.UTF-8):   Wtyczka processes dla collectd
685 Group:          Daemons
686 Requires:       %{name} = %{version}-%{release}
687
688 %description processes
689 This plugin collects the number of processes, grouped by their state
690 (e.g. running, sleeping, zombies, etc.). In addition to that, it can
691 select detailed statistics about selected processes, grouped by name.
692
693 %package protocols
694 Summary:        protocols-plugin for collectd
695 Summary(pl_PL.UTF-8):   Wtyczka protocols dla collectd
696 Group:          Daemons
697 Requires:       %{name} = %{version}-%{release}
698
699 %description protocols
700 The protocols-plugin provides information about network protocols,
701 such as IP, TCP and UDP.
702
703 %package rrdtool
704 Summary:        rrdtool-plugin for collectd
705 Summary(pl_PL.UTF-8):   Wtyczka rrdtool dla collectd
706 Group:          Daemons
707 Requires:       %{name} = %{version}-%{release}
708 Requires:       rrdtool
709
710 %description rrdtool
711 RRDTOOL plugin for collectd.
712
713 %package sensors
714 Summary:        sensors-plugin for collectd
715 Summary(pl_PL.UTF-8):   Wtyczka sensors dla collectd
716 Group:          Daemons
717 Requires:       %{name} = %{version}-%{release}
718
719 %description sensors
720 This plugin uses lm-sensors to read hardware sensors. You will need to
721 configure lm-sensors before this plugin will collect any usefull and
722 correct data.
723
724 %package serial
725 Summary:        serial-plugin for collectd
726 Summary(pl_PL.UTF-8):   Wtyczka serial dla collectd
727 Group:          Daemons
728 Requires:       %{name} = %{version}-%{release}
729
730 %description serial
731 Serial plugin for collectd.
732
733 %package snmp
734 Summary:        snmp-plugin for collectd
735 Summary(pl_PL.UTF-8):   Wtyczka snmp dla collectd
736 Group:          Daemons
737 Requires:       %{name} = %{version}-%{release}
738
739 %description snmp
740 The snmp plugin queries other hosts using SNMP, the Simple Network
741 Management Protocol, and translates the value it receives to
742 collectd's internal format and dispatches them. Depending on the write
743 plugins you have loaded they may be written to disk or submitted to
744 another instance or whatever you configured.
745
746 %package swap
747 Summary:        swap-plugin for collectd
748 Summary(pl_PL.UTF-8):   Wtyczka swap dla collectd
749 Group:          Daemons
750 Requires:       %{name} = %{version}-%{release}
751
752 %description swap
753 Swap space plugin for collectd.
754
755 %package syslog
756 Summary:        syslog-plugin for collectd
757 Summary(pl_PL.UTF-8):   Wtyczka syslog dla collectd
758 Group:          Daemons
759 Requires:       %{name} = %{version}-%{release}
760
761 %description syslog
762 Syslog plugin for collectd.
763
764 %package table
765 Summary:        table-plugin for collectd
766 Summary(pl_PL.UTF-8):   Wtyczka table dla collectd
767 Group:          Daemons
768 Requires:       %{name} = %{version}-%{release}
769
770 %description table
771 The table-plugin provides parsing for table-like structured files,
772 such as many files beneath /proc.
773
774 %package target_notification
775 Summary:        target_notification-plugin for collectd
776 Summary(pl_PL.UTF-8):   Wtyczka target_notification dla collectd
777 Group:          Daemons
778 Requires:       %{name} = %{version}-%{release}
779
780 %description target_notification
781 target_notification plugin for collectd.
782
783 %package target_replace
784 Summary:        target_replace-plugin for collectd
785 Summary(pl_PL.UTF-8):   Wtyczka target_replace dla collectd
786 Group:          Daemons
787 Requires:       %{name} = %{version}-%{release}
788
789 %description target_replace
790 target_replace plugin for collectd.
791
792 %package target_set
793 Summary:        target_set-plugin for collectd
794 Summary(pl_PL.UTF-8):   Wtyczka target_set dla collectd
795 Group:          Daemons
796 Requires:       %{name} = %{version}-%{release}
797
798 %description target_set
799 target_set plugin for collectd.
800
801 %package tail
802 Summary:        tail-plugin for collectd
803 Summary(pl_PL.UTF-8):   Wtyczka tail dla collectd
804 Group:          Daemons
805 Requires:       %{name} = %{version}-%{release}
806
807 %description tail
808 The tail-plugin can be used to "tail" logfiles, i.e. follow them as
809 tail -F does. Each line is given to one or more "matches" which test
810 if the line is relevant for any statistics using a regular expression.
811
812 %package tcpconns
813 Summary:        tcpconns-plugin for collectd
814 Summary(pl_PL.UTF-8):   Wtyczka tcpconns dla collectd
815 Group:          Daemons
816 Requires:       %{name} = %{version}-%{release}
817
818 %description tcpconns
819 The tcpconns-plugin counts the number of TCP connections to or from a
820 specified port. Typically the connectioins where you specify the local
821 port are incoming connections while the connections where you specify
822 the remote port are outgoing connections.
823
824 %package teamspeak2
825 Summary:        teamspeak2-plugin for collectd
826 Summary(pl_PL.UTF-8):   Wtyczka teamspeak2 dla collectd
827 Group:          Daemons
828 Requires:       %{name} = %{version}-%{release}
829
830 %description teamspeak2
831 The teamspeak2 plugin connects to the query port of a teamspeak2
832 server and polls interesting global and virtual server data. The
833 plugin can query only one physical server but unlimited virtual
834 servers.
835
836 %package ted
837 Summary:        ted-plugin for collectd
838 Summary(pl_PL.UTF-8):   Wtyczka ted dla collectd
839 Group:          Daemons
840 Requires:       %{name} = %{version}-%{release}
841
842 %description ted
843 The TED-plugin reads power consumption measurements from “The Energy
844 Detective” (TED).
845
846 %package thermal
847 Summary:        thermal-plugin for collectd
848 Summary(pl_PL.UTF-8):   Wtyczka thermal dla collectd
849 Group:          Daemons
850 Requires:       %{name} = %{version}-%{release}
851
852 %description thermal
853 Thermal plugin for collectd.
854
855 %package unixsock
856 Summary:        unixsock-plugin for collectd
857 Summary(pl_PL.UTF-8):   Wtyczka unixsock dla collectd
858 Group:          Daemons
859 Requires:       %{name} = %{version}-%{release}
860
861 %description unixsock
862 The unixsock plugin opens an UNIX-socket over which one can interact
863 with the daemon. This can be used to use the values collected by
864 collectd in other applications, such as monitoring, or submit
865 externally collected values to collectd.
866
867 %package uptime
868 Summary:        uptime-plugin for collectd
869 Summary(pl_PL.UTF-8):   Wtyczka uptime dla collectd
870 Group:          Daemons
871 Requires:       %{name} = %{version}-%{release}
872
873 %description uptime
874 The uptime-plugin can collect the server's uptime.
875
876 %package users
877 Summary:        users-plugin for collectd
878 Summary(pl_PL.UTF-8):   Wtyczka users dla collectd
879 Group:          Daemons
880 Requires:       %{name} = %{version}-%{release}
881
882 %description users
883 Number of users currently logged in.
884
885 %package uuid
886 Summary:        uuid-plugin for collectd
887 Summary(pl_PL.UTF-8):   Wtyczka uuid dla collectd
888 Group:          Daemons
889 Requires:       %{name} = %{version}-%{release}
890
891 %description uuid
892 This plugin, if loaded, causes the Hostname to be taken from the
893 machine's UUID. The UUID is a universally unique designation for the
894 machine, usually taken from the machine's BIOS. This is most useful if
895 the machine is running in a virtual environment such as Xen, in which
896 case the UUID is preserved across shutdowns and migration.
897
898 %package vmem
899 Summary:        vmem-plugin for collectd
900 Summary(pl_PL.UTF-8):   Wtyczka vmem dla collectd
901 Group:          Daemons
902 Requires:       %{name} = %{version}-%{release}
903
904 %description vmem
905 The vmem plugin collects information about the usage of virtual
906 memory. Since the statistics provided by the Linux kernel are very
907 detailed, they are collected very detailed.
908
909 %package vserver
910 Summary:        vserver-plugin for collectd
911 Summary(pl_PL.UTF-8):   Wtyczka vserver dla collectd
912 Group:          Daemons
913 Requires:       %{name} = %{version}-%{release}
914
915 %description vserver
916 Collects information about the virtual servers running on a system,
917 using Linux-Vserver.
918
919 %package wireless
920 Summary:        wireless-plugin for collectd
921 Summary(pl_PL.UTF-8):   Wtyczka wireless dla collectd
922 Group:          Daemons
923 Requires:       %{name} = %{version}-%{release}
924
925 %description wireless
926 Wireless plugin for collectd.
927
928 %package xmms
929 Summary:        xmms-plugin for collectd
930 Summary(pl_PL.UTF-8):   Wtyczka xmms dla collectd
931 Group:          Daemons
932 Requires:       %{name} = %{version}-%{release}
933
934 %description xmms
935 This plugin collectd data provided by XMMS.
936
937 %package -n perl-Collectd
938 Summary:        Perl files from Collectd package
939 Group:          Daemons
940
941 %description -n perl-Collectd
942 Perl files from Collectd package
943
944 %prep
945 %setup -q
946 %patch0 -p1
947
948 %build
949 %{__libtoolize}
950 %{__aclocal}
951 %{__autoconf}
952 %{__autoheader}
953 %{__automake}
954
955 %configure \
956         --with-libstatgrab=/usr \
957         --with-lm-sensors=/usr \
958         --with-libmysql=/usr \
959         --%{?with_dns:en}%{!?with_dns:dis}able-dns \
960         --%{?with_ipmi:en}%{!?with_ipmi:dis}able-ipmi \
961         --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \
962         --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \
963         --%{?with_mysql:en}%{!?with_mysql:dis}able-mysql \
964         --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink \
965         --%{?with_notify:en}%{!?with_notify:dis}able-notify_desktop \
966         --%{?with_libesmtp:en}%{!?with_libesmtp:dis}able-notify_email \
967         --%{?with_ups:en}%{!?with_ups:dis}able-nut \
968         --%{?with_ping:en}%{!?with_ping:dis}able-ping \
969         --%{?with_psql:en}%{!?with_psql:dis}able-postgresql \
970         --%{?with_rrd:en}%{!?with_rrd:dis}able-rrdtool \
971         --%{?with_sensors:en}%{!?with_sensors:dis}able-sensors \
972         --%{?with_snmp:en}%{!?with_snmp:dis}able-snmp \
973         --%{?with_xmms:en}%{!?with_xmms:dis}able-xmms \
974         %{!?with_curl:--disable-{apache,ascent,bind,curl,nginx}} \
975         %{!?with_xml:--disable-{ascent,bind,libvirt}} \
976         --disable-ipvs \
977         --disable-libvirt \
978         --disable-perl
979
980
981 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
982         BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
983         BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread"
984
985 %install
986 rm -rf $RPM_BUILD_ROOT
987 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
988         $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir},%{perl_vendorlib}/}
989
990 %{__make} install \
991         DESTDIR=$RPM_BUILD_ROOT
992
993 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
994 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
995
996 # Web frontend:
997 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
998 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
999 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
1000 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
1001 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
1002
1003 cp -R contrib/collection3 $RPM_BUILD_ROOT%{_appdir}
1004
1005 ### Configs instalation ###
1006 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
1007         egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1008         grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
1009 done
1010
1011 # Example config in sources: src/collectd.conf
1012 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
1013
1014 # Overwrite only files which we want to change:
1015 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
1016 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
1017
1018 mv $RPM_BUILD_ROOT%{_datadir}/perl5/Collectd* $RPM_BUILD_ROOT%{perl_vendorlib}/
1019
1020 # Cleanups:
1021 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
1022
1023 %clean
1024 rm -rf $RPM_BUILD_ROOT
1025
1026 %post
1027 /sbin/chkconfig --add %{name}
1028 %service %{name} restart
1029
1030 %preun
1031 if [ "$1" = "0" ]; then
1032         %service -q %{name} stop
1033         /sbin/chkconfig --del %{name}
1034 fi
1035
1036 %post   libs -p /sbin/ldconfig
1037 %postun libs -p /sbin/ldconfig
1038
1039 %define module_scripts() \
1040 %post %1 \
1041 %service %{name} restart \
1042 \
1043 %postun %1 \
1044 %service %{name} restart
1045
1046 %module_scripts apache
1047 %module_scripts apcups
1048 %module_scripts ascent
1049 %module_scripts battery
1050 %module_scripts bind
1051 %module_scripts conntrack
1052 %module_scripts cpu
1053 %module_scripts cpufreq
1054 %module_scripts csv
1055 %module_scripts curl
1056 %module_scripts dbi
1057 %module_scripts df
1058 %module_scripts disk
1059 %module_scripts dns
1060 %module_scripts email
1061 %module_scripts entropy
1062 %module_scripts exec
1063 %module_scripts filecount
1064 %module_scripts fscache
1065 %module_scripts hddtemp
1066 %module_scripts interface
1067 %module_scripts ipmi
1068 %module_scripts iptables
1069 %module_scripts irq
1070 %module_scripts load
1071 %module_scripts logfile
1072 %module_scripts match_regex
1073 %module_scripts match_timediff
1074 %module_scripts match_value
1075 %module_scripts mbmon
1076 %module_scripts memcached
1077 %module_scripts memory
1078 %module_scripts multimeter
1079 %module_scripts mysql
1080 %module_scripts netlink
1081 %module_scripts network
1082 %module_scripts nfs
1083 %module_scripts nginx
1084 %module_scripts notify_desktop
1085 %module_scripts notify_email
1086 %module_scripts ntpd
1087 %module_scripts nut
1088 %module_scripts openvpn
1089 %module_scripts ping
1090 %module_scripts postgresql
1091 %module_scripts powerdns
1092 %module_scripts processes
1093 %module_scripts protocols
1094 %module_scripts rrdtool
1095 %module_scripts sensors
1096 %module_scripts serial
1097 %module_scripts snmp
1098 %module_scripts swap
1099 %module_scripts syslog
1100 %module_scripts table
1101 %module_scripts tail
1102 %module_scripts target_notification
1103 %module_scripts target_replace
1104 %module_scripts target_set
1105 %module_scripts tcpconns
1106 %module_scripts teamspeak2
1107 %module_scripts ted
1108 %module_scripts thermal
1109 %module_scripts unixsock
1110 %module_scripts uptime
1111 %module_scripts users
1112 %module_scripts uuid
1113 %module_scripts vmem
1114 %module_scripts vserver
1115 %module_scripts wireless
1116 %module_scripts xmms
1117
1118 %triggerin collection -- apache1 < 1.3.37-3, apache1-base
1119 %webapp_register apache %{_webapp}
1120
1121 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
1122 %webapp_unregister apache %{_webapp}
1123
1124 %triggerin collection -- apache < 2.2.0, apache-base
1125 %webapp_register httpd %{_webapp}
1126
1127 %triggerun collection -- apache < 2.2.0, apache-base
1128 %webapp_unregister httpd %{_webapp}
1129
1130 %triggerin collection -- lighttpd
1131 %webapp_register lighttpd %{_webapp}
1132
1133 %triggerun collection -- lighttpd
1134 %webapp_unregister lighttpd %{_webapp}
1135
1136 %files
1137 %defattr(644,root,root,755)
1138 %doc AUTHORS ChangeLog README TODO contrib
1139 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1140 %dir %{_sysconfdir}/%{name}.d
1141 %attr(755,root,root) %{_sbindir}/collectd
1142 %attr(755,root,root) %{_sbindir}/collectdmon
1143 %attr(755,root,root) %{_bindir}/collectd-nagios
1144 %dir %{_datadir}/%{name}
1145 %{_datadir}/%{name}/types.db
1146 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1147 %{_mandir}/man1/collectd.1*
1148 %{_mandir}/man1/collectd-nagios.1*
1149 %{_mandir}/man1/collectdmon.1*
1150 %{_mandir}/man5/collectd.conf.5*
1151 %{_mandir}/man5/collectd-java.5*
1152 %{_mandir}/man5/collectd-perl.5*
1153 %{_mandir}/man5/types.db.5*
1154 %dir %{_var}/lib/%{name}
1155
1156 %files libs
1157 %defattr(644,root,root,755)
1158 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
1159 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
1160 %dir %{_libdir}/%{name}
1161
1162 %files devel
1163 %defattr(644,root,root,755)
1164 %attr(755,root,root) %{_libdir}/libcollectdclient.so
1165 %{_libdir}/libcollectdclient.la
1166 %dir %{_includedir}/%{name}
1167 %{_includedir}/%{name}/*.h
1168 %{_pkgconfigdir}/libcollectdclient.pc
1169
1170 %files static
1171 %defattr(644,root,root,755)
1172 %{_libdir}/libcollectdclient.a
1173 %{_libdir}/%{name}/*.a
1174
1175 %files collection
1176 %defattr(644,root,root,755)
1177 %dir %{_webappdir}
1178 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1179 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1180 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
1181 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
1182 %dir %{_appdir}
1183 %dir %{_appdir}/cgi-bin
1184 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1185
1186 %files collection3
1187 %defattr(644,root,root,755)
1188 %{_appdir}/collection3
1189
1190 ########## PLUGINS:
1191 %if %{with xml}
1192 %if %{with curl}
1193 %files apache
1194 %defattr(640,root,root,755)
1195 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1196 %attr(755,root,root) %{_libdir}/%{name}/apache.so
1197 %endif
1198 %endif
1199
1200 %files apcups
1201 %defattr(644,root,root,755)
1202 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1203 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
1204
1205 %if %{with curl}
1206 %files ascent
1207 %defattr(640,root,root,755)
1208 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
1209 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
1210 %endif
1211
1212 %files battery
1213 %defattr(644,root,root,755)
1214 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1215 %attr(755,root,root) %{_libdir}/%{name}/battery.so
1216
1217 %if %{with xml}
1218 %if %{with curl}
1219 %files bind
1220 %defattr(644,root,root,755)
1221 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1222 %attr(755,root,root) %{_libdir}/%{name}/bind.so
1223 %endif
1224 %endif
1225
1226 %files conntrack
1227 %defattr(644,root,root,755)
1228 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf
1229 %attr(755,root,root) %{_libdir}/%{name}/conntrack.so
1230
1231 %files cpu
1232 %defattr(644,root,root,755)
1233 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1234 %attr(755,root,root) %{_libdir}/%{name}/cpu.so
1235
1236 %files cpufreq
1237 %defattr(644,root,root,755)
1238 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1239 %attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1240
1241 %files csv
1242 %defattr(644,root,root,755)
1243 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1244 %attr(755,root,root) %{_libdir}/%{name}/csv.so
1245
1246 %if %{with curl}
1247 %files curl
1248 %defattr(640,root,root,755)
1249 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1250 %attr(755,root,root) %{_libdir}/%{name}/curl.so
1251 %endif
1252
1253 %files dbi
1254 %defattr(640,root,root,755)
1255 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1256 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
1257
1258 %files df
1259 %defattr(644,root,root,755)
1260 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1261 %attr(755,root,root) %{_libdir}/%{name}/df.so
1262
1263 %files disk
1264 %defattr(644,root,root,755)
1265 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1266 %attr(755,root,root) %{_libdir}/%{name}/disk.so
1267
1268 %if %{with dns}
1269 %files dns
1270 %defattr(644,root,root,755)
1271 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
1272 %attr(755,root,root) %{_libdir}/%{name}/dns.so
1273 %endif
1274
1275 %files email
1276 %defattr(644,root,root,755)
1277 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1278 %attr(755,root,root) %{_libdir}/%{name}/email.so
1279 %{_mandir}/man5/collectd-email.5*
1280
1281 %files entropy
1282 %defattr(644,root,root,755)
1283 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1284 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
1285
1286 %files exec
1287 %defattr(644,root,root,755)
1288 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1289 %attr(755,root,root) %{_libdir}/%{name}/exec.so
1290 %{_mandir}/man5/collectd-exec.5*
1291
1292 %files filecount
1293 %defattr(644,root,root,755)
1294 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1295 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
1296
1297 %files fscache
1298 %defattr(644,root,root,755)
1299 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf
1300 %attr(755,root,root) %{_libdir}/%{name}/fscache.so
1301
1302 %files hddtemp
1303 %defattr(644,root,root,755)
1304 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
1305 %attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1306
1307 %files interface
1308 %defattr(644,root,root,755)
1309 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1310 %attr(755,root,root) %{_libdir}/%{name}/interface.so
1311
1312 %if %{with ipmi}
1313 %files ipmi
1314 %defattr(644,root,root,755)
1315 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
1316 %attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1317 %endif
1318
1319 %if %{with iptables}
1320 %files iptables
1321 %defattr(644,root,root,755)
1322 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1323 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
1324 %endif
1325
1326 %files irq
1327 %defattr(644,root,root,755)
1328 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1329 %attr(755,root,root) %{_libdir}/%{name}/irq.so
1330
1331 %files load
1332 %defattr(644,root,root,755)
1333 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1334 %attr(755,root,root) %{_libdir}/%{name}/load.so
1335
1336 %files logfile
1337 %defattr(644,root,root,755)
1338 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1339 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
1340 %{_var}/log/collectd.log
1341
1342 %files match_regex
1343 %defattr(644,root,root,755)
1344 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1345 %attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1346
1347 %files match_timediff
1348 %defattr(644,root,root,755)
1349 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
1350 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf
1351
1352 %files match_value
1353 %defattr(644,root,root,755)
1354 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1355 %attr(755,root,root) %{_libdir}/%{name}/match_value.so
1356
1357 %files mbmon
1358 %defattr(644,root,root,755)
1359 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1360 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1361
1362 %files memcached
1363 %defattr(644,root,root,755)
1364 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1365 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
1366
1367 %files memory
1368 %defattr(644,root,root,755)
1369 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1370 %attr(755,root,root) %{_libdir}/%{name}/memory.so
1371
1372 %if %{with multimeter}
1373 %files multimeter
1374 %defattr(644,root,root,755)
1375 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1376 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1377 %endif
1378
1379 %if %{with mysql}
1380 %files mysql
1381 %defattr(640,root,root,755)
1382 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
1383 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
1384 %endif
1385
1386 %if %{with netlink}
1387 %files netlink
1388 %defattr(644,root,root,755)
1389 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1390 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
1391 %endif
1392
1393 %files network
1394 %defattr(644,root,root,755)
1395 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1396 %attr(755,root,root) %{_libdir}/%{name}/network.so
1397
1398 %files nfs
1399 %defattr(644,root,root,755)
1400 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1401 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
1402
1403 %if %{with curl}
1404 %files nginx
1405 %defattr(640,root,root,755)
1406 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
1407 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
1408 %endif
1409
1410 %if %{with notify}
1411 %files notify_desktop
1412 %defattr(644,root,root,755)
1413 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
1414 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1415 %endif
1416
1417 %if %{with libesmtp}
1418 %files notify_email
1419 %defattr(640,root,root,755)
1420 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
1421 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1422 %endif
1423
1424 %files ntpd
1425 %defattr(644,root,root,755)
1426 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1427 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1428
1429 %if %{with ups}
1430 %files nut
1431 %defattr(644,root,root,755)
1432 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
1433 %attr(755,root,root) %{_libdir}/%{name}/nut.so
1434 %endif
1435
1436 %files openvpn
1437 %defattr(644,root,root,755)
1438 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1439 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1440
1441 %if %{with ping}
1442 %files ping
1443 %defattr(644,root,root,755)
1444 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
1445 %attr(755,root,root) %{_libdir}/%{name}/ping.so
1446 %endif
1447
1448 %if %{with psql}
1449 %files postgresql
1450 %defattr(640,root,root,755)
1451 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
1452 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
1453 %{_datadir}/%{name}/postgresql_default.conf
1454 %endif
1455
1456 %files powerdns
1457 %defattr(644,root,root,755)
1458 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
1459 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1460
1461 %files processes
1462 %defattr(644,root,root,755)
1463 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1464 %attr(755,root,root) %{_libdir}/%{name}/processes.so
1465
1466 %files protocols
1467 %defattr(644,root,root,755)
1468 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf
1469 %attr(755,root,root) %{_libdir}/%{name}/protocols.so
1470
1471 %if %{with rrd}
1472 %files rrdtool
1473 %defattr(644,root,root,755)
1474 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
1475 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1476 %endif
1477
1478 %if %{with sensors}
1479 %files sensors
1480 %defattr(644,root,root,755)
1481 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
1482 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
1483 %endif
1484
1485 %files serial
1486 %defattr(644,root,root,755)
1487 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1488 %attr(755,root,root) %{_libdir}/%{name}/serial.so
1489
1490 %if %{with snmp}
1491 %files snmp
1492 %defattr(644,root,root,755)
1493 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
1494 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
1495 %{_mandir}/man5/collectd-snmp.5*
1496 %endif
1497
1498 %files swap
1499 %defattr(644,root,root,755)
1500 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1501 %attr(755,root,root) %{_libdir}/%{name}/swap.so
1502
1503 %files syslog
1504 %defattr(644,root,root,755)
1505 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
1506 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
1507
1508 %files table
1509 %defattr(644,root,root,755)
1510 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf
1511 %attr(755,root,root) %{_libdir}/%{name}/table.so
1512
1513 %files tail
1514 %defattr(644,root,root,755)
1515 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
1516 %attr(755,root,root) %{_libdir}/%{name}/tail.so
1517
1518 %files target_notification
1519 %defattr(644,root,root,755)
1520 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
1521 %attr(755,root,root) %{_libdir}/%{name}/target_notification.so
1522
1523 %files target_replace
1524 %defattr(644,root,root,755)
1525 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
1526 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
1527
1528 %files target_set
1529 %defattr(644,root,root,755)
1530 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
1531 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
1532
1533 %files tcpconns
1534 %defattr(644,root,root,755)
1535 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
1536 %attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
1537
1538 %files teamspeak2
1539 %defattr(644,root,root,755)
1540 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
1541 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
1542
1543 %files ted
1544 %defattr(644,root,root,755)
1545 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf
1546 %attr(755,root,root) %{_libdir}/%{name}/ted.so
1547
1548 %files thermal
1549 %defattr(644,root,root,755)
1550 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
1551 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
1552
1553 %files unixsock
1554 %defattr(644,root,root,755)
1555 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
1556 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
1557 %{_mandir}/man5/collectd-unixsock.5*
1558
1559 %files uptime
1560 %defattr(644,root,root,755)
1561 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf
1562 %attr(755,root,root) %{_libdir}/%{name}/uptime.so
1563
1564 %files users
1565 %defattr(644,root,root,755)
1566 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
1567 %attr(755,root,root) %{_libdir}/%{name}/users.so
1568
1569 %files uuid
1570 %defattr(644,root,root,755)
1571 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
1572 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
1573
1574 %files vmem
1575 %defattr(644,root,root,755)
1576 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
1577 %attr(755,root,root) %{_libdir}/%{name}/vmem.so
1578
1579 %files vserver
1580 %defattr(644,root,root,755)
1581 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
1582 %attr(755,root,root) %{_libdir}/%{name}/vserver.so
1583
1584 %files wireless
1585 %defattr(644,root,root,755)
1586 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
1587 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
1588
1589 %if %{with xmms}
1590 %files xmms
1591 %defattr(644,root,root,755)
1592 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
1593 %attr(755,root,root) %{_libdir}/%{name}/xmms.so
1594 %endif
1595
1596 %files -n perl-Collectd
1597 %defattr(644,root,root,755)
1598 %{perl_vendorlib}/Collectd.pm
1599 %{perl_vendorlib}/Collectd
This page took 0.293006 seconds and 4 git commands to generate.