From d68f1b428fd794fae3e909c65396289f14c6f99b Mon Sep 17 00:00:00 2001 From: octo Date: Fri, 14 Apr 2006 18:11:57 +0000 Subject: [PATCH] Update of the specfile. It works with FC1 --- collectd.spec | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/collectd.spec b/collectd.spec index 6c54933e..9918b8f5 100644 --- a/collectd.spec +++ b/collectd.spec @@ -6,7 +6,7 @@ Source: http://collectd.org/files/%{name}-%{version}.tar.gz License: GPL Group: System Environment/Daemons BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildPrereq: lm_sensors-devel, mysqlclient10-devel | mysql-devel, rrdtool-devel +BuildPrereq: lm_sensors-devel, mysql-devel, rrdtool-devel Requires: rrdtool Packager: Florian octo Forster Vendor: Florian octo Forster @@ -18,10 +18,17 @@ 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. +%package apache +Summary: apache-plugin for collectd. +Group: System Environment/Daemons +Requires: collectd = %{version}, libcurl3 +%description apache +This plugin collectd data provided by Apache's `mod_status'. + %package mysql Summary: mysql-module for collectd. Group: System Environment/Daemons -Requires: collectd = %{version}, mysqlclient10 | mysql +Requires: collectd = %{version}, mysql %description mysql MySQL querying plugin. This plugins provides data of issued commands, called handlers and database traffic. @@ -63,6 +70,7 @@ rm -rf $RPM_BUILD_ROOT %attr(0755,root,root) %{_sbindir}/collectd %attr(0444,root,root) %{_mandir}/man1/* %attr(0444,root,root) %{_mandir}/man5/* +%attr(0444,root,root) %{_libdir}/%{name}/apple_sensors.so* %attr(0444,root,root) %{_libdir}/%{name}/battery.so* %attr(0444,root,root) %{_libdir}/%{name}/cpu.so* %attr(0444,root,root) %{_libdir}/%{name}/cpufreq.so* @@ -83,6 +91,9 @@ rm -rf $RPM_BUILD_ROOT %attr(0444,root,root) %{_libdir}/%{name}/wireless.so* %dir /var/lib/collectd +%files apache +%attr(0444,root,root) %{_libdir}/%{name}/apache.so* + %files mysql %attr(0444,root,root) %{_libdir}/%{name}/mysql.so* @@ -90,8 +101,9 @@ rm -rf $RPM_BUILD_ROOT %attr(0444,root,root) %{_libdir}/%{name}/sensors.so* %changelog -* Thu Mar 21 2006 Florian octo Forster 3.9.0-1 +* Fri Apr 14 2006 Florian octo Forster 3.9.0-1 - New upstream version +- Added the `apache' package. * Thu Mar 14 2006 Florian octo Forster 3.8.2-1 - New upstream version -- 2.11.0