]> git.pld-linux.org Git - packages/cluster.git/blame - cluster.spec
- stupid typos
[packages/cluster.git] / cluster.spec
CommitLineData
3e0685c3 1#
2# INFO:
1d7db41d 3# This is work taken from the gfs2.spec and moved into a cluster-3 generation.
4# Some of the old work was dropped as it had no interest to the commiter,
5# so if You're missing something, please look into gfs2.spec and update.
3e0685c3 6#
7
8Summary: Cluster infrastructure
9Summary(pl.UTF-8): Infrastruktura klastra
10Name: cluster
11Version: 3.0.13
b3a24d3c 12Release: 0.3
3e0685c3 13License: GPL v2
14Group: Applications/System
3157b5be 15Source0: https://fedorahosted.org/releases/c/l/%{name}/%{name}-%{version}.tar.bz2
3e0685c3 16# Source0-md5: d13aac279519af926894cc25722b1f9f
3157b5be 17URL: http://sources.redhat.com/cluster/wiki
3e0685c3 18BuildRequires: corosync-devel
19BuildRequires: libvirt-devel
20BuildRequires: libxml2-devel
21BuildRequires: libxslt-progs
3e0685c3 22BuildRequires: ncurses-devel
3e0685c3 23BuildRequires: nspr-devel
1d7db41d 24BuildRequires: nss-devel
25BuildRequires: openais-devel
26BuildRequires: openldap-devel
3e0685c3 27BuildRequires: perl-ExtUtils-MakeMaker
28BuildRequires: python-pexpect
29BuildRequires: slang-devel
b3a24d3c 30Requires: %{name}-cman = %{version}-%{release}
31Requires: %{name}-rgmanager = %{version}-%{release}
3e0685c3 32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%define _sbindir /sbin
35
36%description
37%description -l pl.UTF-8
38
39%package ccs
3157b5be 40Summary: Cluster configuration system
41Summary(pl.UTF-8): System konfiguracji klastra
1d7db41d 42Group: Applications/System
3e0685c3 43Requires: libxml2-progs
44
45%description ccs
3157b5be 46Cluster configuration system to manage the cluster config file.
47
1d7db41d 48%description ccs -l pl.UTF-8
3157b5be 49System konfiguracji klastra do zarządzania jego plikiem
50konfiguracyjnym.
3e0685c3 51
52%package ccs-devel
3157b5be 53Summary: Cluster configuration system
54Summary(pl.UTF-8): System konfiguracji klastra
1d7db41d 55Group: Applications/System
56Requires: %{name}-ccs-libs = %{version}-%{release}
3e0685c3 57
58%description ccs-devel
1d7db41d 59%description ccs-devel -l pl.UTF-8
3e0685c3 60
61%package ccs-libs
3157b5be 62Summary: Cluster configuration system
63Summary(pl.UTF-8): System konfiguracji klastra
1d7db41d 64Group: Applications/System
3e0685c3 65
66%description ccs-libs
1d7db41d 67%description ccs-libs -l pl.UTF-8
3e0685c3 68
69%package ccs-static
3157b5be 70Summary: Cluster configuration system
71Summary(pl.UTF-8): System konfiguracji klastra
1d7db41d 72Group: Applications/System
3e0685c3 73
74%description ccs-static
1d7db41d 75%description ccs-static -l pl.UTF-8
3e0685c3 76
77%package cman
3157b5be 78Summary: Cluster infrastructure manager
79Summary(pl.UTF-8): Zarządca infrastruktury klastra
1d7db41d 80Group: Applications/System
3e0685c3 81Requires: corosync
82Requires: openais
b3a24d3c 83Requires: %{name}-ccs = %{version}-%{release}
84Requires: %{name}-dlm = %{version}-%{release}
85Requires: %{name}-fence = %{version}-%{release}
86Requires: %{name}-group = %{version}-%{release}
3e0685c3 87
88%description cman
3157b5be 89MAN is a symmetric, general-purpose, kernel-based cluster manager. It
90has two parts. Connection Manager (cnxman) handles membership,
91messaging, quorum, event notification and transitions. Service Manager
92(sm) handles "service groups" which are a general way of representing
93and managing instances of external systems that require cluster
94management. The CMAN cluster manager is the foundational system upon
95which DLM, GFS, CLVM, and Fence all depend. The CMAN API in the kernel
96and userspace is general and available for other programs to use.
97
1d7db41d 98%description cman -l pl.UTF-8
3157b5be 99MAN to zarządca opartych na jądrze symetrycznych klastrów ogólnego
100przeznaczenia. Składa się z dwóch części. Zarządca połączeń
101(Connection Manager, cnxman) obsługuje członkostwo, komunikację,
102kworum, powiadamianie o zdarzeniach i przejścia. Zarządca usług
103(Service Manager, sm) obsługuje "grupy usług", które są ogólnym
104sposobem reprezentacji i zarządzania instancjami zewnętrznych systemów
105wymagających zarządzania klastrem. Zarządca klastrów CMAN to
106podstawowy system, na którym polegają DLM, GFS, CLVM i Fence. API
107CMAN-a w jądrze i przestrzeni użytkownika jest ogólne i w całości
108dostępne do wykorzystania w innych programach.
109
3e0685c3 110
111%package cman-devel
3157b5be 112Summary: Cluster infrastructure manager
113Summary(pl.UTF-8): Zarządca infrastruktury klastra
1d7db41d 114Group: Applications/System
115Requires: %{name}-cman-libs = %{version}-%{release}
3e0685c3 116
117%description cman-devel
1d7db41d 118%description cman-devel -l pl.UTF-8
3e0685c3 119
120%package cman-libs
3157b5be 121Summary: Cluster infrastructure manager
122Summary(pl.UTF-8): Zarządca infrastruktury klastra
1d7db41d 123Group: Applications/System
3e0685c3 124
125%description cman-libs
1d7db41d 126%description cman-libs -l pl.UTF-8
3e0685c3 127
128%package cman-static
3157b5be 129Summary: Cluster infrastructure manager
130Summary(pl.UTF-8): Zarządca infrastruktury klastra
1d7db41d 131Group: Applications/System
3e0685c3 132
133%description cman-static
1d7db41d 134%description cman-static -l pl.UTF-8
3e0685c3 135
136%package dlm
3157b5be 137Summary: Cluster infrastructure lock manager
138Summary(pl.UTF-8): Zarządca blokad infrastruktury klastra
1d7db41d 139Group: Applications/System
3e0685c3 140
141%description dlm
3157b5be 142The DLM lock manager is a kernel-based VMS-like distributed lock
143manager. It is general purpose and not specific to only GFS or CLVM.
144Kernel and userspace locking API's are available.
145
1d7db41d 146%description dlm -l pl.UTF-8
3157b5be 147Zarządca blokad DLM to oparty na jądrze zarządca rozproszonych blokad
148w stylu VMS. Jest ogólnego przeznaczenia, przeznaczonym nie tylko dla
149GFS-a czy CLVM-a. Dostępne są API blokowania w jądrze i przestrzeni
150użytkownika.
3e0685c3 151
152%package dlm-devel
3157b5be 153Summary: Cluster infrastructure lock manager
154Summary(pl.UTF-8): Zarządca blokad infrastruktury klastra
1d7db41d 155Group: Applications/System
156Requires: %{name}-dlm-libs = %{version}-%{release}
3e0685c3 157
158%description dlm-devel
1d7db41d 159%description dlm-devel -l pl.UTF-8
3e0685c3 160
161%package dlm-libs
3157b5be 162Summary: Cluster infrastructure lock manager
163Summary(pl.UTF-8): Zarządca blokad infrastruktury klastra
1d7db41d 164Group: Applications/System
3e0685c3 165
166%description dlm-libs
1d7db41d 167%description dlm-libs -l pl.UTF-8
3e0685c3 168
169%package dlm-static
3157b5be 170Summary: Cluster infrastructure lock manager
171Summary(pl.UTF-8): Zarządca blokad infrastruktury klastra
1d7db41d 172Group: Applications/System
3e0685c3 173
174%description dlm-static
1d7db41d 175%description dlm-static -l pl.UTF-8
3e0685c3 176
177%package fence
3157b5be 178Summary: Cluster infrastructure I/O fencing system
179Summary(pl.UTF-8): System barier I/O infrastruktury klastra
1d7db41d 180Group: Applications/System
3e0685c3 181
182%description fence
3157b5be 183The Fence system does I/O fencing of cluster members. Any member may
184join the default fence domain after which it will be fenced if it
185fails without leaving the fence domain cleanly. The lock_dlm GFS lock
186module will not permit GFS to be mounted until the node has joined a
187fence domain.
188
189The fence daemon, fenced, is usually started by running "fence_tool
190join". Once started, fenced joins the default fence domain and the
191node is subject to being fenced if it fails. A collection of fence
192agents are used by fenced to interface with hardware devices (usually
193to shut off its path to shared storage or cycle its power source.)
194
1d7db41d 195%description fence -l pl.UTF-8
3157b5be 196System Fence odpowiada za bariery I/O dla członków klastra. Każdy z
197członków może dołączyć do domyślnej domeny barier, po czym będzie
198odgrodzony jeśli zawiedzie nie opuszczając czysto domeny barier. Moduł
199blokujący GFS-a lock_dlm nie pozwoli na podmontowanie GFS-a dopóki
200węzeł nie dołączy do domeny barier.
201
202Demon fence, fenced, jest zwykle uruchamiany przez fence_tool join. Po
203uruchomieniu fenced dołącza do domyślnej domeny barier, a węzeł jest
204przedmiotem odgrodzenia jeśli zawiedzie. fenced wykorzystuje zbiór
205agentów fence do komunikacji z urządzeniami sprzętowymi (zwykle do
206odcinania drogi do dzielonej pamięci lub wyłączania i włączania
207zasilania).
3e0685c3 208
209%package fence-devel
3157b5be 210Summary: Cluster infrastructure I/O fencing system
211Summary(pl.UTF-8): System barier I/O infrastruktury klastra
1d7db41d 212Group: Applications/System
213Requires: %{name}-fence-libs = %{version}-%{release}
3e0685c3 214
215%description fence-devel
1d7db41d 216%description fence-devel -l pl.UTF-8
3e0685c3 217
218%package fence-libs
3157b5be 219Summary: Cluster infrastructure I/O fencing system
220Summary(pl.UTF-8): System barier I/O infrastruktury klastra
1d7db41d 221Group: Applications/System
3e0685c3 222
223%description fence-libs
1d7db41d 224%description fence-libs -l pl.UTF-8
3e0685c3 225
226%package fence-static
3157b5be 227Summary: Cluster infrastructure I/O fencing system
228Summary(pl.UTF-8): System barier I/O infrastruktury klastra
1d7db41d 229Group: Applications/System
3e0685c3 230
231%description fence-static
1d7db41d 232%description fence-static -l pl.UTF-8
3e0685c3 233
234%package group
235Summary: Cluster infrastructure
236Summary(pl.UTF-8): Infrastruktura klastra
1d7db41d 237Group: Applications/System
3e0685c3 238
239%description group
1d7db41d 240%description group -l pl.UTF-8
3e0685c3 241
242%package gfs2
243Summary: Shared-disk cluster filesystem
244Summary(pl.UTF-8): Klastrowy system plików na współdzielonym dysku
1d7db41d 245Group: Applications/System
3e0685c3 246
247%description gfs2
248GFS (Global File System) is a cluster file system. It allows a cluster
249of computers to simultaneously use a block device that is shared
250between them (with FC, iSCSI, NBD, etc...). GFS reads and writes to
251the block device like a local filesystem, but also uses a lock module
252to allow the computers coordinate their I/O so filesystem consistency
253is maintained. One of the nifty features of GFS is perfect consistency
1d7db41d 254- -- changes made to the filesystem on one machine show up immediately
255 on all other machines in the cluster.
3e0685c3 256
257%description gfs2 -l pl.UTF-8
258GFS (Global File System) to klastrowy system plików. Pozwala klastrowi
259komputerów na jednoczesne korzystanie z urządzenia blokowego
260dzielonego między nimi (poprzez FC, iSCSI, NBD itp.). GFS odczytuje i
261zapisuje urządzenie blokowe jak lokalny system plików, ale używa
262dodatkowo modułu blokującego, aby umożliwić komputerom koordynowanie
263ich operacji I/O w celu zachowania spójności systemu plików. Jedną z
264szykownych możliwości GFS-a jest idealna spójność - zmiany wykonane w
265systemie plików na jednej maszynie natychmiast pokazują się na
266wszystkich innych maszynach w klastrze.
267
268%package rgmanager
3157b5be 269Summary: HA resource group failover
270Summary(pl.UTF-8): Failover dla grupy zasobów wysokiej dostępności
1d7db41d 271Group: Applications/System
3e0685c3 272
273%description rgmanager
3157b5be 274Resource Group Manager provides high availability of critical server
275applications in the event of planned or unplanned system downtime.
276
1d7db41d 277%description rgmanager -l pl.UTF-8
3157b5be 278Resource Group Manager daje wysoką dostępność krytycznych aplikacji
279serwerowych w przypadku planowanych lub nieplanowanych wyłączeń
280serwera.
3e0685c3 281
282%prep
283%setup -q
284
285sed -i -e 's,-Wall,%{rpmcflags} -I/usr/include/ncurses -Wall,' make/defines.mk.input
286sed -i -e 's/ -ggdb / %{rpmcflags} /' gfs2/libgfs2/Makefile
287sed -i -e 's/ -O2 -ggdb / %{rpmcflags} /' gfs2/mkfs/Makefile
288
289%build
290./configure \
291 --libdir=%{_libdir} \
292 --libexecdir=%{_libdir} \
293 --mandir=%{_mandir} \
294 --prefix=%{_prefix} \
295 --sbindir=%{_sbindir} \
296 --ncursesincdir=/usr/include/ncurses \
1d7db41d 297 --nsprincdir=%{_includedir}/nspr \
298 --nssincdir=%{_includedir}/nss \
3e0685c3 299 --without_kernel_modules --disable_kernel_check
300
301%{__make}
302
303%install
304rm -rf $RPM_BUILD_ROOT
305
306%{__make} install \
307 DESTDIR=$RPM_BUILD_ROOT
308
1d7db41d 309install -d $RPM_BUILD_ROOT%{_sysconfdir}/cluster
3e0685c3 310install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
311install -d $RPM_BUILD_ROOT/var/log/cluster
312mv $RPM_BUILD_ROOT/''etc/init.d/* $RPM_BUILD_ROOT/etc/rc.d/init.d
313
314%clean
315rm -rf $RPM_BUILD_ROOT
316
317%files
318%defattr(644,root,root,755)
319
320%files ccs
321%defattr(644,root,root,755)
322%attr(755,root,root) %{_sbindir}/confdb2ldif
323%attr(755,root,root) %{_sbindir}/ccs_config_dump
324%attr(755,root,root) %{_sbindir}/ccs_config_validate
325%attr(755,root,root) %{_sbindir}/ccs_test
326%attr(755,root,root) %{_sbindir}/ccs_tool
327%attr(755,root,root) %{_libdir}/lcrso/*.lcrso
328%{_mandir}/man8/ccs_config_dump.*
329%{_mandir}/man8/ccs_config_validate.*
330%{_mandir}/man8/ccs_tool.*
331%{_mandir}/man8/confdb2ldif.*
332
333%files ccs-libs
334%defattr(644,root,root,755)
335%attr(755,root,root) %{_libdir}/libccs.so.3.0
336%attr(755,root,root) %ghost %{_libdir}/libccs.so.3
337
338%files ccs-devel
339%defattr(644,root,root,755)
340%attr(755,root,root) %{_libdir}/libccs.so
341%{_includedir}/ccs.h
342%{_pkgconfigdir}/libccs.pc
343
344%files ccs-static
345%defattr(644,root,root,755)
346%{_libdir}/libccs.a
347
3e0685c3 348%files cman
349%defattr(644,root,root,755)
350%{_sysconfdir}/cluster
351/etc/logrotate.d/cluster
1d7db41d 352%attr(754,root,root) /etc/rc.d/init.d/cman
3e0685c3 353%attr(755,root,root) %{_sbindir}/cman_notify
354%attr(755,root,root) %{_sbindir}/cman_tool
355%attr(755,root,root) %{_sbindir}/cmannotifyd
356%attr(755,root,root) %{_sbindir}/mkqdisk
357%attr(755,root,root) %{_sbindir}/qdiskd
358%{_datadir}/cluster
359%{_docdir}/cluster
360%{_mandir}/man5/cluster.conf.*
361%{_mandir}/man5/cman.*
362%{_mandir}/man5/qdisk.*
363%{_mandir}/man8/cman_tool.*
364%{_mandir}/man8/cman_notify.*
365%{_mandir}/man8/cmannotifyd.*
366%{_mandir}/man8/mkqdisk.*
367%{_mandir}/man8/qdiskd.*
368/var/log/cluster
369
370%files cman-devel
371%defattr(644,root,root,755)
372%attr(755,root,root) %{_libdir}/libcman.so
373%attr(755,root,root) %{_libdir}/liblogthread.so
374%{_includedir}/libcman.h
375%{_includedir}/liblogthread.h
376%{_pkgconfigdir}/libcman.pc
377%{_pkgconfigdir}/liblogthread.pc
378
379%files cman-libs
380%defattr(644,root,root,755)
381%attr(755,root,root) %{_libdir}/libcman.so.3.0
382%attr(755,root,root) %ghost %{_libdir}/libcman.so.3
383%attr(755,root,root) %{_libdir}/liblogthread.so.3.0
384%attr(755,root,root) %ghost %{_libdir}/liblogthread.so.3
385
386%files cman-static
387%defattr(644,root,root,755)
388%{_libdir}/libcman.a
389%{_libdir}/liblogthread.a
390
3e0685c3 391%files dlm
392%defattr(644,root,root,755)
393/etc/udev/rules.d/51-dlm.rules
394%attr(755,root,root) %{_sbindir}/dlm_tool
395%{_mandir}/man8/dlm_tool.*
396
397%files dlm-devel
398%defattr(644,root,root,755)
399%{_includedir}/libdlm.h
400%{_includedir}/libdlmcontrol.h
401%{_pkgconfigdir}/libdlm.pc
402%{_pkgconfigdir}/libdlm_lt.pc
403%{_pkgconfigdir}/libdlmcontrol.pc
404%attr(755,root,root) %{_libdir}/libdlm.so
405%attr(755,root,root) %{_libdir}/libdlm_lt.so
406%attr(755,root,root) %{_libdir}/libdlmcontrol.so
407%{_mandir}/man3/dlm_*.*
408%{_mandir}/man3/libdlm.*
409
410%files dlm-libs
411%defattr(644,root,root,755)
412%attr(755,root,root) %{_libdir}/libdlm.so.3.0
413%attr(755,root,root) %ghost %{_libdir}/libdlm.so.3
414%attr(755,root,root) %{_libdir}/libdlm_lt.so.3.0
415%attr(755,root,root) %ghost %{_libdir}/libdlm_lt.so.3
416%attr(755,root,root) %{_libdir}/libdlmcontrol.so.3.1
417%attr(755,root,root) %ghost %{_libdir}/libdlmcontrol.so.3
418
419%files dlm-static
420%defattr(644,root,root,755)
421%{_libdir}/libdlm.a
422%{_libdir}/libdlm_lt.a
423%{_libdir}/libdlmcontrol.a
424
3e0685c3 425%files fence
426%defattr(644,root,root,755)
427%attr(755,root,root) %{_sbindir}/fence_*
428%attr(755,root,root) %{_sbindir}/fenced
429%{_mandir}/man8/fence_*.*
430%{_mandir}/man8/fenced.*
431
432%files fence-devel
433%defattr(644,root,root,755)
434%{_includedir}/libfence.h
435%{_includedir}/libfenced.h
436%{_pkgconfigdir}/libfence.pc
437%{_pkgconfigdir}/libfenced.pc
438%attr(755,root,root) %{_libdir}/libfence.so
439%attr(755,root,root) %{_libdir}/libfenced.so
440
441%files fence-libs
442%defattr(644,root,root,755)
443%attr(755,root,root) %{_libdir}/libfence.so.4.0
444%attr(755,root,root) %ghost %{_libdir}/libfence.so.4
445%attr(755,root,root) %{_libdir}/libfenced.so.3.0
446%attr(755,root,root) %ghost %{_libdir}/libfenced.so.3
447
448%files fence-static
449%defattr(644,root,root,755)
450%{_libdir}/libfence.a
451%{_libdir}/libfenced.a
452
453%files group
454%defattr(644,root,root,755)
455%attr(755,root,root) %{_sbindir}/dlm_controld
456%attr(755,root,root) %{_sbindir}/gfs_control
457%attr(755,root,root) %{_sbindir}/gfs_controld
458%attr(755,root,root) %{_sbindir}/group_tool
459%attr(755,root,root) %{_sbindir}/groupd
460%{_mandir}/man8/dlm_controld.*
461%{_mandir}/man8/gfs_control.*
462%{_mandir}/man8/gfs_controld.*
463%{_mandir}/man8/group_tool.*
464%{_mandir}/man8/groupd.*
465
466%files gfs2
467%defattr(644,root,root,755)
468%attr(754,root,root) /etc/rc.d/init.d/gfs2
469%attr(755,root,root) %{_sbindir}/fsck.gfs2
470%attr(755,root,root) %{_sbindir}/gfs2_convert
471%attr(755,root,root) %{_sbindir}/gfs2_edit
472%attr(755,root,root) %{_sbindir}/gfs2_grow
473%attr(755,root,root) %{_sbindir}/gfs2_jadd
474%attr(755,root,root) %{_sbindir}/gfs2_quota
475%attr(755,root,root) %{_sbindir}/gfs2_tool
476%attr(755,root,root) %{_sbindir}/mkfs.gfs2
477%attr(755,root,root) %{_sbindir}/mount.gfs2
478%{_mandir}/man8/fsck.gfs2.*
479%{_mandir}/man8/gfs2.*
480%{_mandir}/man8/gfs2_convert.*
481%{_mandir}/man8/gfs2_edit.*
482%{_mandir}/man8/gfs2_grow.*
483%{_mandir}/man8/gfs2_jadd.*
484%{_mandir}/man8/gfs2_quota.*
485%{_mandir}/man8/gfs2_tool.*
486%{_mandir}/man8/mkfs.gfs2.*
487%{_mandir}/man8/mount.gfs2.*
488
489%files rgmanager
490%defattr(644,root,root,755)
491%attr(754,root,root) /etc/rc.d/init.d/rgmanager
492%attr(755,root,root) %{_sbindir}/clubufflush
493%attr(755,root,root) %{_sbindir}/clufindhostname
494%attr(755,root,root) %{_sbindir}/clulog
495%attr(755,root,root) %{_sbindir}/clunfslock
496%attr(755,root,root) %{_sbindir}/clurgmgrd
497#%attr(755,root,root) %{_sbindir}/clurmtabd
498%attr(755,root,root) %{_sbindir}/clustat
499%attr(755,root,root) %{_sbindir}/clusvcadm
500%attr(755,root,root) %{_sbindir}/rg_test
501%attr(755,root,root) %{_sbindir}/rgmanager
502%{_mandir}/man8/clubufflush.*
503%{_mandir}/man8/clufindhostname.*
504%{_mandir}/man8/clulog.*
505#%{_mandir}/man8/clunfslock.*
506%{_mandir}/man8/clurgmgrd.*
507#%{_mandir}/man8/clurmtabd.*
508%{_mandir}/man8/clustat.*
509%{_mandir}/man8/clusvcadm.*
510%{_mandir}/man8/rgmanager.*
This page took 0.131969 seconds and 4 git commands to generate.