From 9feb4afdd807a75376f2016776891abe9995c20c Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 1 Sep 2012 10:26:41 -0700 Subject: [PATCH] debian: add libcephfs-java package Creates libceph1-java package that contains the libcephfs Java wrappers .jar file and the JNI library. Signed-off-by: Noah Watkins --- debian/.gitignore | 1 + debian/control | 7 ++++++- debian/libceph1-java.install | 2 ++ debian/rules | 1 + 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 debian/libceph1-java.install diff --git a/debian/.gitignore b/debian/.gitignore index ff171b65dd983..c5b73ce1a4fa1 100644 --- a/debian/.gitignore +++ b/debian/.gitignore @@ -30,4 +30,5 @@ /rest-bench-dbg /rest-bench /python-ceph +/libceph1-java /tmp diff --git a/debian/control b/debian/control index f711579b42c13..2c44bd45c94d2 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,7 @@ Vcs-Git: git://github.com/ceph/ceph.git Vcs-Browser: https://github.com/ceph/ceph Maintainer: Laszlo Boszormenyi (GCS) Uploaders: Sage Weil -Build-Depends: debhelper (>= 6.0.7~), autotools-dev, autoconf, automake, libfuse-dev, libboost-dev (>= 1.34), libedit-dev, libnss3-dev, libtool, libexpat1-dev, libfcgi-dev, libatomic-ops-dev, libgoogle-perftools-dev [i386 amd64], pkg-config, libcurl4-gnutls-dev, libkeyutils-dev, uuid-dev, libaio-dev, python (>= 2.6.6-3~), libxml2-dev +Build-Depends: debhelper (>= 6.0.7~), autotools-dev, autoconf, automake, libfuse-dev, libboost-dev (>= 1.34), libedit-dev, libnss3-dev, libtool, libexpat1-dev, libfcgi-dev, libatomic-ops-dev, libgoogle-perftools-dev [i386 amd64], pkg-config, libcurl4-gnutls-dev, libkeyutils-dev, uuid-dev, libaio-dev, python (>= 2.6.6-3~), libxml2-dev, javahelper, default-jdk Standards-Version: 3.9.3 Package: ceph @@ -319,3 +319,8 @@ Description: Python libraries for the Ceph distributed filesystem This package contains Python libraries for interacting with Ceph's RADOS object storage, and RBD (RADOS block device). +Package: libceph1-java +Section: java +Architecture: linux-any +Depends: libcephfs1, ${shlibs:Depends}, ${java:Depends}, ${misc:Depends} +Description: Java libraries for the Ceph File System diff --git a/debian/libceph1-java.install b/debian/libceph1-java.install new file mode 100644 index 0000000000000..98133e42ce493 --- /dev/null +++ b/debian/libceph1-java.install @@ -0,0 +1,2 @@ +usr/lib/libcephfs_jni.so* usr/lib/jni +usr/lib/libcephfs.jar usr/share/java diff --git a/debian/rules b/debian/rules index d9ee658035d6d..b848ddc8bad61 100755 --- a/debian/rules +++ b/debian/rules @@ -21,6 +21,7 @@ endif export DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) extraopts += --with-ocf --with-rest-bench --with-nss +extraopts += --enable-cephfs-java ifeq ($(DEB_HOST_ARCH), armel) # armel supports ARMv4t or above instructions sets. -- 2.39.5