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