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