1 |
%define version 3.1.8 |
2 |
|
3 |
Name: fence-agents |
4 |
Version: %{version} |
5 |
Release: %mkrel 2 |
6 |
Summary: Fencing agents for cluster suite |
7 |
Group: System/Kernel and hardware |
8 |
URL: https://fedorahosted.org/cluster/wiki/HomePage |
9 |
Source: https://fedorahosted.org/releases/f/e/fence-agents/fence-agents-%{version}.tar.xz |
10 |
License: GPLv2 |
11 |
Conflicts: cman < 3.0.0 |
12 |
BuildRequires: nss-devel libvirt-devel |
13 |
BuildRequires: corosync-devel |
14 |
BuildRequires: python-pexpect |
15 |
BuildRequires: python-curl |
16 |
BuildRequires: xsltproc |
17 |
BuildRequires: python-suds |
18 |
BuildRequires: perl-Net-Telnet |
19 |
Requires: sg3_utils netkit-telnet openssh-clients |
20 |
Requires: python-pexpect python-curl |
21 |
Requires: net-snmp-utils |
22 |
Requires: perl-Net-Telnet |
23 |
Requires: python-suds |
24 |
|
25 |
%description |
26 |
Fence Agents is a collection of scripts to handle remote |
27 |
power management for several devices. |
28 |
|
29 |
|
30 |
%prep |
31 |
%setup -q |
32 |
|
33 |
%build |
34 |
%configure |
35 |
%make |
36 |
|
37 |
%install |
38 |
rm -Rf %{buildroot} |
39 |
%makeinstall_std |
40 |
|
41 |
%clean |
42 |
rm -Rf %{buildroot} |
43 |
|
44 |
%files |
45 |
%defattr(-,root,root) |
46 |
%doc doc/COPYING.* doc/COPYRIGHT doc/README.licence |
47 |
%{_sbindir}/fence_* |
48 |
%{_datadir}/fence |
49 |
%{_datadir}/cluster/* |
50 |
%{_mandir}/man8/fence_*.8.* |
51 |
%config(noreplace) %{_sysconfdir}/cluster/fence_na.conf |
52 |
|