]> git.pld-linux.org Git - packages/collectd.git/blobdiff - collectd.spec
- release 4 (by relup.sh)
[packages/collectd.git] / collectd.spec
index d4d2b3cc7a60f62b81a93b951e66a4d3c7143605..b41c3036b0c795360f35bc70c118b026e5c449c6 100644 (file)
@@ -1,38 +1,99 @@
 # TODO:
 # TODO:
+#warning: Installed (but unpackaged) file(s) found:
+#    /etc/collectd.d/aggregation.conf
+#    /etc/collectd.d/ceph.conf
+#    /etc/collectd.d/cgroups.conf
+#    /etc/collectd.d/drbd.conf
+#    /etc/collectd.d/fhcount.conf
+#    /etc/collectd.d/ipc.conf
+#    /etc/collectd.d/java.conf
+#    /etc/collectd.d/log_logstash.conf
+#    /etc/collectd.d/lvm.conf
+#    /etc/collectd.d/openldap.conf
+#    /etc/collectd.d/pinba.conf
+#    /etc/collectd.d/redis.conf
+#    /etc/collectd.d/sigrok.conf
+#    /etc/collectd.d/smart.conf
+#    /etc/collectd.d/statsd.conf
+#    /etc/collectd.d/tail_csv.conf
+#    /etc/collectd.d/target_v5upgrade.conf
+#    /etc/collectd.d/turbostat.conf
+#    /etc/collectd.d/write_log.conf
+#    /etc/collectd.d/write_redis.conf
+#    /etc/collectd.d/write_riemann.conf
+#    /etc/collectd.d/write_sensu.conf
+#    /etc/collectd.d/write_tsdb.conf
+#    /etc/collectd.d/zfs_arc.conf
+#    /etc/collectd.d/zookeeper.conf
+#    /usr/bin/collectd-tg
+#    /usr/lib64/collectd/aggregation.so
+#    /usr/lib64/collectd/ceph.so
+#    /usr/lib64/collectd/cgroups.so
+#    /usr/lib64/collectd/drbd.so
+#    /usr/lib64/collectd/fhcount.so
+#    /usr/lib64/collectd/ipc.so
+#    /usr/lib64/collectd/java.so
+#    /usr/lib64/collectd/log_logstash.so
+#    /usr/lib64/collectd/lvm.so
+#    /usr/lib64/collectd/openldap.so
+#    /usr/lib64/collectd/pinba.so
+#    /usr/lib64/collectd/redis.so
+#    /usr/lib64/collectd/sigrok.so
+#    /usr/lib64/collectd/smart.so
+#    /usr/lib64/collectd/statsd.so
+#    /usr/lib64/collectd/tail_csv.so
+#    /usr/lib64/collectd/turbostat.so
+#    /usr/lib64/collectd/write_log.so
+#    /usr/lib64/collectd/write_redis.so
+#    /usr/lib64/collectd/write_riemann.so
+#    /usr/lib64/collectd/write_sensu.so
+#    /usr/lib64/collectd/write_tsdb.so
+#    /usr/lib64/collectd/zfs_arc.so
+#    /usr/lib64/collectd/zookeeper.so
+#    /usr/share/collectd/collection3/README
+#    /usr/share/collectd/collection3/bin/.htaccess
+#    /usr/share/collectd/collection3/test.px
+#    /usr/share/collectd/java/collectd-api.jar
+#    /usr/share/collectd/java/generic-jmx.jar
+#    /usr/share/man/man1/collectd-tg.1.gz
+#
 # - package contrib scripts as %doc
 # - perl modules with Collectd classes package to separate package
 # - Bundled libraries - check if its not changed ones and if it can be
 #   mainstream library:
 # liboconfig  . . . . . yes (shipped version)
 # - Libraries not found by configure:
 # - package contrib scripts as %doc
 # - perl modules with Collectd classes package to separate package
 # - Bundled libraries - check if its not changed ones and if it can be
 #   mainstream library:
 # liboconfig  . . . . . yes (shipped version)
 # - Libraries not found by configure:
-#   libganglia  . . . . . no (gm_protocol.h not found)
-#   libiokit  . . . . . . no
+#   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)
 #   libjvm  . . . . . . . no (javac not found)
 #   libkstat  . . . . . . no (Solaris only)
