From 5073890aee432b0616aa7446ef0ef31910011d86 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Tue, 11 Oct 2005 10:59:20 +0000 Subject: [PATCH] - cacti polling daemon Changed files: cacti-spine.spec -> 1.1 --- cacti-spine.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 cacti-spine.spec diff --git a/cacti-spine.spec b/cacti-spine.spec new file mode 100644 index 0000000..6533e22 --- /dev/null +++ b/cacti-spine.spec @@ -0,0 +1,48 @@ +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 -- 2.44.0