3 #spine.o: In function `drop_root':
4 #/home/users/glen/rpm/packages/BUILD.x86_64-linux/cacti-spine-0.8.8f/spine.c:133: undefined reference to `cap_from_text'
6 Summary: A backend data gatherer for Cacti
7 Summary(pl.UTF-8): Backend gromadzący dane dla Cacti
13 Source0: http://www.cacti.net/downloads/spine/%{name}-%{version}.tar.gz
14 # Source0-md5: 4e026eedeb929d17e3b45ad43c81d4d6
15 Patch0: %{name}-paths.patch
17 # Official patches http://www.cacti.net/spine_download_patches.php
18 URL: http://www.cacti.net/
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: libcap-devel
22 BuildRequires: libtool
23 BuildRequires: mysql-devel
24 BuildRequires: net-snmp-devel
25 BuildRequires: openssl-devel
26 BuildRequires: rpmbuild(macros) >= 1.502
27 BuildRequires: zlib-devel
28 %requires_eq net-snmp-libs
30 Obsoletes: cacti-cactid
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 %define _webapps /etc/webapps
35 %define _sysconfdir %{_webapps}/%{_webapp}
36 %define _bindir %{_sbindir}
39 A backend data gatherer for Cacti. This package represents the future
40 replacement for Cacti's cmd.php. It is almost 100% compatible with the
41 legacy cmd.php processor.
43 %description -l pl.UTF-8
44 Backend gromadzący dane dla Cacti. Ten pakiet reprezentuje przyszły
45 zamiennik cmd.php z Cacti. Jest prawie w 100% kompatybilny ze starym
62 --with-results-buffer=4096 \
65 --with-snmp=%{_prefix}
69 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT
73 mv $RPM_BUILD_ROOT%{_sbindir}/{spine,cacti-poller-spine}
74 mv $RPM_BUILD_ROOT%{_sysconfdir}/spine.conf{.dist,}
77 rm -rf $RPM_BUILD_ROOT
80 %defattr(644,root,root,755)
82 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/spine.conf
83 %attr(755,root,root) %{_sbindir}/cacti-poller-spine