]> git.pld-linux.org Git - packages/collectd.git/blobdiff - collectd.spec
perl 5.38.0 rebuild
[packages/collectd.git] / collectd.spec
index c7e4c7228168d9e176878cf79dcd0f4b67f9945a..9b7d21cf44ba07aacb72e744422621bbcd933e61 100644 (file)
-#       $Revision: 1.122 $, $Date: 2012-05-07 17:55:54 $
 # TODO:
 # 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:
 # - 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/)
 #   libganglia  . . . . . no (gm_protocol.h not found) (http://ganglia.info/)
+#   libgrpc++ . . . . . . no (pkg-config could not find libgrpc++)
 #   libiokit  . . . . . . no (Darwin only)
 #   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)
 #   libkstat  . . . . . . no (Solaris only)
 #   libkvm  . . . . . . . no (BSD only)
+#   liblvm2app  . . . . . no (lvm2app.h not found)
+#   libmongoc . . . . . . no (pkg-config could not find libmongoc)
 #   libnetapp . . . . . . no (netapp_api.h not found) (properitary)
 #   libnetapp . . . . . . no (netapp_api.h not found) (properitary)
+#   libnvidia-ml  . . . . no
+#   libowcapi . . . . . . no (owcapi.h not found)
 #   libperfstat . . . . . no (AIX only)
 #   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/)
 #   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/)
 #   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)
 #   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
 #   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)
 #   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)
 #   ipvs  . . . . . . . . no             (ip_vs.h not found - llh to be fixed)
-#   java  . . . . . . . . no
-#   lpar... . . . . . . . no
+#   java  . . . . . . . . no (jar not found)
+#   lpar... . . . . . . . no (AIX only)
+#   lvm . . . . . . . . . no (lvm2app.h not found)
+#   mic . . . . . . . . . no (MicAccessApi not found)
 #   multimeter  . . . . . no             ?
 #   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
 #   pinba . . . . . . . . no
 #   redis . . . . . . . . no
-#   routeros  . . . . . . no
+#   routeros  . . . . . . no (routeros_api.h not found)
+#   sigrok  . . . . . . . no (pkg-config could not find libsigrok)
 #   tape  . . . . . . . . no             ?
 #   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
 #   write_redis . . . . . no
 #   zfs_arc . . . . . . . no
+#   zone  . . . . . . . . no
 # - logrotate file for logfile plugin
 # - %desc -l pl for plugins
 # - package SpamAssassin plugin from contrib
 # - 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_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_without libesmtp        # notify_email plugin
 %bcond_without libvirt         # libvirt plugin
 %bcond_without modbus  # modbus plugin
 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:       5.1.0
-Release:       1
+Version:       5.9.2
+Release:       9
 License:       GPL v2
 Group:         Daemons
 License:       GPL v2
 Group:         Daemons
-Source0:       http://collectd.org/files/%{name}-%{version}.tar.bz2
-# Source0-md5: 141570150b4608c0c567330f6f146e0f
+# 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
 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
 Source10:      %{name}-df.conf
 Source11:      %{name}-rrdtool.conf
 Patch0:                %{name}-collection.patch
-Patch1:                compile.patch
+Patch1:                glibc-2.36.patch
 Patch2:                noquote.patch
 Patch2:                noquote.patch
-Patch3:                libiptc.patch
-Patch4:                pld.patch
-Patch5:                %{name}-netlink.patch
-Patch6:                %{name}-modbus.patch
 URL:           http://collectd.org/
 %{?with_ipmi:BuildRequires:    OpenIPMI-devel >= 2.0.14-3}
 BuildRequires: autoconf
 URL:           http://collectd.org/
 %{?with_ipmi:BuildRequires:    OpenIPMI-devel >= 2.0.14-3}
 BuildRequires: autoconf
@@ -96,7 +214,8 @@ BuildRequires:       libdbi-devel
 %{?with_libesmtp:BuildRequires:        libesmtp-devel}
 BuildRequires: libltdl-devel
 BuildRequires: libmemcached-devel
 %{?with_libesmtp:BuildRequires:        libesmtp-devel}
 BuildRequires: libltdl-devel
 BuildRequires: libmemcached-devel
-%{?with_netlink:BuildRequires: libnetlink-devel >= 3.0.0}
+%{?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_libvirt:BuildRequires: libnl1-devel}
 %{?with_notify:BuildRequires:  libnotify-devel}
 %{?with_ping:BuildRequires:    liboping-devel}
@@ -104,11 +223,11 @@ BuildRequires:    libmemcached-devel
 BuildRequires: libstatgrab-devel >= 0.12
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
 BuildRequires: libstatgrab-devel >= 0.12
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
+%{?with_libvirt:BuildRequires: libvirt-devel}
 %{?with_xml:BuildRequires:     libxml2-devel}
 %{?with_xml:BuildRequires:     libxml2-devel}
+BuildRequires: linux-libc-headers
 %{?with_sensors:BuildRequires: lm_sensors-devel}
 %{?with_sensors:BuildRequires: lm_sensors-devel}