-#   libkvm  . . . . . . . no
-#   libnetapp . . . . . . no (netapp_api.h not found)
-#   libperl . . . . . . . no
-#   librouteros . . . . . no ('routeros_api.h' not found)
-#   libtokyotyrant  . . . no (tcrdb.h not found)
-#   libvirt . . . . . . . no (pkg-config doesn't know library)
+#   libkvm  . . . . . . . no (BSD only)
+#   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)
 #   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):
 #   oracle  . . . . . . . no (ORACLE_HOME is not set)
 # - Disabled modules (build most of them an package):
-#   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             (buggy perl: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467072)
-#   rrdcached . . . . . no             (requires rrdtool >= 1.4.0)
-#   tape  . . . . . . . no             ?
-#   curl_json . . . . . . no
+#   amqp    . . . . . . . no
+#   apple_sensors . . . . no             (Darwin only)
 #   gmond . . . . . . . . no
 #   gmond . . . . . . . . no
+#   ipvs  . . . . . . . . no             (ip_vs.h not found - llh to be fixed)
 #   java  . . . . . . . . no
 #   java  . . . . . . . . no
+#   lpar... . . . . . . . no
+#   multimeter  . . . . . no             ?
 #   netapp  . . . . . . . no
 #   netapp  . . . . . . . no
+#   onewire . . . . . . . no             (needs libowfs)
 #   oracle  . . . . . . . no
 #   oracle  . . . . . . . no
+#   pinba . . . . . . . . no
+#   redis . . . . . . . . no
 #   routeros  . . . . . . no
 #   routeros  . . . . . . no
+#   tape  . . . . . . . . no             ?
 #   tokyotyrant . . . . . no
 #   tokyotyrant . . . . . no
+#   write_redis . . . . . no
 #   zfs_arc . . . . . . . no
 # - logrotate file for logfile plugin
 # - %desc -l pl for plugins
 #   zfs_arc . . . . . . . no
 # - logrotate file for logfile plugin
 # - %desc -l pl for plugins
 %bcond_without dns             # DNS plugin
 %bcond_without ipmi            # IPMI plugin
 %bcond_without iptables        # iptables plugin
 %bcond_without dns             # DNS plugin
 %bcond_without ipmi            # IPMI plugin
 %bcond_without iptables        # iptables plugin
+%bcond_with    java
 %bcond_without libesmtp        # notify_email plugin
 %bcond_without libesmtp        # notify_email plugin
+%bcond_without libvirt         # libvirt plugin
+%bcond_without modbus  # modbus plugin
 %bcond_with    multimeter      # multimeter plugin
 %bcond_without mysql           # MySQL plugin
 %bcond_without netlink         # netlink plugin
 %bcond_with    multimeter      # multimeter plugin
 %bcond_without mysql           # MySQL plugin
 %bcond_without netlink         # netlink plugin
 %bcond_without sensors         # sensors plugin
 %bcond_without snmp            # SNMP plugin
 %bcond_without ups             # nut plugin
 %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
 
 %bcond_without xml             # ascent, bind and libvirt plugins
 %bcond_without xmms            # XMMS plugin
 
-# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358637
-%ifarch %{x8664}
-%undefine with_iptables
-%undefine with_netlink
-%endif
-
 Summary:       Collects system information in RRD files
 Summary(pl.UTF-8):     Zbieranie informacji o systemie w plikach RRD
 Name:          collectd
 Summary:       Collects system information in RRD files
 Summary(pl.UTF-8):     Zbieranie informacji o systemie w plikach RRD
 Name:          collectd
-Version:       4.10.2
-Release:       2
+Version:       5.5.0
+Release:       4
 License:       GPL v2
 Group:         Daemons
 Source0:       http://collectd.org/files/%{name}-%{version}.tar.bz2
 License:       GPL v2
 Group:         Daemons
 Source0:       http://collectd.org/files/%{name}-%{version}.tar.bz2
-# Source0-md5: 85d9d8d0a1327782661e3c89800aa70e
+# Source0-md5: c39305ef5514b44238b0d31f77e29e6a
 Source1:       %{name}.conf
 Source2:       %{name}.init
 Source3:       %{name}-http.conf
 Source4:       %{name}-lighttpd.conf
 Source1:       %{name}.conf
 Source2:       %{name}.init
 Source3:       %{name}-http.conf
 Source4:       %{name}-lighttpd.conf
