]> git.pld-linux.org Git - packages/fence.git/blob - fence.spec
59128946709739816c35ab38331d22151d86e74d
[packages/fence.git] / fence.spec
1 Summary:        I/O fencing system
2 Summary(pl):    System barier I/O
3 Name:           fence
4 %define snap    20040625
5 Version:        0.0.0.%{snap}.1
6 Release:        1
7 License:        GPL
8 Group:          Applications/System
9 Source0:        %{name}.tar.gz
10 # Source0-md5:  f3f40096cf957c6825ae76cac153d698
11 URL:            http://sources.redhat.com/cluster/
12 BuildRequires:  awk
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _sbindir        /sbin
16
17 %description
18 The Fence system does I/O fencing of cluster members. Any member may
19 join the default fence domain after which it will be fenced if it
20 fails without leaving the fence domain cleanly. The lock_dlm GFS lock
21 module will not permit GFS to be mounted until the node has joined a
22 fence domain. 
23
24 The fence daemon, fenced, is usually started by running "fence_tool
25 join". Once started, fenced joins the default fence domain and the
26 node is subject to being fenced if it fails. A collection of fence
27 agents are used by fenced to interface with hardware devices (usually
28 to shut off its path to shared storage or cycle its power source.)
29
30 %description -l pl
31 System Fence odpowiada za bariery I/O dla cz³onków klastra. K±¿dy z
32 cz³oników mo¿e do³±czyæ do domy¶lnej domeny barier, po czym bêdzie
33 odgrodzony je¶li zawiedzie nie opuszczaj±c czysto domeny barier.
34 Modu³ blokuj±cy GFS-a lock_dlm nie pozwoli na podmontowanie GFS-a
35 dopóki wêze³ nie do³±czy do domeny barier.
36
37 Demon fence, fenced, jest zwykle uruchamiany przez fence_tool join. Po
38 uruchomieniu fenced do³±cza do domy¶lnej domeny barier, a wêze³ jest
39 przedmiotem odgrodzenia je¶li zawiedzie. fenced wykorzystuje zbiór
40 agentów fence do komunikacji z urz±dzeniami sprzêtowymi (zwykle do
41 odcinania drogi do dzielonej pamiêci lub wy³±czania i w³±czania
42 zasilania).
43
44 %prep
45 %setup -q -n %{name}
46
47 %build
48 ./configure \
49         --incdir=%{_includedir} \
50         --kernel_src=%{_kernelsrcdir} \
51         --libdir=%{_libdir} \
52         --mandir=%{_mandir} \
53         --prefix=%{_prefix} \
54         --sbindir=%{_sbindir}
55 %{__make} \
56         CC="%{__cc}"
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %attr(755,root,root) %{_sbindir}/*
70 %{_mandir}/man?/*
This page took 0.045729 seconds and 2 git commands to generate.