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

cman.spec [new file with mode: 0644]

diff --git a/cman.spec b/cman.spec
new file mode 100644 (file)
index 0000000..b294c2e
--- /dev/null
+++ b/cman.spec
@@ -0,0 +1,53 @@
+#
+# 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}/*
This page took 0.073518 seconds and 4 git commands to generate.