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