]> git.pld-linux.org Git - packages/gfs.git/blame_incremental - gfs.spec
- up to 2.03.11, deprecation note
[packages/gfs.git] / gfs.spec
... / ...
CommitLineData
1# NOTE: obsolete, for 3rd generation cluster see cluster.spec
2Summary: Shared-disk cluster file system
3Summary(pl.UTF-8): Klastrowy system plików na współdzielonym dysku
4Name: gfs
5Version: 2.03.11
6Release: 1
7Epoch: 1
8License: GPL v2+
9Group: Applications/System
10Source0: ftp://sources.redhat.com/pub/cluster/releases/cluster-%{version}.tar.gz
11# Source0-md5: 712b9f583472d1de614641bc0f4a0aaf
12Patch0: %{name}-blkid.patch
13Patch1: cluster-kernel.patch
14URL: http://sources.redhat.com/cluster/gfs/
15BuildRequires: libblkid-devel >= 2.16
16BuildRequires: ncurses-devel
17BuildRequires: perl-base
18# some parts point to gfs2 components
19Requires: gfs2 = %{epoch}:%{version}
20Requires: libblkid >= 2.16
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
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
44wszystkich innych maszynach w klastrze.
45
46%prep
47%setup -q -n cluster-%{version}
48%patch0 -p1
49%patch1 -p1
50
51%build
52./configure \
53 --cc="%{__cc}" \
54 --cflags="%{rpmcflags} -Wall" \
55 --ldflags="%{rpmldflags}" \
56 --incdir=%{_includedir} \
57 --ncursesincdir=%{_includedir}/ncurses \
58 --libdir=%{_libdir} \
59 --libexecdir=%{_libexecdir} \
60 --mandir=%{_mandir} \
61 --prefix=%{_prefix} \
62 --sbindir=%{_sbindir} \
63 --without_gfs2 \
64 --without_gnbd \
65 --without_kernel_modules
66%{__make} -C %{name}
67
68%install
69rm -rf $RPM_BUILD_ROOT
70
71%{__make} -C %{name} install \
72 DESTDIR=$RPM_BUILD_ROOT
73
74# fake for man pages links check
75touch $RPM_BUILD_ROOT%{_mandir}/man8/gfs2_edit.8
76
77%clean
78rm -rf $RPM_BUILD_ROOT
79
80%files
81%defattr(644,root,root,755)
82%attr(755,root,root) %{_sbindir}/fsck.gfs
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
90%attr(755,root,root) %{_sbindir}/mkfs.gfs
91# TODO: PLDify
92#%attr(754,root,root) /etc/rc.d/init.d/gfs
93%{_mandir}/man8/gfs.8*
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.058364 seconds and 4 git commands to generate.