[libcommons-compress-java] 18/38: Generate OSGi metadata into jar manifest

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon May 19 15:47:18 UTC 2014


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

ebourg-guest pushed a commit to branch master
in repository libcommons-compress-java.

commit fc2986e419c0f2bb5d94bfeef5e76f886da68bea
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Sat Oct 27 16:01:25 2012 +0000

    Generate OSGi metadata into jar manifest
---
 debian/changelog            | 1 +
 debian/commons-compress.bnd | 5 +++++
 debian/control              | 1 +
 debian/rules                | 1 +
 4 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 665173b..9bff03d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ libcommons-compress-java (1.4.1-3) UNRELEASED; urgency=low
   * Add xz.jar to manifest Class-Path.
     - fixes lintian-reported warning missing-classpath.
   * Ensure backwards compatible bytecode is built (Closes: #688118).
+  * Generate OSGi metadata into jar manifest.
 
  -- Jakub Adam <jakub.adam at ktknet.cz>  Sat, 27 Oct 2012 15:57:18 +0200
 
diff --git a/debian/commons-compress.bnd b/debian/commons-compress.bnd
new file mode 100644
index 0000000..993960e
--- /dev/null
+++ b/debian/commons-compress.bnd
@@ -0,0 +1,5 @@
+Bundle-Name: Apache Commons Compress library
+Bundle-SymbolicName: org.apache.commons.compress
+Bundle-Version: 1.0.0
+Bundle-Vendor: Debian.org
+Import-Package: org.tukaani.xz;resolution:=optional, *
diff --git a/debian/control b/debian/control
index 428e17c..b966a23 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends: ant,
                ant-optional,
                cdbs,
                debhelper (>= 5),
+               bnd,
                default-jdk,
                junit4,
                maven-repo-helper,
diff --git a/debian/rules b/debian/rules
index 5656d13..6866aeb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,7 @@ DEB_JARS          := ant-junit junit4 xz
 PACKAGE           := commons-compress
 
 install/lib$(PACKAGE)-java:: 
+	bnd wrap -properties debian/$(PACKAGE).bnd -output $(PACKAGE).jar $(PACKAGE).jar
 	mh_installpoms -plib$(PACKAGE)-java
 	mh_installjar -plib$(PACKAGE)-java -l pom.xml $(PACKAGE).jar
 

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



More information about the pkg-java-commits mailing list