]> git.pld-linux.org Git - packages/cacti-spine.git/blame - cacti-spine.spec
- obsolete cacti-cactid
[packages/cacti-spine.git] / cacti-spine.spec
CommitLineData
bd350f0d
ER
1Summary: A backend data gatherer for Cacti
2Summary(pl.UTF-8): Backend gromadzący dane dla Cacti
14afc3fc 3Name: cacti-spine
632d1d1e 4Version: 0.8.7g
bd350f0d 5Release: 3
5073890a
AM
6License: GPL
7Group: Applications
14afc3fc 8Source0: http://www.cacti.net/downloads/spine/%{name}-%{version}.tar.gz
632d1d1e 9# Source0-md5: 22c2b1986c880b9c587876c18d5c3f9f
241be8a3 10Patch0: %{name}-paths.patch
5073890a 11URL: http://www.cacti.net/
f2f2d12a 12BuildRequires: autoconf
84e80d6c 13BuildRequires: automake
f2f2d12a 14BuildRequires: libtool
5073890a
AM
15BuildRequires: mysql-devel
16BuildRequires: net-snmp-devel
17BuildRequires: openssl-devel
41e369d4 18BuildRequires: rpmbuild(macros) >= 1.502
5073890a 19BuildRequires: zlib-devel
41e369d4 20%requires_eq net-snmp-libs
bfe3cd9b 21Requires: cacti
bd350f0d 22Obsoletes: cacti-cactid
5073890a
AM
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
241be8a3
ER
25%define _webapps /etc/webapps
26%define _webapp cacti
27%define _sysconfdir %{_webapps}/%{_webapp}
28%define _bindir %{_sbindir}
29
5073890a 30%description
bd350f0d
ER
31A backend data gatherer for Cacti. This package represents the future
32replacement for Cacti's cmd.php. It is almost 100% compatible with the
5073890a
AM
33legacy cmd.php processor.
34
677c4ebb 35%description -l pl.UTF-8
bd350f0d
ER
36Backend gromadzący dane dla Cacti. Ten pakiet reprezentuje przyszły
37zamiennik cmd.php z Cacti. Jest prawie w 100% kompatybilny ze starym
0d7a9455
JB
38procesorem cmd.php.
39
5073890a
AM
40%prep
41%setup -q
241be8a3 42%patch0 -p1
5073890a
AM
43
44%build
14afc3fc
AM
45%{__libtoolize}
46%{__aclocal}
f4b6d64d 47%{__automake}
14afc3fc 48%{__autoconf}
f4b6d64d 49chmod +x ./configure
5073890a 50%configure \
74f5a752 51 --with-results-buffer=4096 \
5073890a
AM
52 --with-mysql \
53 --with-snmp=%{_prefix}
54%{__make}
55
56%install
57rm -rf $RPM_BUILD_ROOT
5073890a
AM
58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
60
241be8a3 61mv $RPM_BUILD_ROOT%{_sbindir}/{spine,cacti-poller-spine}
632d1d1e 62mv $RPM_BUILD_ROOT%{_sysconfdir}/spine.conf{.dist,}
0d7245bc 63
5073890a
AM
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%files
68%defattr(644,root,root,755)
677849c3 69%doc README
14afc3fc 70%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/spine.conf
632d1d1e 71%attr(755,root,root) %{_sbindir}/cacti-poller-spine
This page took 0.105816 seconds and 4 git commands to generate.