]> git.pld-linux.org Git - packages/gfs.git/blame - gfs.spec
- up to 2.03.11, deprecation note
[packages/gfs.git] / gfs.spec
CommitLineData
79cfe387 1# NOTE: obsolete, for 3rd generation cluster see cluster.spec
595db95a 2Summary: Shared-disk cluster file system
1bd86d6d 3Summary(pl.UTF-8): Klastrowy system plików na współdzielonym dysku
ea0d75d3 4Name: gfs
79cfe387 5Version: 2.03.11
07400a55
JB
6Release: 1
7Epoch: 1
4630a329 8License: GPL v2+
ea0d75d3 9Group: Applications/System
07400a55 10Source0: ftp://sources.redhat.com/pub/cluster/releases/cluster-%{version}.tar.gz
79cfe387 11# Source0-md5: 712b9f583472d1de614641bc0f4a0aaf
4630a329 12Patch0: %{name}-blkid.patch
79cfe387 13Patch1: cluster-kernel.patch
63778b66 14URL: http://sources.redhat.com/cluster/gfs/
4630a329 15BuildRequires: libblkid-devel >= 2.16
e3ca18b4 16BuildRequires: ncurses-devel
178408b1 17BuildRequires: perl-base
79cfe387
JB
18# some parts point to gfs2 components
19Requires: gfs2 = %{epoch}:%{version}
4630a329 20Requires: libblkid >= 2.16
ea0d75d3
AM
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%define _sbindir /sbin
24
25%description
26GFS (Global File System) is a cluster file system. It allows a cluster
27of computers to simultaneously use a block device that is shared
28between them (with FC, iSCSI, NBD, etc...). GFS reads and writes to
29the block device like a local filesystem, but also uses a lock module
30to allow the computers coordinate their I/O so filesystem consistency
31is maintained. One of the nifty features of GFS is perfect consistency
32-- changes made to the filesystem on one machine show up immediately
33on all other machines in the cluster.
34
cc7222f7
JR
35%description -l pl.UTF-8
36GFS (Global File System) to klastrowy system plików. Pozwala klastrowi
37komputerów na jednoczesne korzystanie z urządzenia blokowego
38dzielonego między nimi (poprzez FC, iSCSI, NBD itp.). GFS odczytuje i
39zapisuje urządzenie blokowe jak lokalny system plików, ale używa
40dodatkowo modułu blokującego, aby umożliwić komputerom koordynowanie
41ich operacji I/O w celu zachowania spójności systemu plików. Jedną z
42szykownych możliwości GFS-a jest idealna spójność - zmiany wykonane w
43systemie plików na jednej maszynie natychmiast pokazują się na
595db95a
JB
44wszystkich innych maszynach w klastrze.
45
ea0d75d3 46%prep
07400a55 47%setup -q -n cluster-%{version}
4630a329 48%patch0 -p1
79cfe387 49%patch1 -p1
ea0d75d3
AM
50
51%build
52./configure \
4630a329
JB
53 --cc="%{__cc}" \
54 --cflags="%{rpmcflags} -Wall" \
55 --ldflags="%{rpmldflags}" \
56 --incdir=%{_includedir} \
57 --ncursesincdir=%{_includedir}/ncurses \
ea0d75d3 58 --libdir=%{_libdir} \
79cfe387 59 --libexecdir=%{_libexecdir} \
ea0d75d3
AM
60 --mandir=%{_mandir} \
61 --prefix=%{_prefix} \
4630a329
JB
62 --sbindir=%{_sbindir} \
63 --without_gfs2 \
64 --without_gnbd \
65 --without_kernel_modules
66%{__make} -C %{name}
ea0d75d3
AM
67
68%install
69rm -rf $RPM_BUILD_ROOT
70
4630a329 71%{__make} -C %{name} install \
ea0d75d3
AM
72 DESTDIR=$RPM_BUILD_ROOT
73
79cfe387
JB
74# fake for man pages links check
75touch $RPM_BUILD_ROOT%{_mandir}/man8/gfs2_edit.8
76
ea0d75d3
AM
77%clean
78rm -rf $RPM_BUILD_ROOT
79
80%files
81%defattr(644,root,root,755)
4630a329 82%attr(755,root,root) %{_sbindir}/fsck.gfs
79cfe387
JB
83%attr(755,root,root) %{_sbindir}/gfs_debug
84%attr(755,root,root) %{_sbindir}/gfs_fsck
85%attr(755,root,root) %{_sbindir}/gfs_grow
86%attr(755,root,root) %{_sbindir}/gfs_jadd
87%attr(755,root,root) %{_sbindir}/gfs_mkfs
88%attr(755,root,root) %{_sbindir}/gfs_quota
89%attr(755,root,root) %{_sbindir}/gfs_tool
4630a329 90%attr(755,root,root) %{_sbindir}/mkfs.gfs
4630a329 91# TODO: PLDify
2e91778e 92#%attr(754,root,root) /etc/rc.d/init.d/gfs
4630a329 93%{_mandir}/man8/gfs.8*
79cfe387
JB
94%{_mandir}/man8/gfs_fsck.8*
95%{_mandir}/man8/gfs_grow.8*
96%{_mandir}/man8/gfs_jadd.8*
97%{_mandir}/man8/gfs_mkfs.8*
98%{_mandir}/man8/gfs_mount.8*
99%{_mandir}/man8/gfs_quota.8*
100%{_mandir}/man8/gfs_tool.8*
101# links to gfs2
102%attr(755,root,root) %{_sbindir}/gfs_edit
103%attr(755,root,root) %{_sbindir}/mount.gfs
104%attr(755,root,root) %{_sbindir}/umount.gfs
105%{_mandir}/man8/gfs_edit.8*
This page took 0.083892 seconds and 4 git commands to generate.