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