+Source5:       %{name}-apache.conf
 Source10:      %{name}-df.conf
 Source11:      %{name}-rrdtool.conf
 Patch0:                %{name}-collection.patch
 Patch1:                compile.patch
 Source10:      %{name}-df.conf
 Source11:      %{name}-rrdtool.conf
 Patch0:                %{name}-collection.patch
 Patch1:                compile.patch
+Patch2:                noquote.patch
+
+Patch5:                no-Werror.patch
+Patch6:                %{name}-modbus.patch
 URL:           http://collectd.org/
 %{?with_ipmi:BuildRequires:    OpenIPMI-devel >= 2.0.14-3}
 BuildRequires: autoconf
 BuildRequires: automake
 %{?with_curl:BuildRequires:    curl-devel}
 URL:           http://collectd.org/
 %{?with_ipmi:BuildRequires:    OpenIPMI-devel >= 2.0.14-3}
 BuildRequires: autoconf
 BuildRequires: automake
 %{?with_curl:BuildRequires:    curl-devel}
-BuildRequires: hal-devel
 %{?with_iptables:BuildRequires:        iptables-devel >= 1.4.1.1-4}
 BuildRequires: libdbi-devel
 %{?with_libesmtp:BuildRequires:        libesmtp-devel}
 BuildRequires: libltdl-devel
 BuildRequires: libmemcached-devel
 %{?with_iptables:BuildRequires:        iptables-devel >= 1.4.1.1-4}
 BuildRequires: libdbi-devel
 %{?with_libesmtp:BuildRequires:        libesmtp-devel}
 BuildRequires: libltdl-devel
 BuildRequires: libmemcached-devel
