[med-svn] [liboptions-java] 02/05: Initial packaging

Andreas Tille tille at debian.org
Sun Nov 29 08:31:45 UTC 2015


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

tille pushed a commit to branch master
in repository liboptions-java.

commit 407264186bf061b0fc220b98a9833d55b63a1e7e
Author: Andreas Tille <tille at debian.org>
Date:   Tue Jan 17 14:25:47 2012 +0100

    Initial packaging
---
 debian/changelog                   |  5 +++++
 debian/compat                      |  1 +
 debian/control                     | 41 ++++++++++++++++++++++++++++++++++++++
 debian/copyright                   | 15 ++++++++++++++
 debian/liboptions-java-doc.javadoc |  1 +
 debian/liboptions-java.jlibs       |  1 +
 debian/manifest                    |  2 ++
 debian/patches/build_xml.patch     |  8 ++++++++
 debian/patches/series              |  1 +
 debian/rules                       |  6 ++++++
 debian/source/format               |  1 +
 11 files changed, 82 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..fd1ef7a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+liboptions-java (0.0.20120113-1) unstable; urgency=low
+
+  * Initial Debian Upload (Closes: #???)
+
+ -- Andreas Tille <tille at debian.org>  Mon, 16 Jan 2012 13:13:13 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..621a635
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,41 @@
+Source: liboptions-java
+Priority: optional
+Section: java
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+DM-Upload-Allowed: yes
+Uploaders: Andreas Tille <tille at debian.org>
+Build-Depends: debhelper (>= 8), javahelper (>=0.25), default-jdk, ant, ant-optional, libjdom1-java, junit
+Build-Depends-Indep: default-jdk-doc
+Standards-Version: 3.9.2
+X-Homepage: Obtained source in private mail
+Vcs-Browser: http://git.debian.org/?p=debian-med/liboptions-java.git
+Vcs-Git: git://git.debian.org/git/debian-med/liboptions-java.git
+
+Package: liboptions-java
+Architecture: all
+Depends: ${java:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Recommends: ${java:Recommends}
+Description: command line option parsing library for Java
+ Generic Java API to
+  * Check whether the syntax used is valid and supported
+  * Retrieve the actual data required for the application
+ The Options class implements a generic approach to easily handle the
+ most complex situations. The class allows for a simple definition of the
+ required options and data arguments, and provides thorough syntax checks
+ and easy access to the results of these checks.
+
+Package: liboptions-java-doc
+Section: doc
+Architecture: all
+Depends: ${java:Depends}, ${misc:Depends}
+Recommends: ${java:Recommends}
+Description: command line option parsing library for Java (documentation)
+ Generic Java API to
+  * Check whether the syntax used is valid and supported
+  * Retrieve the actual data required for the application
+ The Options class implements a generic approach to easily handle the
+ most complex situations. The class allows for a simple definition of the
+ required options and data arguments, and provides thorough syntax checks
+ and easy access to the results of these checks.
+ .
+ This package provides the documentation for the library
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..fb41e49
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,15 @@
+Format: http://dep.debian.net/deps/dep5/
+Upstream-Name: Options
+Upstream-Contact: Dr. Matthias Laux <matthias.laux at icw.de>
+Source: Send via e-mail
+
+Files: *
+Copyright: © 2004-2012 Dr. Matthias Laux <matthias.laux at icw.de>
+License: Apache License Version 2.0
+ On Debian systems you can find the Apache License Version 2.0
+ at /usr/share/common-licenses Apache-2.0.
+
+Files: debian/*
+Copyright: © 2012 Andreas Tille
+License: Apache License Version 2.0
+ Same as options itself
diff --git a/debian/liboptions-java-doc.javadoc b/debian/liboptions-java-doc.javadoc
new file mode 100644
index 0000000..c1bb301
--- /dev/null
+++ b/debian/liboptions-java-doc.javadoc
@@ -0,0 +1 @@
+dist/javadoc /usr/share/doc/liboptions-java/api
diff --git a/debian/liboptions-java.jlibs b/debian/liboptions-java.jlibs
new file mode 100644
index 0000000..e4b9236
--- /dev/null
+++ b/debian/liboptions-java.jlibs
@@ -0,0 +1 @@
+dist/options.jar
diff --git a/debian/manifest b/debian/manifest
new file mode 100644
index 0000000..133e6c8
--- /dev/null
+++ b/debian/manifest
@@ -0,0 +1,2 @@
+/usr/share/java/options.jar:
+ Class-Path: /usr/share/java/jdom1.jar
diff --git a/debian/patches/build_xml.patch b/debian/patches/build_xml.patch
new file mode 100644
index 0000000..4f96b4b
--- /dev/null
+++ b/debian/patches/build_xml.patch
@@ -0,0 +1,8 @@
+--- options.orig/build.xml
++++ options/build.xml
+@@ -71,4 +71,5 @@
+     nbproject/build-impl.xml file. 
+ 
+     -->
++	<property name="javac.classpath" value="/usr/share/java/jdom1.jar"/>
+ </project>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..46a7f4e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+build_xml.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..73f482c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+JAVA_HOME=/usr/lib/jvm/default-java
+
+%:
+	dh $@ --with javahelper
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

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



More information about the debian-med-commit mailing list