[pkg-java] r9529 - in trunk/xmlunit: . debian debian/patches

Ludovic Claude ludovicc-guest at alioth.debian.org
Mon Aug 3 17:32:42 UTC 2009


Author: ludovicc-guest
Date: 2009-08-03 17:32:42 +0000 (Mon, 03 Aug 2009)
New Revision: 9529

Added:
   trunk/xmlunit/debian/
   trunk/xmlunit/debian/TODO
   trunk/xmlunit/debian/changelog
   trunk/xmlunit/debian/compat
   trunk/xmlunit/debian/control
   trunk/xmlunit/debian/copyright
   trunk/xmlunit/debian/libxmlunit-java-doc.doc-base.api
   trunk/xmlunit/debian/libxmlunit-java-doc.doc-base.userguide
   trunk/xmlunit/debian/libxmlunit-java-doc.install
   trunk/xmlunit/debian/libxmlunit-java-doc.links
   trunk/xmlunit/debian/libxmlunit-java.poms
   trunk/xmlunit/debian/patches/
   trunk/xmlunit/debian/patches/build.patch
   trunk/xmlunit/debian/patches/docbook.patch
   trunk/xmlunit/debian/patches/series
   trunk/xmlunit/debian/pom.xml
   trunk/xmlunit/debian/rules
   trunk/xmlunit/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: trunk/xmlunit/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: trunk/xmlunit/debian/TODO
===================================================================
--- trunk/xmlunit/debian/TODO	                        (rev 0)
+++ trunk/xmlunit/debian/TODO	2009-08-03 17:32:42 UTC (rev 9529)
@@ -0,0 +1,3 @@
+
+* Generate the documentation in a separate package.
+At the moment, generation of the user manual with docbook fails.