-BuildRequires: libnetlink-devel
-%{?with_netlink:BuildRequires: libnetlink-devel}
+%{?with_modbus:BuildRequires:  libmodbus-devel}
+%{?with_netlink:BuildRequires: libmnl-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
 %{?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
+%{?with_libvirt:BuildRequires: libvirt-devel}
 %{?with_xml:BuildRequires:     libxml2-devel}
 %{?with_sensors:BuildRequires: lm_sensors-devel}
 %{?with_mysql:BuildRequires:   mysql-devel}
 BuildRequires: ncurses-devel
 %{?with_snmp:BuildRequires:    net-snmp-devel}
 %{?with_xml:BuildRequires:     libxml2-devel}
 %{?with_sensors:BuildRequires: lm_sensors-devel}
 %{?with_mysql:BuildRequires:   mysql-devel}
 BuildRequires: ncurses-devel
 %{?with_snmp:BuildRequires:    net-snmp-devel}
+%{?with_libvirt:BuildRequires: numactl-devel}
 %{?with_ups:BuildRequires:     nut-devel}
 BuildRequires: perl-devel
 BuildRequires: pkgconfig
 %{?with_ups:BuildRequires:     nut-devel}
 BuildRequires: perl-devel
 BuildRequires: pkgconfig
@@ -112,10 +178,13 @@ BuildRequires:    python-devel
 BuildRequires: python-modules
 BuildRequires: rpmbuild(macros) >= 1.268
 %{?with_rrd:BuildRequires:     rrdtool-devel}
 BuildRequires: python-modules
 BuildRequires: rpmbuild(macros) >= 1.268
 %{?with_rrd:BuildRequires:     rrdtool-devel}
+%{?with_varnish:BuildRequires:         varnish-devel}
 BuildRequires: which
 #BuildRequires:        xfsprogs-devel
 %{?with_xmms:BuildRequires:    xmms-devel}
 BuildRequires: which
 #BuildRequires:        xfsprogs-devel
 %{?with_xmms:BuildRequires:    xmms-devel}
+BuildRequires: yajl-devel
 Requires(post,preun):  /sbin/chkconfig
 Requires(post,preun):  /sbin/chkconfig
+Requires:      %{name}-libs = %{version}-%{release}
 Requires:      rc-scripts
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 Requires:      rc-scripts
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -136,15 +205,15 @@ 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
 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
-zapisujący wyniki do pliku RRD.
+collectd to mały demon zbierający co 10 sekund informacje o systemie i
+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
 
 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
-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.
+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
 
 %package libs
 Summary:       %{name} libraries
@@ -202,8 +271,8 @@ Requires:   %{name} = %{version}-%{release}
 
 %description apcups
 The APC UPS plugin connects to an instance of Apcupsd to read various
 
 %description apcups
 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.
+statistics about a connected uninterruptible power supply (UPS), such
+as voltage, load, etc.
 
 %package ascent
 Summary:       ascent-plugin for collectd
 
 %package ascent
 Summary:       ascent-plugin for collectd
@@ -212,9 +281,9 @@ Group:              Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description ascent
 Requires:      %{name} = %{version}-%{release}
 
 %description ascent
-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.
+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
 
 %package battery
 Summary:       battery plugin for collectd
@@ -251,6 +320,7 @@ Requires:   perl(RRDs)
 Requires:      perl(URI::Escape)
 Requires:      webserver(cgi)
 Suggests:      fonts-TTF-DejaVu
 Requires:      perl(URI::Escape)
 Requires:      webserver(cgi)
 Suggests:      fonts-TTF-DejaVu
+Conflicts:     apache-base < 2.4.0-1
 
 %description collection
 Web script for collectd.
 
 %description collection
 Web script for collectd.
@@ -263,8 +333,11 @@ Requires:  %{name} = %{version}-%{release}
 Requires:      perl(Config::General)
 Requires:      perl(HTML::Entities)
 Requires:      perl(RRDs)
 Requires:      perl(Config::General)
 Requires:      perl(HTML::Entities)
 Requires:      perl(RRDs)
+Requires:      perl(Regexp::Common)
+Requires:      perl-Collectd = %{version}-%{release}
 Requires:      webserver(cgi)
 Suggests:      fonts-TTF-DejaVu
 Requires:      webserver(cgi)
 Suggests:      fonts-TTF-DejaVu
+Conflicts:     apache-base < 2.4.0-1
 
 %description collection3
 Web script for collectd.
 
 %description collection3
 Web script for collectd.
@@ -276,8 +349,8 @@ Group:              Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description contextswitch
 Requires:      %{name} = %{version}-%{release}
 
 %description contextswitch
-The ContextSwitch plugin collects the number of context switches
-done by the operating system.
+The ContextSwitch plugin collects the number of context switches done
+by the operating system.
 
 %package conntrack
 Summary:       conntrack-plugin for collectd
 
 %package conntrack
 Summary:       conntrack-plugin for collectd
@@ -328,6 +401,18 @@ 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.
 
 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.UTF-8):     Wtyczka dbi dla collectd
 %package dbi
 Summary:       dbi plugin for collectd
 Summary(pl.UTF-8):     Wtyczka dbi dla collectd
@@ -398,9 +483,19 @@ Group:             Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description entropy
 Requires:      %{name} = %{version}-%{release}
 
 %description entropy
-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.
+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 ethstat
+Summary:       ethstat-plugin for collectd
+Summary(pl.UTF-8):     Wyczka ethstat dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description ethstat
+The ethstat plugin reads performance statistics directly from ethernet
+cards
 
 %package exec
 Summary:       exec-plugin for collectd
 
 %package exec
 Summary:       exec-plugin for collectd
@@ -480,10 +575,10 @@ Group:            Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description ipmi
 Requires:      %{name} = %{version}-%{release}
 
 %description ipmi
-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.
+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
 
 %package irq
 Summary:       IRQs-plugin for collectd
@@ -492,8 +587,23 @@ Group:             Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description irq
 Requires:      %{name} = %{version}-%{release}
 
 %description irq
-The IRQ plugin collects the number of times each interrupt has been handled
-by the operating system.
+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
 
 %package load
 Summary:       load-plugin for collectd
@@ -512,8 +622,8 @@ Group:              Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description logfile
 Requires:      %{name} = %{version}-%{release}
 
 %description logfile
-The LogFile plugin receives log messages from the daemon and writes them to
-a text file.
+The LogFile plugin receives log messages from the daemon and writes
+them to a text file.
 
 %package madwifi
 Summary:       madwifi plugin for collectd
 
 %package madwifi
 Summary:       madwifi plugin for collectd
@@ -522,11 +632,11 @@ Group:            Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description madwifi
 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.
+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
 
 %package match_empty_counter
 Summary:       match_empty_counter plugin for collectd
@@ -535,8 +645,9 @@ Group:              Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description match_empty_counter
 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.
+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
 
 %package match_hashed
 Summary:       match_hashed plugin for collectd
@@ -584,6 +695,16 @@ Requires:  %{name} = %{version}-%{release}
 %description mbmon
 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
 
 %description mbmon
 The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
 
+%package md
+Summary:       md plugin for collectd
+Summary(pl.UTF-8):     Wtyczka md dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description md
+The md plugin reports the number of disks in various states in Linux
+software RAID devices.
+
 %package memcachec
 Summary:       memcachec-plugin for collectd
 Summary(pl.UTF-8):     Wtyczka memcachec dla collectd
 %package memcachec
 Summary:       memcachec-plugin for collectd
 Summary(pl.UTF-8):     Wtyczka memcachec dla collectd
@@ -591,10 +712,10 @@ Group:            Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description memcachec
 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.
+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
 
 %package memcached
 Summary:       memcached-plugin for collectd
@@ -617,6 +738,19 @@ Requires:  %{name} = %{version}-%{release}
 %description memory
 Collects physical memory utilization for collectd.
 
 %description memory
 Collects physical memory utilization for collectd.
 
+%package modbus
+Summary:       modbus-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka modbus dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description modbus
+The Modbus plugin connects to a Modbus "slave" via Modbus/TCP and
+reads register values. It supports reading single registers (unsigned
+16 bit values), large integer values (unsigned 32 bit values) and
+floating point values (two registers interpreted as IEEE floats in big
+endian notation).
+
 %package multimeter
 Summary:       multimeter-plugin for collectd
 Summary(pl.UTF-8):     Wtyczka multimeter dla collectd
 %package multimeter
 Summary:       multimeter-plugin for collectd
 Summary(pl.UTF-8):     Wtyczka multimeter dla collectd
@@ -624,9 +758,10 @@ Group:             Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description multimeter
 Requires:      %{name} = %{version}-%{release}
 
 %description multimeter
-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 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.
 
 
 The multimeter used for development was a Metex M-4650CR.
 
@@ -665,8 +800,8 @@ Group:              Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description network
 Requires:      %{name} = %{version}-%{release}
 
 %description network
-The Network plugin can send values to other instances and receive values
-from other %{name} instances.
+The Network plugin can send values to other instances and receive
+values from other %{name} instances.
 
 %package nfs
 Summary:       NFS-plugin for collectd
 
 %package nfs
 Summary:       NFS-plugin for collectd
@@ -708,8 +843,8 @@ Group:              Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description notify_email
 Requires:      %{name} = %{version}-%{release}
 
 %description notify_email
-The Notify Email plugin uses libESMTP to send notifications to a configured
-email address(es).
+The Notify Email plugin uses libESMTP to send notifications to a
+configured email address(es).
 
 %package ntpd
 Summary:       ntpd-plugin for collectd
 
 %package ntpd
 Summary:       ntpd-plugin for collectd
@@ -721,7 +856,18 @@ Requires:  %{name} = %{version}-%{release}
 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,
 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.
+- parameters for each NTP server used to sync time: offset,
+  dispersion, delay.
+
+%package numa
+Summary:       numa-plugin for collectd
+Summary(pl.UTF-8):     Wtyczka numa dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description numa
+The numa plugin reports statistics of the Non-Uniform Memory Access
+(NUMA) subsystem of Linux.
 
 %package nut
 Summary:       nut-plugin for collectd
 
 %package nut
 Summary:       nut-plugin for collectd
@@ -739,11 +885,10 @@ Summary:  olsrd plugin for collectd
 Summary(pl.UTF-8):     Wtyczka olsrd dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
 Summary(pl.UTF-8):     Wtyczka olsrd dla collectd
 Group:         Daemons
 Requires:      %{name} = %{version}-%{release}
-Requires:      openvpn
 
 %description olsrd
 
 %description olsrd
-The olsrd plugin reads information about meshed networks from the txtinfo
-plugin of the Optimized Link State Routing daemon (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
 
 %package openvpn
 Summary:       openvpn plugin for collectd
@@ -756,6 +901,22 @@ Requires:  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.UTF-8):     Wtyczka ping dla collectd
 %package ping
 Summary:       ping-plugin for collectd
 Summary(pl.UTF-8):     Wtyczka ping dla collectd
@@ -823,13 +984,25 @@ Group:            Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description python
 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.
+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
 
 %package rrdtool
 Summary:       rrdtool-plugin for collectd
@@ -881,8 +1054,8 @@ Group:             Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description swap
 Requires:      %{name} = %{version}-%{release}
 
 %description swap
-The Swap plugin collects the amount of memory currently written onto hard
-disk or whatever the system calls “swap”.
+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
 
 %package syslog
 Summary:       syslog-plugin for collectd
@@ -940,6 +1113,16 @@ Requires: %{name} = %{version}-%{release}
 %description target_set
 target_set plugin for collectd.
 
 %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.UTF-8):     Wtyczka tail dla collectd
 %package tail
 Summary:       tail-plugin for collectd
 Summary(pl.UTF-8):     Wtyczka tail dla collectd
