SPECS: gnbd.spec - up to 1.01.00

arekm arekm at pld-linux.org
Sun Nov 6 00:53:40 CET 2005


Author: arekm                        Date: Sat Nov  5 23:53:40 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.01.00

---- Files affected:
SPECS:
   gnbd.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/gnbd.spec
diff -u SPECS/gnbd.spec:1.4 SPECS/gnbd.spec:1.5
--- SPECS/gnbd.spec:1.4	Sat Apr 23 21:36:58 2005
+++ SPECS/gnbd.spec	Sun Nov  6 00:53:35 2005
@@ -2,16 +2,12 @@
 Summary:	Block device driver to share storage to many machines over a network
 Summary(pl):	Sterownik urządzenia blokowego do dzielenia pamięci między maszynami w sieci
 Name:		gnbd
-Version:	1.0
-%define	bver	pre13
-Release:	0.%{bver}.1
+Version:	1.01.00
+Release:	1
 License:	GPL v2
 Group:		Applications/System
-Source0:	http://people.redhat.com/cfeist/cluster/tgz/%{name}-%{version}-%{bver}.tar.gz
+Source0:	ftp://sources.redhat.com/pub/cluster/releases/cluster-%{version}.tar.gz
 # Source0-md5:	5b740659fd2930ce6da40b2cfe47f7df
-# from gnbd-kernel CVS
-Source1:	gnbd.h
-# NoSource1-md5: f3e7cfe9f6a3c73e314488d6fea0957b (rev. 1.2)
 URL:		http://sources.redhat.com/cluster/gnbd/
 BuildRequires:	magma-devel
 BuildRequires:	perl-base
@@ -32,15 +28,16 @@
 sterownik nadającym się do używania w grupie węzłów GFS.
 
 %prep
-%setup -q -n %{name}-%{version}-%{bver}
-
-install -d include/linux
-cp %{SOURCE1} include/linux
+%setup -q -n cluster-%{version}
+install -d %{name}/include/linux
+install %{name}-kernel/src/gnbd.h %{name}/include/linux
 
+cd %{name}
 %{__perl} -pi -e 's/-Wall/%{rpmcflags} -Wall/' make/defines.mk.input
 %{__perl} -pi -e 's/-O2 //' {client,server,tools/gnbd_{export,import}}/Makefile
 
 %build
+cd %{name}
 ./configure \
 	--incdir=%{_includedir} \
 	--libdir=%{_libdir} \
@@ -52,6 +49,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+cd %{name}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -70,6 +68,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/11/05 23:53:35  arekm
+- up to 1.01.00
+
 Revision 1.4  2005/04/23 19:36:58  qboosh
 - updated to 1.0-pre13, use optflags
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gnbd.spec?r1=1.4&r2=1.5&f=u




More information about the pld-cvs-commit mailing list