]> git.pld-linux.org Git - packages/collectd.git/blobdiff - collectd.spec
perl 5.38.0 rebuild
[packages/collectd.git] / collectd.spec
index 475217bd6c5aebc2723f988359e6b7abb0fbcc53..9b7d21cf44ba07aacb72e744422621bbcd933e61 100644 (file)
 # TODO:
+#warning: Installed (but unpackaged) file(s) found:
+#      /etc/collectd.d/aggregation.conf
+#      /etc/collectd.d/amqp.conf
+#      /etc/collectd.d/barometer.conf
+#      /etc/collectd.d/ceph.conf
+#      /etc/collectd.d/cgroups.conf
+#      /etc/collectd.d/check_uptime.conf
+#      /etc/collectd.d/chrony.conf
+#      /etc/collectd.d/connectivity.conf
+#      /etc/collectd.d/cpusleep.conf
+#      /etc/collectd.d/drbd.conf
+#      /etc/collectd.d/fhcount.conf
+#      /etc/collectd.d/gps.conf
+#      /etc/collectd.d/hugepages.conf
+#      /etc/collectd.d/ipc.conf
+#      /etc/collectd.d/log_logstash.conf
+#      /etc/collectd.d/lua.conf
+#      /etc/collectd.d/lvm.conf
+#      /etc/collectd.d/mcelog.conf
+#      /etc/collectd.d/mqtt.conf
+#      /etc/collectd.d/notify_nagios.conf
+#      /etc/collectd.d/openldap.conf
+#      /etc/collectd.d/ovs_events.conf
+#      /etc/collectd.d/ovs_stats.conf
+#      /etc/collectd.d/pcie_errors.conf
+#      /etc/collectd.d/pinba.conf
+#      /etc/collectd.d/procevent.conf
+#      /etc/collectd.d/redis.conf
+#      /etc/collectd.d/smart.conf
+#      /etc/collectd.d/snmp_agent.conf
+#      /etc/collectd.d/statsd.conf
+#      /etc/collectd.d/sysevent.conf
+#      /etc/collectd.d/tail_csv.conf
+#      /etc/collectd.d/target_v5upgrade.conf
+#      /etc/collectd.d/turbostat.conf
+#      /etc/collectd.d/write_kafka.conf
+#      /etc/collectd.d/write_log.conf
+#      /etc/collectd.d/write_prometheus.conf
+#      /etc/collectd.d/write_redis.conf
+#      /etc/collectd.d/write_sensu.conf
+#      /etc/collectd.d/write_stackdriver.conf
+#      /etc/collectd.d/write_syslog.conf
+#      /etc/collectd.d/write_tsdb.conf
+#      /etc/collectd.d/xencpu.conf
+#      /etc/collectd.d/zfs_arc.conf
+#      /etc/collectd.d/zookeeper.conf
+#      /usr/lib64/collectd/aggregation.so
+#      /usr/lib64/collectd/amqp.so
+#      /usr/lib64/collectd/barometer.so
+#      /usr/lib64/collectd/ceph.so
+#      /usr/lib64/collectd/cgroups.so
+#      /usr/lib64/collectd/check_uptime.so
+#      /usr/lib64/collectd/chrony.so
+#      /usr/lib64/collectd/connectivity.so
+#      /usr/lib64/collectd/cpusleep.so
+#      /usr/lib64/collectd/drbd.so
+#      /usr/lib64/collectd/fhcount.so
+#      /usr/lib64/collectd/gps.so
+#      /usr/lib64/collectd/hugepages.so
+#      /usr/lib64/collectd/ipc.so
+#      /usr/lib64/collectd/log_logstash.so
+#      /usr/lib64/collectd/lua.so
+#      /usr/lib64/collectd/lvm.so
+#      /usr/lib64/collectd/mcelog.so
+#      /usr/lib64/collectd/mqtt.so
+#      /usr/lib64/collectd/notify_nagios.so
+#      /usr/lib64/collectd/openldap.so
+#      /usr/lib64/collectd/ovs_events.so
+#      /usr/lib64/collectd/ovs_stats.so
+#      /usr/lib64/collectd/pinba.so
+#      /usr/lib64/collectd/procevent.so
+#      /usr/lib64/collectd/redis.so
+#      /usr/lib64/collectd/smart.so
+#      /usr/lib64/collectd/snmp_agent.so
+#      /usr/lib64/collectd/statsd.so
+#      /usr/lib64/collectd/synproxy.so
+#      /usr/lib64/collectd/sysevent.so
+#      /usr/lib64/collectd/tail_csv.so
+#      /usr/lib64/collectd/turbostat.so
+#      /usr/lib64/collectd/write_kafka.so
+#      /usr/lib64/collectd/write_log.so
+#      /usr/lib64/collectd/write_prometheus.so
+#      /usr/lib64/collectd/write_redis.so
+#      /usr/lib64/collectd/write_sensu.so
+#      /usr/lib64/collectd/write_stackdriver.so
+#      /usr/lib64/collectd/write_syslog.so
+#      /usr/lib64/collectd/write_tsdb.so
+#      /usr/lib64/collectd/xencpu.so
+#      /usr/lib64/collectd/zfs_arc.so
+#      /usr/lib64/collectd/zookeeper.so
+#      /usr/share/collectd/collection3/README
+#      /usr/share/collectd/collection3/bin/.htaccess
+#
 # - 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:
-#   libcredis . . . . . . no (credis.h not found) (http://code.google.com/p/credis/)
+#   intel mic . . . . . . no (MicAccessApi not found)
+#   libaquaero5 . . . . . no (libaquaero5.h not found)
+#   libdpdk . . . . . . . no (rte_config.h not found)
 #   libganglia  . . . . . no (gm_protocol.h not found) (http://ganglia.info/)
+#   libgrpc++ . . . . . . no (pkg-config could not find libgrpc++)
 #   libiokit  . . . . . . no (Darwin only)
-#   libjvm  . . . . . . . no (javac not found)
+#   libjevents  . . . . . no (jevents.h not found)
+#   libjvm  . . . . . . . no (javac/jar not found)
 #   libkstat  . . . . . . no (Solaris only)
 #   libkvm  . . . . . . . no (BSD only)
-#   libmodbus . . . . . . no (pkg-config doesn't know modbus) (http://www.libmodbus.org/)
+#   liblvm2app  . . . . . no (lvm2app.h not found)
+#   libmongoc . . . . . . no (pkg-config could not find libmongoc)
 #   libnetapp . . . . . . no (netapp_api.h not found) (properitary)
+#   libnvidia-ml  . . . . no
+#   libowcapi . . . . . . no (owcapi.h not found)
 #   libperfstat . . . . . no (AIX only)
+#   libpqos . . . . . . . no (pqos.h not found)
+#   libqpid-proton .  . . no (proton/proactor.h not found)
 #   librabbitmq . . . . . no (amqp.h not found) (http://hg.rabbitmq.com/rabbitmq-c/)
+#   libriemann-client . . no (pkg-config doesn't know libriemann-client)
 #   librouteros . . . . . no ('routeros_api.h' not found) (http://verplant.org/librouteros/)
+#   libsigrok   . . . . . no (pkg-config could not find libsigrok)
 #   libtokyotyrant  . . . no (tcrdb.h not found) (http://1978th.net/tokyotyrant/)
 #   libyajl . . . . . . . no (yajl/yajl_parse.h not found)
-#   protobuf-c  . . . . . no 
+#   protobuf-c  . . . . . no
 #   oracle  . . . . . . . no (ORACLE_HOME is not set)
 # - Disabled modules (build most of them an package):
 #   amqp    . . . . . . . no
+#   amqp1   . . . . . . . no (proton/proactor.h not found)
 #   apple_sensors . . . . no             (Darwin only)
-#   gmond . . . . . . . . no
+#   aquaero . . . . . . . no (libaquaero5.h not found)
+#   dpdkevents. . . . . . no
+#   dpdkstat  . . . . . . no
+#   gmond . . . . . . . . no (gm_protocol.h not found)
+#   gpu_nvidia  . . . . . no
+#   grpc  . . . . . . . . no (libgrpc++ not found)
+#   intel_pmu . . . . . . no (jevents.h not found)
+#   intel_rdt . . . . . . no (pqos.h not found)
 #   ipvs  . . . . . . . . no             (ip_vs.h not found - llh to be fixed)
