From: Jakub Bogusz Date: Sun, 15 Sep 2013 12:31:42 +0000 (+0200) Subject: - preliminary zfs bcond X-Git-Tag: auto/th/ceph-0.68-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fceph.git;a=commitdiff_plain;h=430360a9b658a1d41df59256e3b32b5faa23cf86;hp=5e39e43e0e70e5a0701026b65be1fdc9b1952e54;ds=sidebyside - preliminary zfs bcond --- diff --git a/ceph.spec b/ceph.spec index 132212c..e5f3aec 100644 --- a/ceph.spec +++ b/ceph.spec @@ -1,8 +1,8 @@ -# TODO: libzfs # # Conditional build: %bcond_with hadoop # Hadoop client (requires JNI) %bcond_without java # Java binding +%bcond_with zfs # ZFS support [needs zfs.pc, not provided yet(?)] # Summary: User space components of the Ceph file system Summary(pl.UTF-8): Działające w przestrzeni użytkownika elementy systemu plików Ceph @@ -45,6 +45,7 @@ BuildRequires: pkgconfig BuildRequires: python >= 1:2.4 BuildRequires: rpmbuild(macros) >= 1.228 BuildRequires: snappy-devel +%{?with_zfs:BuildRequires: zfs-devel} Requires(post,preun): /sbin/chkconfig Requires(preun): rc-scripts Requires: %{name}-libs = %{version}-%{release} @@ -204,6 +205,7 @@ Klient Hadoopa dla systemu plików Ceph. --sbindir=/sbin \ --with-cryptopp \ --with-hadoop%{!?with_hadoop:=no} \ + %{?with_zfs:--with-libzfs} \ --with-ocf \ --with-radosgw \ --with-system-leveldb \