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