]> git.pld-linux.org Git - packages/collectd.git/blobdiff - collectd.spec
- release 4
[packages/collectd.git] / collectd.spec
index d0accfb2be983281581089f3b34e95e4558d1401..c0528db04573db2141261c7404c8e378c8e84bcc 100644 (file)
@@ -1,38 +1,78 @@
 # TODO:
 # - package contrib scripts as %doc
 # - perl modules with Collectd classes package to separate package
-# - Disabled modules:
-#    apple_sensors . . . no            (obvious)
-#    ipvs  . . . . . . . no            (ip_vs.h not found - llh to be fixed)
-#    libvirt . . . . . . no            (requires library)
-#    multimeter  . . . . no            ?
-#    onewire . . . . . . no            (needs libowfs)
-#    perl  . . . . . . . no            (needs libperl)
-#    tape  . . . . . . . no            ?
+# - Bundled libraries - check if its not changed ones and if it can be
+#   mainstream library:
+# liboconfig  . . . . . yes (shipped version)
+# - Libraries not found by configure:
+#   libcredis . . . . . . no (credis.h not found) (http://code.google.com/p/credis/)
+#   libganglia  . . . . . no (gm_protocol.h not found) (http://ganglia.info/)
+#   libiokit  . . . . . . no (Darwin only)
+#   libjvm  . . . . . . . no (javac not found)
+#   libkstat  . . . . . . no (Solaris only)
+#   libkvm  . . . . . . . no (BSD only)
+#   libmodbus . . . . . . no (pkg-config doesn't know modbus) (http://www.libmodbus.org/)
+#   libnetapp . . . . . . no (netapp_api.h not found) (properitary)
+#   libperfstat . . . . . no (AIX only)
+#   librabbitmq . . . . . no (amqp.h not found) (http://hg.rabbitmq.com/rabbitmq-c/)
+#   librouteros . . . . . no ('routeros_api.h' not found) (http://verplant.org/librouteros/)
+#   libtokyotyrant  . . . no (tcrdb.h not found) (http://1978th.net/tokyotyrant/)
+#   libyajl . . . . . . . no (yajl/yajl_parse.h not found)
+#   protobuf-c  . . . . . no 
+#   oracle  . . . . . . . no (ORACLE_HOME is not set)
+# - Disabled modules (build most of them an package):
+#   amqp    . . . . . . . no
+#   apple_sensors . . . . no             (Darwin only)
+#   gmond . . . . . . . . no
+#   ipvs  . . . . . . . . no             (ip_vs.h not found - llh to be fixed)
+#   java  . . . . . . . . no
+#   lpar... . . . . . . . no
+#   modbus  . . . . . . . no
+#   multimeter  . . . . . no             ?
+#   netapp  . . . . . . . no
+#   onewire . . . . . . . no             (needs libowfs)
+#   oracle  . . . . . . . no
+#   pinba . . . . . . . . no
+#   redis . . . . . . . . no
+#   routeros  . . . . . . no
+#   tape  . . . . . . . . no             ?
+#   tokyotyrant . . . . . no
+#   write_redis . . . . . no
+#   zfs_arc . . . . . . . no
 # - logrotate file for logfile plugin
 # - %desc -l pl for plugins
-#
+# - package SpamAssassin plugin from contrib
+
 # Conditional build:
-%bcond_without dns             # ???
-%bcond_without ipmi            # ipmi plugin package
+%bcond_without curl            # apache, ascent, bind, curl and nginx plugins
+%bcond_without dns             # DNS plugin
+%bcond_without ipmi            # IPMI plugin
 %bcond_without iptables        # iptables plugin
+%bcond_without libesmtp        # notify_email plugin
+%bcond_without libvirt         # libvirt plugin
 %bcond_with    multimeter      # multimeter plugin
+%bcond_without mysql           # MySQL plugin
 %bcond_without netlink         # netlink plugin
-#
-#http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358637
-%ifarch %{x8664}
-%undefine with_iptables
-%undefine with_netlink
-%endif
+%bcond_without notify          # notify_desktop plugin
+%bcond_without ping            # ping plugin
+%bcond_without pgsql           # PostgreSQL plugin
+%bcond_without rrd             # rrdtool and rrdcached plugins
+%bcond_without sensors         # sensors plugin
+%bcond_without snmp            # SNMP plugin
+%bcond_without ups             # nut plugin
+%bcond_without varnish         # varnish plugin
+%bcond_without xml             # ascent, bind and libvirt plugins
+%bcond_without xmms            # XMMS plugin
+
 Summary:       Collects system information in RRD files
 Summary(pl.UTF-8):     Zbieranie informacji o systemie w plikach RRD
 Name:          collectd
-Version:       4.6.2
-Release:       2
+Version:       5.0.1
+Release:       4
 License:       GPL v2
 Group:         Daemons
-Source0:       http://collectd.org/files/%{name}-%{version}.tar.gz
-# Source0-md5: 9eee46a6330780d6e6b41155b159f4f9
+Source0:       http://collectd.org/files/%{name}-%{version}.tar.bz2
+# Source0-md5: 9ad1e4334bd4a671284e8e92a3e3323e
 Source1:       %{name}.conf
 Source2:       %{name}.init
 Source3:       %{name}-http.conf
@@ -40,31 +80,51 @@ Source4:    %{name}-lighttpd.conf
 Source10:      %{name}-df.conf
 Source11:      %{name}-rrdtool.conf
 Patch0:                %{name}-collection.patch
+Patch1:                compile.patch
+Patch2:                noquote.patch
+Patch3:                libiptc.patch
+Patch4:                pld.patch
 URL:           http://collectd.org/
 %{?with_ipmi:BuildRequires:    OpenIPMI-devel >= 2.0.14-3}
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: curl-devel
-BuildRequires: hal-devel
+%{?with_curl:BuildRequires:    curl-devel}
 %{?with_iptables:BuildRequires:        iptables-devel >= 1.4.1.1-4}
-BuildRequires: libesmtp-devel
+BuildRequires: libdbi-devel
+%{?with_libesmtp:BuildRequires:        libesmtp-devel}
+BuildRequires: libltdl-devel
+BuildRequires: libmemcached-devel
 BuildRequires: libnetlink-devel
-BuildRequires: libnotify-devel
-BuildRequires: liboping-devel
-BuildRequires: libpcap-devel
+%{?with_netlink:BuildRequires: libnetlink-devel}
+%{?with_libvirt:BuildRequires: libnl1-devel}
+%{?with_notify:BuildRequires:  libnotify-devel}
+%{?with_ping:BuildRequires:    liboping-devel}
+%{?with_dns:BuildRequires:     libpcap-devel}
 BuildRequires: libstatgrab-devel >= 0.12
+BuildRequires: libstdc++-devel
 BuildRequires: libtool
-BuildRequires: libxml2-devel
-BuildRequires: lm_sensors-devel
-BuildRequires: mysql-devel
-BuildRequires: nut-devel
+%{?with_xml:BuildRequires:     libxml2-devel}
+%{?with_sensors:BuildRequires: lm_sensors-devel}
+%{?with_mysql:BuildRequires:   mysql-devel}
+%{?with_libvirt:BuildRequires: libvirt-devel}
+BuildRequires: ncurses-devel
+%{?with_snmp:BuildRequires:    net-snmp-devel}
+%{?with_libvirt:BuildRequires: numactl-devel}
+%{?with_ups:BuildRequires:     nut-devel}
 BuildRequires: perl-devel
