packages: gnbd/gnbd.spec - updated to 2.03.10 (the last 2nd generation clus...
qboosh
qboosh at pld-linux.org
Sun May 22 18:45:40 CEST 2011
Author: qboosh Date: Sun May 22 16:45:40 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- updated to 2.03.10 (the last 2nd generation cluster release)
---- Files affected:
packages/gnbd:
gnbd.spec (1.13 -> 1.14)
---- Diffs:
================================================================
Index: packages/gnbd/gnbd.spec
diff -u packages/gnbd/gnbd.spec:1.13 packages/gnbd/gnbd.spec:1.14
--- packages/gnbd/gnbd.spec:1.13 Mon Apr 2 20:27:28 2007
+++ packages/gnbd/gnbd.spec Sun May 22 18:45:35 2011
@@ -2,15 +2,16 @@
Summary: Block device driver to share storage to many machines over a network
Summary(pl.UTF-8): Sterownik urządzenia blokowego do dzielenia pamięci między maszynami w sieci
Name: gnbd
-Version: 2.00.00
+Version: 2.03.10
Release: 1
License: GPL v2
Group: Applications/System
Source0: ftp://sources.redhat.com/pub/cluster/releases/cluster-%{version}.tar.gz
-# Source0-md5: 2ef3f4ba9d3c87b50adfc9b406171085
+# Source0-md5: 379b560096e315d4b52e238a5c72ba4a
URL: http://sources.redhat.com/cluster/gnbd/
-BuildRequires: cman-devel >= 2
+BuildRequires: cman-devel >= 2.03.10
BuildRequires: perl-base
+Requires: cman-libs >= 2.03.10
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sbindir /sbin
@@ -29,31 +30,27 @@
%prep
%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 \
+ --cc="%{__cc}" \
+ --cflags="%{rpmcflags} -Wall" \
+ --ldflags="%{rpmldflags}" \
--incdir=%{_includedir} \
--libdir=%{_libdir} \
+ --libexecdir=%{_libdir} \
--mandir=%{_mandir} \
--prefix=%{_prefix} \
- --sbindir=%{_sbindir}
-%{__make} \
- CC="%{__cc}" \
- INCLUDE="-I$PWD/include -I$PWD/include/linux -I$PWD/client \
- -I$PWD/server -I$PWD/utils -I$PWD/config -I../gnbd_import"
+ --sbindir=%{_sbindir} \
+ --without_gfs \
+ --without_gfs2 \
+ --without_kernel_modules
+%{__make} -C %{name}
%install
rm -rf $RPM_BUILD_ROOT
-cd %{name}
-%{__make} install \
+%{__make} -C %{name} install \
DESTDIR=$RPM_BUILD_ROOT
%clean
@@ -61,8 +58,8 @@
%files
%defattr(644,root,root,755)
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man?/*
+%attr(755,root,root) %{_sbindir}/gnbd_*
+%{_mandir}/man8/gnbd*.8*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -70,6 +67,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.14 2011/05/22 16:45:35 qboosh
+- updated to 2.03.10 (the last 2nd generation cluster release)
+
Revision 1.13 2007/04/02 18:27:28 zbyniu
- BR s/ccs-devel/cman-devel/
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gnbd/gnbd.spec?r1=1.13&r2=1.14&f=u
More information about the pld-cvs-commit
mailing list