1 Summary: Shared-disk cluster file system
2 Summary(pl): Klastrowy system plików na wspó³dzielonym dysku
8 Group: Applications/System
9 Source0: http://people.redhat.com/cfeist/cluster/tgz/%{name}-%{version}-%{bver}.tar.gz
10 # Source0-md5: 0b623c83354884e9da498e09130a3214
13 # NoSource1-md5: 772e1801249bff0478b844924c0fdc20 (rev. 1.7; doesn't compile with 1.8)
15 # NoSource2-md5: fad0a58f6f39499661704f0d5af3a8c0 (rev. 1.10)
16 # from gfs-kernel/harness CVS
17 Source3: lm_interface.h
18 # NoSource3-md5: 5b000a3b33af218e1b6b8a7d96b7e356 (rev. 1.7)
19 URL: http://sources.redhat.com/cluster/gfs/
21 BuildRequires: perl-base
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define _sbindir /sbin
27 GFS (Global File System) is a cluster file system. It allows a cluster
28 of computers to simultaneously use a block device that is shared
29 between them (with FC, iSCSI, NBD, etc...). GFS reads and writes to
30 the block device like a local filesystem, but also uses a lock module
31 to allow the computers coordinate their I/O so filesystem consistency
32 is maintained. One of the nifty features of GFS is perfect consistency
33 -- changes made to the filesystem on one machine show up immediately
34 on all other machines in the cluster.
37 GFS (Global File System) to klastrowy system plików. Pozwala klastrowi
38 komputerów na jednoczesne korzystanie z urz±dzenia blokowego
39 dzielonego miêdzy nimi (poprzez FC, iSCSI, NBD itp.). GFS odczytuje i
40 zapisuje urz±dzenie blokowe jak lokalny system plików, ale u¿ywa
41 dodatkowo modu³u blokuj±cego, aby umo¿liwiæ komputerom koordynowanie
42 ich operacji I/O w celu zachowania spójno¶ci systemu plików. Jedn± z
43 szykownych mo¿liwo¶ci GFS-a jest idealna spójno¶æ - zmiany wykonane w
44 systemie plików na jednej maszynie natychmiast pokazuj± siê na
45 wszystkich innych maszynach w klastrze.
48 %setup -q -n %{name}-%{version}-%{bver}
50 install -d include/linux
51 cp %{SOURCE1} %{SOURCE2} %{SOURCE3} include/linux
53 %{__perl} -pi -e 's/-Wall/%{rpmcflags} -Wall/' make/defines.mk.input
54 %{__perl} -pi -e 's/-O2 //' gfs_{mkfs,quota,tool}/Makefile
58 --incdir=%{_includedir} \
67 rm -rf $RPM_BUILD_ROOT
70 DESTDIR=$RPM_BUILD_ROOT
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_sbindir}/*
78 #%attr(754,root,root) /etc/rc.d/init.d/gfs