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