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