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

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

commit 41f9199198cbe518fbd648f1121b52831646dd7f
Author: Jakub Adam <[email protected]>
Date:   Mon Aug 3 10:25:43 2015 +0200

    Add OSGi metadata to JAR manifest
---
 debian/changelog | 1 +
 debian/control   | 2 +-
 debian/rules     | 1 +
 debian/sac.bnd   | 6 ++++++
 4 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 7b36360..5ea5c81 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ sacjava (1.3+dfsg-1) UNRELEASED; urgency=medium
   * Moved the package to Git
   * Add Jakub Adam to Uploaders
   * Use xz for upstream tarball compression
+  * Add OSGi metadata to JAR manifest
 
  -- Jakub Adam <[email protected]>  Mon, 03 Aug 2015 09:59:06 +0200
 
diff --git a/debian/control b/debian/control
index cfdd809..0a3c10d 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Priority: optional
 Maintainer: Debian Java Maintainers 
<[email protected]>
 Uploaders: Rene Engelhard <[email protected]>, Jakub Adam <[email protected]>
 Build-Depends: debhelper (>= 8), default-jdk, dpkg-dev (>= 1.16.2),
-  gcj-native-helper, maven-repo-helper
+  gcj-native-helper, maven-repo-helper, bnd1.50
 Standards-Version: 3.9.2
 Section: java
 Vcs-Git: git://anonscm.debian.org/pkg-java/sacjava.git
diff --git a/debian/rules b/debian/rules
index ded1f4c..7128cab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,6 +23,7 @@ build-stamp: configure-stamp
 
        /usr/lib/jvm/default-java/bin/javac -source 1.5 -target 1.5 `find org 
-name "*.java" | xargs`
        /usr/lib/jvm/default-java/bin/jar cvf sac-1.3.jar `find org -name 
"*.class" | xargs`
+       bnd-1.50 wrap -properties debian/sac.bnd -output sac-1.3.jar sac-1.3.jar
 
        touch $@
 
diff --git a/debian/sac.bnd b/debian/sac.bnd
new file mode 100644
index 0000000..24219a2
--- /dev/null
+++ b/debian/sac.bnd
@@ -0,0 +1,6 @@
+Bundle-Name: Simple API for CSS
+Bundle-SymbolicName: org.w3c.css.sac
+Bundle-Version: 1.3.0
+Bundle-Vendor: Debian.org
+Import-Package: *
+Export-Package: *

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

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to