]> git.pld-linux.org Git - packages/cman.git/blame - cman.spec
- initial pld release
[packages/cman.git] / cman.spec
CommitLineData
cb602c2e
AM
1#
2# Conditional build:
3Summary: general-purpose symmetric cluster manager
4Name: cman
5%define snap 20040625
6Version: 0.0.0.%{snap}.1
7Release: 1
8License: GPL
9Group: Applications/System
10Source0: %{name}.tar.gz
11# Source0-md5: 76edec5d961fd1cf46ccac2b7b006f37
12URL: http://sources.redhat.com/cluster/
13BuildRequires: ccs-devel
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%define _sbindir /sbin
17
18%description
19MAN is a symmetric, general-purpose, kernel-based cluster manager. It
20has two parts. Connection Manager (cnxman) handles membership,
21messaging, quorum, event notification and transitions. Service Manager
22(sm) handles "service groups" which are a general way of representing
23and managing instances of external systems that require cluster
24management. The CMAN cluster manager is the foundational system upon
25which DLM, GFS, CLVM, and Fence all depend. The CMAN API in the kernel
26and userspace is general and available for other programs to use.
27
28%prep
29%setup -q -n %{name}
30
31%build
32./configure \
33 --incdir=%{_includedir} \
34 --kernel_src=%{_kernelsrcdir} \
35 --libdir=%{_libdir} \
36 --mandir=%{_mandir} \
37 --prefix=%{_prefix} \
38 --sbindir=%{_sbindir}
39%{__make} \
40 CC="%{__cc}"
41
42%install
43rm -rf $RPM_BUILD_ROOT
44
45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
53%attr(755,root,root) %{_sbindir}/*
This page took 0.089423 seconds and 4 git commands to generate.