debian/0000755000000000000000000000000012147106332007165 5ustar debian/control0000644000000000000000000000144312147106332010572 0ustar Source: librelaxng-datatype-java Section: java Priority: extra Maintainer: Debian Java Maintainers Uploaders: Giovanni Mascellani , Emmanuel Bourg Build-Depends: debhelper (>= 7.0.50~), ant, maven-repo-helper (>= 1.5), default-jdk Standards-Version: 3.9.4 Homepage: http://sourceforge.net/projects/relaxng/ Vcs-Git: git://anonscm.debian.org/pkg-java/librelaxng-datatype-java.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/librelaxng-datatype-java.git;a=summary Package: librelaxng-datatype-java Architecture: all Depends: ${misc:Depends} Description: Java datatype interface for RELAX NG RELAX NG is a schema language for XML. This library is a Java interface for describing datatypes within RELAX NG. debian/changelog0000644000000000000000000000277712147106332011054 0ustar librelaxng-datatype-java (1.0+ds1-3) unstable; urgency=low [ Giovanni Mascellani ] * Upload to unstable. * Fix a few lintian issues. + Bump Standards-Version to 3.9.4 (no changes required). + Remove useless dependency on JRE. + Refer to new official debian/copyright format. + Use canonical Vcs-* URLs. * Add Emmanuel Bourg among the uploaders. [ Emmanuel Bourg ] * Removed the dependency on ${shlibs:Depends} -- Giovanni Mascellani Wed, 22 May 2013 11:16:03 +0200 librelaxng-datatype-java (1.0+ds1-2) experimental; urgency=low * Force generation of 1.5-compatible Java classes (LP: #1049731). -- Giovanni Mascellani Mon, 11 Mar 2013 21:45:41 +0100 librelaxng-datatype-java (1.0+ds1-1) unstable; urgency=low * Packaging again after removal (closes: #612443). -- Giovanni Mascellani Fri, 11 Feb 2011 23:14:45 +0100 librelaxng-datatype-java (1.0-2.1) unstable; urgency=low * NMU of pkg-java maintainers to change build depends due to the removal of libant1.5-java and the ongoing ant transition (closes: #304882) -- Wolfgang Baer Fri, 16 Sep 2005 15:52:51 +0200 librelaxng-datatype-java (1.0-2) unstable; urgency=low * Added "unzip" to Build-Depends (Closes: #255214) -- Jesper Zedlitz Sun, 20 Jun 2004 10:25:04 +0200 librelaxng-datatype-java (1.0-1) unstable; urgency=low * Initial Release (Closes: #251300) -- Jesper Zedlitz Thu, 27 May 2004 16:11:27 +0200 debian/rules0000755000000000000000000000021312147106332010241 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with maven-repo-helper debian/watch0000644000000000000000000000017512147106332010221 0ustar version=3 opts="dversionmangle=s|\+ds\d+$||" \ http://sf.net/relaxng/relaxngDatatype-(.*).zip debian ./debian/orig-source.sh debian/copyright0000644000000000000000000000367512147106332011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: librelaxng-datatype-java Source: http://sourceforge.net/projects/relaxng/ Files: * Copyright: 2001, Thai Open Source Software Center Ltd 2001, Sun Microsystems. License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . Neither the names of the copyright holders nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2011-2013, Giovanni Mascellani License: GPL-2+ On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/README.source0000644000000000000000000000044212147106332011344 0ustar librelaxng-datatype-java ------------------------ REPACKAGING The upstream source code has been repackages because of the following reasons: * It comes only in .zip format, which is not supported; * It contains pre-built binaries and Javadoc documentation, that have been stripped. debian/gbp.conf0000644000000000000000000000022612147106332010604 0ustar [DEFAULT] # No cleaning, because clean needs patched build.xml cleaner = true upstream-branch = upstream debian-branch = master pristine-tar = True debian/compat0000644000000000000000000000000212147106332010363 0ustar 7 debian/patches/0000755000000000000000000000000012147106332010614 5ustar debian/patches/series0000644000000000000000000000012212147106332012024 0ustar 0001-Fix-upstream-build.xml-with-more-targets-and-standar.patch generate_1.5_code debian/patches/generate_1.5_code0000644000000000000000000000170612147106332013712 0ustar From: Giovanni Mascellani Description: Generate 1.5-compatible classes Use the tricks described in https://wiki.ubuntu.com/JavaTeam/Java7Default to generate 1.5-compatible classes. Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/librelaxng-datatype-java/+bug/1049731 Forwarded: no Last-Update: 2013-03-11 --- Index: librelaxng-datatype-java/build.xml =================================================================== --- librelaxng-datatype-java.orig/build.xml 2013-03-11 21:36:46.028457644 +0100 +++ librelaxng-datatype-java/build.xml 2013-03-11 21:38:41.437831056 +0100 @@ -18,6 +18,9 @@ destdir="${build.dir}" debug="off" optimize="on" + encoding="ISO-8859-1" + target="1.5" + source="1.5" /> @@ -29,6 +32,7 @@ windowtitle="RELAX NG Datatype Interface" public="yes" author="yes" + source="1.5" > debian/patches/0001-Fix-upstream-build.xml-with-more-targets-and-standar.patch0000644000000000000000000000714012147106332024247 0ustar From: Giovanni Mascellani Date: Tue, 8 Feb 2011 23:00:20 +0100 Subject: [PATCH] Fix upstream build.xml with more targets and standard target names. Upstream build.xml has just one target that does everything from compiling the sources to deploying the final .zip. I splitted all those steps in different targets, in order to make it compliant with what debhelper expects. A clean target was also added. --- build.xml | 74 ++++++++++++++++++++++++++++-------------------------------- 1 files changed, 35 insertions(+), 39 deletions(-) diff --git a/build.xml b/build.xml index 9e7d289..55a3de5 100644 --- a/build.xml +++ b/build.xml @@ -1,62 +1,58 @@ - + + + + + + - + - + - - Manifest-Version: 1.0 - -Name: org/relaxng/datatype -Implementation-Title: RELAX NG Datatype Interface -Implementation-Version: 1.0 -Implementation-Vendor: relaxng.sourceforge.net - - - - - - - - + + - - - - - - - - - + + + Manifest-Version: 1.0 + +Name: org/relaxng/datatype +Implementation-Title: RELAX NG Datatype Interface +Implementation-Version: 1.0 +Implementation-Vendor: relaxng.sourceforge.net + + + + + + + + + + + + -- debian/orig-source.sh0000755000000000000000000000111112147106332011754 0ustar #!/bin/bash UPSTREAM_VERSION="$2" FILENAME="$3" ORIGDIR="`pwd`" ZIP_FILENAME="$ORIGDIR/../relaxngDatatype-$UPSTREAM_VERSION.zip" TARGZ_FILENAME="$ORIGDIR/../librelaxng-datatype-java_$UPSTREAM_VERSION.orig.tar.gz" TEMPDIR="`mktemp -d`" cd "$TEMPDIR" echo "Unpacking .zip" unzip "$ZIP_FILENAME" DIRNAME="`ls`" echo "Removing pre-built documentation and JARs" rm -fvr "$DIRNAME/doc/"* find -iname '*.jar' -print0 | xargs -0 rm -fv echo "Repackaging .tar.gz" tar czfv "$TARGZ_FILENAME" "$DIRNAME" echo "Removing temporary directory" cd "$ORIGDIR" rm -fr "$TEMPDIR" echo "Finished" debian/librelaxng-datatype-java.poms0000644000000000000000000000011712147106332014743 0ustar debian/pom.xml --has-package-version --artifact=relaxngDatatype.jar --java-lib debian/pom.xml0000644000000000000000000000055212147106332010504 0ustar 4.0.0 relaxngDatatype relaxngDatatype 1.0 Datatype interface for RELAX NG RELAX NG is a schema language for XML. This library is a Java interface for describing datatypes within RELAX NG. debian/source/0000755000000000000000000000000012147106332010465 5ustar debian/source/format0000644000000000000000000000001412147106332011673 0ustar 3.0 (quilt)