[SCM] Java Foreign Function Interface branch, master, updated. debian/1.0.2-9-3-gbd19773
Jakub Adam
jakub.adam at ktknet.cz
Fri Jan 18 20:00:32 UTC 2013
The following commit has been merged in the master branch:
commit 8f4fd63c30dac5494d3aa4c8bbe91a09c724a7af
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date: Fri Jan 18 17:46:05 2013 +0100
Add OSGi metadata to jffi.jar
diff --git a/debian/changelog b/debian/changelog
index 66d8894..d5ece17 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+jffi (1.0.2-10) UNRELEASED; urgency=low
+
+ * Add OSGi metadata into jffi.jar.
+
+ -- Jakub Adam <jakub.adam at ktknet.cz> Fri, 18 Jan 2013 17:45:09 +0100
+
jffi (1.0.2-9) unstable; urgency=low
* Team upload.
diff --git a/debian/control b/debian/control
index 511a8a8..0a63b1c 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Torsten Werner <twerner at debian.org>
Build-Depends: debhelper (>= 7), cdbs, maven-repo-helper, libffi-dev, pkg-config,
- ant-optional, default-jdk, junit4
+ ant-optional, default-jdk, junit4, bnd
Standards-Version: 3.9.3
Vcs-Git: git://git.debian.org/git/pkg-java/jffi.git
Vcs-Browser: http://git.debian.org/?p=pkg-java/jffi.git
diff --git a/debian/jffi.bnd b/debian/jffi.bnd
new file mode 100644
index 0000000..5a75135
--- /dev/null
+++ b/debian/jffi.bnd
@@ -0,0 +1,5 @@
+Bundle-Name: Java Foreign Function Interface
+Bundle-SymbolicName: com.kenai.jffi
+Bundle-Version: 1.0.0
+Bundle-Vendor: Debian.org
+Import-Package: sun.misc;resolution:=optional, *
diff --git a/debian/rules b/debian/rules
index a756f89..5ef34a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,10 @@ JAVA_HOME := /usr/lib/jvm/default-java
DEB_ANT_BUILD_TARGET := -Duse.system.libffi=1 jar test
DEB_JARS := ant-nodeps ant-junit junit4
+common-post-build-indep::
+ # Generate OSGi metadata for jffi.jar
+ bnd wrap -properties debian/jffi.bnd -output dist/jffi.jar dist/jffi.jar
+
install/libjffi-java::
mh_installpom -plibjffi-java pom.xml
$(JAVA_HOME)/bin/jar umf debian/manifest dist/jffi.jar
--
Java Foreign Function Interface
More information about the pkg-java-commits
mailing list