--- xml-commons-external-1.3.04.orig/debian/watch +++ xml-commons-external-1.3.04/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://xml.apache.org/mirrors.cgi http://.*xml-commons-external-(.*)-src.tar.gz --- xml-commons-external-1.3.04.orig/debian/changelog +++ xml-commons-external-1.3.04/debian/changelog @@ -0,0 +1,17 @@ +xml-commons-external (1.3.04-1) experimental; urgency=low + + * Debian import (closes: #491748) + * Setting the maintainer to the Debian Java team + adding myself + to Uploaders + * Setting Vcs-* fields for the Debian Java team SVN repository + * Updating debian/watch + * Some tweaks to debian/copyright: adding link to the GPL + replacing + the full text of the Apache-2.0 by a link to the appropriate files. + + -- Vincent Fourmond Mon, 21 Jul 2008 22:48:25 +0200 + +xml-commons-external (1.3.04-0ubuntu1) intrepid; urgency=low + + * Initial release. LP: #177158 + + -- Onkar Shinde Tue, 06 May 2008 00:28:35 +0530 --- xml-commons-external-1.3.04.orig/debian/control +++ xml-commons-external-1.3.04/debian/control @@ -0,0 +1,35 @@ +Source: xml-commons-external +Section: libs +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Vincent Fourmond +XSBC-Original-Maintainer: Onkar Shinde +Standards-Version: 3.8.0 +Build-Depends: debhelper (>= 5), cdbs +Build-Depends-Indep: java-gcj-compat-dev | java2-compiler +Homepage: http://xml.apache.org/commons/ +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/packages/trunk/xml-commons-external +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/packages/trunk/xml-commons-external + + +Package: libxml-commons-external-java +Section: libs +Architecture: all +Depends: java-gcj-compat | java2-runtime +Description: XML Commons external code - DOM, SAX, and JAXP, etc + xml-commons is focussed on common code and guidelines for xml projects. + The first focus will be to organize and have common packaging for the + various externally-defined standards code relating to XML - things like + the DOM, SAX, and JAXP interfaces. + +Package: libxml-commons-external-java-doc +Section: doc +Architecture: all +Description: Documentation of XMl Commons external api + xml-commons is focussed on common code and guidelines for xml projects. + The first focus will be to organize and have common packaging for the + various externally-defined standards code relating to XML - things like + the DOM, SAX, and JAXP interfaces. + . + This package contains class API documentation for XML Commons external api. + --- xml-commons-external-1.3.04.orig/debian/copyright +++ xml-commons-external-1.3.04/debian/copyright @@ -0,0 +1,88 @@ +This package was debianized by Onkar Shinde on +Tue, 06 May 2008 00:28:35 +0530. + +Packaging: +Copyright (C) 2008 by Onkar Shinde + 2008 by Vincent Fourmond + +released under GNU GPL license version 2, or (at your option) +any later version. See file /usr/share/common-licenses/GPL-2 for more +information. + +The source code was downloaded from http://xml.apache.org/mirrors.cgi + +Following files are in public domain: +org/xml/sax/* except org/xml/sax/helpers/SecuritySupport{,12}.java + +Following files use W3C Software License: +org/w3c/css/sac/* +org/w3c/dom/* except org/w3c/dom/svg/EventListenerInitializer.java + +Copyright © 1994-2002 World Wide Web Consortium. + +W3C® SOFTWARE NOTICE AND LICENSE + +http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 + +This work (and included software, documentation such as READMEs, or other +related items) is being provided by the copyright holders under the following +license. By obtaining, using and/or copying this work, you (the licensee) agree +that you have read, understood, and will comply with the following terms and +conditions. + +Permission to copy, modify, and distribute this software and its documentation, +with or without modification, for any purpose and without fee or royalty is +hereby granted, provided that you include the following on ALL copies of the +software and documentation or portions thereof, including modifications: + + 1. The full text of this NOTICE in a location viewable to users of the + redistributed or derivative work. + 2. Any pre-existing intellectual property disclaimers, notices, or terms + and conditions. If none exist, the W3C Software Short Notice should be + included (hypertext is preferred, text is permitted) within the body + of any redistributed or derivative code. + 3. Notice of any changes or modifications to the files, including the date + changes were made. (We recommend you provide URIs to the location from + which the code is derived.) + +THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE +NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT +THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY +PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + +COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. + +The name and trademarks of copyright holders may NOT be used in advertising or +publicity pertaining to the software without specific, written prior permission. +Title to copyright in this software and any associated documentation will at +all times remain with copyright holders. + +____________________________________ + +This formulation of W3C's notice and license became active on December 31 2002. +This version removes the copyright ownership notice such that this license can +be used with materials other than those owned by the W3C, reflects that ERCIM +is now a host of the W3C, includes references to this specific dated version of +the license, and removes the ambiguous grant of "use". Otherwise, this version +is the same as the previous version and is written so as to preserve the Free +Software Foundation's assessment of GPL compatibility and OSI's certification +under the Open Source Definition. Please see our Copyright FAQ for common +questions about using materials from our site, including specific terms and +conditions for packages like libwww, Amaya, and Jigsaw. Other questions about +this notice can be directed to site-policy@w3.org. + +Joseph Reagle +Last revised by Reagle $Date: 2005-06-03 18:49:13 -0400 (Fri, 03 Jun 2005) $ + + +Following files use ASF License 2.0: +org/w3c/dom/svg/EventListenerInitializer.java +org/xml/sax/helpers/SecuritySupport{,12}.java +javax/xml/* + +Copyright © 2006 The Apache Software Foundation. + +These files are released under the conditions of the Apache License version +2.0, see the file /usr/share/common-licenses/Apache-2.0 for more details. --- xml-commons-external-1.3.04.orig/debian/compat +++ xml-commons-external-1.3.04/debian/compat @@ -0,0 +1 @@ +5 --- xml-commons-external-1.3.04.orig/debian/rules +++ xml-commons-external-1.3.04/debian/rules @@ -0,0 +1,34 @@ +#!/usr/bin/make -f +# debian/rules for libxml-commons-external-java (uses CDBS) + +include /usr/share/cdbs/1/rules/debhelper.mk + +VERSION := 1.3.04 + +JAVA_HOME := /usr/lib/jvm/java-gcj + +clean:: + rm -rf classes external.jar docs + +build-indep: + # Build library jar + mkdir classes + javac -d classes org/apache/xmlcommons/*.java org/w3c/css/sac/*.java org/w3c/css/sac/helpers/*.java + javac -d classes org/w3c/dom/*.java org/w3c/dom/bootstrap/*.java org/w3c/dom/css/*.java org/w3c/dom/events/*.java org/w3c/dom/html/*.java org/w3c/dom/ls/*.java org/w3c/dom/ranges/*.java org/w3c/dom/smil/*.java org/w3c/dom/stylesheets/*.java org/w3c/dom/svg/*.java org/w3c/dom/traversal/*.java org/w3c/dom/views/*.java org/w3c/dom/xpath/*.java + jar -cvfm external.jar manifest.commons -C classes/ org/ + + #Build api documentation + mkdir docs + javadoc -d docs javax.xml org.apache.xmlcommons org.w3c.css.sac org.w3c.dom + +install/libxml-commons-external-java:: + # Install the libraries into the libxml-commons-external-java package + mkdir -p debian/libxml-commons-external-java/usr/share/java + install -m 644 external.jar debian/libxml-commons-external-java/usr/share/java/xml-commons-external-${VERSION}.jar + ln -s xml-commons-external-${VERSION}.jar debian/libxml-commons-external-java/usr/share/java/xml-apis-ext.jar + +install/libxml-commons-external-java-doc:: + # Install the documentation into the libxml-commons-java-doc package + mkdir -p debian/libxml-commons-external-java-doc/usr/share/doc/libxml-commons-external-java-doc/ + cp -r docs debian/libxml-commons-external-java-doc/usr/share/doc/libxml-commons-external-java-doc/ +