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

apo pushed a commit to branch master
in repository libjcommon-java.

commit 8589779bbdb4e851a7a582f6153d01d13b65748f
Author: Jakub Adam <jakub.a...@ktknet.cz>
Date:   Sat Oct 13 20:37:29 2012 +0000
---
 debian/changelog   | 1 +
 debian/control     | 2 +-
 debian/jcommon.bnd | 5 +++++
 debian/rules       | 2 ++
 4 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b7c9712..827d155 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ libjcommon-java (1.0.16-3) UNRELEASED; urgency=low
 
   * Remove Michael Koch from Uploaders (Closes: #654075).
   * Add Jakub Adam to Uploaders.
+  * Generate OSGi metadata into jcommon.jar manifest.
 
  -- Jakub Adam <jakub.a...@ktknet.cz>  Sat, 13 Oct 2012 22:06:45 +0200
 
diff --git a/debian/control b/debian/control
index 638fa2a..df0827e 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Java Maintainers 
<pkg-java-maintain...@lists.alioth.debian.or
 Uploaders: Christian Bayle <ba...@debian.org>, Rene Engelhard 
<r...@debian.org>,
  Jakub Adam <jakub.a...@ktknet.cz>
 Build-Depends: debhelper (>= 5), cdbs, maven-repo-helper
-Build-Depends-Indep: default-jdk, ant, libservlet2.5-java, junit
+Build-Depends-Indep: default-jdk, ant, libservlet2.5-java, junit, bnd
 Standards-Version: 3.9.2
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjcommon-java
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjcommon-java/
diff --git a/debian/jcommon.bnd b/debian/jcommon.bnd
new file mode 100644
index 0000000..7f886d3
--- /dev/null
+++ b/debian/jcommon.bnd
@@ -0,0 +1,5 @@
+Bundle-Name: General Purpose library for Java
+Bundle-SymbolicName: org.jfree
+Bundle-Version: 1.0.0
+Bundle-Vendor: Debian.org
+Import-Package: *
diff --git a/debian/rules b/debian/rules
index fcb9f4b..c75fe1e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,8 @@ clean::
        rm -f lib/junit.jar lib/jcommon-$(API_VERSION)-junit.jar
 
 install/lib$(LIBRARY_PACKAGE)-java:: 
+       bnd wrap -properties debian/jcommon.bnd -output 
$(LIBRARY_PACKAGE)-$(API_VERSION).jar \
+               $(LIBRARY_PACKAGE)-$(API_VERSION).jar
        dh_install -plib$(LIBRARY_PACKAGE)-java 
$(LIBRARY_PACKAGE)-xml-$(API_VERSION).jar /usr/share/java/
        dh_link -plib$(LIBRARY_PACKAGE)-java 
/usr/share/java/$(LIBRARY_PACKAGE)-xml-$(API_VERSION).jar 
/usr/share/java/$(LIBRARY_PACKAGE)-xml.jar
        mh_installpoms -plib$(LIBRARY_PACKAGE)-java

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

_______________________________________________
pkg-java-commits mailing list
pkg-java-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to