Skip to contentSkip to conversation

debian: add libcephfs-java package

PATCH In review Noah Watkins 1 participant 1 message Mar 3, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 debian: add libcephfs-java package

Creates libceph1-java package that contains
the libcephfs Java wrappers .jar file and the
JNI library.

---
 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
debian/.gitignore +1 -0
index 1409714..323c423 100644
@@ -28,4 +28,5 @@
 /gceph
 /obsync
 /python-ceph
+/libceph1-java
 /tmp
debian/control +7 -1
index 946b0c3..1cec88e 100644
@@ -6,7 +6,7 @@ Vcs-Git: git://github.com/ceph/ceph.git
 Vcs-Browser: https://github.com/ceph/ceph
 Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
 Uploaders: Sage Weil <[email protected]>
-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
debian/libceph1-java.install new file +2 -0
new file mode 100644
index 0000000..5c14ed0
@@ -0,0 +1,2 @@
+usr/lib/libcephfs_jni.so.* usr/lib/jni
+usr/lib/libcephfs.jar usr/share/java
debian/rules +1 -0
index e1f6e62..65ab30e 100755
@@ -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.
Signature · 1 line
1.7.5.4