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