@@ -992,8 +1175,17 @@ Group:            Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description thermal
 Requires:      %{name} = %{version}-%{release}
 
 %description thermal
-The thermal plugin reads ACPI thermal zone information from the sysfs or
-procfs file system, i. e. mostly system temperature information.
+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
 
 %package unixsock
 Summary:       unixsock-plugin for collectd
@@ -1038,6 +1230,16 @@ 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.
 
 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.UTF-8):     Wtyczka vmem dla collectd
 %package vmem
 Summary:       vmem-plugin for collectd
 Summary(pl.UTF-8):     Wtyczka vmem dla collectd
@@ -1059,6 +1261,22 @@ Requires:        %{name} = %{version}-%{release}
 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_graphite
+Summary:       write_graphite-plugin for collectd
+Summary(pl.UTF-8):     wtyczka write_graphite dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description write_graphite
+The Write Graphite plugin stores values in Carbon, the storage layer
+of Graphite. The plugin aims to be very efficient. It keeps the TCP
+connection to Carbon open in order to minimize the connection
+handshake overhead. It buffers the data in a buffer to send many lines
+at once, rather than generating lots of small network packets. The
+size of this buffer (1428 bytes) is dimensioned so that the buffer as
+well as the TCP and IP header fit into one Ethernet frame and can
+(hopefully) be delivered without fragmentation.
+
 %package write_http
 Summary:       write_http-plugin for collectd
 Summary(pl.UTF-8):     Wtyczka write_http dla collectd
 %package write_http
 Summary:       write_http-plugin for collectd
 Summary(pl.UTF-8):     Wtyczka write_http dla collectd
