--- /dev/null
+#
+# Conditional build:
+Summary: general-purpose symmetric cluster manager
+Name: cman
+%define snap 20040625
+Version: 0.0.0.%{snap}.1
+Release: 1
+License: GPL
+Group: Applications/System
+Source0: %{name}.tar.gz
+# Source0-md5: 76edec5d961fd1cf46ccac2b7b006f37
+URL: http://sources.redhat.com/cluster/
+BuildRequires: ccs-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _sbindir /sbin
+
+%description
+MAN is a symmetric, general-purpose, kernel-based cluster manager. It
+has two parts. Connection Manager (cnxman) handles membership,
+messaging, quorum, event notification and transitions. Service Manager
+(sm) handles "service groups" which are a general way of representing
+and managing instances of external systems that require cluster
+management. The CMAN cluster manager is the foundational system upon
+which DLM, GFS, CLVM, and Fence all depend. The CMAN API in the kernel
+and userspace is general and available for other programs to use.
+
+%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}/*