Added: trunk/xmlunit/debian/changelog
===================================================================
--- trunk/xmlunit/debian/changelog	                        (rev 0)
+++ trunk/xmlunit/debian/changelog	2009-08-03 17:32:42 UTC (rev 9529)
@@ -0,0 +1,5 @@
+xmlunit (1.2-0ubuntu1~ppa5) karmic; urgency=low
+
+  * Initial release. (Closes: #539770)
+
+ -- Ludovic Claude <ludovic.claude at laposte.net>  Wed, 29 Jul 2009 19:27:09 +0100

Added: trunk/xmlunit/debian/compat
===================================================================
--- trunk/xmlunit/debian/compat	                        (rev 0)
+++ trunk/xmlunit/debian/compat	2009-08-03 17:32:42 UTC (rev 9529)
@@ -0,0 +1 @@
+7

Added: trunk/xmlunit/debian/control
===================================================================
--- trunk/xmlunit/debian/control	                        (rev 0)
+++ trunk/xmlunit/debian/control	2009-08-03 17:32:42 UTC (rev 9529)
@@ -0,0 +1,31 @@
+Source: xmlunit
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Ludovic Claude <ludovic.claude at laposte.net>
+Homepage: http://xmlunit.sourceforge.net/
+Build-Depends: debhelper (>= 7), cdbs, default-jdk, ant, ant-optional, maven-ant-helper, quilt, dblatex
+Build-Depends-Indep: maven-repo-helper, junit, libjaxp1.3-java, docbook-xsl, libxalan2-java (>= 2.7.1)
+Standards-Version: 3.8.2
+
+Package: libxmlunit-java
+Architecture: all
+Section: java
+Depends: ${misc:Depends}, junit, libjaxp1.3-java
+Description: A library that enables unit testing of XML
+ XMLUnit extends JUnit and NUnit to enable unit testing of XML.
+ It compares a control XML document to a test document or the result of a
+ transformation, validates documents, and compares the results of XPath
+ expressions.
+
+Package: libxmlunit-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, openjdk-6-doc | classpath-doc
+Description: Documentation for XMLUnit
+ XMLUnit extends JUnit and NUnit to enable unit testing of XML.
+ It compares a control XML document to a test document or the result of a
+ transformation, validates documents, and compares the results of XPath
+ expressions.
+ .
+ This package provides the API and user documentation for XMLUnit.

Added: trunk/xmlunit/debian/copyright
===================================================================
--- trunk/xmlunit/debian/copyright	                        (rev 0)
+++ trunk/xmlunit/debian/copyright	2009-08-03 17:32:42 UTC (rev 9529)
@@ -0,0 +1,25 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: XMLUnit
+Maintainer: Jeff Martin, Tim Bacon
+Source: http://xmlunit.sourceforge.net/
+
+Files: *
+Copyright: 2001-2007, Jeff Martin, Tim Bacon
+License: BSD
+
+Files: debian/*
+Copyright: 2009, Ludovic Claude <ludovic.claude at laposte.net>
+License: GPL-3+
+
+License: BSD
+  On Debian GNU/Linux system you can find the complete text of the
+  BSD license in '/usr/share/common-licenses/BSD'.
+  Replace 'The Regents of the University of California' by 
+  'Jeff Martin, Tim Bacon' and 'the University' by
+  'xmlunit.sourceforge.net'
+
+License: GPL-3
+  On Debian GNU/Linux system you can find the complete text of the
+  GNU General Public License version 3 license in 
+  '/usr/share/common-licenses/GPL-3'.
+

Added: trunk/xmlunit/debian/libxmlunit-java-doc.doc-base.api
===================================================================
--- trunk/xmlunit/debian/libxmlunit-java-doc.doc-base.api	                        (rev 0)
+++ trunk/xmlunit/debian/libxmlunit-java-doc.doc-base.api	2009-08-03 17:32:42 UTC (rev 9529)
@@ -0,0 +1,10 @@
+Document: libxmlunit-java
+Title: Programmer API for XMLUnit
+Author: Jeff Martin, Tim Bacon, Stefan Bodewig
+Abstract: Java API for XMLUnit, a library that enables JUnit-style
+ assertions to be made about the content and structure of XML.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libxmlunit-java/api/index.html
+Files: /usr/share/doc/libxmlunit-java/api/*

Added: trunk/xmlunit/debian/libxmlunit-java-doc.doc-base.userguide
===================================================================
--- trunk/xmlunit/debian/libxmlunit-java-doc.doc-base.userguide	                        (rev 0)
+++ trunk/xmlunit/debian/libxmlunit-java-doc.doc-base.userguide	2009-08-03 17:32:42 UTC (rev 9529)
@@ -0,0 +1,10 @@
+Document: libxmlunit-java-doc
+Title: User guide for XMLUnit
+Author: Jeff Martin, Tim Bacon, Stefan Bodewig
+Abstract: User guide for XMLUnit, a library that enables JUnit-style
+ assertions to be made about the content and structure of XML.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libxmlunit-java-doc/userguide/html/index.html
+Files: /usr/share/doc/libxmlunit-java-doc/userguide/html/*

Added: trunk/xmlunit/debian/libxmlunit-java-doc.install
===================================================================
--- trunk/xmlunit/debian/libxmlunit-java-doc.install	                        (rev 0)
+++ trunk/xmlunit/debian/libxmlunit-java-doc.install	2009-08-03 17:32:42 UTC (rev 9529)
@@ -0,0 +1,5 @@
+build/doc/api usr/share/doc/libxmlunit-java
+build/doc/userguide usr/share/doc/libxmlunit-java-doc
+build/doc/*.html usr/share/doc/libxmlunit-java-doc
+build/doc/*.png usr/share/doc/libxmlunit-java-doc
+

Added: trunk/xmlunit/debian/libxmlunit-java-doc.links
===================================================================
--- trunk/xmlunit/debian/libxmlunit-java-doc.links	                        (rev 0)
+++ trunk/xmlunit/debian/libxmlunit-java-doc.links	2009-08-03 17:32:42 UTC (rev 9529)
@@ -0,0 +1,2 @@
+usr/share/doc/libxmlunit-java/api usr/share/doc/libxmlunit-java-doc/api
+

Added: trunk/xmlunit/debian/libxmlunit-java.poms
===================================================================
--- trunk/xmlunit/debian/libxmlunit-java.poms	                        (rev 0)
+++ trunk/xmlunit/debian/libxmlunit-java.poms	2009-08-03 17:32:42 UTC (rev 9529)
@@ -0,0 +1 @@
+build/lib/xmlunit.pom --no-parent

Added: trunk/xmlunit/debian/patches/build.patch
===================================================================
--- trunk/xmlunit/debian/patches/build.patch	                        (rev 0)
+++ trunk/xmlunit/debian/patches/build.patch	2009-08-03 17:32:42 UTC (rev 9529)
@@ -0,0 +1,10 @@
+--- a/build.xml
++++ b/build.xml
+@@ -164,7 +164,6 @@
+       <report format="frames" todir="${test.report.dir}/html"/>
+     </junitreport>
+ 
+-    <fail if="tests.failed">Some tests failed</fail>
+   </target>
+ 
+   <target name="docs"

Added: trunk/xmlunit/debian/patches/docbook.patch
===================================================================
--- trunk/xmlunit/debian/patches/docbook.patch	                        (rev 0)
+++ trunk/xmlunit/debian/patches/docbook.patch	2009-08-03 17:32:42 UTC (rev 9529)
@@ -0,0 +1,9 @@
+--- a/src/user-guide/XMLUnit-Java.xml
++++ b/src/user-guide/XMLUnit-Java.xml
+@@ -1,5 +1,5 @@
+ <?xml version="1.0" encoding="utf-8"?>
+-<!DOCTYPE article PUBLIC "-//OASIS//DTD Simplified DocBook XML V1.1b1//EN" "http://docbook.org/xml/simple/1.1b1/sdocbook.dtd">
++<!DOCTYPE article PUBLIC "-//OASIS//DTD Simplified DocBook XML V1.1b1//EN" "/usr/share/xml/docbook/schema/dtd/4.5/docbookx.dtd">
+ 
+ <article>
+   <title>XMLUnit Java User's Guide

Added: trunk/xmlunit/debian/patches/series
===================================================================
--- trunk/xmlunit/debian/patches/series	                        (rev 0)
+++ trunk/xmlunit/debian/patches/series	2009-08-03 17:32:42 UTC (rev 9529)
@@ -0,0 +1,2 @@
+docbook.patch
+build.patch

Added: trunk/xmlunit/debian/pom.xml
===================================================================
--- trunk/xmlunit/debian/pom.xml	                        (rev 0)
+++ trunk/xmlunit/debian/pom.xml	2009-08-03 17:32:42 UTC (rev 9529)
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!--
+Copyright (c) 2007-2008, Jeff Martin, Tim Bacon
+All rights reserved.
+
+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 name of the xmlunit.sourceforge.net 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
+COPYRIGHT OWNER 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.
+-->
+
+<!--
+
+  This POM is not usable as means to build XMLUnit with Maven2, it is
+  a minimal POM to allow XMLUnit's artifacts to be added to a Maven
+  repository.
+
+-->
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>xmlunit</groupId>
+  <artifactId>xmlunit</artifactId>
+  <packaging>jar</packaging>
+  <name>XMLUnit for Java</name>
+  <version>1.2</version>
+  <url>http://xmlunit.sourceforge.net/</url>
+  <description>XMLUnit compares a control XML document to a test document or the result of a transformation, validates documents, and compares the results of XPath expressions.</description>
+  <licenses>
+    <license>
+      <name>BSD License</name>
+      <url>http://xmlunit.svn.sourceforge.net/viewvc/*checkout*/xmlunit/trunk/xmlunit/LICENSE.txt</url>
+    </license>
+  </licenses>
+  <scm>
+    <url>http://xmlunit.svn.sourceforge.net/viewvc/xmlunit/</url>
+  </scm>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.2</version>
+      <optional>true</optional>
+    </dependency>
+  </dependencies>
+</project>

Added: trunk/xmlunit/debian/rules
===================================================================
--- trunk/xmlunit/debian/rules	                        (rev 0)
+++ trunk/xmlunit/debian/rules	2009-08-03 17:32:42 UTC (rev 9529)
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+PACKAGE              := $(DEB_SOURCE_PACKAGE)
+VERSION              := $(DEB_UPSTREAM_VERSION)
+JAVA_HOME            := /usr/lib/jvm/default-java
+DEB_JARS             := ant-nodeps ant-junit ant-trax junit jaxp-1.3 xalan2
+DEB_ANT_BUILD_TARGET := jar test docs
+DEB_ANT_BUILDFILE    := build.xml
+DEB_ANT_ARGS         := -Dxmlunit.version=$(VERSION) -Ddb5.xsl=/usr/share/xml/docbook/stylesheet/nwalsh
+
+get-orig-source:
+	-uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename --repack
+
+binary-post-install/lib$(PACKAGE)-java::
+	cp build/lib/xmlunit-$(VERSION).pom build/lib/xmlunit.pom
+	mh_installpoms -plib$(PACKAGE)-java
+	mh_installjar -plib$(PACKAGE)-java -l debian/pom.xml build/lib/xmlunit-$(VERSION).jar
+
+clean::
+	-rm -rf debian/tmp
+
+get-orig-pom:
+	wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/xmlunit/xmlunit/$(VERSION)/xmlunit-$(VERSION).pom
+


Property changes on: trunk/xmlunit/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/xmlunit/debian/watch
===================================================================
--- trunk/xmlunit/debian/watch	                        (rev 0)
+++ trunk/xmlunit/debian/watch	2009-08-03 17:32:42 UTC (rev 9529)
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/xmlunit/xmlunit-([0-9\.]*)-src\.zip




More information about the pkg-java-commits mailing list