]> git.pld-linux.org Git - packages/cacti-spine.git/blob - cacti-spine.spec
d5343e97912baf69cae09f725fb9062326f7efd2
[packages/cacti-spine.git] / cacti-spine.spec
1 Summary:        A backend data gatherer for cacti
2 Name:           cacti-cactid
3 Version:        0.8.6f
4 Release:        0.2
5 License:        GPL
6 Group:          Applications
7 Source0:        http://www.cacti.net/downloads/cactid/%{name}-%{version}.tar.gz
8 # Source0-md5:  2b102f9029ffaa4fb0e186c6640b1851
9 URL:            http://www.cacti.net/
10 BuildRequires:  automake
11 BuildRequires:  mysql-devel
12 BuildRequires:  net-snmp-devel
13 BuildRequires:  openssl-devel
14 BuildRequires:  zlib-devel
15 Requires:       cacti
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 A backend data gatherer for cacti. This package represents the future
20 replacement for cacti's cmd.php. It is almost 100% compatible with the
21 legacy cmd.php processor.
22
23 %prep
24 %setup -q
25
26 %build
27 install /usr/share/automake/config.* config
28 %configure \
29         --with-mysql \
30         --with-snmp=%{_prefix}
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 %{__make} install \
37         DESTDIR=$RPM_BUILD_ROOT
38
39 install cactid.conf $RPM_BUILD_ROOT%{_sysconfdir}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc CHANGELOG README
47 %attr(755,root,root) %{_bindir}/*
48 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cactid.conf
This page took 0.087328 seconds and 3 git commands to generate.