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