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