SPECS: glusterfs.spec - package examples - more versioned BRs, ibv...

qboosh qboosh at pld-linux.org
Sat Jan 12 23:11:38 CET 2008


Author: qboosh                       Date: Sat Jan 12 22:11:38 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package examples
- more versioned BRs, ibverbs bcond
- GPL v3+ now

---- Files affected:
SPECS:
   glusterfs.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/glusterfs.spec
diff -u SPECS/glusterfs.spec:1.7 SPECS/glusterfs.spec:1.8
--- SPECS/glusterfs.spec:1.7	Sat Jan 12 22:50:53 2008
+++ SPECS/glusterfs.spec	Sat Jan 12 23:11:33 2008
@@ -1,11 +1,14 @@
 # $Revision$, $Date$
-# TODO: package docs
+#
+# Conditional build:
+%bcond_with	ibverbs		# ib-verbs transport
+#
 Summary:	Clustered File Storage that can scale to peta bytes
 Summary(pl.UTF-8):	Klastrowy system przechowywania plików skalujący się do petabajtów
 Name:		glusterfs
 Version:	1.3.7
 Release:	1
-License:	GPL v2
+License:	GPL v3+
 Group:		Applications/System
 Source0:	http://ftp.zresearch.com/pub/gluster/glusterfs/1.3/%{name}-%{version}.tar.gz
 # Source0-md5:	ede5fe1e17e7c333536400e138a084f1
@@ -13,7 +16,8 @@
 URL:		http://gluster.org/glusterfs.php
 BuildRequires:	bison
 BuildRequires:	flex
-BuildRequires:	libfuse-devel
+BuildRequires:	libfuse-devel >= 2.6
+%{?with_ibverbs:BuildRequires:	libibverbs-devel >= 1.0.4}
 BuildRequires:	rpmbuild(macros) >= 1.228
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -83,6 +87,7 @@
 Summary(pl.UTF-8):	Klient GlusterFS
 Group:		Applications/System
 Requires:	%{name}-common = %{version}-%{release}
+Requires:	libfuse >= 2.6
 
 %description client
 This package provides the FUSE based GlusterFS client.
@@ -97,11 +102,10 @@
 Requires:	%{name}-common = %{version}-%{release}
 
 %description devel
-This package provides the development header files for GlusterFS
-library.
+This package provides the development files for GlusterFS library.
 
 %description devel -l pl.UTF-8
-Ten pakiet udostępnia pliki nagłówkowe biblioteki GlusterFS-a.
+Ten pakiet udostępnia pliki programistyczne biblioteki GlusterFS-a.
 
 %package static
 Summary:	Static GlusterFS library
@@ -118,9 +122,11 @@
 %prep
 %setup -q
 
+cp -l doc/examples/README README.examples
+
 %build
 %configure \
-	--disable-ibverbs
+	%{!?with_ibverbs:--disable-ibverbs}
 %{__make}
 
 %install
@@ -132,12 +138,14 @@
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/glusterfsd
 
+rm -r $RPM_BUILD_ROOT%{_docdir}/glusterfs/examples
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files common
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
+%doc AUTHORS ChangeLog COPYING INSTALL NEWS README README.examples doc/*.vol.sample doc/examples/*.vol
 %attr(755,root,root) %{_libdir}/libglusterfs.so.*
 %dir %{_libdir}/glusterfs
 %dir %{_libdir}/glusterfs/%{version}
@@ -166,7 +174,7 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libglusterfs.so
 %{_libdir}/libglusterfs.la
-##%{_includedir}/*.h
+#%{_includedir}/*.h
 
 %files static
 %defattr(644,root,root,755)
@@ -178,6 +186,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2008-01-12 22:11:33  qboosh
+- package examples
+- more versioned BRs, ibverbs bcond
+- GPL v3+ now
+
 Revision 1.7  2008-01-12 21:50:53  qboosh
 - pl for new packages
 - fixed init script
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/glusterfs.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list