[collectd] [PATCH] works for me for 5.0 on RHEL 5 x86_64. I removed references to static libraries (.la) as these were not built on my system
Fabien Wernli
cpan at faxm0dem.org
Fri Aug 19 14:17:08 CEST 2011
---
contrib/redhat/collectd.spec | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/contrib/redhat/collectd.spec b/contrib/redhat/collectd.spec
index 4617f6c..5f31655 100644
--- a/contrib/redhat/collectd.spec
+++ b/contrib/redhat/collectd.spec
@@ -3,8 +3,8 @@
Summary: Statistics collection daemon for filling RRD files.
Name: collectd
-Version: 4.9.0
-Release: 1%{?dist}
+Version: 5.0.0
+Release: 0%{?dist}
Source: http://collectd.org/files/%{name}-%{version}.tar.gz
License: GPL
Group: System Environment/Daemons
@@ -147,6 +147,7 @@ exit 0
%attr(0755,root,root) /var/www/cgi-bin/collection.cgi
%attr(0755,root,root) %{_sbindir}/collectd
%attr(0755,root,root) %{_bindir}/collectd-nagios
+%attr(0755,root,root) %{_bindir}/collectdctl
%attr(0755,root,root) %{_sbindir}/collectdmon
%attr(0644,root,root) %{_mandir}/man1/*
%attr(0644,root,root) %{_mandir}/man5/*
@@ -161,7 +162,7 @@ exit 0
# macro to grab binaries for a plugin, given a name
%define plugin_macro() \
-%attr(0644,root,root) %{_libdir}/%{name}/%1.a \
+################## %attr(0644,root,root) %{_libdir}/%{name}/%1.a \
%attr(0644,root,root) %{_libdir}/%{name}/%1.so* \
%attr(0644,root,root) %{_libdir}/%{name}/%1.la
@@ -174,6 +175,8 @@ exit 0
%plugin_macro cpu
%plugin_macro csv
%plugin_macro curl
+%plugin_macro curl_xml
+%plugin_macro dbi
%plugin_macro df
%plugin_macro disk
%plugin_macro dns
@@ -184,7 +187,9 @@ exit 0
%plugin_macro fscache
%plugin_macro hddtemp
%plugin_macro interface
+%plugin_macro ipmi
%plugin_macro iptables
+%plugin_macro ipvs
%plugin_macro irq
%plugin_macro load
%plugin_macro logfile
@@ -201,16 +206,19 @@ exit 0
%plugin_macro memory
%plugin_macro multimeter
%plugin_macro network
+%plugin_macro notify_desktop
%plugin_macro nfs
%plugin_macro ntpd
%plugin_macro openvpn
%plugin_macro olsrd
%plugin_macro perl
+%plugin_macro postgresql
%plugin_macro powerdns
%plugin_macro processes
%plugin_macro protocols
%plugin_macro python
%plugin_macro rrdtool
+%plugin_macro rrdcached
%plugin_macro serial
%plugin_macro sensors
%plugin_macro swap
@@ -222,11 +230,13 @@ exit 0
%plugin_macro target_replace
%plugin_macro target_scale
%plugin_macro target_set
+%plugin_macro target_v5upgrade
%plugin_macro tcpconns
%plugin_macro teamspeak2
%plugin_macro ted
%plugin_macro thermal
+%plugin_macro threshold
%plugin_macro unixsock
%plugin_macro uptime
%plugin_macro users
@@ -242,6 +252,7 @@ exit 0
%attr(0644,root,root) %{_libdir}/perl5/site_perl/5.8.8/%{_arch}-linux-thread-multi/auto/Collectd/.packlist
%attr(0644,root,root) /usr/lib/perl5/site_perl/5.8.8/Collectd.pm
%attr(0644,root,root) /usr/lib/perl5/site_perl/5.8.8/Collectd/Unixsock.pm
+%attr(0644,root,root) /usr/lib/perl5/site_perl/5.8.8/Collectd/Plugins/Monitorus.pm
%attr(0644,root,root) /usr/lib/perl5/site_perl/5.8.8/Collectd/Plugins/OpenVZ.pm
%attr(0644,root,root) /usr/share/man/man3/Collectd::Unixsock.3pm.gz
--
1.7.5.4
More information about the collectd
mailing list