@@ -1102,48 +1320,64 @@ Perl files from Collectd package
 %setup -q
 %patch0 -p1
 %patch1 -p1
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+
+%patch5 -p1
+#%patch6 -p1
 
 %build
 
 %build
-%{__libtoolize}
+%{__libtoolize} --ltdl
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 
 %configure \
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__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-libstatgrab=/usr \
        --with-lm-sensors=/usr \
        --with-libmysql=/usr \
-       --%{?with_dns:en}%{!?with_dns:dis}able-dns \
-       --%{?with_ipmi:en}%{!?with_ipmi:dis}able-ipmi \
-       --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \
-       --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \
-       --%{?with_mysql:en}%{!?with_mysql:dis}able-mysql \
-       --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink \
-       --%{?with_notify:en}%{!?with_notify:dis}able-notify_desktop \
-       --%{?with_libesmtp:en}%{!?with_libesmtp:dis}able-notify_email \
-       --%{?with_ups:en}%{!?with_ups:dis}able-nut \
-       --%{?with_ping:en}%{!?with_ping:dis}able-ping \
-       --%{?with_pgsql:en}%{!?with_pgsql:dis}able-postgresql \
-       --%{?with_rrd:en}%{!?with_rrd:dis}able-rrdtool \
-       --%{?with_sensors:en}%{!?with_sensors:dis}able-sensors \
-       --%{?with_snmp:en}%{!?with_snmp:dis}able-snmp \
-       --%{?with_xmms:en}%{!?with_xmms:dis}able-xmms \
-       %{!?with_curl:--disable-{apache,ascent,bind,curl,nginx}} \
-       %{!?with_xml:--disable-{ascent,bind,libvirt}} \
-       --disable-ipvs \
-       --disable-libvirt \
-       --disable-perl
-
-
-%{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
+       --enable-perl \
+       %{__enable_disable dns} \
+       %{__enable_disable ipmi} \
+       %{__enable_disable iptables} \
+       %{__with_without java} \
+       %{__enable_disable multimeter} \
+       %{__enable_disable mysql} \
+       %{__enable_disable netlink} \
+       %{__enable_disable notify notify_desktop} \
+       %{__enable_disable libesmtp notify_email} \
+       %{__enable_disable modbus } \
+       %{__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} -j1 LDFLAGS="%{rpmldflags} -lstatgrab" \
        BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
        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}} \
        BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
        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},%{perl_vendorlib}/}
+       $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir},%{perl_vendorlib}/,%{_mandir}/man3}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -1154,11 +1388,14 @@ install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 # Web frontend:
 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
 # Web frontend:
 install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
 install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