-BuildRequires: postgresql-devel
+BuildRequires: pkgconfig
+%{?with_pgsql:BuildRequires:   postgresql-devel}
+BuildRequires: python-devel
+BuildRequires: python-modules
 BuildRequires: rpmbuild(macros) >= 1.268
-BuildRequires: rrdtool-devel
-BuildRequires: net-snmp-devel
-BuildRequires: xmms-devel
+%{?with_rrd:BuildRequires:     rrdtool-devel}
+%{?with_varnish:BuildRequires:         varnish-devel}
+BuildRequires: which
+#BuildRequires:        xfsprogs-devel
+%{?with_xmms:BuildRequires:    xmms-devel}
+BuildRequires: yajl-devel
 Requires(post,preun):  /sbin/chkconfig
+Requires:      %{name}-libs = %{version}-%{release}
 Requires:      rc-scripts
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -85,20 +145,20 @@ every time new values should be logged. This allows collectd to have a
 10 second resolution while being nice to the system.
 
 %description -l pl.UTF-8
-collectd to mały demon zbierający co 10 sekund informacje o systemie i
-zapisujący wyniki do pliku RRD.
+collectd to mały demon zbierający co 10 sekund informacje o systemie
+zapisujący wyniki do pliku RRD.
 
 W odróżnieniu od innych podobnych programów collectd nie jest
-skryptem, lecz jest napisany w czystym C z myślą o wydajności i
-przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
+skryptem, lecz jest napisany w czystym C z myślą o wydajności
+przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
 urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być
 zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10
 sekund i nie obciążać zbytnio systemu.
 
 %package libs
-Summary:        %{name} libraries
-Summary(pl.UTF-8):      Biblioteki %{name} 
-Group:          Libraries
+Summary:       %{name} libraries
+Summary(pl.UTF-8):     Biblioteki %{name}
+Group:         Libraries
 
 %description libs
 %{name} libraries.
@@ -107,10 +167,10 @@ Group:          Libraries
 Biblioteki %{name}.
 
 %package devel
-Summary:        Header files for %{name} libraries
-Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek %{name} 
-Group:          Development/Libraries
-Requires:       %{name}-libs = %{version}-%{release}
+Summary:       Header files for %{name} libraries
+Summary(pl.UTF-8):     Pliki nagłówkowe bibliotek %{name}
+Group:         Development/Libraries
+Requires:      %{name}-libs = %{version}-%{release}
 
 %description devel
 Header files for %{name} libraries.
@@ -118,14 +178,26 @@ Header files for %{name} libraries.
 %description devel -l pl.UTF-8
 Pliki nagłówkowe bibliotek %{name}.
 
+%package static
+Summary:       Static files for %{name} libraries
+Summary(pl.UTF-8):     Pliki statyczne bibliotek %{name}
+Group:         Development/Libraries
+Requires:      %{name}-libs = %{version}-%{release}
+
+%description static
+Static files for %{name} libraries.
+
+%description static -l pl.UTF-8
+Pliki statyczne bibliotek %{name}.
+
 %package apache
 Summary:       apache-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka apache dla collectd
+Summary(pl.UTF-8):     Wtyczka apache dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description apache
-This plugin collectd data provided by Apache's `mod_status'.
+This plugin collect data provided by Apache's `mod_status'.
 
 %description apache -l pl.UTF-8
 Wtyczka collectd zbierająca informacje udostępniane przez moduł
@@ -133,25 +205,29 @@ Wtyczka collectd zbierająca informacje udostępniane przez moduł
 
 %package apcups
 Summary:       APC UPS plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka APC UPS dla collectd
+Summary(pl.UTF-8):     Wtyczka APC UPS dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description apcups
-APC UPS plugin for collectd.
+The APC UPS plugin connects to an instance of Apcupsd to read various
+statistics about a connected uninterruptible power supply (UPS), such
+as voltage, load, etc.
 
 %package ascent
 Summary:       ascent-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka ascent dla collectd
+Summary(pl.UTF-8):     Wtyczka ascent dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description ascent
-ascent plugin for collectd.
+The Ascent plugin reads and parses the statistics page of Ascent, a
+free and open-source server software for the game World of Warcraft by
+Blizzard Entertainment.
 
 %package battery
 Summary:       battery plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka battery dla collectd
+Summary(pl.UTF-8):     Wtyczka battery dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -161,19 +237,20 @@ battery's voltage.
 
 %package bind
 Summary:       bind plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka bind dla collectd
+Summary(pl.UTF-8):     Wtyczka bind dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description bind
-Starting with BIND 9.5.0, the most widely used DNS server software provides
-extensive statistics about queries, responses and lots of other information.
-The bind plugin retrieves this information that's encoded in XML and provided
-via HTTP and submits the values to collectd.
+Starting with BIND 9.5.0, the most widely used DNS server software
+provides extensive statistics about queries, responses and lots of
+other information. The bind plugin retrieves this information that's
+encoded in XML and provided via HTTP and submits the values to
+collectd.
 
 %package collection
 Summary:       Web script for collectd
-Summary(pl_PL.UTF-8):  Web script for collectd
+Summary(pl.UTF-8):     Web script for collectd
 Group:         Applications/WWW
 Requires:      %{name} = %{version}-%{release}
 Requires:      perl(CGI)
@@ -187,20 +264,55 @@ Suggests: fonts-TTF-DejaVu
 %description collection
 Web script for collectd.
 
+%package collection3
+Summary:       Web script for collectd
+Summary(pl.UTF-8):     Web script for collectd
+Group:         Applications/WWW
+Requires:      %{name} = %{version}-%{release}
+Requires:      perl-Collectd = %{version}-%{release}
+Requires:      perl(Config::General)
+Requires:      perl(HTML::Entities)
+Requires:      perl(Regexp::Common)
+Requires:      perl(RRDs)
+Requires:      webserver(cgi)
+Suggests:      fonts-TTF-DejaVu
+
+%description collection3
+Web script for collectd.
+
+%package contextswitch
+Summary:       contextswitch-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka contextswitch dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description contextswitch
+The ContextSwitch plugin collects the number of context switches done
+by the operating system.
+
+%package conntrack
+Summary:       conntrack-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka conntrack dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description conntrack
+The conntrack-plugin collects the connection tracking table size.
+
 %package cpu
 Summary:       cpu-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka cpu dla collectd
+Summary(pl.UTF-8):     Wtyczka cpu dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description cpu
-The cpu-plugin collects the amount of time spent by the CPU in various states,
-most notably executing user code, executing system code, waiting for IO
-operations and being idle.
+The cpu-plugin collects the amount of time spent by the CPU in various
+states, most notably executing user code, executing system code,
+waiting for IO operations and being idle.
 
 %package cpufreq
 Summary:       cpufreq-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka cpufreq dla collectd
+Summary(pl.UTF-8):     Wtyczka cpufreq dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -209,7 +321,7 @@ Collects the current CPU's frequency, mostly for mobile computers.
 
 %package csv
 Summary:       CSV output plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka wyjściowa CSV dla collectd
+Summary(pl.UTF-8):     Wtyczka wyjściowa CSV dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -218,7 +330,7 @@ CSV output plugin for collectd.
 
 %package curl
 Summary:       cURL output plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka wyjściowa cURL dla collectd
+Summary(pl.UTF-8):     Wtyczka wyjściowa cURL dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -227,34 +339,47 @@ The curl plugin uses the libcurl to read web pages and the match
 infrastructure (the same code used by the tail plugin) to use regular
 expressions with the received data.
 
