[jnr-posix] 05/12: Add OSGi metadata into jar manifest

Tim Potter tpot-guest at moszumanska.debian.org
Tue Apr 7 04:07:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

tpot-guest pushed a commit to branch master
in repository jnr-posix.

commit 2bb1f65f8e9c56370778f6d56133cb118438adb8
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Fri Jan 18 18:55:26 2013 +0100

    Add OSGi metadata into jar manifest
---
 debian/changelog     | 6 ++++++
 debian/control       | 3 ++-
 debian/jnr-posix.bnd | 5 +++++
 debian/rules         | 4 ++++
 4 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index bb0f136..05204c0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libjnr-posix-java (1.1.8-2) UNRELEASED; urgency=low
+
+  * Add OSGi metadata into jar manifest.
+
+ -- Jakub Adam <jakub.adam at ktknet.cz>  Fri, 18 Jan 2013 18:54:56 +0100
+
 libjnr-posix-java (1.1.8-1) experimental; urgency=low
 
   * Transfert maintainance to pkg-java team.
diff --git a/debian/control b/debian/control
index 7a89702..5a6ac54 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,8 @@ Build-Depends: debhelper (>> 7.0.0),
                libmaven-clean-plugin-java,
                maven-debian-helper,
                maven2
-Build-Depends-Indep: default-jdk,
+Build-Depends-Indep: bnd,
+                     default-jdk,
                      libconstantine-java (>= 0.7-3),
                      libjaffl-java (>= 0.5.9),
                      libmaven-compiler-plugin-java,
diff --git a/debian/jnr-posix.bnd b/debian/jnr-posix.bnd
new file mode 100644
index 0000000..bc2a94c
--- /dev/null
+++ b/debian/jnr-posix.bnd
@@ -0,0 +1,5 @@
+Bundle-Name: basic POSIX-like functions for Java
+Bundle-SymbolicName: org.jruby.ext.posix
+Bundle-Version: 1.0.0
+Bundle-Vendor: Debian.org
+Import-Package: *
diff --git a/debian/rules b/debian/rules
index a39b7b4..fb2cb8a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,10 @@ build-stamp:
 
 	$(MVN) verify
 	$(MVN) javadoc:javadoc
+
+	# Generate OSGi metadata
+	bnd wrap -properties debian/jnr-posix.bnd -output target/jnr-posix-*.jar target/jnr-posix-*.jar
+
 	touch build-stamp
 
 clean:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jnr-posix.git



More information about the pkg-java-commits mailing list