]> git.pld-linux.org Git - packages/cacti-spine.git/blame - cacti-spine.spec
- release 6
[packages/cacti-spine.git] / cacti-spine.spec
CommitLineData
5073890a 1Summary: A backend data gatherer for cacti
59120e4b 2Summary(pl.UTF-8): Backend gromadzący dane dla cacti
14afc3fc 3Name: cacti-spine
0a3a693d 4Version: 0.8.7a
aedee667 5Release: 6
5073890a
AM
6License: GPL
7Group: Applications
14afc3fc 8Source0: http://www.cacti.net/downloads/spine/%{name}-%{version}.tar.gz
0a3a693d 9# Source0-md5: 85a32d256c056a3a4adb8bf3dff5e2dc
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
5073890a
AM
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
241be8a3
ER
24%define _webapps /etc/webapps
25%define _webapp cacti
26%define _sysconfdir %{_webapps}/%{_webapp}
27%define _bindir %{_sbindir}
28
5073890a
AM
29%description
30A backend data gatherer for cacti. This package represents the future
31replacement for cacti's cmd.php. It is almost 100% compatible with the
32legacy cmd.php processor.
33
677c4ebb
JR
34%description -l pl.UTF-8
35Backend gromadzący dane dla cacti. Ten pakiet reprezentuje przyszły
0d7a9455
JB
36zamiennik cmd.php z cacti. Jest prawie w 100% kompatybilny ze starym
37procesorem cmd.php.
38
5073890a
AM
39%prep
40%setup -q
241be8a3 41%patch0 -p1
5073890a
AM
42
43%build
14afc3fc
AM
44%{__libtoolize}
45%{__aclocal}
46%{__autoconf}
5073890a
AM
47%configure \
48 --with-mysql \
49 --with-snmp=%{_prefix}
50%{__make}
51
52%install
53rm -rf $RPM_BUILD_ROOT
da2242ae 54install -d $RPM_BUILD_ROOT%{_sysconfdir}
5073890a
AM
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
14afc3fc 59install spine.conf $RPM_BUILD_ROOT%{_sysconfdir}
241be8a3 60mv $RPM_BUILD_ROOT%{_sbindir}/{spine,cacti-poller-spine}
0d7245bc 61
5073890a
AM
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
677849c3 67%doc README
241be8a3 68%attr(755,root,root) %{_sbindir}/cacti-poller-spine
14afc3fc 69%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/spine.conf
This page took 0.0975240000000001 seconds and 4 git commands to generate.