[pkg-java] r9621 - trunk/bnd/debian

Damien Raude-Morvan drazzib-guest at alioth.debian.org
Tue Aug 4 20:49:37 UTC 2009


Author: drazzib-guest
Date: 2009-08-04 20:49:36 +0000 (Tue, 04 Aug 2009)
New Revision: 9621

Added:
   trunk/bnd/debian/bnd.sh
   trunk/bnd/debian/watch
Modified:
   trunk/bnd/debian/TODO
   trunk/bnd/debian/changelog
   trunk/bnd/debian/control
   trunk/bnd/debian/rules
Log:
[bnd]

 * Add myself as Uploaders
 * Install a "bnd" shell script to execute BND command line interface
   - Add debian/bnd.sh script
   - Add Depends on java-wrapper, used as helper for launch script
 * Add debian/watch
 * Remove duplicate Section declaration on first binary package




Modified: trunk/bnd/debian/TODO
===================================================================
--- trunk/bnd/debian/TODO	2009-08-04 20:33:46 UTC (rev 9620)
+++ trunk/bnd/debian/TODO	2009-08-04 20:49:36 UTC (rev 9621)
@@ -1,4 +1,3 @@
-* Command-line script for the bnd command
 * Man page
 * Build the full jar with the OSGi and Eclipse dependencies (runtime and eclipse sub-packages)
 * Clarify the licensing issues for some files (BndScanner.java and Filter.java)

Added: trunk/bnd/debian/bnd.sh
===================================================================
--- trunk/bnd/debian/bnd.sh	                        (rev 0)
+++ trunk/bnd/debian/bnd.sh	2009-08-04 20:49:36 UTC (rev 9621)
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# Include the wrappers utility script
+. /usr/lib/java-wrappers/java-wrappers.sh
+
+# We need a java5 runtime
+find_java_runtime java5
+
+# Define our classpath
+find_jars bnd
+
+# Run bnd
+run_java aQute.bnd.main.bnd $extra_args "$@"
+

Modified: trunk/bnd/debian/changelog
===================================================================
--- trunk/bnd/debian/changelog	2009-08-04 20:33:46 UTC (rev 9620)
+++ trunk/bnd/debian/changelog	2009-08-04 20:49:36 UTC (rev 9621)
@@ -1,3 +1,14 @@
+bnd (0.0.337.2-2) UNRELEASED; urgency=low
+
+  * Add myself as Uploaders
+  * Install a "bnd" shell script to execute BND command line interface
+    - Add debian/bnd.sh script
+    - Add Depends on java-wrapper, used as helper for launch script
+  * Add debian/watch
+  * Remove duplicate Section declaration on first binary package
+
+ -- Damien Raude-Morvan <drazzib at drazzib.com>  Tue, 04 Aug 2009 22:43:11 +0200
+
 bnd (0.0.337.2-1) experimental; urgency=low
 
   * Create a pseudo new upstream version to reflect the changes in the

Modified: trunk/bnd/debian/control
===================================================================
--- trunk/bnd/debian/control	2009-08-04 20:33:46 UTC (rev 9620)
+++ trunk/bnd/debian/control	2009-08-04 20:49:36 UTC (rev 9621)
@@ -2,7 +2,7 @@
 Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Ludovic Claude <ludovic.claude at laposte.net>
+Uploaders: Ludovic Claude <ludovic.claude at laposte.net>, Damien Raude-Morvan <drazzib at drazzib.com>
 Build-Depends: debhelper (>= 7), cdbs, default-jdk, ant-optional, maven-ant-helper
 Build-Depends-Indep: maven-repo-helper, junit
 Standards-Version: 3.8.2
@@ -11,9 +11,8 @@
 Homepage: http://www.aqute.biz/Code/Bnd
 
 Package: bnd
-Section: java
 Architecture: all
-Depends: ${misc:Depends}, default-jre-headless | java5-runtime-headless | openjdk-6-jdk
+Depends: ${misc:Depends}, default-jre-headless | java5-runtime-headless | openjdk-6-jdk, java-wrappers
 Description: A tool to create and diagnose OSGi R4 bundles
  The bnd tool helps you create and diagnose OSGi R4 bundles.
  The key functions are:

Modified: trunk/bnd/debian/rules
===================================================================
--- trunk/bnd/debian/rules	2009-08-04 20:33:46 UTC (rev 9620)
+++ trunk/bnd/debian/rules	2009-08-04 20:49:36 UTC (rev 9621)
@@ -14,6 +14,8 @@
 binary-post-install/$(PACKAGE)::
 	mh_installpoms -p$(PACKAGE)
 	mh_installjar -p$(PACKAGE) -l src/main/resources/pom.xml target/bnd.jar
+	dh_install -p$(PACKAGE) debian/bnd.sh /usr/bin/
+	mv $(DEB_DESTDIR)/usr/bin/bnd.sh $(DEB_DESTDIR)/usr/bin/bnd
 
 clean::
 	-rm -rf debian/tmp

Added: trunk/bnd/debian/watch
===================================================================
--- trunk/bnd/debian/watch	                        (rev 0)
+++ trunk/bnd/debian/watch	2009-08-04 20:49:36 UTC (rev 9621)
@@ -0,0 +1,2 @@
+version=3
+http://www.aqute.biz/repo/biz/aQute/bnd/([\d\.]+)/bnd-([\d\.]+).jar debian uupdate




More information about the pkg-java-commits mailing list