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: e98551b02ee8ed46ae0ab8fca193d751
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
47 %description devel -l pl
48 Pliki nag³ówkowe CMAN.
51 Summary: CMAN static library
52 Summary(pl): Biblioteka statyczna CMAN
53 Group: Development/Libraries
58 %description devel -l pl
59 Biblioteka statyczna CMAN.
62 %setup -q -n cluster-%{version}
63 install -d %{name}/include/cluster
64 ln -s . %{name}/include/cluster/cluster
65 install %{name}-kernel/src/cnxman-socket.h %{name}/include/cluster
68 %{__perl} -pi -e 's/-g -O/%{rpmcflags}/' lib/Makefile
69 %{__perl} -pi -e 's/-g/%{rpmcflags}/' {cman_tool,tests}/Makefile
74 --incdir=%{_includedir} \
84 rm -rf $RPM_BUILD_ROOT
88 DESTDIR=$RPM_BUILD_ROOT
90 install -d $RPM_BUILD_ROOT%{_includedir}/cluster
91 install include/cluster/cnxman-socket.h $RPM_BUILD_ROOT%{_includedir}/cluster
94 rm -rf $RPM_BUILD_ROOT
96 %post -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_sbindir}/*
102 %attr(755,root,root) %{_libdir}/*.so.*
103 %{_mandir}/man5/cman.5*
104 %{_mandir}/man8/cman_tool.8*
105 #%attr(754,root,root) /etc/rc.d/init.d/cman
108 %defattr(644,root,root,755)
109 # XXX dir shared with dml-devel
110 %dir %{_includedir}/cluster
112 %{_includedir}/cluster/*.h
113 %attr(755,root,root) %{_libdir}/*.so
116 %defattr(644,root,root,755)