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 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _sbindir /sbin
26 GFS (Global File System) is a cluster file system. It allows a cluster
27 of computers to simultaneously use a block device that is shared
28 between them (with FC, iSCSI, NBD, etc...). GFS reads and writes to
29 the block device like a local filesystem, but also uses a lock module
30 to allow the computers coordinate their I/O so filesystem consistency
31 is maintained. One of the nifty features of GFS is perfect consistency
32 -- changes made to the filesystem on one machine show up immediately
33 on all other machines in the cluster.
36 GFS (Global File System) to klastrowy system plików. Pozwala klastrowi
37 komputerów na jednoczesne korzystanie z urz±dzenia blokowego
38 dzielonego miêdzy nimi (poprzez FC, iSCSI, NBD itp.). GFS odczytuje i
39 zapisuje urz±dzenie blokowe jak lokalny system plików, ale u¿ywa
40 dodatkowo modu³u blokuj±cego, aby umo¿liwiæ komputerom koordynowanie
41 ich operacji I/O w celu zachowania spójno¶ci systemu plików. Jedn± z
42 szykownych mo¿liwo¶ci GFS-a jest idealna spójno¶æ - zmiany wykonane w
43 systemie plików na jednej maszynie natychmiast pokazuj± siê na
44 wszystkich innych maszynach w klastrze.
47 %setup -q -n %{name}-%{version}-%{bver}
49 install -d include/linux
50 cp %{SOURCE1} %{SOURCE2} %{SOURCE3} include/linux
52 %{__perl} -pi -e 's/-Wall/%{rpmcflags} -Wall/' make/defines.mk.input
53 %{__perl} -pi -e 's/-O2 //' gfs_{mkfs,quota,tool}/Makefile
57 --incdir=%{_includedir} \
66 rm -rf $RPM_BUILD_ROOT
69 DESTDIR=$RPM_BUILD_ROOT
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_sbindir}/*
77 #%attr(754,root,root) /etc/rc.d/init.d/gfs