]> git.pld-linux.org Git - packages/fence.git/blame_incremental - fence.spec
- up to 2.03.11, deprecation note
[packages/fence.git] / fence.spec
... / ...
CommitLineData
1# NOTE: obsoleted by -fence subpackage from cluster.spec (3.x)
2Summary: I/O fencing system
3Summary(pl.UTF-8): System barier I/O
4Name: fence
5Version: 2.03.11
6Release: 1
7Epoch: 1
8License: GPL v2+
9Group: Applications/System
10Source0: ftp://sources.redhat.com/pub/cluster/releases/cluster-%{version}.tar.gz
11# Source0-md5: 712b9f583472d1de614641bc0f4a0aaf
12Patch0: cluster-kernel.patch
13URL: http://sources.redhat.com/cluster/fence/
14BuildRequires: cman-devel >= 2.03.11
15BuildRequires: ccs-devel >= 2.03.11
16BuildRequires: perl-base
17BuildRequires: rpm-pythonprov
18Requires: cman-libs >= 2.03.11
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%define _sbindir /sbin
22
23%description
24The Fence system does I/O fencing of cluster members. Any member may
25join the default fence domain after which it will be fenced if it
26fails without leaving the fence domain cleanly. The lock_dlm GFS lock
27module will not permit GFS to be mounted until the node has joined a
28fence domain.
29
30The fence daemon, fenced, is usually started by running "fence_tool
31join". Once started, fenced joins the default fence domain and the
32node is subject to being fenced if it fails. A collection of fence
33agents are used by fenced to interface with hardware devices (usually
34to shut off its path to shared storage or cycle its power source.)
35
36%description -l pl.UTF-8
37System Fence odpowiada za bariery I/O dla członków klastra. Każdy z
38członków może dołączyć do domyślnej domeny barier, po czym będzie
39odgrodzony jeśli zawiedzie nie opuszczając czysto domeny barier. Moduł
40blokujący GFS-a lock_dlm nie pozwoli na podmontowanie GFS-a dopóki
41węzeł nie dołączy do domeny barier.
42
43Demon fence, fenced, jest zwykle uruchamiany przez fence_tool join. Po
44uruchomieniu fenced dołącza do domyślnej domeny barier, a węzeł jest
45przedmiotem odgrodzenia jeśli zawiedzie. fenced wykorzystuje zbiór
46agentów fence do komunikacji z urządzeniami sprzętowymi (zwykle do
47odcinania drogi do dzielonej pamięci lub wyłączania i włączania
48zasilania).
49
50%prep
51%setup -q -n cluster-%{version}
52%patch0 -p1
53
54%build
55./configure \
56 --cc="%{__cc}" \
57 --cflags="%{rpmcflags} -Wall" \
58 --ldflags="%{rpmldflags}" \
59 --incdir=%{_includedir} \
60 --libdir=%{_libdir} \
61 --libexecdir=%{_libdir} \
62 --mandir=%{_mandir} \
63 --prefix=%{_prefix} \
64 --sbindir=%{_sbindir} \
65 --without_gfs \
66 --without_gfs2 \
67 --without_gnbd \
68 --without_kernel_modules
69
70# libgroup.a is not packaged anywhere, so we must build it here
71%{__make} -C group/lib
72
73%{__make} -C %{name}
74
75%install
76rm -rf $RPM_BUILD_ROOT
77
78%{__make} -C %{name} install \
79 DESTDIR=$RPM_BUILD_ROOT
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%files
85%defattr(644,root,root,755)
86%attr(755,root,root) %{_sbindir}/fence_*
87%attr(755,root,root) %{_sbindir}/fenced
88# TODO: PLDify
89#%attr(754,root,root) /etc/rc.d/init.d/scsi_reserve
90%{_datadir}/fence
91#%{_datadir}/snmp/mibs/powernet369.mib
92%{_mandir}/man8/fence.8*
93%{_mandir}/man8/fence_*.8*
94%{_mandir}/man8/fenced.8*
This page took 0.034287 seconds and 5 git commands to generate.