[libslf4j-java] 01/02: Add OSGi metadata

Jakub Adam xhaakon-guest at moszumanska.debian.org
Sat May 2 17:55:14 UTC 2015


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

xhaakon-guest pushed a commit to branch master
in repository libslf4j-java.

commit 376834e283efb4f0f0f84169e8da660a3b1f787d
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Sat May 2 18:55:11 2015 +0200

    Add OSGi metadata
---
 debian/changelog | 6 ++++++
 debian/control   | 1 +
 debian/manifest  | 7 +++++++
 debian/rules     | 1 +
 4 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1cf1fa7..d98323a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libslf4j-java (1.7.12-2) UNRELEASED; urgency=medium
+
+  * Add OSGi metadata to jar manifests.
+
+ -- Jakub Adam <jakub.adam at ktknet.cz>  Sat, 02 May 2015 18:55:56 +0200
+
 libslf4j-java (1.7.12-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/debian/control b/debian/control
index 31b51c9..f4dd441 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Build-Depends: ant,
                cdbs,
                debhelper (>= 9),
                default-jdk,
+               javahelper,
                junit4,
                libcommons-logging-java,
                liblog4j1.2-java,
diff --git a/debian/manifest b/debian/manifest
new file mode 100644
index 0000000..2335a54
--- /dev/null
+++ b/debian/manifest
@@ -0,0 +1,7 @@
+usr/share/java/slf4j-api.jar:
+ Bundle-ManifestVersion: 2
+ Bundle-Name: Simple Logging Facade for Java API
+ Bundle-Vendor: www.slf4j.org
+ Bundle-Version: 1.7.12
+ Bundle-SymbolicName: org.slf4j
+ Export-Package: org.slf4j;version="1.7.12",org.slf4j.helpers;version="1.7.12",org.slf4j.spi;version="1.7.12",org.slf4j.impl;version="1.7.12"
diff --git a/debian/rules b/debian/rules
index fc49c09..2f9ea03 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,7 @@ binary-post-install/$(PACKAGE)::
 	set -e; for MODULE in $(MODULES); do \
 	  mh_installjar -p$(PACKAGE) -l $$MODULE/pom.xml $$MODULE.jar; \
 	done
+	jh_manifest
 
 clean::
 	mh_clean

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



More information about the pkg-java-commits mailing list