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