[jnr-constants] 01/01: Add OSGi metadata
Jakub Adam
xhaakon-guest at moszumanska.debian.org
Sun Jun 21 10:46:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
xhaakon-guest pushed a commit to branch master
in repository jnr-constants.
commit f6bfecfbcb28fac6a1d4b12e018bff6366473d63
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date: Sat Jun 20 13:02:35 2015 +0200
Add OSGi metadata
---
debian/changelog | 6 ++++++
debian/control | 3 ++-
debian/jnr-constants.bnd | 5 +++++
debian/rules | 7 +++++++
4 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 7ac7dbc..52f9aea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+jnr-constants (0.8.6-6) UNRELEASED; urgency=medium
+
+ * Add OSGi metadata into JAR manifest.
+
+ -- Jakub Adam <jakub.adam at ktknet.cz> Sat, 20 Jun 2015 13:43:14 +0200
+
jnr-constants (0.8.6-5) unstable; urgency=medium
* Create transitional package for libconstantine-java.
diff --git a/debian/control b/debian/control
index 65bdcef..71a424b 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,8 @@ Build-Depends:
maven-debian-helper,
javahelper,
junit4,
- libmaven-javadoc-plugin-java
+ libmaven-javadoc-plugin-java,
+ bnd
Standards-Version: 3.9.6
Homepage: http://github.com/jnr/jnr-constants/
Vcs-Git: git://anonscm.debian.org/pkg-java/jnr-constants.git
diff --git a/debian/jnr-constants.bnd b/debian/jnr-constants.bnd
new file mode 100644
index 0000000..0569048
--- /dev/null
+++ b/debian/jnr-constants.bnd
@@ -0,0 +1,5 @@
+Bundle-Name: platform constants for Java
+Bundle-SymbolicName: com.kenai.constantine
+Bundle-Version: 1.0.0
+Bundle-Vendor: Debian.org
+Import-Package: *
diff --git a/debian/rules b/debian/rules
index 1817089..d62ddba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,10 @@ export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
%:
dh $@ --buildsystem=maven --with javahelper
+
+JAR=debian/libjnr-constants-java/usr/share/java/jnr-constants.jar
+override_jh_manifest:
+ jh_manifest
+
+ # generate OSGi metadata
+ bnd wrap --properties debian/jnr-constants.bnd --output $(JAR) $(JAR)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jnr-constants.git
More information about the pkg-java-commits
mailing list