+%package curl_json
+Summary:       cURL JSON plugin for collectd
+Summary(pl.UTF-8):     Wtyczka cURL JSON dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description curl_json
+The cURL-JSON plugin queries JavaScript Object Notation (JSON) data
+using the cURL library and parses it according to the user's
+configuration using Yet Another JSON Library (YAJL). This can be used
+to query statistics information from a CouchDB instance, for example.
+
 %package dbi
 Summary:       dbi plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka dbi dla collectd
+Summary(pl.UTF-8):     Wtyczka dbi dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description dbi
-This plugin uses the dbi library to connect to various databases, execute
-SQL statements and read back the results. dbi is an acronym for "database
-interface" in case you were wondering about the name. You can configure how
-each column is to be interpreted and the plugin will generate one or more
-data sets from each row returned according to these rules.
+This plugin uses the dbi library to connect to various databases,
+execute SQL statements and read back the results. dbi is an acronym
+for "database interface" in case you were wondering about the name.
+You can configure how each column is to be interpreted and the plugin
+will generate one or more data sets from each row returned according
+to these rules.
 
 %package df
 Summary:       df-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka df dla collectd
+Summary(pl.UTF-8):     Wtyczka df dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description df
-The df-plugin collects file system usage information, i. e. basically how
-much space on a mounted partition is used and how much is available. It's
-named after and very similar to the df(1) UNIX command that's been around
-forever.
+The df-plugin collects file system usage information, i. e. basically
+how much space on a mounted partition is used and how much is
+available. It's named after and very similar to the df(1) UNIX command
+that's been around forever.
 
 %package disk
 Summary:       disk-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka disk dla collectd
+Summary(pl.UTF-8):     Wtyczka disk dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -264,43 +389,45 @@ supported, partitions.
 
 %package dns
 Summary:       dns-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka dns dla collectd
+Summary(pl.UTF-8):     Wtyczka dns dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 Requires:      perl-rrdtool
 
 %description dns
