X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=collectd.spec;h=e30502179cdbaacb0ea3e336837b9147c957ccbe;hb=a0a59f6222f774778707423f3f04300315fcec35;hp=746f67078dd777839caf11d3138647eb015f3f7e;hpb=6b8deb98bd6bec2a2850821613292b7d8caa841e;p=collectd.git diff --git a/collectd.spec b/collectd.spec index 746f6707..e3050217 100644 --- a/collectd.spec +++ b/collectd.spec @@ -1,12 +1,12 @@ Summary: Statistics collection daemon for filling RRD files. Name: collectd -Version: 3.5.0 +Version: 3.10.0 Release: 1 -Source: http://verplant.org/collectd/%{name}-%{version}.tar.gz +Source: http://collectd.org/files/%{name}-%{version}.tar.gz License: GPL Group: System Environment/Daemons BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildPrereq: lm_sensors-devel, rrdtool-devel +BuildPrereq: lm_sensors-devel, mysql-devel, rrdtool-devel Requires: rrdtool Packager: Florian octo Forster Vendor: Florian octo Forster @@ -18,6 +18,21 @@ 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}, mysql +%description mysql +MySQL querying plugin. This plugins provides data of issued commands, +called handlers and database traffic. + %package sensors Summary: libsensors-module for collectd. Group: System Environment/Daemons @@ -26,14 +41,6 @@ Requires: collectd = %{version}, lm_sensors This plugin for collectd provides querying of sensors supported by lm_sensors. -%package hddtemp -Summary: hddtemp-module for collectd. -Group: System Environment/Daemons -Requires: collectd = %{version}, hddtemp >= 0.3 -%description hddtemp -This plugin for collectd provides querying the hddtemp-daemon. For more -information see hddtemp's homepage: http://www.guzu.net/linux/hddtemp.php - %prep rm -rf $RPM_BUILD_ROOT %setup @@ -44,9 +51,8 @@ make %install make install DESTDIR=$RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT/etc/default -cp debian/collectd.default $RPM_BUILD_ROOT/etc/default/collectd mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d +cp contrib/collectd.conf $RPM_BUILD_ROOT/etc/collectd.conf cp contrib/init.d-rh7 $RPM_BUILD_ROOT/etc/rc.d/init.d/collectd mkdir -p $RPM_BUILD_ROOT/var/lib/collectd rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.a @@ -59,31 +65,97 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README %doc contrib -%config /etc/default/collectd +%config /etc/collectd.conf %attr(0755,root,root) /etc/rc.d/init.d/collectd %attr(0755,root,root) %{_sbindir}/collectd %attr(0444,root,root) %{_mandir}/man1/* +%attr(0444,root,root) %{_mandir}/man5/* +%attr(0444,root,root) %{_libdir}/%{name}/apcups.so* +%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* +%attr(0444,root,root) %{_libdir}/%{name}/df.so* %attr(0444,root,root) %{_libdir}/%{name}/disk.so* +%attr(0444,root,root) %{_libdir}/%{name}/hddtemp.so* %attr(0444,root,root) %{_libdir}/%{name}/load.so* %attr(0444,root,root) %{_libdir}/%{name}/memory.so* %attr(0444,root,root) %{_libdir}/%{name}/nfs.so* +%attr(0444,root,root) %{_libdir}/%{name}/ntpd.so* %attr(0444,root,root) %{_libdir}/%{name}/ping.so* %attr(0444,root,root) %{_libdir}/%{name}/processes.so* %attr(0444,root,root) %{_libdir}/%{name}/serial.so* %attr(0444,root,root) %{_libdir}/%{name}/swap.so* +%attr(0444,root,root) %{_libdir}/%{name}/tape.so* %attr(0444,root,root) %{_libdir}/%{name}/traffic.so* %attr(0444,root,root) %{_libdir}/%{name}/users.so* +%attr(0444,root,root) %{_libdir}/%{name}/vserver.so* +%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* + %files sensors %attr(0444,root,root) %{_libdir}/%{name}/sensors.so* -%files hddtemp -%attr(0444,root,root) %{_libdir}/%{name}/hddtemp.so* - %changelog +* Sun Jul 09 2006 Florian octo Forster 3.10.0-1 +- New upstream version + +* Tue Jun 25 2006 Florian octo Forster 3.9.4-1 +- New upstream version + +* Tue Jun 01 2006 Florian octo Forster 3.9.3-1 +- New upstream version + +* Tue May 09 2006 Florian octo Forster 3.9.2-1 +- New upstream version + +* Tue May 09 2006 Florian octo Forster 3.8.5-1 +- New upstream version + +* Fri Apr 21 2006 Florian octo Forster 3.9.1-1 +- New upstream version + +* 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 + +* Thu Mar 13 2006 Florian octo Forster 3.8.1-1 +- New upstream version + +* Thu Mar 09 2006 Florian octo Forster 3.8.0-1 +- New upstream version + +* Sat Feb 18 2006 Florian octo Forster 3.7.2-1 +- Include `tape.so' so the build doesn't terminate because of missing files.. +- New upstream version + +* Sat Feb 04 2006 Florian octo Forster 3.7.1-1 +- New upstream version + +* Mon Jan 30 2006 Florian octo Forster 3.7.0-1 +- New upstream version +- Removed the extra `hddtemp' package + +* Tue Jan 24 2006 Florian octo Forster 3.6.2-1 +- New upstream version + +* Fri Jan 20 2006 Florian octo Forster 3.6.1-1 +- New upstream version + +* Fri Jan 20 2006 Florian octo Forster 3.6.0-1 +- New upstream version +- Added config file, `collectd.conf(5)', `df.so' +- Added package `collectd-mysql', dependency on `mysqlclient10 | mysql' + * Wed Dec 07 2005 Florian octo Forster 3.5.0-1 - New upstream version