summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ad3a1aa)
raw | patch | inline | side by side (parent: ad3a1aa)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Wed, 24 Jan 2007 16:52:03 +0000 (17:52 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Wed, 24 Jan 2007 16:52:03 +0000 (17:52 +0100) |
contrib/fedora/collectd.spec | patch | blob | history |
index 169ce569aa01c8f4b94d1d40d64a13e53ca48aeb..b21e8f2e494f82ba494ac30187c5157300d04da1 100644 (file)
Summary: Statistics collection daemon for filling RRD files.
Name: collectd
Version: 3.11.0
-Release: 0
+Release: 0.fc0
Source: http://collectd.org/files/%{name}-%{version}.tar.gz
License: GPL
Group: System Environment/Daemons
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
mkdir -p $RPM_BUILD_ROOT/var/www/cgi-bin
cp src/collectd.conf $RPM_BUILD_ROOT/etc/collectd.conf
-cp contrib/init.d-fc $RPM_BUILD_ROOT/etc/rc.d/init.d/collectd
+cp contrib/fedora/init.d-collectd $RPM_BUILD_ROOT/etc/rc.d/init.d/collectd
cp contrib/collection.cgi $RPM_BUILD_ROOT/var/www/cgi-bin
-#mv contrib/Collectd.pm contrib/Collectd.pm.DISABLED
mkdir -p $RPM_BUILD_ROOT/var/lib/collectd
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
-#%doc contrib
%config /etc/collectd.conf
%attr(0755,root,root) /etc/rc.d/init.d/collectd
%attr(0755,root,root) /var/www/cgi-bin/collection.cgi