LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File glusterfs.spec of Package glusterfs (Project home:pzb)

#
# spec file for package glusterfs (Version 1.3.10)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Summary: 	GNU Cluster File System
Name: 		glusterfs
Version: 	1.3.10
Release: 	0
License: 	GPLv3 or later
Group: 		System Environment/Base
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires: 	fuse-devel
BuildRequires: 	libibverbs-devel
BuildRequires: 	bison flex libtool
Source0:       	http://ftp.zresearch.com/pub/gluster/glusterfs/1.3/%{name}-%{version}.tar.gz
Patch0:		glusterfs-1.3.10-buildfix.patch
URL:		http://www.gluster.org/

%description
GlusterFS is a clustered file-system capable of scaling to several
peta-bytes. It aggregates various storage bricks over Infiniband RDMA
or TCP/IP interconnect into one large parallel network file
system. GlusterFS is one of the most sophisticated file system in
terms of features and extensibility.  It borrows a powerful concept
called Translators from GNU Hurd kernel. Much of the code in GlusterFS
is in userspace and easily manageable.

%package devel
Summary: GlusterFS Development Libraries
Group: Development/Libraries
Requires: %{name} = %{version}

%description devel
GlusterFS is a clustered file-system capable of scaling to several
peta-bytes. It aggregates various storage bricks over Infiniband RDMA
or TCP/IP interconnect into one large parallel network file
system. GlusterFS is one of the most sophisticated file system in
terms of features and extensibility.  It borrows a powerful concept
called Translators from GNU Hurd kernel. Much of the code in GlusterFS
is in userspace and easily manageable.

This package provides the development libraries.

%package ib
Summary: GlusterFS Infiniband Support
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}

%description ib
Infiniband transports for GlusterFS

%package mount
Summary: FUSE support for GlusterFS
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}

%description mount
Allows mounting GlusterFS filesystem

%prep
%setup -q
%patch0 -p1


%build
%configure
%{__make} %{?_smp_mflags}


%install
%{makeinstall}
%{__mkdir_p} %{buildroot}%{_includedir}/%{name}
%{__cp} libglusterfs/src/*.h %{buildroot}%{_includedir}/%{name}
%{__mkdir_p} %{buildroot}%{_localstatedir}/log/%{name}

%clean
%{__rm} -rf %{buildroot} 

%post -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
%{_sysconfdir}/*
%{_libdir}/%{name}
%exclude %{_libdir}/%{name}/%{version}/transport/ib*
%exclude %{_libdir}/%{name}/%{version}/xlator/mount
%{_libdir}/*.so.*
%{_sbindir}/*
%{_mandir}/*/*
%{_localstatedir}/log/%{name}
%doc /usr/share/doc/glusterfs/examples

%files devel
%defattr(-,root,root)
%{_includedir}/%{name}
%{_libdir}/*.*a
%{_libdir}/*.so

%files ib
%defattr(-,root,root)
%{_libdir}/%{name}/%{version}/transport/ib*

%files mount
%defattr(-,root,root)
/sbin/*
%{_libdir}/%{name}/%{version}/xlator/mount


%changelog
* Mon Aug  4 2008 pzb@novell.com
- Initial package