X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=contrib%2Fredhat%2Fcollectd.spec;h=62acc184acf7c31c4cf368d00187b55c62afd69c;hb=eb78f4965a6a2cd25c54ffb832f5e42744d968ad;hp=59f8f79ec776200f9756dc63f2a6cecdea66c92b;hpb=124f1272a411b6937447d68620b27a5c7e8fd36c;p=collectd.git diff --git a/contrib/redhat/collectd.spec b/contrib/redhat/collectd.spec index 59f8f79e..62acc184 100644 --- a/contrib/redhat/collectd.spec +++ b/contrib/redhat/collectd.spec @@ -1,5 +1,5 @@ Summary: Statistics collection daemon for filling RRD files. -Name: collectd +Name: collectd Version: 4.3.1 Release: 0.centos5 Source: http://collectd.org/files/%{name}-%{version}.tar.gz @@ -8,59 +8,59 @@ Group: System Environment/Daemons BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildPrereq: lm_sensors-devel, mysql-devel, rrdtool-devel, curl-devel, libpcap-devel, net-snmp-devel, libstatgrab-devel, mysql-devel, libxml2-devel, libiptcdata-devel Requires: rrdtool, perl-Regexp-Common, libstatgrab -Packager: Florian octo Forster -Vendor: Florian octo Forster +Packager: RightScale +Vendor: collectd development team %description -collectd is a small daemon written in C for performance. It reads various -system statistics and updates RRD files, creating them if neccessary. -Since the daemon doesn't need to startup every time it wants to update the -files it's very fast and easy on the system. Also, the statistics are very -fine grained since the files are updated every 10 seconds. +collectd is a small daemon which collects system information periodically and +provides mechanisms to monitor and store the values in a variety of ways. It +is written in C for performance. Since the daemon doesn't need to startup +every time it wants to update the values it's very fast and easy on the +system. Also, the statistics are very fine grained since the files are updated +every 10 seconds. %package apache Summary: apache-plugin for collectd. Group: System Environment/Daemons Requires: collectd = %{version}, curl %description apache -This plugin collectd data provided by Apache's `mod_status'. +This plugin collects data provided by Apache's `mod_status'. %package email Summary: email-plugin for collectd. Group: System Environment/Daemons Requires: collectd = %{version}, spamassassin %description email -This plugin collectd data provided by spamassassin. +This plugin collects data provided by spamassassin. %package mysql Summary: mysql-module for collectd. Group: System Environment/Daemons Requires: collectd = %{version}, mysql %description mysql -MySQL querying plugin. This plugins provides data of issued commands, -called handlers and database traffic. +MySQL querying plugin. This plugins provides data of issued commands, called +handlers and database traffic. %package nginx Summary: nginx-plugin for collectd. Group: System Environment/Daemons Requires: collectd = %{version}, curl %description nginx -This plugin gets data provided by nginx . +This plugin gets data provided by nginx. %package sensors Summary: libsensors-module for collectd. Group: System Environment/Daemons Requires: collectd = %{version}, lm_sensors %description sensors -This plugin for collectd provides querying of sensors supported by -lm_sensors. +This plugin for collectd provides querying of sensors supported by lm_sensors. %package snmp Summary: snmp-module for collectd. Group: System Environment/Daemons Requires: collectd = %{version}, net-snmp %description snmp -This plugin for collectd provides querying of net-snmp +This plugin for collectd allows querying of network equipment using SNMP. %prep rm -rf $RPM_BUILD_ROOT @@ -85,7 +85,7 @@ cp contrib/redhat/collectd.conf $RPM_BUILD_ROOT/etc/collectd.conf sed -i 's:#BaseDir "/usr/var/lib/collectd":BaseDir "/var/lib/collectd":' $RPM_BUILD_ROOT/etc/collectd.conf sed -i 's:#PIDFile "/usr/var/run/collectd.pid":PIDFile "/var/run/collectd.pid":' $RPM_BUILD_ROOT/etc/collectd.conf sed -i 's:#PluginDir "/usr/lib/collectd":PluginDir "/usr/lib/collectd":' $RPM_BUILD_ROOT/etc/collectd.conf -sed -i 's:#TypesDB "/usr/lib/collectd/types.db":TypesDB "/usr/lib/collectd/types.db":' $RPM_BUILD_ROOT/etc/collectd.conf +sed -i 's:#TypesDB "/usr/share/collectd/types.db":TypesDB "/usr/share/collectd/types.db":' $RPM_BUILD_ROOT/etc/collectd.conf sed -i 's:#Interval 10:Interval 10:' $RPM_BUILD_ROOT/etc/collectd.conf sed -i 's:#ReadThreads 5:ReadThreads 5:' $RPM_BUILD_ROOT/etc/collectd.conf ##Move config contribs @@ -247,7 +247,7 @@ exit 0 %attr(0644,root,root) %{_libdir}/%{name}/wireless.so* %attr(0644,root,root) %{_libdir}/%{name}/wireless.la -%attr(0644,root,root) %{_libdir}/%{name}/types.db +%attr(0644,root,root) %{_datadir}/%{name}/types.db %exclude %{_libdir}/perl5/5.8.8/%{_arch}-linux-thread-multi/perllocal.pod %attr(0644,root,root) %{_libdir}/perl5/site_perl/5.8.8/Collectd.pm