Code

The ACPI code in the `battery' plugin now ignores `dirent's that begin with a dot...
[collectd.git] / collectd.spec
1 Summary:        Statistics collection daemon for filling RRD files.
2 Name:           collectd
3 Version:        3.6.1
4 Release:        1
5 Source:         http://verplant.org/collectd/%{name}-%{version}.tar.gz
6 License:        GPL
7 Group:          System Environment/Daemons
8 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
9 BuildPrereq:    lm_sensors-devel, mysqlclient10-devel | mysql-devel, rrdtool-devel
10 Requires:       rrdtool
11 Packager:       Florian octo Forster <octo@verplant.org>
12 Vendor:         Florian octo Forster <octo@verplant.org>
14 %description
15 collectd is a small daemon written in C for performance.  It reads various
16 system  statistics  and updates  RRD files,  creating  them if neccessary.
17 Since the daemon doesn't need to startup every time it wants to update the
18 files it's very fast and easy on the system. Also, the statistics are very
19 fine grained since the files are updated every 10 seconds.
21 %package hddtemp
22 Summary:        hddtemp-module for collectd.
23 Group:          System Environment/Daemons
24 Requires:       collectd = %{version}, hddtemp >= 0.3
25 %description hddtemp
26 This plugin for  collectd provides querying  the hddtemp-daemon.  For more
27 information see hddtemp's homepage:  http://www.guzu.net/linux/hddtemp.php
29 %package mysql
30 Summary:        mysql-module for collectd.
31 Group:          System Environment/Daemons
32 Requires:       collectd = %{version}, mysqlclient10 | mysql
33 %description mysql
34 MySQL  querying  plugin.  This plugins  provides data of  issued commands,
35 called handlers and database traffic.
37 %package sensors
38 Summary:        libsensors-module for collectd.
39 Group:          System Environment/Daemons
40 Requires:       collectd = %{version}, lm_sensors
41 %description sensors
42 This  plugin  for  collectd  provides  querying  of sensors  supported  by
43 lm_sensors.
45 %prep
46 rm -rf $RPM_BUILD_ROOT
47 %setup
49 %build
50 ./configure --prefix=%{_prefix} --sbindir=%{_sbindir} --mandir=%{_mandir} --libdir=%{_libdir}
51 make
53 %install
54 make install DESTDIR=$RPM_BUILD_ROOT
55 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
56 cp contrib/collectd.conf $RPM_BUILD_ROOT/etc/collectd.conf
57 cp contrib/init.d-rh7 $RPM_BUILD_ROOT/etc/rc.d/init.d/collectd
58 mkdir -p $RPM_BUILD_ROOT/var/lib/collectd
59 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.a
60 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
62 %clean
63 rm -rf $RPM_BUILD_ROOT
65 %files
66 %defattr(-,root,root)
67 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README
68 %doc contrib
69 %config /etc/collectd.conf
70 %attr(0755,root,root) /etc/rc.d/init.d/collectd
71 %attr(0755,root,root) %{_sbindir}/collectd
72 %attr(0444,root,root) %{_mandir}/man1/*
73 %attr(0444,root,root) %{_mandir}/man5/*
74 %attr(0444,root,root) %{_libdir}/%{name}/cpu.so*
75 %attr(0444,root,root) %{_libdir}/%{name}/cpufreq.so*
76 %attr(0444,root,root) %{_libdir}/%{name}/df.so*
77 %attr(0444,root,root) %{_libdir}/%{name}/disk.so*
78 %attr(0444,root,root) %{_libdir}/%{name}/load.so*
79 %attr(0444,root,root) %{_libdir}/%{name}/memory.so*
80 %attr(0444,root,root) %{_libdir}/%{name}/nfs.so*
81 %attr(0444,root,root) %{_libdir}/%{name}/ping.so*
82 %attr(0444,root,root) %{_libdir}/%{name}/processes.so*
83 %attr(0444,root,root) %{_libdir}/%{name}/serial.so*
84 %attr(0444,root,root) %{_libdir}/%{name}/swap.so*
85 %attr(0444,root,root) %{_libdir}/%{name}/traffic.so*
86 %attr(0444,root,root) %{_libdir}/%{name}/users.so*
87 %dir /var/lib/collectd
89 %files hddtemp
90 %attr(0444,root,root) %{_libdir}/%{name}/hddtemp.so*
92 %files mysql
93 %attr(0444,root,root) %{_libdir}/%{name}/mysql.so*
95 %files sensors
96 %attr(0444,root,root) %{_libdir}/%{name}/sensors.so*
98 %changelog
99 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.1-1
100 - New upstream version
102 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.0-1
103 - New upstream version
104 - Added config file, `collectd.conf(5)', `df.so'
105 - Added package `collectd-mysql', dependency on `mysqlclient10 | mysql'
107 * Wed Dec 07 2005 Florian octo Forster <octo@verplant.org> 3.5.0-1
108 - New upstream version
110 * Sat Nov 26 2005 Florian octo Forster <octo@verplant.org> 3.4.0-1
111 - New upstream version
113 * Sat Nov 05 2005 Florian octo Forster <octo@verplant.org> 3.3.0-1
114 - New upstream version
116 * Tue Oct 26 2005 Florian octo Forster <octo@verplant.org> 3.2.0-1
117 - New upstream version
118 - Added statement to remove the `*.la' files. This fixes a problem when
119   `Unpackaged files terminate build' is in effect.
120 - Added `processes.so*' to the main package
122 * Fri Oct 14 2005 Florian octo Forster <octo@verplant.org> 3.1.0-1
123 - New upstream version
124 - Added package `collectd-hddtemp'
126 * Fri Sep 30 2005 Florian octo Forster <octo@verplant.org> 3.0.0-1
127 - New upstream version
128 - Split the package into `collectd' and `collectd-sensors'
130 * Fri Sep 16 2005 Florian octo Forster <octo@verplant.org> 2.1.0-1
131 - New upstream version
133 * Mon Sep 10 2005 Florian octo Forster <octo@verplant.org> 2.0.0-1
134 - New upstream version
136 * Mon Aug 29 2005 Florian octo Forster <octo@verplant.org> 1.8.0-1
137 - New upstream version
139 * Sun Aug 25 2005 Florian octo Forster <octo@verplant.org> 1.7.0-1
140 - New upstream version
142 * Sun Aug 21 2005 Florian octo Forster <octo@verplant.org> 1.6.0-1
143 - New upstream version
145 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5.1-1
146 - New upstream version
148 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5-1
149 - New upstream version
151 * Mon Jul 11 2005 Florian octo Forster <octo@verplant.org> 1.4.2-1
152 - New upstream version
154 * Sat Jul 09 2005 Florian octo Forster <octo@verplant.org> 1.4-1
155 - Built on RedHat 7.3