debian/0000755000000000000000000000000012150731212007160 5ustar debian/libgetopt-java.poms0000644000000000000000000000004512130566474013005 0ustar debian/pom.xml --usj-name=gnu-getopt debian/watch0000644000000000000000000000026312130566474010230 0ustar version=3 opts="dversionmangle=s/\+dfsg//" \ http://www.urbanophile.com/arenn/hacking/download.html \ getopt/java-getopt-([\d\.]*)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) debian/rules0000755000000000000000000000345712130566474010267 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 DPATH := $(abspath $(dir $(MAKEFILE_LIST))) DTYPE := +dfsg PKG := libgetopt-java VER ?= $(shell dpkg-parsechangelog -l$(DPATH)/changelog | perl -ne 'print $$1 if m{Version:\s*(\d[\d\.]+)}') export LIBRARY=gnu-getopt.jar export JAVA_HOME=/usr/lib/jvm/default-java export JAVA=$(JAVA_HOME)/bin/java export JAR=$(JAVA_HOME)/bin/jar export JAVAC=$(JAVA_HOME)/bin/javac export CLASSPATH=$(JAVA_HOME)/jre/lib/rt.jar:. %: dh $@ --with javahelper --with jh_maven_repo_helper override_dh_auto_build: mkdir -p $(CURDIR)/classes ${JAVAC} -target 1.3 -source 1.3 -d classes -classpath ${CLASSPATH} gnu/getopt/*.java cp $(CURDIR)/gnu/getopt/*.properties $(CURDIR)/classes/gnu/getopt cd $(CURDIR)/classes; ${JAR} cvf ../gnu-getopt.jar gnu javadoc -link /usr/share/doc/default-jdk-doc/api -d api/ gnu/getopt/*.java # Remove the javadoc of the example [ ! -f $(CURDIR)/api/GetoptDemo.html ] || rm -f $(CURDIR)/api/GetoptDemo.html override_dh_installexamples: dh_installexamples gnu/getopt/GetoptDemo.java override_dh_installchangelogs: dh_installchangelogs gnu/getopt/ChangeLog override_dh_clean: dh_clean rm -rf $(CURDIR)/classes $(CURDIR)/api .PHONY: get-orig-source get-orig-source: $(PKG)_$(VER)$(DTYPE).orig.tar.gz @ $(PKG)_$(VER)$(DTYPE).orig.tar.gz: @echo "# Downloading..." uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-version $(VER) $(DPATH) @echo "# Extracting..." mkdir $(PKG)-$(VER) \ && tar xf $(PKG)_$(VER).orig.tar.* --directory $(PKG)-$(VER) --strip-components 0 \ || $(RM) -r $(PKG)-$(VER) @echo "# Clean-up..." cd $(PKG)-$(VER) \ && $(RM) -r -v \ gnu/getopt/*.html \ gnu/getopt/*.class @echo "# Packing..." tar -caf "$(PKG)_$(VER)$(DTYPE).orig.tar.gz" "$(PKG)-$(VER)" \ && $(RM) -r "$(PKG)-$(VER)" debian/changelog0000644000000000000000000001425012145063632011044 0ustar libgetopt-java (1.0.14+dfsg-2) unstable; urgency=low * Team upload. * Upload to unstable. -- tony mancill Wed, 15 May 2013 21:58:50 -0700 libgetopt-java (1.0.14+dfsg-1) experimental; urgency=low * New upstream release. - Repackage the tarball and remove pre-built class and html files. * Bump compat level to 9 and require debhelper >=9. * debian/control: - Add myself to Uploaders. - Remove Michael Koch from Uploaders because he is inactive. (Closes: #654063) - Remove Niels Thykier from Uploaders on his own request. - Add versioned dependency for maven-repo-helper. - Bump Standards-Version to 3.9.4, no changes necessary. - Use canonical Vcs-URI. - Move default-jdk and default-jdk-doc build dependencies to Build-Depends-Indep because both are only needed for arch-independent packages. - libgetopt-java: Suggest libgetopt-java-doc instead of default-jdk-doc. - libgetopt-java: Remove ${java:Depends} variable to avoid a dependency on openjdk-6-jre-headless which is not desired. See also lintian tag "needless-dependency-on-jre". * debian/rules: - Simplify debian/rules by using dh sequencer. - Use javahelper and jh_maven_repo_helper plugin. - Add get-orig-source target. * Update debian/copyright to copyright format 1.0. * Add libgetopt-java.jlibs and libgetopt-java.poms file. Use these files to install the jar file and all maven related information. * Update debian/pom.xml. * Rename README.Debian-source to README.source and update the file. * Drop dirs file. It is no longer needed. * Install the README via docs file. * Improve the watch file thus it can detect the latest upstream release. -- Markus Koschany Mon, 08 Apr 2013 16:49:50 +0200 libgetopt-java (1.0.13-4) unstable; urgency=low * Added build-arch and build-indep targets. * Bumped Standards-Versions to 3.9.2 - no changes required. * Compile javadoc during build instead of using the prebuilt one. - Link javadoc against the system javadoc * Split the javadoc to a separate package. - New location: /usr/share/doc/libgetopt-java-doc/api * Bumped debhelper compat 8. -- Niels Thykier Fri, 28 Oct 2011 20:36:40 +0200 libgetopt-java (1.0.13-3) unstable; urgency=low * Team upload. * Remove Java runtime from Depends. * Remove Arnaud from Uploaders list. * Switch to source format 3.0. * Update Standards-Version: 3.9.1. -- Torsten Werner Fri, 02 Sep 2011 22:47:02 +0200 libgetopt-java (1.0.13-2) unstable; urgency=low [ Damien Raude-Morvan ] * Fix debian/watch [ Gabriele Giacone ] * Added maven support * Standards-Version to 3.8.4 -- Gabriele Giacone <1o5g4r8o@gmail.com> Wed, 10 Feb 2010 23:14:44 +0100 libgetopt-java (1.0.13-1) unstable; urgency=low * New upstream release. * Lower Depends to default-jre-headless from default-jdk. * Made debian/rules determine the upstream version automatically. * Corrected LGPL to LGPL-2 in debian/copyright. * Added Homepage and Vcs-* fields to debian/control. -- Niels Thykier Sun, 20 Sep 2009 17:47:57 +0200 libgetopt-java (1.0.11-3) unstable; urgency=low * (Build-)Depends on default-jdk. * Build-Depends on debhelper >= 7. * Use dh_prep instead of dh_clean -k. * Clarified debian/copyright. * Moved package to section 'java' * Moved Build-Depends-Indep to Build-Depends. * Let package Depends on ${misc:Depends}. * Clarified debian/copyright. * Removed Wolfgang and added myself to uploaders. * Updated Standards-Version to 3.8.3. -- Michael Koch Tue, 15 Sep 2009 08:13:13 +0200 libgetopt-java (1.0.11-2) unstable; urgency=low * Removed Takashi Okamoto from the uploaders (closes: #352986). * Added myself as an uploader. -- Arnaud Vandyck Mon, 24 Apr 2006 22:11:17 +0200 libgetopt-java (1.0.11-1) unstable; urgency=low * New upstream release * Transfer maintainership to pkg-java maintainers * Removed old jar link to gnu.getopt.jar * /usr/doc/ -> /usr/share/doc transition * Added compat file * Remove useless README.Debian * Install docs only once * Standards-Version 3.6.2 * Added myself to uploaders -- Wolfgang Baer Fri, 14 Oct 2005 16:26:24 +0200 libgetopt-java (1.0.9-8) unstable; urgency=low * fixed FTBFS bugs.(closes: #172873) * rename gnu.getopt.jar to gnu-getopt.jar. -- Takashi Okamoto Sat, 8 Feb 2003 09:43:58 +0900 libgetopt-java (1.0.9-7) unstable; urgency=low * fixed replace doesn't work correctly. * fixed invalid jar size already.(closes: #165013) -- Takashi Okamoto Sun, 29 Dec 2002 10:00:03 +0900 libgetopt-java (1.0.9-6) unstable; urgency=low * modify denends field for new Java Policy. -- Takashi Okamoto Sun, 29 Dec 2002 09:54:17 +0900 libgetopt-java (1.0.9-5) unstable; urgency=low * fixed FTBFS again. -- Takashi Okamoto Sun, 29 Dec 2002 09:43:28 +0900 libgetopt-java (1.0.9-4) unstable; urgency=low * rename the package name for Java Policy and make more simple. * fixed FTBFS.(closes: #172873) -- Takashi Okamoto Sun, 29 Dec 2002 09:09:59 +0900 lib-gnu.getopt-java (1.0.9-3) unstable; urgency=low * Fixed jar is null bug. (closes: #164071) -- Takashi Okamoto Wed, 16 Oct 2002 23:55:55 +0900 lib-gnu.getopt-java (1.0.9-1) unstable; urgency=low * New upstream release. * add dependency for jikes and kaffe.(Closes: #133733) * remove class files from obsolete directory /usr/share/java/repository. * remove GetoptDemo class from jar. -- Takashi Okamoto Sat, 16 Feb 2002 13:24:24 +0900 lib-gnu.getopt-java (1.0.8-1) unstable; urgency=low * New maintainer. * New upstream relase. -- Takashi Okamoto Mon, 13 Aug 2001 01:05:51 +0900 lib-gnu.getopt-java (1.0.6-1) unstable; urgency=low * New upstream release -- Stephane Bortzmeyer Tue, 29 Jun 1999 11:51:24 +0200 lib-gnu.getopt-java (1.0.5-1) unstable; urgency=low * Initial Release. -- Stephane Bortzmeyer Fri, 25 Jun 1999 14:16:14 +0200 debian/libgetopt-java-doc.javadoc0000644000000000000000000000000411652571602014171 0ustar api debian/docs0000644000000000000000000000002212130566474010043 0ustar gnu/getopt/README debian/source/0000755000000000000000000000000012150731212010460 5ustar debian/source/format0000644000000000000000000000001411630240737011677 0ustar 3.0 (quilt) debian/libgetopt-java.jlibs0000644000000000000000000000001712130566474013131 0ustar gnu-getopt.jar debian/README.source0000644000000000000000000000031412130566474011353 0ustar libgetopt-java for Debian =========================== Repackaged to remove pre-built class files and documentation. Please use debian/rules get-orig-source to obtain the original and dfsg free sources. debian/compat0000644000000000000000000000000212130566474010374 0ustar 9 debian/copyright0000644000000000000000000000321412132323670011120 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: GNU getopt - Java Port Source: http://www.urbanophile.com/arenn/hacking/download.html Files: * Copyright: 2001-2012, Aaron M. Renn License: LGPL-2+ Files: debian/* Copyright: 1999, Stephane Bortzmeyer 2001-2003, Takashi Okamoto 2005, Wolfgang Baer 2006, Arnaud Vandyck 2009, Michael Koch 2009,2011 Niels Thykier 2010, Gabriele Giacone <1o5g4r8o@gmail.com> 2011, Torsten Werner 2013, Markus Koschany License: LGPL-2+ License: LGPL-2+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. . You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA . On Debian systems the full text of the GNU Library Public License, can be found in the file /usr/share/common-licenses/LGPL-2. debian/pom.xml0000644000000000000000000000024412130566474010513 0ustar 4.0.0 gnu-getopt getopt getopt 1.0.14 debian/control0000644000000000000000000000267312130573751010605 0ustar Source: libgetopt-java Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Markus Koschany Build-Depends: debhelper (>= 9), javahelper (>= 0.33~), maven-repo-helper (>= 1.6~) Build-Depends-Indep: default-jdk, default-jdk-doc Standards-Version: 3.9.4 Homepage: http://www.urbanophile.com/arenn/hacking/download.html Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/libgetopt-java/ Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/libgetopt-java/ Package: libgetopt-java Architecture: all Depends: ${misc:Depends} Recommends: ${java:Recommends} Suggests: libgetopt-java-doc Description: GNU getopt - Java port The GNU Java getopt classes support short and long argument parsing in a manner 100% compatible with the version of GNU getopt in glibc 2.0.6 with a mostly compatible programmer's interface as well. Note that this is a port, not a new implementation. Package: libgetopt-java-doc Architecture: all Section: doc Depends: ${java:Depends}, ${misc:Depends} Recommends: ${java:Recommends} Description: GNU getopt - Java port (doc) The GNU Java getopt classes support short and long argument parsing in a manner 100% compatible with the version of GNU getopt in glibc 2.0.6 with a mostly compatible programmer's interface as well. Note that this is a port, not a new implementation. . This package contains the Java Programming API docs.