]> git.pld-linux.org Git - packages/gfs.git/blame - gfs.spec
- up to 2.00.00 (a little obsoleted by gfs2)
[packages/gfs.git] / gfs.spec
CommitLineData
595db95a 1Summary: Shared-disk cluster file system
1bd86d6d 2Summary(pl.UTF-8): Klastrowy system plików na współdzielonym dysku
ea0d75d3 3Name: gfs
eb5c67e6 4Version: 2.00.00
07400a55
JB
5Release: 1
6Epoch: 1
2e91778e 7License: GPL v2
ea0d75d3 8Group: Applications/System
07400a55 9Source0: ftp://sources.redhat.com/pub/cluster/releases/cluster-%{version}.tar.gz
eb5c67e6 10# Source0-md5: 2ef3f4ba9d3c87b50adfc9b406171085
63778b66 11URL: http://sources.redhat.com/cluster/gfs/
eb5c67e6 12BuildRequires: libvolume_id-devel
e3ca18b4 13BuildRequires: ncurses-devel
178408b1 14BuildRequires: perl-base
ea0d75d3
AM
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%define _sbindir /sbin
18
19%description
20GFS (Global File System) is a cluster file system. It allows a cluster
21of computers to simultaneously use a block device that is shared
22between them (with FC, iSCSI, NBD, etc...). GFS reads and writes to
23the block device like a local filesystem, but also uses a lock module
24to allow the computers coordinate their I/O so filesystem consistency
25is maintained. One of the nifty features of GFS is perfect consistency
26-- changes made to the filesystem on one machine show up immediately
27on all other machines in the cluster.
28
cc7222f7
JR
29%description -l pl.UTF-8
30GFS (Global File System) to klastrowy system plików. Pozwala klastrowi
31komputerów na jednoczesne korzystanie z urządzenia blokowego
32dzielonego między nimi (poprzez FC, iSCSI, NBD itp.). GFS odczytuje i
33zapisuje urządzenie blokowe jak lokalny system plików, ale używa
34dodatkowo modułu blokującego, aby umożliwić komputerom koordynowanie
35ich operacji I/O w celu zachowania spójności systemu plików. Jedną z
36szykownych możliwości GFS-a jest idealna spójność - zmiany wykonane w
37systemie plików na jednej maszynie natychmiast pokazują się na
595db95a
JB
38wszystkich innych maszynach w klastrze.
39
ea0d75d3 40%prep
07400a55 41%setup -q -n cluster-%{version}
eb5c67e6 42install %{name}-kernel/src/gfs/{gfs_ioctl.h,gfs_ondisk.h} %{name}/include
07400a55 43cd %{name}
2e91778e 44
e3ca18b4 45%{__perl} -pi -e 's,-Wall,%{rpmcflags} -I/usr/include/ncurses -Wall,' make/defines.mk.input
2e91778e 46%{__perl} -pi -e 's/-O2 //' gfs_{mkfs,quota,tool}/Makefile
ea0d75d3
AM
47
48%build
07400a55 49cd %{name}
ea0d75d3 50./configure \
ea0d75d3
AM
51 --libdir=%{_libdir} \
52 --mandir=%{_mandir} \
53 --prefix=%{_prefix} \
54 --sbindir=%{_sbindir}
eb5c67e6 55%{__make}
ea0d75d3
AM
56
57%install
58rm -rf $RPM_BUILD_ROOT
07400a55 59cd %{name}
ea0d75d3
AM
60
61%{__make} install \
62 DESTDIR=$RPM_BUILD_ROOT
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%files
68%defattr(644,root,root,755)
69%attr(755,root,root) %{_sbindir}/*
2e91778e 70#%attr(754,root,root) /etc/rc.d/init.d/gfs
ea0d75d3 71%{_mandir}/man?/*
This page took 0.099753 seconds and 4 git commands to generate.