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