SPECS: cacti-cactid.spec (NEW) - cacti polling daemon

arekm arekm at pld-linux.org
Tue Oct 11 12:59:26 CEST 2005


Author: arekm                        Date: Tue Oct 11 10:59:25 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cacti polling daemon

---- Files affected:
SPECS:
   cacti-cactid.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/cacti-cactid.spec
diff -u /dev/null SPECS/cacti-cactid.spec:1.1
--- /dev/null	Tue Oct 11 12:59:26 2005
+++ SPECS/cacti-cactid.spec	Tue Oct 11 12:59:20 2005
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+Summary:	A backend data gatherer for cacti
+Name:		cacti-cactid
+Version:	0.8.6f
+Release:	0.1
+License:	GPL
+Group:		Applications
+Source0:	http://www.cacti.net/downloads/cactid/%{name}-%{version}.tar.gz
+# Source0-md5:	2b102f9029ffaa4fb0e186c6640b1851
+Source1:	%{name}.init
+Source2:	%{name}.sysconfig
+URL:		http://www.cacti.net/
+BuildRequires:	mysql-devel
+BuildRequires:	net-snmp-devel
+BuildRequires:	openssl-devel
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A backend data gatherer for cacti. This package represents the future
+replacement for cacti's cmd.php. It is almost 100% compatible with the
+legacy cmd.php processor.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--with-mysql \
+	--with-snmp=%{_prefix}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/{rc.d/init.d,sysconfig}
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install cactid.conf $RPM_BUILD_ROOT%{_sysconfdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG README
+%attr(755,root,root) %{_bindir}/*
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cactid.conf
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/10/11 10:59:20  arekm
+- cacti polling daemon
+
================================================================



More information about the pld-cvs-commit mailing list