]> git.pld-linux.org Git - packages/gfs.git/commitdiff
- initial pld release
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 25 Jun 2004 11:07:28 +0000 (11:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gfs.spec -> 1.1

gfs.spec [new file with mode: 0644]

diff --git a/gfs.spec b/gfs.spec
new file mode 100644 (file)
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?/*
This page took 0.06743 seconds and 4 git commands to generate.