[bnd] 03/05: [bnd]

Miguel Landaeta nomadium at moszumanska.debian.org
Tue Mar 10 18:12:15 UTC 2015


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

nomadium pushed a commit to annotated tag debian/0.0.337.2-3
in repository bnd.

commit e4ec0702fbea3daaca0244d83ce8c7f8c59a3c81
Author: Damien Raude-Morvan <drazzib at debian.org>
Date:   Tue Aug 4 20:49:36 2009 +0000

    [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
---
 debian/TODO      |  1 -
 debian/bnd.sh    | 14 ++++++++++++++
 debian/changelog | 11 +++++++++++
 debian/control   |  5 ++---
 debian/rules     |  2 ++
 debian/watch     |  2 ++
 6 files changed, 31 insertions(+), 4 deletions(-)

diff --git a/debian/TODO b/debian/TODO
index c8a53dc..ba8bf2f 100644
--- a/debian/TODO
+++ b/debian/TODO
@@ -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)
diff --git a/debian/bnd.sh b/debian/bnd.sh
new file mode 100644
index 0000000..7859163
--- /dev/null
+++ b/debian/bnd.sh
@@ -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 "$@"
+
diff --git a/debian/changelog b/debian/changelog
index 873813e..ab789ab 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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
diff --git a/debian/control b/debian/control
index 286db4b..0560b8e 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: bnd
 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 @@ Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/bnd
 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:
diff --git a/debian/rules b/debian/rules
index 73c9278..5fb4c29 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,8 @@ DEB_ANT_ARGS         := -Dpackage=$(PACKAGE) -Dbin.package=$(PACKAGE) -Dversion=
 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
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..ecc2ab3
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://www.aqute.biz/repo/biz/aQute/bnd/([\d\.]+)/bnd-([\d\.]+).jar debian uupdate

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



More information about the pkg-java-commits mailing list