-#   java  . . . . . . . . no
-#   lpar... . . . . . . . no
-#   modbus  . . . . . . . no
+#   java  . . . . . . . . no (jar not found)
+#   lpar... . . . . . . . no (AIX only)
+#   lvm . . . . . . . . . no (lvm2app.h not found)
+#   mic . . . . . . . . . no (MicAccessApi not found)
 #   multimeter  . . . . . no             ?
-#   netapp  . . . . . . . no
-#   onewire . . . . . . . no             (needs libowfs)
-#   oracle  . . . . . . . no
+#   netapp  . . . . . . . no (netapp_api.h not found)
+#   onewire . . . . . . . no (owcapi.h not found)
+#   oracle  . . . . . . . no (ORACLE_HOME is not set)
+#   pf  . . . . . . . . . no
 #   pinba . . . . . . . . no
 #   redis . . . . . . . . no
-#   routeros  . . . . . . no
+#   routeros  . . . . . . no (routeros_api.h not found)
+#   sigrok  . . . . . . . no (pkg-config could not find libsigrok)
 #   tape  . . . . . . . . no             ?
-#   tokyotyrant . . . . . no
+#   tokyotyrant . . . . . no (tcrdb.h not found)
+#   write_mongodb . . . . no (pkg-config could not find libmongoc)
+#   write_riemann . . . . no (pkg-config doesn't know libriemann-client)
 #   write_redis . . . . . no
 #   zfs_arc . . . . . . . no
+#   zone  . . . . . . . . no
 # - logrotate file for logfile plugin
 # - %desc -l pl for plugins
 # - package SpamAssassin plugin from contrib
 %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 libvirt         # libvirt plugin
+%bcond_without modbus  # modbus plugin
 %bcond_with    multimeter      # multimeter plugin
 %bcond_without mysql           # MySQL plugin
 %bcond_without netlink         # netlink plugin
 Summary:       Collects system information in RRD files
 Summary(pl.UTF-8):     Zbieranie informacji o systemie w plikach RRD
 Name:          collectd
-Version:       5.0.1
-Release:       2
+Version:       5.9.2
+Release:       9
 License:       GPL v2
 Group:         Daemons
-Source0:       http://collectd.org/files/%{name}-%{version}.tar.bz2
-# Source0-md5: 9ad1e4334bd4a671284e8e92a3e3323e
+# http://collectd.org/files/%{name}-%{version}.tar.bz2 is xz compressed :/
+Source0:       %{name}-%{version}.tar.xz
+# Source0-md5: 4ec308f256a3d3575f6c8a2be4338966
 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
+Patch1:                glibc-2.36.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
@@ -94,8 +214,8 @@ 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}
@@ -103,10 +223,11 @@ BuildRequires:    libnetlink-devel
 BuildRequires: libstatgrab-devel >= 0.12
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
+%{?with_libvirt:BuildRequires: libvirt-devel}
 %{?with_xml:BuildRequires:     libxml2-devel}
+BuildRequires: linux-libc-headers
 %{?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}
@@ -114,6 +235,8 @@ BuildRequires:      ncurses-devel
 BuildRequires: perl-devel
 BuildRequires: pkgconfig
 %{?with_pgsql:BuildRequires:   postgresql-devel}
+BuildRequires: protobuf-c
+BuildRequires: protobuf-devel
 BuildRequires: python-devel
 BuildRequires: python-modules
 BuildRequires: rpmbuild(macros) >= 1.268
@@ -145,12 +268,12 @@ 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
-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
-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 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.
@@ -171,6 +294,7 @@ Summary:    Header files for %{name} libraries
 Summary(pl.UTF-8):     Pliki nagłówkowe bibliotek %{name}
 Group:         Development/Libraries
 Requires:      %{name}-libs = %{version}-%{release}
+Obsoletes:     collectd-static < 5.8.0
 
 %description devel
 Header files for %{name} libraries.
@@ -178,18 +302,6 @@ 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.UTF-8):     Wtyczka apache dla collectd
@@ -260,6 +372,7 @@ Requires:   perl(RRDs)
 Requires:      perl(URI::Escape)
 Requires:      webserver(cgi)
 Suggests:      fonts-TTF-DejaVu
+Conflicts:     apache-base < 2.4.0-1
 
 %description collection
 Web script for collectd.
@@ -269,13 +382,14 @@ 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:      perl(Regexp::Common)
+Requires:      perl-Collectd = %{version}-%{release}
 Requires:      webserver(cgi)
 Suggests:      fonts-TTF-DejaVu
