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