]> git.pld-linux.org Git - packages/gfs.git/blame - gfs.spec
- updated to 2.03.10 (the last 2nd generation cluster release)
[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
4630a329 4Version: 2.03.10
07400a55
JB
5Release: 1
6Epoch: 1
4630a329 7License: GPL v2+
ea0d75d3 8Group: Applications/System
07400a55 9Source0: ftp://sources.redhat.com/pub/cluster/releases/cluster-%{version}.tar.gz
4630a329
JB
10# Source0-md5: 379b560096e315d4b52e238a5c72ba4a
11Patch0: %{name}-blkid.patch
63778b66 12URL: http://sources.redhat.com/cluster/gfs/
4630a329 13BuildRequires: libblkid-devel >= 2.16
e3ca18b4 14BuildRequires: ncurses-devel
178408b1 15BuildRequires: perl-base
4630a329 16Requires: libblkid >= 2.16
ea0d75d3
AM
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%define _sbindir /sbin
20
21%description
22GFS (Global File System) is a cluster file system. It allows a cluster
23of computers to simultaneously use a block device that is shared
24between them (with FC, iSCSI, NBD, etc...). GFS reads and writes to
25the block device like a local filesystem, but also uses a lock module
26to allow the computers coordinate their I/O so filesystem consistency
27is maintained. One of the nifty features of GFS is perfect consistency
28-- changes made to the filesystem on one machine show up immediately
29on all other machines in the cluster.
30
cc7222f7
JR
31%description -l pl.UTF-8
32GFS (Global File System) to klastrowy system plików. Pozwala klastrowi
33komputerów na jednoczesne korzystanie z urządzenia blokowego
34dzielonego między nimi (poprzez FC, iSCSI, NBD itp.). GFS odczytuje i
35zapisuje urządzenie blokowe jak lokalny system plików, ale używa
36dodatkowo modułu blokującego, aby umożliwić komputerom koordynowanie
37ich operacji I/O w celu zachowania spójności systemu plików. Jedną z
38szykownych możliwości GFS-a jest idealna spójność - zmiany wykonane w
39systemie plików na jednej maszynie natychmiast pokazują się na
595db95a
JB
40wszystkich innych maszynach w klastrze.
41
ea0d75d3 42%prep
07400a55 43%setup -q -n cluster-%{version}
4630a329 44%patch0 -p1
ea0d75d3
AM
45
46%build
47./configure \
4630a329
JB
48 --cc="%{__cc}" \
49 --cflags="%{rpmcflags} -Wall" \
50 --ldflags="%{rpmldflags}" \
51 --incdir=%{_includedir} \
52 --ncursesincdir=%{_includedir}/ncurses \
ea0d75d3 53 --libdir=%{_libdir} \
4630a329 54 --libexecdir=%{_libdir} \
ea0d75d3
AM
55 --mandir=%{_mandir} \
56 --prefix=%{_prefix} \
4630a329
JB
57 --sbindir=%{_sbindir} \
58 --without_gfs2 \
59 --without_gnbd \
60 --without_kernel_modules
61%{__make} -C %{name}
ea0d75d3
AM
62
63%install
64rm -rf $RPM_BUILD_ROOT
65
4630a329 66%{__make} -C %{name} install \
ea0d75d3
AM
67 DESTDIR=$RPM_BUILD_ROOT
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%files
73%defattr(644,root,root,755)
4630a329
JB
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
79# TODO: PLDify
2e91778e 80#%attr(754,root,root) /etc/rc.d/init.d/gfs
4630a329
JB
81%{_mandir}/man8/gfs.8*
82%{_mandir}/man8/gfs_*.8*
This page took 0.078506 seconds and 4 git commands to generate.