-This plugin has a similar functionality to dnstop: It uses libpcap to get
-a copy of all traffic from/to port UDP/53 (that's the DNS port), interprets
-the packets and collects statistics of your DNS traffic.
+This plugin has a similar functionality to dnstop: It uses libpcap to
+get a copy of all traffic from/to port UDP/53 (that's the DNS port),
+interprets the packets and collects statistics of your DNS traffic.
 
 %package email
 Summary:       email-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka email dla collectd
+Summary(pl.UTF-8):     Wtyczka email dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description email
 The email plugin opens an UNIX-socket over which one can submit email
-statistics, such as the number of ``ham'', ``spam'', ``virus'', etc. mails
-received/handled, spam scores and matched spam checks.
+statistics, such as the number of ``ham'', ``spam'', ``virus'', etc.
+mails received/handled, spam scores and matched spam checks.
 
 This plugin is intended to be used with the the
-Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which is
-included in contrib/, but is of course not limited to that use.
+Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which
+is included in contrib/, but is of course not limited to that use.
 
 %package entropy
 Summary:       entropy-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka entropy dla collectd
+Summary(pl.UTF-8):     Wtyczka entropy dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description entropy
-entropy plugin for collectd.
+The Entropy plugin collects the available entropy on a system. Entropy
+is important to generate random numbers, which are used for
+encryption, authorization and similar tasks.
 
 %package exec
 Summary:       exec-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka exec dla collectd
+Summary(pl.UTF-8):     Wtyczka exec dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -310,78 +437,105 @@ dispatch notifications to the outside world.
 
 %package filecount
 Summary:       filecount-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka filecount dla collectd
+Summary(pl.UTF-8):     Wtyczka filecount dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description filecount
-The filecount-plugin does something very simple: Count the number of files
-in a directory and all its subdirectories. This can be used for a variety of
-statistics, for example the queue length of an MTA, the number of PHP
-sessions of a web server or simply the number of files in your home
-directory.
+The filecount-plugin does something very simple: Count the number of
+files in a directory and all its subdirectories. This can be used for
+a variety of statistics, for example the queue length of an MTA, the
+number of PHP sessions of a web server or simply the number of files
+in your home directory.
+
+%package fscache
+Summary:       fscache-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka fscache dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description fscache
+The fscache-plugin collects statistics about Linux file-system based
+caching framework.
 
 %package hddtemp
 Summary:       hddtemp-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka hddtemp dla collectd
+Summary(pl.UTF-8):     Wtyczka hddtemp dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 Suggests:      hddtemp-hddtempd
 
 %description hddtemp
-Temperature of harddisks. The temperatures are provided via S.M.A.R.T. and
-queried by the external hddtemp-daemon.
+Temperature of harddisks. The temperatures are provided via S.M.A.R.T.
+and queried by the external hddtemp-daemon.
 
 %package interface
 Summary:       interface-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka interface dla collectd
+Summary(pl.UTF-8):     Wtyczka interface dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description interface
-The interface-plugin collects information about the traffic (octets), packets
-and errors of interfaces.
+The interface-plugin collects information about the traffic (octets),
+packets and errors of interfaces.
 
 %package iptables
 Summary:       iptables-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka iptables dla collectd
+Summary(pl.UTF-8):     Wtyczka iptables dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description iptables
 With this plugin you can gather statistics from your ip_tables based
-packetfilter (aka. firewall). It can collect the byte- and packet-counters
-of selected rules and submit them to collectd. You can select rules that
-should be collected wither by its position (e.g. "the fourth rule in the
-INPUT queue in the filter table") or by its comment (using the COMMENT
-match). This means that depending on your firewall layout you can collect
-certain services (such as the amount of web-traffic), source or destination
-hosts or networks, dropped packets and much more.
+packetfilter (aka. firewall). It can collect the byte- and
+packet-counters of selected rules and submit them to collectd. You can
+select rules that should be collected wither by its position (e.g.
+"the fourth rule in the INPUT queue in the filter table") or by its
+comment (using the COMMENT match). This means that depending on your
+firewall layout you can collect certain services (such as the amount
+of web-traffic), source or destination hosts or networks, dropped
+packets and much more.
 
 %package ipmi
 Summary:       ipmi-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka ipmi dla collectd
+Summary(pl.UTF-8):     Wtyczka ipmi dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description ipmi
-ipmi plugin for collectd.
-
-%description ipmi -l pl.UTF-8
-Wtyczka ipmi dla collectd.
+The IPMI plugin uses the OpenIPMI library to read hardware sensors
+from servers using the Intelligent Platform Management Interface
+(IPMI). IPMI is very common with server hardware but usually not
+available in consumer hardware.
 
 %package irq
 Summary:       IRQs-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka IRQs dla collectd
+Summary(pl.UTF-8):     Wtyczka IRQs dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description irq
-IRQs plugin for collectd.
+The IRQ plugin collects the number of times each interrupt has been
+handled by the operating system.
+
+%package libvirt
+Summary:       libvirt-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka libvirt dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description libvirt
+The libvirt plugin uses the virtualization API libvirt, created by
+RedHat's Emerging Technology group, to gather statistics about
+virtualized guests on a system. This way, you can collect CPU, network
+interface and block device usage for each guest without installing
+collectd on the guest systems. Because the statistics are received
+from the hypervisor directly, this works not only with
+para-virtualized hosts, but with hardware virtualized machines, too.
 
 %package load
 Summary:       load-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka load dla collectd
+Summary(pl.UTF-8):     Wtyczka load dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -391,16 +545,51 @@ utilization of a machine, though their meaning is mostly overrated.
 
 %package logfile
 Summary:       logfile-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka logfile dla collectd
+Summary(pl.UTF-8):     Wtyczka logfile dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description logfile
-Logfile plugin for collectd.
+The LogFile plugin receives log messages from the daemon and writes
+them to a text file.
+
+%package madwifi
+Summary:       madwifi plugin for collectd
+Summary(pl.UTF-8):     Wtyczka madwifi dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description madwifi
+The MadWifi plugin collects information about Atheros wireless LAN
+chipsets from the MadWifi driver. It uses the /sys filesystem to
+identify cards handled by this driver automatically but can be
+configured manually, too. Because very many statistics are available,
+an advanced selection mechanism is provided.
+
+%package match_empty_counter
+Summary:       match_empty_counter plugin for collectd
+Summary(pl.UTF-8):     Wtyczka match_empty_counter dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description match_empty_counter
+Empty Counter match matches value lists, where at least one data
+source is of type COUNTER and the counter value of all counter data
+sources is zero.
+
+%package match_hashed
+Summary:       match_hashed plugin for collectd
+Summary(pl.UTF-8):     Wtyczka match_hashed dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description match_hashed
+match_hashed plugin for collectd - match for simple load balancing and
+redundant storage.
 
 %package match_regex
 Summary:       match_regex plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka match_regex dla collectd
+Summary(pl.UTF-8):     Wtyczka match_regex dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -409,7 +598,7 @@ match_regex plugin for collectd.
 
 %package match_timediff
 Summary:       match_timediff plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka match_timediff dla collectd
+Summary(pl.UTF-8):     Wtyczka match_timediff dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -418,7 +607,7 @@ match_timediff plugin for collectd.
 
 %package match_value
 Summary:       match_value plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka match_value dla collectd
+Summary(pl.UTF-8):     Wtyczka match_value dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -427,27 +616,40 @@ match_value plugin for collectd.
 
 %package mbmon
 Summary:       mbmon plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka mbmon dla collectd
+Summary(pl.UTF-8):     Wtyczka mbmon dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description mbmon
 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
 
+%package memcachec
+Summary:       memcachec-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka memcachec dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description memcachec
+The memcachec plugin connects to a memcached server, queries one or
+more given pages and parses the returned data according to user
+specification. The matches used are similar to the matches used in the
+cURL and Tail plugins.
+
 %package memcached
 Summary:       memcached-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka memcached dla collectd
+Summary(pl.UTF-8):     Wtyczka memcached dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description memcached
-The memcached plugin connects to a memcached daemon and collects the number
-of connections and requests handled by the daemon, the CPU resources consumed,
-number of items cached, number of threads, and bytes sent and received.
+The memcached plugin connects to a memcached daemon and collects the
+number of connections and requests handled by the daemon, the CPU
+resources consumed, number of items cached, number of threads, and
+bytes sent and received.
 
 %package memory
 Summary:       memory-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka memory dla collectd
+Summary(pl.UTF-8):     Wtyczka memory dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -456,18 +658,24 @@ Collects physical memory utilization for collectd.
 
 %package multimeter
 Summary:       multimeter-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka multimeter dla collectd
+Summary(pl.UTF-8):     Wtyczka multimeter dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description multimeter
-Multimeter plugin for collectd.
+The Multimeter plugin reads a value (usually a voltage or current)
+from a multimeter connected to a serial bus. The plugin tries
+/dev/ttyS0-9 in order to find a multimeter – no configuration is
+possible.
+
+The multimeter used for development was a Metex M-4650CR.
 
 %package mysql
 Summary:       mysql-plugin for collectd
-Summary(pl_PL.UTF-8):  Moduł mysql dla collectd.
+Summary(pl.UTF-8):     Moduł mysql dla collectd.
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
+Requires:      mysql-client
 
 %description mysql
 MySQL querying plugin. This plugins provides data of issued commands,
@@ -479,212 +687,294 @@ poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
 
 %package netlink
 Summary:       netlink-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka netlink dla collectd
+Summary(pl.UTF-8):     Wtyczka netlink dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description netlink
-This plugin will open a netlink socket to the Linux kernel and use it to get
-statistics for interfaces, qdiscs, classes, and, if you can make use of it,
-filters. Since in most setups many of the statistics this plugin can collect
-aren't of interest, you can select which information to gather using the
-configuration.
+This plugin will open a netlink socket to the Linux kernel and use it
+to get statistics for interfaces, qdiscs, classes, and, if you can
+make use of it, filters. Since in most setups many of the statistics
+this plugin can collect aren't of interest, you can select which
+information to gather using the configuration.
 
 %package network
 Summary:       network-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka network dla collectd
+Summary(pl.UTF-8):     Wtyczka network dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description network
-nginx plugin for collectd.
+The Network plugin can send values to other instances and receive
+values from other %{name} instances.
 
 %package nfs
 Summary:       NFS-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka NFS dla collectd
+Summary(pl.UTF-8):     Wtyczka NFS dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description nfs
-The nfs plugin counts the number of procedure calls of the different NFS
-procedures.
+The nfs plugin counts the number of procedure calls of the different
+NFS procedures.
 
 %package nginx
 Summary:       nginx-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka nginx dla collectd
+Summary(pl.UTF-8):     Wtyczka nginx dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description nginx
-This plugin collects the number of connections and requests handled by the
-nginx daemon, a HTTP and mail server/proxy. It queries the page provided by
-the ngx_http_stub_status_module module, which isn't compiled by default.
+This plugin collects the number of connections and requests handled by
+the nginx daemon, a HTTP and mail server/proxy. It queries the page
+provided by the ngx_http_stub_status_module module, which isn't
+compiled by default.
 
 %package notify_desktop
 Summary:       notify_desktop for collectd
-Summary(pl_PL.UTF-8):  Wtyczka notify_desktop dla collectd
+Summary(pl.UTF-8):     Wtyczka notify_desktop dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
+Requires:      dbus(org.freedesktop.Notifications)
 
 %description notify_desktop
 This plugin sends a desktop notification to a notification daemon, as
-defined in the Desktop Notification Specification. To actually display the
-notifications, notification-daemon is required and collectd has to be able
-to access the X server.
+defined in the Desktop Notification Specification.
 
 %package notify_email
 Summary:       notify_email-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka notify_email dla collectd
+Summary(pl.UTF-8):     Wtyczka notify_email dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description notify_email
-notify_email plugin for collectd.
+The Notify Email plugin uses libESMTP to send notifications to a
+configured email address(es).
 
 %package ntpd
 Summary:       ntpd-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka ntpd dla collectd
+Summary(pl.UTF-8):     Wtyczka ntpd dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description ntpd
-NTPd plugin for collectd.
+The NTPd plugin queries an NTP server (usually the local one, where
+statistics access is allowed) and extracts :
+- "local" clock parameters: time offset, error and offset loop,
+- parameters for each NTP server used to sync time: offset,
+  dispersion, delay.
 
 %package nut
 Summary:       nut-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka nut dla collectd
+Summary(pl.UTF-8):     Wtyczka nut dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description nut
 UPS statistics using the Network UPS Tools. These statistics include
-basically everything NUT will give us, including voltages, currents, power,
-frequencies, load, and temperatures.
+basically everything NUT will give us, including voltages, currents,
+power, frequencies, load, and temperatures.
+
+%package olsrd
+Summary:       olsrd plugin for collectd
+Summary(pl.UTF-8):     Wtyczka olsrd dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description olsrd
+The olsrd plugin reads information about meshed networks from the
+txtinfo plugin of the Optimized Link State Routing daemon (olsrd).
 
 %package openvpn
 Summary:       openvpn plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka openvpn dla collectd
+Summary(pl.UTF-8):     Wtyczka openvpn dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 Requires:      openvpn
 
 %description openvpn
-The OpenVPN plugin reads a status file maintained by OpenVPN and gathers
-traffic statistics about connected clients.
+The OpenVPN plugin reads a status file maintained by OpenVPN and
+gathers traffic statistics about connected clients.
+
+%package perl
+Summary:       perl plugin for collectd
+Summary(pl.UTF-8):     Wtyczka perl dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+Requires:      perl-Collectd = %{version}-%{release}
+
+%description perl
+The Perl plugin embeds a Perl interpreter into collectd and exposes
+the application programming interface (API) to Perl-scripts. This
+allows to write own plugins in the popular scripting language, which
+are then loaded and executed by the daemon without the need to start a
+new process and interpreter every few seconds. Perl-modules written
+for the Perl plugin are therefore more powerful and efficient than
+scripts executed by the Exec plugin.
 
 %package ping
 Summary:       ping-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka ping dla collectd
+Summary(pl.UTF-8):     Wtyczka ping dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
+Requires:      liboping >= 1.1.2
 
 %description ping
-The network latency is measured as a roundtrip time. An ICMP-echo-request
-(aka. "ping")is sent to a host and the time needed for his echo-reply (aka.
-"pong") to arrive is measured. If a reply is not received within one second
-the plugin will no longer expect a reply and return. This may happen in
-several circumstances, e. g. the packet is lost, the host is down, a router
-has dismissed the packet, etc.
+The network latency is measured as a roundtrip time. An
+ICMP-echo-request (aka. "ping")is sent to a host and the time needed
+for his echo-reply (aka. "pong") to arrive is measured. If a reply is
+not received within one second the plugin will no longer expect a
+reply and return. This may happen in several circumstances, e. g. the
+packet is lost, the host is down, a router has dismissed the packet,
+etc.
 
 %package postgresql
 Summary:       mysql-plugin for collectd
-Summary(pl_PL.UTF-8):  Moduł postgresql dla collectd.
+Summary(pl.UTF-8):     Moduł postgresql dla collectd.
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description postgresql
-The postgresql plugin queries statistics from PostgreSQL databases. It keeps
-a persistent connection to all configured databases and tries to reconnect
-if the connection has been interrupted.
+The postgresql plugin queries statistics from PostgreSQL databases. It
+keeps a persistent connection to all configured databases and tries to
+reconnect if the connection has been interrupted.
 
 %package powerdns
 Summary:       powerdns-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka powerdns dla collectd
+Summary(pl.UTF-8):     Wtyczka powerdns dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description powerdns
 The powerdns plugin queries statistics from an authoritative PowerDNS
-nameserver and/or a PowerDNS recursor. Since both offer a wide variety of
-values, many of which are probably meaningless to most users, but may be
-useful for some.
+nameserver and/or a PowerDNS recursor. Since both offer a wide variety
+of values, many of which are probably meaningless to most users, but
+may be useful for some.
 
 %package processes
 Summary:       processes-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka processes dla collectd
+Summary(pl.UTF-8):     Wtyczka processes dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description processes
-This plugin collects the number of processes, grouped by their state (e.g.
-running, sleeping, zombies, etc.). In addition to that, it can select
-detailed statistics about selected processes, grouped by name.
+This plugin collects the number of processes, grouped by their state
+(e.g. running, sleeping, zombies, etc.). In addition to that, it can
+select detailed statistics about selected processes, grouped by name.
+
+%package protocols
+Summary:       protocols-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka protocols dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description protocols
+The protocols-plugin provides information about network protocols,
+such as IP, TCP and UDP.
+
+%package python
+Summary:       python-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka python dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description python
+The Python plugin embeds a Python interpreter into collectd and
+exposes the application programming interface (API) to Python-scripts.
+This allows to write own plugins in the popular scripting language,
+which are then loaded and executed by the daemon without the need to
+start a new process and interpreter every few seconds. Python-modules
+written for the Python plugin are therefore more powerful and
+efficient than scripts executed by the Exec plugin.
+
+%package rrdcached
+Summary:       rrdcached-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka rrdcached dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description rrdcached
+The rrdcached plugin uses the RRDtool accelerator daemon, rrdcached,
+to store values to RRD files in an efficient manner. The combination
+of the rrdcached plugin and the rrdcached daemon is very similar to
+the way the rrdtool plugin works.
 
 %package rrdtool
 Summary:       rrdtool-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka rrdtool dla collectd
+Summary(pl.UTF-8):     Wtyczka rrdtool dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 Requires:      rrdtool
 
 %description rrdtool
-RRDTOOL plugin for collectd.
+The RRDtool plugin writes values to RRD-files using librrd.
 
 %package sensors
 Summary:       sensors-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka sensors dla collectd
+Summary(pl.UTF-8):     Wtyczka sensors dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description sensors
 This plugin uses lm-sensors to read hardware sensors. You will need to
-configure lm-sensors before this plugin will collect any usefull and correct
-data.
+configure lm-sensors before this plugin will collect any usefull and
+correct data.
 
-%module_scripts serial
 %package serial
 Summary:       serial-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka serial dla collectd
+Summary(pl.UTF-8):     Wtyczka serial dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description serial
-Serial plugin for collectd.
+The Serial plugin collects the traffic on serial interfaces.
 
 %package snmp
 Summary:       snmp-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka snmp dla collectd
+Summary(pl.UTF-8):     Wtyczka snmp dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description snmp
 The snmp plugin queries other hosts using SNMP, the Simple Network
-Management Protocol, and translates the value it receives to collectd's
-internal format and dispatches them. Depending on the write plugins you have
-loaded they may be written to disk or submitted to another instance or
-whatever you configured.
+Management Protocol, and translates the value it receives to
+collectd's internal format and dispatches them. Depending on the write
+plugins you have loaded they may be written to disk or submitted to
+another instance or whatever you configured.
 
 %package swap
 Summary:       swap-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka swap dla collectd
+Summary(pl.UTF-8):     Wtyczka swap dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description swap
-Swap space plugin for collectd.
+The Swap plugin collects the amount of memory currently written onto
+hard disk or whatever the system calls “swap”.
 
 %package syslog
 Summary:       syslog-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka syslog dla collectd
+Summary(pl.UTF-8):     Wtyczka syslog dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description syslog
-Syslog plugin for collectd.
+The SysLog plugin receives log messages from the daemon and dispatches
+them to syslog(3).
+
+%package table
+Summary:       table-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka table dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description table
+The table-plugin provides parsing for table-like structured files,
+such as many files beneath /proc.
 
 %package target_notification
 Summary:       target_notification-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka target_notification dla collectd
+Summary(pl.UTF-8):     Wtyczka target_notification dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -693,80 +983,129 @@ target_notification plugin for collectd.
 
 %package target_replace
 Summary:       target_replace-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka target_replace dla collectd
+Summary(pl.UTF-8):     Wtyczka target_replace dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description target_replace
 target_replace plugin for collectd.
 
+%package target_scale
+Summary:       target_scale-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka target_scale dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description target_scale
+Target to scale (multiply) values by an arbitrary value.
+
 %package target_set
 Summary:       target_set-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka target_set dla collectd
+Summary(pl.UTF-8):     Wtyczka target_set dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description target_set
 target_set plugin for collectd.
 
+%package target_v5upgrade
+Summary:       target_v5upgrade-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka target_v5upgrade dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description target_v5upgrade
+The v5 upgrade target can be used to upgrade version 4 data to a
+changed version 5 layout.
+
 %package tail
 Summary:       tail-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka tail dla collectd
+Summary(pl.UTF-8):     Wtyczka tail dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description tail
-The tail-plugin can be used to "tail" logfiles, i.e. follow them as tail -F
-does. Each line is given to one or more "matches" which test if the line is
-relevant for any statistics using a regular expression.
+The tail-plugin can be used to "tail" logfiles, i.e. follow them as
+tail -F does. Each line is given to one or more "matches" which test
+if the line is relevant for any statistics using a regular expression.
 
 %package tcpconns
 Summary:       tcpconns-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka tcpconns dla collectd
+Summary(pl.UTF-8):     Wtyczka tcpconns dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description tcpconns
 The tcpconns-plugin counts the number of TCP connections to or from a
-specified port. Typically the connectioins where you specify the local port
-are incoming connections while the connections where you specify the remote
-port are outgoing connections.
+specified port. Typically the connectioins where you specify the local
+port are incoming connections while the connections where you specify
+the remote port are outgoing connections.
 
 %package teamspeak2
 Summary:       teamspeak2-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka teamspeak2 dla collectd
+Summary(pl.UTF-8):     Wtyczka teamspeak2 dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description teamspeak2
-The teamspeak2 plugin connects to the query port of a teamspeak2 server and
-polls interesting global and virtual server data. The plugin can query only
-one physical server but unlimited virtual servers.
+The teamspeak2 plugin connects to the query port of a teamspeak2
+server and polls interesting global and virtual server data. The
+plugin can query only one physical server but unlimited virtual
+servers.
+
+%package ted
+Summary:       ted-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka ted dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description ted
+The TED-plugin reads power consumption measurements from “The Energy
+Detective” (TED).
 
 %package thermal
 Summary:       thermal-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka thermal dla collectd
+Summary(pl.UTF-8):     Wtyczka thermal dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description thermal
-Thermal plugin for collectd.
+The thermal plugin reads ACPI thermal zone information from the sysfs
+or procfs file system, i. e. mostly system temperature information.
+
+%package threshold
+Summary:       threshold-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka threshold dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description threshold
+threshold-plugin for collectd.
 
 %package unixsock
 Summary:       unixsock-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka unixsock dla collectd
+Summary(pl.UTF-8):     Wtyczka unixsock dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description unixsock
-The unixsock plugin opens an UNIX-socket over which one can interact with
-the daemon. This can be used to use the values collected by collectd in
-other applications, such as monitoring, or submit externally collected
-values to collectd.
+The unixsock plugin opens an UNIX-socket over which one can interact
+with the daemon. This can be used to use the values collected by
+collectd in other applications, such as monitoring, or submit
+externally collected values to collectd.
+
+%package uptime
+Summary:       uptime-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka uptime dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description uptime
+The uptime-plugin can collect the server's uptime.
 
 %package users
 Summary:       users-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka users dla collectd
+Summary(pl.UTF-8):     Wtyczka users dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
@@ -775,59 +1114,94 @@ Number of users currently logged in.
 
 %package uuid
 Summary:       uuid-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka uuid dla collectd
+Summary(pl.UTF-8):     Wtyczka uuid dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description uuid
-This plugin, if loaded, causes the Hostname to be taken from the machine's
-UUID. The UUID is a universally unique designation for the machine, usually
-taken from the machine's BIOS. This is most useful if the machine is
-running in a virtual environment such as Xen, in which case the UUID is
-preserved across shutdowns and migration.
+This plugin, if loaded, causes the Hostname to be taken from the
+machine's UUID. The UUID is a universally unique designation for the
+machine, usually taken from the machine's BIOS. This is most useful if
+the machine is running in a virtual environment such as Xen, in which
+case the UUID is preserved across shutdowns and migration.
+
+%package varnish
+Summary:       varnish-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka varnish dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description varnish
+The Varnish plugin collects information about Varnish, an HTTP
+accelerator.
 
 %package vmem
 Summary:       vmem-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka vmem dla collectd
+Summary(pl.UTF-8):     Wtyczka vmem dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description vmem
-The vmem plugin collects information about the usage of virtual memory.
-Since the statistics provided by the Linux kernel are very detailed, they
-are collected very detailed.
+The vmem plugin collects information about the usage of virtual
+memory. Since the statistics provided by the Linux kernel are very
+detailed, they are collected very detailed.
 
 %package vserver
 Summary:       vserver-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka vserver dla collectd
+Summary(pl.UTF-8):     Wtyczka vserver dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description vserver
-Collects information about the virtual servers running on a system, using
-Linux-Vserver.
+Collects information about the virtual servers running on a system,
+using Linux-Vserver.
+
+%package write_http
+Summary:       write_http-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka write_http dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description write_http
+The Write HTTP plugin sends the values collected by collectd to a
+web-server using HTTP POST requests. The data is formatted as PUTVAL
+commands.
 
 %package wireless
 Summary:       wireless-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka wireless dla collectd
+Summary(pl.UTF-8):     Wtyczka wireless dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description wireless
-Wireless plugin for collectd.
+The Wireless plugin collects signal quality, signal power and
+signal-to-noise ratio for wireless LAN cards.
 
 %package xmms
 Summary:       xmms-plugin for collectd
-Summary(pl_PL.UTF-8):  Wtyczka xmms dla collectd
+Summary(pl.UTF-8):     Wtyczka xmms dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description xmms
-This plugin collectd data provided by XMMS.
+The XMMS plugin is a plugin for the XMMS music player. It graphs the
+bit-rate and sampling rate as you play songs. Not really useful, just
+something that got written because we can.
+
+%package -n perl-Collectd
+Summary:       Perl files from Collectd package
+Group:         Daemons
+
+%description -n perl-Collectd
+Perl files from Collectd package
 
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p0
 
 %build
 %{__libtoolize}
@@ -837,27 +1211,49 @@ This plugin collectd data provided by XMMS.
 %{__automake}
 
 %configure \
+       CPPFLAGS="-Wno-unused-but-set-variable" \
+       c_cv_have_libperl=yes \
+       --with-libiptc=/usr \
        --with-libstatgrab=/usr \
        --with-lm-sensors=/usr \
        --with-libmysql=/usr \
-       --%{?with_ipmi:en}%{!?with_ipmi:dis}able-ipmi \
-       --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \
-       --%{?with_dns:en}%{!?with_dns:dis}able-dns \
-       --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \
-       --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink \
-       --disable-ipvs \
-       --disable-libvirt \
-       --disable-perl
+       --enable-perl \
+       %{__enable_disable dns} \
+       %{__enable_disable ipmi} \
+       %{__enable_disable iptables} \
+       %{__enable_disable multimeter} \
+       %{__enable_disable mysql} \
+       %{__enable_disable netlink} \
+       %{__enable_disable notify notify_desktop} \
+       %{__enable_disable libesmtp notify_email} \
+       %{__enable_disable libvirt} \
+       %{__enable_disable ups nut} \
+       %{__enable_disable ping} \
+       %{__enable_disable pgsql postgresql} \
+       %{__enable_disable rrd rrdtool} \
+       %{__enable_disable sensors} \
+       %{__enable_disable snmp} \
+       %{__enable_disable xmms} \
+       %{__enable_disable varnish} \
+       %{__enable_disable curl} \
+       %{__enable_disable curl apache} \
+       %{__enable_disable curl ngix} \
+       %{__enable_disable curl ascent} \
+       %{__disable curl ascent} \
+       %{__disable curl bind} \
+       %{__disable xml ascent} \
+       %{__disable xml bind} \
+       --disable-ipvs
 
 
 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
        BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
-       BUILD_WITH_OPENIPMI_LIBS="-L/usr/lib64 -lOpenIPMIutils -lOpenIPMIpthread"
+       BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
-       $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir}}
+       $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir},%{perl_vendorlib}/,%{_mandir}/man3}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -872,6 +1268,11 @@ install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
 