+Conflicts:     apache-base < 2.4.0-1
 
 %description collection3
 Web script for collectd.
@@ -425,6 +539,16 @@ 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
 Summary(pl.UTF-8):     Wtyczka exec dla collectd
@@ -623,6 +747,16 @@ Requires:  %{name} = %{version}-%{release}
 %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
@@ -656,6 +790,19 @@ Requires:  %{name} = %{version}-%{release}
 %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
@@ -764,6 +911,16 @@ statistics access is allowed) and extracts :
 - 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
 Summary(pl.UTF-8):     Wtyczka nut dla collectd
@@ -1156,6 +1313,22 @@ Requires:        %{name} = %{version}-%{release}
 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
@@ -1200,19 +1373,18 @@ Perl files from Collectd package
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
-%patch4 -p0
 
 %build
-%{__libtoolize}
+%{__libtoolize} --ltdl
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 
 %configure \
-       CPPFLAGS="-Wno-unused-but-set-variable" \
+       CPPFLAGS="-Wno-unused-but-set-variable -Wno-format-truncation" \
        c_cv_have_libperl=yes \
+       --disable-werror \
        --with-libiptc=/usr \
        --with-libstatgrab=/usr \
        --with-lm-sensors=/usr \
@@ -1221,11 +1393,13 @@ Perl files from Collectd package
        %{__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} \
@@ -1246,7 +1420,7 @@ Perl files from Collectd package
        --disable-ipvs
 
 
-%{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
+%{__make} -j1 LDFLAGS="%{rpmldflags} -lstatgrab" \
        BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
        BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread"
 
@@ -1264,7 +1438,7 @@ 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
-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
 
@@ -1333,6 +1507,7 @@ fi
 %module_scripts dns
 %module_scripts email
 %module_scripts entropy
+%module_scripts ethstat
 %module_scripts exec
 %module_scripts filecount
 %module_scripts fscache
@@ -1351,6 +1526,7 @@ fi
 %module_scripts match_timediff
 %module_scripts match_value
 %module_scripts mbmon
+%module_scripts md
 %module_scripts memcachec
 %module_scripts memcached
 %module_scripts memory
@@ -1363,6 +1539,7 @@ fi
 %module_scripts notify_desktop
 %module_scripts notify_email
 %module_scripts ntpd
+%module_scripts numa
 %module_scripts nut
 %module_scripts olsrd
 %module_scripts openvpn
@@ -1399,6 +1576,7 @@ fi
 %module_scripts varnish
 %module_scripts vmem
 %module_scripts vserver
+%module_scripts write_graphite
 %module_scripts write_http
 %module_scripts wireless
 %module_scripts xmms
@@ -1409,10 +1587,10 @@ fi
 %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}
 
-%triggerun collection -- apache < 2.2.0, apache-base
+%triggerun collection -- apache-base
 %webapp_unregister httpd %{_webapp}
 
 %triggerin collection -- lighttpd
@@ -1423,7 +1601,7 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO contrib
+%doc AUTHORS ChangeLog README contrib
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
 %dir %{_sysconfdir}/%{name}.d
 %dir %{_webappdir}
@@ -1431,23 +1609,26 @@ fi
 %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-tg
 %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}/man1/collectd-tg.1*
 %{_mandir}/man1/collectdctl.1*
 %{_mandir}/man1/collectdmon.1*
 %{_mandir}/man5/collectd.conf.5*
 %{_mandir}/man5/collectd-java.5*
+%{_mandir}/man5/collectd-lua.5*
 %{_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
+%attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.1
 
 %files devel
 %defattr(644,root,root,755)
@@ -1457,11 +1638,6 @@ 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)
 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
@@ -1593,6 +1769,11 @@ fi
 %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
@@ -1641,8 +1822,8 @@ fi
 %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
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/virt.conf
+%attr(755,root,root) %{_libdir}/%{name}/virt.so
 %endif
 
 %files load
@@ -1691,6 +1872,11 @@ fi
 %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
@@ -1706,6 +1892,13 @@ fi
 %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)
@@ -1763,6 +1956,11 @@ fi
 %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)
@@ -1945,10 +2143,12 @@ fi
 %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)
@@ -1965,6 +2165,11 @@ fi
 %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
This page took 0.049407 seconds and 4 git commands to generate.