Creates libceph1-java package that contains the libcephfs Java wrappers .jar file and the JNI library. Signed-off-by: Noah Watkins <noahwatkins@xxxxxxxxx> --- debian/.gitignore | 1 + debian/control | 8 +++++++- debian/libceph1-java.install | 2 ++ debian/rules | 1 + 4 files changed, 11 insertions(+), 1 deletions(-) create mode 100644 debian/libceph1-java.install diff --git a/debian/.gitignore b/debian/.gitignore index 1409714..323c423 100644 --- a/debian/.gitignore +++ b/debian/.gitignore @@ -28,4 +28,5 @@ /gceph /obsync /python-ceph +/libceph1-java /tmp diff --git a/debian/control b/debian/control index 946b0c3..1cec88e 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) <gcs@xxxxxxxxx> Uploaders: Sage Weil <sage@xxxxxxxxxxxx> -Build-Depends: debhelper (>= 6.0.7~), autotools-dev, autoconf, automake, libfuse-dev, libboost-dev (>= 1.34), libedit-dev, libcrypto++-dev, libtool, libexpat1-dev, libfcgi-dev, libatomic-ops-dev, libgoogle-perftools-dev [i386 amd64], pkg-config, libgtkmm-2.4-dev, python, python-support, libcurl4-gnutls-dev, libkeyutils-dev, uuid-dev, libaio-dev +Build-Depends: debhelper (>= 6.0.7~), autotools-dev, autoconf, automake, libfuse-dev, libboost-dev (>= 1.34), libedit-dev, libcrypto++-dev, libtool, libexpat1-dev, libfcgi-dev, libatomic-ops-dev, libgoogle-perftools-dev [i386 amd64], pkg-config, libgtkmm-2.4-dev, python, python-support, libcurl4-gnutls-dev, libkeyutils-dev, uuid-dev, libaio-dev, javahelper, default-jdk Standards-Version: 3.9.3 Package: ceph @@ -326,3 +326,9 @@ 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 0000000..5c14ed0 --- /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 e1f6e62..65ab30e 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 +extraopts += --enable-cephfs-java ifeq ($(DEB_HOST_ARCH), armel) # armel supports ARMv4t or above instructions sets. -- 1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html