[libcommons-jxpath-java] 29/29: Add OSGi metadata to JAR manifest
Jakub Adam
xhaakon-guest at moszumanska.debian.org
Sun Aug 2 23:26:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
xhaakon-guest pushed a commit to branch master
in repository libcommons-jxpath-java.
commit 7dd59f885a16f27c06b5f7e1773f20fd359df565
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date: Sun Aug 2 23:56:44 2015 +0200
Add OSGi metadata to JAR manifest
---
debian/changelog | 1 +
debian/commons-jxpath.bnd | 6 ++++++
debian/control | 3 ++-
debian/rules | 4 ++++
4 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index ba0e668..edf6afe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ libcommons-jxpath-java (1.3-7) UNRELEASED; urgency=medium
* Add Jakub Adam to Uploaders
* Bump Standards-Version to 3.9.6
* Use xz for orig tarball compression
+ * Add OSGi metadata to JAR manifest
-- Jakub Adam <jakub.adam at ktknet.cz> Sun, 02 Aug 2015 23:12:33 +0200
diff --git a/debian/commons-jxpath.bnd b/debian/commons-jxpath.bnd
new file mode 100644
index 0000000..271f498
--- /dev/null
+++ b/debian/commons-jxpath.bnd
@@ -0,0 +1,6 @@
+Bundle-Name: Java XPath interpreter
+Bundle-SymbolicName: org.apache.commons.jxpath
+Bundle-Version: 1.2.0
+Bundle-Vendor: Debian.org
+Import-Package: !javax.servlet.jsp, !org.apache.commons.beanutils, !org.jdom*, *
+Export-Package: *
diff --git a/debian/control b/debian/control
index 3f7b451..99d9948 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,8 @@ Build-Depends: ant,
libcommons-logging-java,
libjdom1-java,
libservlet3.0-java,
- maven-repo-helper
+ maven-repo-helper,
+ bnd1.50
Standards-Version: 3.9.6
Vcs-Git: git://anonscm.debian.org/pkg-java/libcommons-jxpath-java.git
Vcs-Browser: http://anonscm.debian.org/cgit/pkg-java/libcommons-jxpath-java.git
diff --git a/debian/rules b/debian/rules
index b474150..8569835 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,5 +16,9 @@ DEB_ANT_CLEAN_TARGET := clean
binary-install/libcommons-jxpath-java::
mh_install -plibcommons-jxpath-java
+JAR=debian/libcommons-jxpath-java/usr/share/java/commons-jxpath-*.jar
+common-binary-post-install-indep::
+ bnd-1.50 wrap -properties debian/commons-jxpath.bnd -output $(JAR) $(JAR)
+
clean::
mh_clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libcommons-jxpath-java.git
More information about the pkg-java-commits
mailing list