-install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
+install %{SOURCE5} $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}
 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
 
 ### Configs instalation ###
 for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
@@ -1174,6 +1411,7 @@ 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}/
 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
 
 # Cleanups:
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
@@ -1212,12 +1450,14 @@ fi
 %module_scripts cpufreq
 %module_scripts csv
 %module_scripts curl
 %module_scripts cpufreq
 %module_scripts csv
 %module_scripts curl
+%module_scripts curl_json
 %module_scripts dbi
 %module_scripts df
 %module_scripts disk
 %module_scripts dns
 %module_scripts email
 %module_scripts entropy
 %module_scripts dbi
 %module_scripts df
 %module_scripts disk
 %module_scripts dns
 %module_scripts email
 %module_scripts entropy
+%module_scripts ethstat
 %module_scripts exec
 %module_scripts filecount
 %module_scripts fscache
 %module_scripts exec
 %module_scripts filecount
 %module_scripts fscache
@@ -1226,6 +1466,7 @@ fi
 %module_scripts ipmi
 %module_scripts iptables
 %module_scripts irq
 %module_scripts ipmi
 %module_scripts iptables
 %module_scripts irq
+%module_scripts libvirt
 %module_scripts load
 %module_scripts logfile
 %module_scripts madwifi
 %module_scripts load
 %module_scripts logfile
 %module_scripts madwifi
@@ -1235,6 +1476,7 @@ fi
 %module_scripts match_timediff
 %module_scripts match_value
 %module_scripts mbmon
 %module_scripts match_timediff
 %module_scripts match_value
 %module_scripts mbmon
+%module_scripts md
 %module_scripts memcachec
 %module_scripts memcached
 %module_scripts memory
 %module_scripts memcachec
 %module_scripts memcached
 %module_scripts memory
@@ -1247,15 +1489,18 @@ fi
 %module_scripts notify_desktop
 %module_scripts notify_email
 %module_scripts ntpd
 %module_scripts notify_desktop
 %module_scripts notify_email
 %module_scripts ntpd
+%module_scripts numa
 %module_scripts nut
 %module_scripts olsrd
 %module_scripts openvpn
 %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 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 rrdtool
 %module_scripts sensors
 %module_scripts serial
@@ -1268,16 +1513,20 @@ fi
 %module_scripts target_replace
 %module_scripts target_scale
 %module_scripts target_set
 %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 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 unixsock
 %module_scripts uptime
 %module_scripts users
 %module_scripts uuid
+%module_scripts varnish
 %module_scripts vmem
 %module_scripts vserver
 %module_scripts vmem
 %module_scripts vserver
+%module_scripts write_graphite
 %module_scripts write_http
 %module_scripts wireless
 %module_scripts xmms
 %module_scripts write_http
 %module_scripts wireless
 %module_scripts xmms
@@ -1288,10 +1537,10 @@ fi
 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
 %webapp_unregister apache %{_webapp}
 
 %triggerun collection -- apache1 < 1.3.37-3, apache1-base
 %webapp_unregister apache %{_webapp}
 
-%triggerin collection -- apache < 2.2.0, apache-base
+%triggerin collection -- apache-base
 %webapp_register httpd %{_webapp}
 
 %webapp_register httpd %{_webapp}
 
-%triggerun collection -- apache < 2.2.0, apache-base
+%triggerun collection -- apache-base
 %webapp_unregister httpd %{_webapp}
 
 %triggerin collection -- lighttpd
 %webapp_unregister httpd %{_webapp}
 
 %triggerin collection -- lighttpd
@@ -1305,26 +1554,28 @@ fi
 %doc AUTHORS ChangeLog README TODO contrib
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
 %dir %{_sysconfdir}/%{name}.d
 %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) %{_sbindir}/collectd
 %attr(755,root,root) %{_sbindir}/collectdmon
+%attr(755,root,root) %{_bindir}/collectdctl
 %attr(755,root,root) %{_bindir}/collectd-nagios
 %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*
 %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}/man1/collectdctl.1*
 %{_mandir}/man1/collectdmon.1*
 %{_mandir}/man5/collectd.conf.5*
 %{_mandir}/man5/collectd-java.5*
 %{_mandir}/man1/collectdmon.1*
 %{_mandir}/man5/collectd.conf.5*
 %{_mandir}/man5/collectd-java.5*
