1 Summary: General-purpose symmetric cluster manager
2 Summary(pl): Zarz±dca symetrycznych klastrów ogólnego przeznaczenia
7 Group: Applications/System
8 Source0: ftp://sources.redhat.com/pub/cluster/releases/cluster-%{version}.tar.gz
9 # Source0-md5: 131c34c8b66d8d7d74384839ed4091d0
10 URL: http://sources.redhat.com/cluster/cman/
11 BuildRequires: ccs-devel
12 BuildRequires: perl-base
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 %define _sbindir /sbin
18 MAN is a symmetric, general-purpose, kernel-based cluster manager. It
19 has two parts. Connection Manager (cnxman) handles membership,
20 messaging, quorum, event notification and transitions. Service Manager
21 (sm) handles "service groups" which are a general way of representing
22 and managing instances of external systems that require cluster
23 management. The CMAN cluster manager is the foundational system upon
24 which DLM, GFS, CLVM, and Fence all depend. The CMAN API in the kernel
25 and userspace is general and available for other programs to use.
28 MAN to zarz±dca opartych na j±drze symetrycznych klastrów ogólnego
29 przeznaczenia. Sk³ada siê z dwóch czê¶ci. Zarz±dca po³±czeñ
30 (Connection Manager, cnxman) obs³uguje cz³onkostwo, komunikacjê,
31 kworum, powiadamianie o zdarzeniach i przej¶cia. Zarz±dca us³ug
32 (Service Manager, sm) obs³uguje "grupy us³ug", które s± ogólnym
33 sposobem reprezentacji i zarz±dzania instancjami zewnêtrznych systemów
34 wymagaj±cych zarz±dzania klastrem. Zarz±dca klastrów CMAN to
35 podstawowy system, na którym polegaj± DLM, GFS, CLVM i Fence. API
36 CMAN-a w j±drze i przestrzeni u¿ytkownika jest ogólne i w ca³o¶ci
37 dostêpne do wykorzystania w innych programach.
40 Summary: CMAN header files
41 Summary(pl): Pliki nag³ówkowe CMAN
42 Group: Development/Libraries
43 Requires: %{name} = %{version}-%{release}
48 %description devel -l pl
49 Pliki nag³ówkowe CMAN.
52 Summary: CMAN static library
53 Summary(pl): Biblioteka statyczna CMAN
54 Group: Development/Libraries
55 Requires: %{name}-devel = %{version}-%{release}
60 %description devel -l pl
61 Biblioteka statyczna CMAN.
64 %setup -q -n cluster-%{version}
65 install -d %{name}/include/cluster
66 ln -s . %{name}/include/cluster/cluster
67 install %{name}-kernel/src/cnxman-socket.h %{name}/include/cluster
70 %{__perl} -pi -e 's/-g -O/%{rpmcflags}/' lib/Makefile
71 %{__perl} -pi -e 's/-g/%{rpmcflags}/' {cman_tool,tests}/Makefile
76 --incdir=%{_includedir} \
86 rm -rf $RPM_BUILD_ROOT
90 DESTDIR=$RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT%{_includedir}/cluster
93 install include/cluster/cnxman-socket.h $RPM_BUILD_ROOT%{_includedir}/cluster
96 rm -rf $RPM_BUILD_ROOT
98 %post -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_sbindir}/*
104 %attr(755,root,root) %{_libdir}/libcman.so.*.*
105 %{_mandir}/man5/cman.5*
106 %{_mandir}/man8/cman_tool.8*
107 #%attr(754,root,root) /etc/rc.d/init.d/cman
110 %defattr(644,root,root,755)
111 # XXX dir shared with dml-devel
112 %dir %{_includedir}/cluster
114 %{_includedir}/cluster/*.h
115 %attr(755,root,root) %{_libdir}/libcman.so
118 %defattr(644,root,root,755)