]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
debian: add libcephfs-java package
authorNoah Watkins <noahwatkins@gmail.com>
Sat, 1 Sep 2012 17:26:41 +0000 (10:26 -0700)
committerNoah Watkins <noahwatkins@gmail.com>
Fri, 19 Oct 2012 16:59:10 +0000 (09:59 -0700)
Creates libceph1-java package that contains
the libcephfs Java wrappers .jar file and the
JNI library.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
debian/.gitignore
debian/control
debian/libceph1-java.install [new file with mode: 0644]
debian/rules

index ff171b65dd9831c2be7236e5788359fa1d3c8c78..c5b73ce1a4fa13421d98a860df96293971f690be 100644 (file)
@@ -30,4 +30,5 @@
 /rest-bench-dbg
 /rest-bench
 /python-ceph
+/libceph1-java
 /tmp
index f711579b42c13e17ffd5eb9bc770bbe87559132c..2c44bd45c94d271e06cd696d43fdb8accae2f0f8 100644 (file)
@@ -6,7 +6,7 @@ Vcs-Git: git://github.com/ceph/ceph.git
 Vcs-Browser: https://github.com/ceph/ceph
 Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
 Uploaders: Sage Weil <sage@newdream.net>
-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 (file)
index 0000000..98133e4
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/libcephfs_jni.so* usr/lib/jni
+usr/lib/libcephfs.jar usr/share/java
index d9ee658035d6dab8cfdb7dfcfb1f5e38013b726f..b848ddc8bad61f8dfe25103e4e51ca3999e38203 100755 (executable)
@@ -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.