-%{_mandir}/man5/collectd-perl.5*
 %{_mandir}/man5/types.db.5*
 %dir %{_var}/lib/%{name}
 
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
 %{_mandir}/man5/types.db.5*
 %dir %{_var}/lib/%{name}
 
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.0
-%dir %{_libdir}/%{name}
+%attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.1
 
 %files devel
 %defattr(644,root,root,755)
 
 %files devel
 %defattr(644,root,root,755)
@@ -1341,7 +1592,6 @@ fi
 
 %files collection
 %defattr(644,root,root,755)
 
 %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
 %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
@@ -1352,7 +1602,14 @@ fi
 
 %files collection3
 %defattr(644,root,root,755)
 
 %files collection3
 %defattr(644,root,root,755)
-%{_appdir}/collection3
+%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}
 
 ########## PLUGINS:
 %if %{with xml}
@@ -1424,6 +1681,11 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_xml.conf
 %attr(755,root,root) %{_libdir}/%{name}/curl_xml.so
 %endif
 %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
 %endif
 
 %files dbi
@@ -1459,6 +1721,11 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
 
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
 %attr(755,root,root) %{_libdir}/%{name}/entropy.so
 
+%files ethstat
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ethstat.conf
+%attr(755,root,root) %{_libdir}/%{name}/ethstat.so
+
 %files exec
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
 %files exec
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
@@ -1504,6 +1771,13 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
 %attr(755,root,root) %{_libdir}/%{name}/irq.so
 
 %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/virt.conf
+%attr(755,root,root) %{_libdir}/%{name}/virt.so
+%endif
+
 %files load
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
 %files load
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
@@ -1550,6 +1824,11 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
 
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
 
+%files md
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/md.conf
+%attr(755,root,root) %{_libdir}/%{name}/md.so
+
 %files memcachec
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcachec.conf
 %files memcachec
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcachec.conf
@@ -1565,6 +1844,13 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
 %attr(755,root,root) %{_libdir}/%{name}/memory.so
 
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
 %attr(755,root,root) %{_libdir}/%{name}/memory.so
 
+%if %{with modbus}
+%files modbus
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/modbus.conf
+%attr(755,root,root) %{_libdir}/%{name}/modbus.so
+%endif
+
 %if %{with multimeter}
 %files multimeter
 %defattr(644,root,root,755)
 %if %{with multimeter}
 %files multimeter
 %defattr(644,root,root,755)
@@ -1622,6 +1908,11 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
 
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
 
+%files numa
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/numa.conf
+%attr(755,root,root) %{_libdir}/%{name}/numa.so
+
 %if %{with ups}
 %files nut
 %defattr(644,root,root,755)
 %if %{with ups}
 %files nut
 %defattr(644,root,root,755)
@@ -1639,6 +1930,12 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
 %attr(755,root,root) %{_libdir}/%{name}/openvpn.so
 
 %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)
 %if %{with ping}
 %files ping
 %defattr(644,root,root,755)
@@ -1676,6 +1973,11 @@ fi
 %{_mandir}/man5/collectd-python.5*
 
 %if %{with rrd}
 %{_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
 %files rrdtool
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
@@ -1742,6 +2044,10 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
 %attr(755,root,root) %{_libdir}/%{name}/target_set.so
 
 %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
 %files tcpconns
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
@@ -1762,6 +2068,12 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
 %attr(755,root,root) %{_libdir}/%{name}/thermal.so
 
 %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
 %files unixsock
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
@@ -1783,6 +2095,13 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
 
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
 %attr(755,root,root) %{_libdir}/%{name}/uuid.so
 
+%if %{with varnish}
+%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
+%endif
+
 %files vmem
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
 %files vmem
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
@@ -1798,6 +2117,11 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
 
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
 %attr(755,root,root) %{_libdir}/%{name}/wireless.so
 
+%files write_graphite
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_graphite.conf
+%attr(755,root,root) %{_libdir}/%{name}/write_graphite.so
+
 %files write_http
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_http.conf
 %files write_http
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_http.conf
@@ -1814,3 +2138,4 @@ fi
 %defattr(644,root,root,755)
 %{perl_vendorlib}/Collectd.pm
 %{perl_vendorlib}/Collectd
 %defattr(644,root,root,755)
 %{perl_vendorlib}/Collectd.pm
 %{perl_vendorlib}/Collectd
+%{_mandir}/man3/*.3*
This page took 0.196078 seconds and 4 git commands to generate.