1 Summary: A backend data gatherer for cacti
7 Source0: http://www.cacti.net/downloads/cactid/%{name}-%{version}.tar.gz
8 # Source0-md5: 2b102f9029ffaa4fb0e186c6640b1851
10 Source2: %{name}.sysconfig
11 URL: http://www.cacti.net/
12 BuildRequires: mysql-devel
13 BuildRequires: net-snmp-devel
14 BuildRequires: openssl-devel
15 BuildRequires: zlib-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 A backend data gatherer for cacti. This package represents the future
20 replacement for cacti's cmd.php. It is almost 100% compatible with the
21 legacy cmd.php processor.
29 --with-snmp=%{_prefix}
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{rc.d/init.d,sysconfig}
37 DESTDIR=$RPM_BUILD_ROOT
39 install cactid.conf $RPM_BUILD_ROOT%{_sysconfdir}
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
47 %attr(755,root,root) %{_bindir}/*
48 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cactid.conf