+cp -R contrib/collection3 $RPM_BUILD_ROOT%{_appdir}
+mv $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf $RPM_BUILD_ROOT%{_webappdir}/collection3.conf
+ln -sf %{_webappdir}/collection3.conf $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf
+sed -i -e 's@#DataDir "/var/lib/collectd/rrd"@DataDir "%{_var}/lib/%{name}"@' $RPM_BUILD_ROOT%{_webappdir}/collection3.conf
+
 ### Configs instalation ###
 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
        egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
@@ -885,6 +1286,9 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
 
+mv $RPM_BUILD_ROOT%{_datadir}/perl5/Collectd* $RPM_BUILD_ROOT%{perl_vendorlib}/
+mv $RPM_BUILD_ROOT/usr/man/man3/Collectd::Unixsock.3pm $RPM_BUILD_ROOT%{_mandir}/man3/
+
 # Cleanups:
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
 
@@ -916,34 +1320,43 @@ fi
 %module_scripts ascent
 %module_scripts battery
 %module_scripts bind
-%module_scripts cpufreq
+%module_scripts contextswitch
+%module_scripts conntrack
 %module_scripts cpu
+%module_scripts cpufreq
 %module_scripts csv
 %module_scripts curl
+%module_scripts curl_json
 %module_scripts dbi
 %module_scripts df
 %module_scripts disk
