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