[joptsimple] 01/18: Initial Debian packaging

Markus Koschany apo-guest at moszumanska.debian.org
Fri Dec 6 09:34:41 UTC 2013


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

apo-guest pushed a commit to branch master
in repository joptsimple.

commit 40cc129d1e7726bef7ca21f22048fb5290d46d1f
Author: Samuel Thibault <samuel.thibault at ens-lyon.org>
Date:   Wed Sep 2 02:53:03 2009 +0200

    Initial Debian packaging
---
 debian/changelog                   |  5 ++++
 debian/compat                      |  1 +
 debian/control                     | 40 +++++++++++++++++++++++++++++++
 debian/copyright                   | 39 +++++++++++++++++++++++++++++++
 debian/libjoptsimple-java-doc.docs |  1 +
 debian/libjoptsimple-java.install  |  1 +
 debian/rules                       | 48 ++++++++++++++++++++++++++++++++++++++
 7 files changed, 135 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..84a5fa8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+joptsimple (3.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #544637)
+
+ -- Samuel Thibault <sthibault at debian.org>  Tue, 01 Sep 2009 15:53:03 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..fd7ba7a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,40 @@
+Source: joptsimple
+Priority: extra
+Maintainer: Samuel Thibault <sthibault at debian.org>
+Build-Depends: debhelper (>= 7)
+Build-Depends-Indep: default-jdk
+Standards-Version: 3.8.3
+Section: java
+Homepage: http://jopt-simple.sourceforge.net/
+Vcs-Browser: http://git.debian.org/?p=collab-maint/joptsimple.git;a=summary
+Vcs-Git: git://git.debian.org/git/collab-maint/joptsimple.git
+
+Package: libjoptsimple-java
+Section: java
+Architecture: all
+Depends: ${misc:Depends}, default-jre | java2-runtime
+Description: Command line parsing java library
+ JOpt Simple is a Java library for parsing command line options, such as
+ those you might pass to an invocation of javac.
+ .
+ In the interest of striving for simplicity, as closely as possible JOpt
+ Simple attempts to honor the command line option syntaxes of POSIX
+ getopt() and GNU getopt_long() . It also aims to make option parser
+ configuration and retrieval of options and their arguments simple and
+ expressive, without being overly clever.
+
+Package: libjoptsimple-java-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: Command line parsing java library - Documentation
+ JOpt Simple is a Java library for parsing command line options, such as
+ those you might pass to an invocation of javac.
+ .
+ In the interest of striving for simplicity, as closely as possible JOpt
+ Simple attempts to honor the command line option syntaxes of POSIX
+ getopt() and GNU getopt_long() . It also aims to make option parser
+ configuration and retrieval of options and their arguments simple and
+ expressive, without being overly clever.
+ .
+ This package contains the javadoc documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d1dbb53
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,39 @@
+This package was debianized by Samuel Thibault <sthibault at debian.org> on
+Tue, 01 Sep 2009 15:53:03 +0200.
+
+It was downloaded from http://jopt-simple.sourceforge.net/
+
+Upstream Author:
+
+
+Copyright:
+
+    Copyright (c) 2004-2009 Paul R. Holser, Jr.
+
+License:
+
+    Permission is hereby granted, free of charge, to any person obtaining
+    a copy of this software and associated documentation files (the
+    "Software"), to deal in the Software without restriction, including
+    without limitation the rights to use, copy, modify, merge, publish,
+    distribute, sublicense, and/or sell copies of the Software, and to
+    permit persons to whom the Software is furnished to do so, subject to
+    the following conditions:
+
+    The above copyright notice and this permission notice shall be
+    included in all copies or substantial portions of the Software.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+    LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+    OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+    WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+The Debian packaging is:
+
+    Copyright (C) 2009 Samuel Thibault <sthibault at debian.org>
+
+and is licensed under the GPL version 3, 
+see `/usr/share/common-licenses/GPL-3'.
diff --git a/debian/libjoptsimple-java-doc.docs b/debian/libjoptsimple-java-doc.docs
new file mode 100644
index 0000000..eedd89b
--- /dev/null
+++ b/debian/libjoptsimple-java-doc.docs
@@ -0,0 +1 @@
+api
diff --git a/debian/libjoptsimple-java.install b/debian/libjoptsimple-java.install
new file mode 100644
index 0000000..682da3b
--- /dev/null
+++ b/debian/libjoptsimple-java.install
@@ -0,0 +1 @@
+joptsimple-*.jar /usr/share/java
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..da46734
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,48 @@
+#!/usr/bin/make -f
+
+JAVAC=javac
+JAVADOC=javadoc
+JAR=jar
+
+JAVACLASSES=/usr/share/java
+
+JAVAFLAGS=
+
+JARFILE=joptsimple-3.1.jar
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	$(JAVAC) $(JAVAFLAGS) `find . -name \*.java`
+	$(JAVADOC) -d api joptsimple
+	$(JAR) c `find . -name \*.class -o -name \*.xml -o -name \*.MF` > $(JARFILE)
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	rm -f `find . -name \*.class`
+	rm -f $(JARFILE)
+	rm -fr api
+
+	dh_clean
+
+binary-indep: install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_install
+	dh_link /usr/share/java/$(JARFILE) /usr/share/java/joptsimple.jar
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install

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



More information about the pkg-java-commits mailing list