-%{?with_modbus:BuildRequires:  libmodbus-devel}
 %{?with_mysql:BuildRequires:   mysql-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}
 BuildRequires: ncurses-devel
 %{?with_snmp:BuildRequires:    net-snmp-devel}
 %{?with_libvirt:BuildRequires: numactl-devel}
@@ -116,6 +235,8 @@ BuildRequires:      ncurses-devel
 BuildRequires: perl-devel
 BuildRequires: pkgconfig
 %{?with_pgsql:BuildRequires:   postgresql-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
 BuildRequires: python-devel
 BuildRequires: python-modules
 BuildRequires: rpmbuild(macros) >= 1.268
@@ -147,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
 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
 
 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.
 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.
@@ -173,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}
 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.
 
 %description devel
 Header files for %{name} libraries.
@@ -180,18 +302,6 @@ Header files for %{name} libraries.
 %description devel -l pl.UTF-8
 Pliki nagłówkowe bibliotek %{name}.
 
 %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
 %package apache
 Summary:       apache-plugin for collectd
 Summary(pl.UTF-8):     Wtyczka apache dla collectd
@@ -262,6 +372,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.
@@ -271,13 +382,14 @@ Summary:  Web script for collectd
 Summary(pl.UTF-8):     Web script for collectd
 Group:         Applications/WWW
 Requires:      %{name} = %{version}-%{release}
 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(Config::General)
 Requires:      perl(HTML::Entities)
-Requires:      perl(Regexp::Common)
 Requires:      perl(RRDs)
 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.
@@ -686,10 +798,10 @@ Requires: %{name} = %{version}-%{release}
 
 %description modbus
 The Modbus plugin connects to a Modbus "slave" via Modbus/TCP and
 
 %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 
+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
 floating point values (two registers interpreted as IEEE floats in big
-endian notation). 
+endian notation).
 
 %package multimeter
 Summary:       multimeter-plugin for collectd
 
 %package multimeter
 Summary:       multimeter-plugin for collectd
@@ -806,8 +918,8 @@ Group:              Daemons
 Requires:      %{name} = %{version}-%{release}
 
 %description numa
 Requires:      %{name} = %{version}-%{release}
 
 %description numa
-The numa plugin reports statistics of the Non-Uniform Memory
-Access (NUMA) subsystem of Linux.
+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
@@ -1209,14 +1321,13 @@ Requires:       %{name} = %{version}-%{release}
 
 %description write_graphite
 The Write Graphite plugin stores values in Carbon, the storage layer
 
 %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.
+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
 
 %package write_http
 Summary:       write_http-plugin for collectd
@@ -1262,21 +1373,18 @@ Perl files from Collectd package
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p0
-%patch4 -p0
-%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" \
+       CPPFLAGS="-Wno-unused-but-set-variable -Wno-format-truncation" \
        c_cv_have_libperl=yes \
        c_cv_have_libperl=yes \
+       --disable-werror \
        --with-libiptc=/usr \
        --with-libstatgrab=/usr \
        --with-lm-sensors=/usr \
        --with-libiptc=/usr \
        --with-libstatgrab=/usr \
        --with-lm-sensors=/usr \
@@ -1285,6 +1393,7 @@ Perl files from Collectd package
        %{__enable_disable dns} \
        %{__enable_disable ipmi} \
        %{__enable_disable iptables} \
        %{__enable_disable dns} \
        %{__enable_disable ipmi} \
        %{__enable_disable iptables} \
+       %{__with_without java} \
        %{__enable_disable multimeter} \
        %{__enable_disable mysql} \
        %{__enable_disable netlink} \
        %{__enable_disable multimeter} \
        %{__enable_disable mysql} \
        %{__enable_disable netlink} \
@@ -1311,7 +1420,7 @@ Perl files from Collectd package
        --disable-ipvs
 
 
        --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"
 
        BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
        BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread"
 
@@ -1329,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
 # 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
 
 install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
 install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
 
@@ -1478,10 +1587,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
@@ -1492,7 +1601,7 @@ fi
 
 %files
 %defattr(644,root,root,755)
 
 %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}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
 %dir %{_sysconfdir}/%{name}.d
 %dir %{_webappdir}
@@ -1500,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) %{_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*
 %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}/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.*.*.*
 %{_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)
 
 %files devel
 %defattr(644,root,root,755)
@@ -1526,11 +1638,6 @@ fi
 %{_includedir}/%{name}/*.h
 %{_pkgconfigdir}/libcollectdclient.pc
 
 %{_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
 %files collection
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
@@ -1715,8 +1822,8 @@ fi
 %if %{with libvirt}
 %files libvirt
 %defattr(644,root,root,755)
 %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
 %endif
 
 %files load
@@ -2036,10 +2143,12 @@ 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
 %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)
 
 %files vmem
 %defattr(644,root,root,755)
This page took 0.052773 seconds and 4 git commands to generate.