From ea0d75d3131bccd6ec84f69eefab4a75b7472db3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Fri, 25 Jun 2004 11:07:28 +0000 Subject: [PATCH] - initial pld release Changed files: gfs.spec -> 1.1 --- gfs.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 gfs.spec diff --git a/gfs.spec b/gfs.spec new file mode 100644 index 0000000..e7dc075 --- /dev/null +++ b/gfs.spec @@ -0,0 +1,54 @@ +# +# Conditional build: +Summary: shared-disk cluster file system +Name: gfs +%define snap 20040625 +Version: 0.0.0.%{snap}.1 +Release: 1 +License: GPL +Group: Applications/System +Source0: %{name}.tar.gz +# Source0-md5: 9c119853aac17437bf0b05cbb8a37117 +URL: http://sources.redhat.com/cluster/ +BuildRequires: iddev +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _sbindir /sbin + +%description +GFS (Global File System) is a cluster file system. It allows a cluster +of computers to simultaneously use a block device that is shared +between them (with FC, iSCSI, NBD, etc...). GFS reads and writes to +the block device like a local filesystem, but also uses a lock module +to allow the computers coordinate their I/O so filesystem consistency +is maintained. One of the nifty features of GFS is perfect consistency +-- changes made to the filesystem on one machine show up immediately +on all other machines in the cluster. + +%prep +%setup -q -n %{name} + +%build +./configure \ + --incdir=%{_includedir} \ + --kernel_src=%{_kernelsrcdir} \ + --libdir=%{_libdir} \ + --mandir=%{_mandir} \ + --prefix=%{_prefix} \ + --sbindir=%{_sbindir} +%{__make} \ + CC="%{__cc}" + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_sbindir}/* +%{_mandir}/man?/* -- 2.44.0