]> git.pld-linux.org Git - packages/fence.git/commitdiff
- initial pld release
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 25 Jun 2004 10:51:54 +0000 (10:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fence.spec -> 1.1

fence.spec [new file with mode: 0644]

diff --git a/fence.spec b/fence.spec
new file mode 100644 (file)
index 0000000..74cd26e
--- /dev/null
@@ -0,0 +1,49 @@
+#
+# Conditional build:
+Summary:       I/O fencing system
+Name:          fence
+%define        snap    20040625
+Version:       0.0.0.%{snap}.1
+Release:       1
+License:       GPL
+Group:         Applications/System
+Source0:       %{name}.tar.gz
+# Source0-md5: f3f40096cf957c6825ae76cac153d698
+URL:           http://sources.redhat.com/cluster/
+BuildRequires: awk
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _sbindir        /sbin
+
+%description
+The Fence system does I/O fencing of cluster members. Any member may join the default fence domain after which it will be fenced if it fails without leaving the fence domain cleanly. The lock_dlm GFS lock module will not permit GFS to be mounted until the node has joined a fence domain. 
+
+The fence daemon, fenced, is usually started by running "fence_tool join". Once started, fenced joins the default fence domain and the node is subject to being fenced if it fails. A collection of fence agents are used by fenced to interface with hardware devices (usually to shut off its path to shared storage or cycle its power source.)
+
+%prep
+%setup -q -n %{name}
+
+%build
+./configure \
+       --incdir=%{_includedir} \
+       --kernel_src=%{_kernelsrcdir} \
+       --libdir=%{_libdir} \
+       --mandir=%{_mandir} \
+       --prefix=%{_prefix} \
+       --sbindir=%{_sbindir}
+%{__make} \
+       CC="%{__cc}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/*
+%{_mandir}/man?/*
This page took 0.068348 seconds and 4 git commands to generate.