]> git.pld-linux.org Git - packages/gfs.git/blob - gfs.spec
- updated to cluster-1.01.00, Epoch 1
[packages/gfs.git] / gfs.spec
1 Summary:        Shared-disk cluster file system
2 Summary(pl):    Klastrowy system plików na wspó³dzielonym dysku
3 Name:           gfs
4 Version:        1.01.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:  e98551b02ee8ed46ae0ab8fca193d751
11 URL:            http://sources.redhat.com/cluster/gfs/
12 BuildRequires:  iddev
13 BuildRequires:  perl-base
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _sbindir        /sbin
17
18 %description
19 GFS (Global File System) is a cluster file system. It allows a cluster
20 of computers to simultaneously use a block device that is shared
21 between them (with FC, iSCSI, NBD, etc...). GFS reads and writes to
22 the block device like a local filesystem, but also uses a lock module
23 to allow the computers coordinate their I/O so filesystem consistency
24 is maintained. One of the nifty features of GFS is perfect consistency
25 -- changes made to the filesystem on one machine show up immediately
26 on all other machines in the cluster.
27
28 %description -l pl
29 GFS (Global File System) to klastrowy system plików. Pozwala klastrowi
30 komputerów na jednoczesne korzystanie z urz±dzenia blokowego
31 dzielonego miêdzy nimi (poprzez FC, iSCSI, NBD itp.). GFS odczytuje i
32 zapisuje urz±dzenie blokowe jak lokalny system plików, ale u¿ywa
33 dodatkowo modu³u blokuj±cego, aby umo¿liwiæ komputerom koordynowanie
34 ich operacji I/O w celu zachowania spójno¶ci systemu plików. Jedn± z
35 szykownych mo¿liwo¶ci GFS-a jest idealna spójno¶æ - zmiany wykonane w
36 systemie plików na jednej maszynie natychmiast pokazuj± siê na
37 wszystkich innych maszynach w klastrze.
38
39 %prep
40 %setup -q -n cluster-%{version}
41 install -d %{name}/include/linux
42 install %{name}-kernel/src/gfs/{gfs_ioctl.h,gfs_ondisk.h} %{name}/include/linux
43 install %{name}-kernel/src/harness/lm_interface.h %{name}/include/linux
44 cd %{name}
45
46 %{__perl} -pi -e 's/-Wall/%{rpmcflags} -Wall/' make/defines.mk.input
47 %{__perl} -pi -e 's/-O2 //' gfs_{mkfs,quota,tool}/Makefile
48
49 %build
50 cd %{name}
51 ./configure \
52         --incdir=%{_includedir} \
53         --libdir=%{_libdir} \
54         --mandir=%{_mandir} \
55         --prefix=%{_prefix} \
56         --sbindir=%{_sbindir}
57 %{__make} \
58         CC="%{__cc}"
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/gfs
74 %{_mandir}/man?/*
This page took 0.042891 seconds and 3 git commands to generate.