-%{?with_dns:%module_scripts dns}
+%module_scripts dns
 %module_scripts email
 %module_scripts entropy
 %module_scripts exec
 %module_scripts filecount
+%module_scripts fscache
 %module_scripts hddtemp
 %module_scripts interface
-%{?with_ipmi:%module_scripts ipmi}
-%{?with_iptables:%module_scripts iptables}
+%module_scripts ipmi
+%module_scripts iptables
 %module_scripts irq
+%module_scripts libvirt
 %module_scripts load
 %module_scripts logfile
+%module_scripts madwifi
+%module_scripts match_empty_counter
+%module_scripts match_hashed
 %module_scripts match_regex
 %module_scripts match_timediff
 %module_scripts match_value
 %module_scripts mbmon
+%module_scripts memcachec
 %module_scripts memcached
 %module_scripts memory
-%{?with_multimeter:%module_scripts multimeter}
+%module_scripts multimeter
 %module_scripts mysql
-%{?with_netlink:%module_scripts netlink}
+%module_scripts netlink
 %module_scripts network
 %module_scripts nfs
 %module_scripts nginx
@@ -951,29 +1364,42 @@ fi
 %module_scripts notify_email
 %module_scripts ntpd
 %module_scripts nut
+%module_scripts olsrd
 %module_scripts openvpn
