1 Summary: Shared-disk cluster file system
2 Summary(pl.UTF-8): Klastrowy system plików na współdzielonym dysku
8 Group: Applications/System
9 Source0: ftp://sources.redhat.com/pub/cluster/releases/cluster-%{version}.tar.gz
10 # Source0-md5: 379b560096e315d4b52e238a5c72ba4a
11 Patch0: %{name}-blkid.patch
12 URL: http://sources.redhat.com/cluster/gfs/
13 BuildRequires: libblkid-devel >= 2.16
14 BuildRequires: ncurses-devel
15 BuildRequires: perl-base
16 Requires: libblkid >= 2.16
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _sbindir /sbin
22 GFS (Global File System) is a cluster file system. It allows a cluster
23 of computers to simultaneously use a block device that is shared
24 between them (with FC, iSCSI, NBD, etc...). GFS reads and writes to
25 the block device like a local filesystem, but also uses a lock module
26 to allow the computers coordinate their I/O so filesystem consistency
27 is maintained. One of the nifty features of GFS is perfect consistency
28 -- changes made to the filesystem on one machine show up immediately
29 on all other machines in the cluster.
31 %description -l pl.UTF-8
32 GFS (Global File System) to klastrowy system plików. Pozwala klastrowi
33 komputerów na jednoczesne korzystanie z urządzenia blokowego
34 dzielonego między nimi (poprzez FC, iSCSI, NBD itp.). GFS odczytuje i
35 zapisuje urządzenie blokowe jak lokalny system plików, ale używa
36 dodatkowo modułu blokującego, aby umożliwić komputerom koordynowanie
37 ich operacji I/O w celu zachowania spójności systemu plików. Jedną z
38 szykownych możliwości GFS-a jest idealna spójność - zmiany wykonane w
39 systemie plików na jednej maszynie natychmiast pokazują się na
40 wszystkich innych maszynach w klastrze.
43 %setup -q -n cluster-%{version}
49 --cflags="%{rpmcflags} -Wall" \
50 --ldflags="%{rpmldflags}" \
51 --incdir=%{_includedir} \
52 --ncursesincdir=%{_includedir}/ncurses \
54 --libexecdir=%{_libdir} \
57 --sbindir=%{_sbindir} \
60 --without_kernel_modules
64 rm -rf $RPM_BUILD_ROOT
66 %{__make} -C %{name} install \
67 DESTDIR=$RPM_BUILD_ROOT
70 rm -rf $RPM_BUILD_ROOT
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_sbindir}/fsck.gfs
75 %attr(755,root,root) %{_sbindir}/gfs_*
76 %attr(755,root,root) %{_sbindir}/mkfs.gfs
77 %attr(755,root,root) %{_sbindir}/mount.gfs
78 %attr(755,root,root) %{_sbindir}/umount.gfs
80 #%attr(754,root,root) /etc/rc.d/init.d/gfs
81 %{_mandir}/man8/gfs.8*
82 %{_mandir}/man8/gfs_*.8*