]>
Commit | Line | Data |
---|---|---|
5073890a | 1 | Summary: A backend data gatherer for cacti |
59120e4b | 2 | Summary(pl.UTF-8): Backend gromadzący dane dla cacti |
14afc3fc | 3 | Name: cacti-spine |
0a3a693d | 4 | Version: 0.8.7a |
d5ca4112 | 5 | Release: 3 |
5073890a AM |
6 | License: GPL |
7 | Group: Applications | |
14afc3fc | 8 | Source0: http://www.cacti.net/downloads/spine/%{name}-%{version}.tar.gz |
0a3a693d | 9 | # Source0-md5: 85a32d256c056a3a4adb8bf3dff5e2dc |
5073890a | 10 | URL: http://www.cacti.net/ |
f2f2d12a | 11 | BuildRequires: autoconf |
84e80d6c | 12 | BuildRequires: automake |
f2f2d12a | 13 | BuildRequires: libtool |
5073890a AM |
14 | BuildRequires: mysql-devel |
15 | BuildRequires: net-snmp-devel | |
16 | BuildRequires: openssl-devel | |
17 | BuildRequires: zlib-devel | |
d5ca4112 | 18 | %requires_eq_to net-snmp-libs |
bfe3cd9b | 19 | Requires: cacti |
5073890a AM |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | A backend data gatherer for cacti. This package represents the future | |
24 | replacement for cacti's cmd.php. It is almost 100% compatible with the | |
25 | legacy cmd.php processor. | |
26 | ||
677c4ebb JR |
27 | %description -l pl.UTF-8 |
28 | Backend gromadzący dane dla cacti. Ten pakiet reprezentuje przyszły | |
0d7a9455 JB |
29 | zamiennik cmd.php z cacti. Jest prawie w 100% kompatybilny ze starym |
30 | procesorem cmd.php. | |
31 | ||
5073890a AM |
32 | %prep |
33 | %setup -q | |
34 | ||
35 | %build | |
14afc3fc AM |
36 | %{__libtoolize} |
37 | %{__aclocal} | |
38 | %{__autoconf} | |
5073890a AM |
39 | %configure \ |
40 | --with-mysql \ | |
41 | --with-snmp=%{_prefix} | |
42 | %{__make} | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
da2242ae | 46 | install -d $RPM_BUILD_ROOT%{_sysconfdir} |
5073890a AM |
47 | |
48 | %{__make} install \ | |
49 | DESTDIR=$RPM_BUILD_ROOT | |
50 | ||
14afc3fc | 51 | install spine.conf $RPM_BUILD_ROOT%{_sysconfdir} |
0d7245bc | 52 | |
5073890a AM |
53 | %clean |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
677849c3 | 58 | %doc README |
5073890a | 59 | %attr(755,root,root) %{_bindir}/* |
14afc3fc | 60 | %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/spine.conf |