+%module_scripts perl
 %module_scripts ping
 %module_scripts postgresql
 %module_scripts powerdns
 %module_scripts processes
+%module_scripts protocols
+%module_scripts python
+%module_scripts rrdcached
 %module_scripts rrdtool
 %module_scripts sensors
 %module_scripts serial
 %module_scripts snmp
 %module_scripts swap
 %module_scripts syslog
+%module_scripts table
 %module_scripts tail
 %module_scripts target_notification
 %module_scripts target_replace
+%module_scripts target_scale
 %module_scripts target_set
+%module_scripts target_v5upgrade
 %module_scripts tcpconns
 %module_scripts teamspeak2
+%module_scripts ted
 %module_scripts thermal
+%module_scripts threshold
 %module_scripts unixsock
+%module_scripts uptime
 %module_scripts users
 %module_scripts uuid
+%module_scripts varnish
 %module_scripts vmem
 %module_scripts vserver
+%module_scripts write_http
 %module_scripts wireless
 %module_scripts xmms
 
@@ -1000,17 +1426,21 @@ fi
 %doc AUTHORS ChangeLog README TODO contrib
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
 %dir %{_sysconfdir}/%{name}.d
+%dir %{_webappdir}
 %attr(755,root,root) %{_sbindir}/collectd
 %attr(755,root,root) %{_sbindir}/collectdmon
+%attr(755,root,root) %{_bindir}/collectdctl
 %attr(755,root,root) %{_bindir}/collectd-nagios
+%dir %{_libdir}/%{name}
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/types.db
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %{_mandir}/man1/collectd.1*
 %{_mandir}/man1/collectd-nagios.1*
-%{_mandir}/man5/collectd.conf.5*
-%{_mandir}/man5/collectd-perl.5*
+%{_mandir}/man1/collectdctl.1*
 %{_mandir}/man1/collectdmon.1*
+%{_mandir}/man5/collectd.conf.5*
+%{_mandir}/man5/collectd-java.5*
 %{_mandir}/man5/types.db.5*
 %dir %{_var}/lib/%{name}
 
@@ -1018,7 +1448,6 @@ fi
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
-%dir %{_libdir}/%{name}
 
 %files devel
 %defattr(644,root,root,755)
@@ -1028,9 +1457,13 @@ fi
 %{_includedir}/%{name}/*.h
 %{_pkgconfigdir}/libcollectdclient.pc
 
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libcollectdclient.a
+%{_libdir}/%{name}/*.a
+
 %files collection
 %defattr(644,root,root,755)
-%dir %{_webappdir}
 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
@@ -1039,31 +1472,62 @@ fi
 %dir %{_appdir}/cgi-bin
 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
 
+%files collection3
+%defattr(644,root,root,755)
+%doc contrib/collection3/README
+%config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection3.conf
+%dir %{_appdir}/collection3
+%dir %{_appdir}/collection3/bin
+%attr(755,root,root) %{_appdir}/collection3/bin/*.cgi
+%{_appdir}/collection3/etc
+%{_appdir}/collection3/lib
+%{_appdir}/collection3/share
+
 ########## PLUGINS:
+%if %{with xml}
+%if %{with curl}
+%files apache
+%defattr(640,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
+%attr(755,root,root) %{_libdir}/%{name}/apache.so
+%endif
+%endif
+
 %files apcups
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
 %attr(755,root,root) %{_libdir}/%{name}/apcups.so
 
+%if %{with curl}
 %files ascent
-%defattr(644,root,root,755)
+%defattr(640,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
 %attr(755,root,root) %{_libdir}/%{name}/ascent.so
-
-%files apache
-%defattr(644,root,root,755)
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
-%attr(755,root,root) %{_libdir}/%{name}/apache.so
+%endif
 
 %files battery
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
 %attr(755,root,root) %{_libdir}/%{name}/battery.so
 
+%if %{with xml}
+%if %{with curl}
 %files bind
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
 %attr(755,root,root) %{_libdir}/%{name}/bind.so
+%endif
+%endif
+
+%files contextswitch
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/contextswitch.conf
+%attr(755,root,root) %{_libdir}/%{name}/contextswitch.so
+
+%files conntrack
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf
+%attr(755,root,root) %{_libdir}/%{name}/conntrack.so
 
 %files cpu
 %defattr(644,root,root,755)
@@ -1080,13 +1544,24 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
 %attr(755,root,root) %{_libdir}/%{name}/csv.so
 
+%if %{with curl}
 %files curl
-%defattr(644,root,root,755)
+%defattr(640,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
 %attr(755,root,root) %{_libdir}/%{name}/curl.so
+%if %{with xml}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_xml.conf
+%attr(755,root,root) %{_libdir}/%{name}/curl_xml.so
+%endif
+
+%files curl_json
+%defattr(640,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_json.conf
+%attr(755,root,root) %{_libdir}/%{name}/curl_json.so
+%endif
 
 %files dbi
-%defattr(644,root,root,755)
+%defattr(640,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
 %attr(755,root,root) %{_libdir}/%{name}/dbi.so
 
@@ -1100,10 +1575,12 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
 %attr(755,root,root) %{_libdir}/%{name}/disk.so
 
+%if %{with dns}
 %files dns
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
 %attr(755,root,root) %{_libdir}/%{name}/dns.so
+%endif
 
 %files email
 %defattr(644,root,root,755)
@@ -1127,6 +1604,11 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
 %attr(755,root,root) %{_libdir}/%{name}/filecount.so
 
+%files fscache
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf
+%attr(755,root,root) %{_libdir}/%{name}/fscache.so
+
 %files hddtemp
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
@@ -1156,6 +1638,13 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
 %attr(755,root,root) %{_libdir}/%{name}/irq.so
 
+%if %{with libvirt}
+%files libvirt
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/libvirt.conf
+%attr(755,root,root) %{_libdir}/%{name}/libvirt.so
+%endif
+
 %files load
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
@@ -1167,6 +1656,21 @@ fi
 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
 %{_var}/log/collectd.log
 
+%files madwifi
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/madwifi.conf
+%attr(755,root,root) %{_libdir}/%{name}/madwifi.so
+
+%files match_empty_counter
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_empty_counter.conf
+%attr(755,root,root) %{_libdir}/%{name}/match_empty_counter.so
+
+%files match_hashed
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_hashed.conf
+%attr(755,root,root) %{_libdir}/%{name}/match_hashed.so
+
 %files match_regex
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
@@ -1175,6 +1679,7 @@ fi
 %files match_timediff
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf
 
 %files match_value
 %defattr(644,root,root,755)
@@ -1186,6 +1691,11 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
 
+%files memcachec
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcachec.conf
+%attr(755,root,root) %{_libdir}/%{name}/memcachec.so
+
 %files memcached
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
@@ -1203,10 +1713,12 @@ fi
 %attr(755,root,root) %{_libdir}/%{name}/multimeter.so
 %endif
 
+%if %{with mysql}
 %files mysql
-%defattr(644,root,root,755)
+%defattr(640,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
 %attr(755,root,root) %{_libdir}/%{name}/mysql.so
+%endif
 
 %if %{with netlink}
 %files netlink
@@ -1225,45 +1737,69 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
 
+%if %{with curl}
 %files nginx
-%defattr(644,root,root,755)
+%defattr(640,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
+%endif
 
+%if %{with notify}
 %files notify_desktop
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
 %attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
+%endif
 
+%if %{with libesmtp}
 %files notify_email
-%defattr(644,root,root,755)
+%defattr(640,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
 %attr(755,root,root) %{_libdir}/%{name}/notify_email.so
+%endif
 
 %files ntpd
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
 
+%if %{with ups}
 %files nut
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
 %attr(755,root,root) %{_libdir}/%{name}/nut.so
+%endif
+
+%files olsrd
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/olsrd.conf
+%attr(755,root,root) %{_libdir}/%{name}/olsrd.so
 
 %files openvpn
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
 
+%files perl
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/perl.conf
+%attr(755,root,root) %{_libdir}/%{name}/perl.so
+%{_mandir}/man5/collectd-perl.5*
+
+%if %{with ping}
 %files ping
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
 %attr(755,root,root) %{_libdir}/%{name}/ping.so
+%endif
 
+%if %{with pgsql}
 %files postgresql
-%defattr(644,root,root,755)
+%defattr(640,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
 %attr(755,root,root) %{_libdir}/%{name}/postgresql.so
+%{_datadir}/%{name}/postgresql_default.conf
+%endif
 
 %files powerdns
 %defattr(644,root,root,755)
@@ -1275,26 +1811,48 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
 %attr(755,root,root) %{_libdir}/%{name}/processes.so
 
+%files protocols
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf
+%attr(755,root,root) %{_libdir}/%{name}/protocols.so
+
+%files python
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/python.conf
+%attr(755,root,root) %{_libdir}/%{name}/python.so
+%{_mandir}/man5/collectd-python.5*
+
+%if %{with rrd}
+%files rrdcached
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdcached.conf
+%attr(755,root,root) %{_libdir}/%{name}/rrdcached.so
+
 %files rrdtool
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
 %attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
+%endif
 
+%if %{with sensors}
 %files sensors
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
 %attr(755,root,root) %{_libdir}/%{name}/sensors.so
+%endif
 
 %files serial
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
 %attr(755,root,root) %{_libdir}/%{name}/serial.so
 
+%if %{with snmp}
 %files snmp
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
 %attr(755,root,root) %{_libdir}/%{name}/snmp.so
 %{_mandir}/man5/collectd-snmp.5*
+%endif
 
 %files swap
 %defattr(644,root,root,755)
@@ -1306,6 +1864,11 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
 %attr(755,root,root) %{_libdir}/%{name}/syslog.so
 
+%files table
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf
+%attr(755,root,root) %{_libdir}/%{name}/table.so
+
 %files tail
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
@@ -1321,11 +1884,20 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
 %attr(755,root,root) %{_libdir}/%{name}/target_replace.so
 
+%files target_scale
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_scale.conf
+%attr(755,root,root) %{_libdir}/%{name}/target_scale.so
+
 %files target_set
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
 
+%files target_v5upgrade
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/target_v5upgrade.so
+
 %files tcpconns
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
@@ -1336,17 +1908,33 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
 %attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
 
+%files ted
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf
+%attr(755,root,root) %{_libdir}/%{name}/ted.so
+
 %files thermal
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
 
+%files threshold
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/threshold.conf
+%attr(755,root,root) %{_libdir}/%{name}/threshold.so
+%{_mandir}/man5/collectd-threshold.5*
+
 %files unixsock
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
 %attr(755,root,root) %{_libdir}/%{name}/unixsock.so
 %{_mandir}/man5/collectd-unixsock.5*
 
+%files uptime
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf
+%attr(755,root,root) %{_libdir}/%{name}/uptime.so
+
 %files users
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
@@ -1357,6 +1945,11 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
 
+%files varnish
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/varnish.conf
+%attr(755,root,root) %{_libdir}/%{name}/varnish.so
+
 %files vmem
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
@@ -1372,7 +1965,20 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
 
+%files write_http
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_http.conf
+%attr(755,root,root) %{_libdir}/%{name}/write_http.so
+
+%if %{with xmms}
 %files xmms
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
 %attr(755,root,root) %{_libdir}/%{name}/xmms.so
+%endif
+
+%files -n perl-Collectd
+%defattr(644,root,root,755)
+%{perl_vendorlib}/Collectd.pm
+%{perl_vendorlib}/Collectd
+%{_mandir}/man3/*.3*
This page took 0.282836 seconds and 4 git commands to generate.