classworlds (1.1-final-4) debian-dir only changes

Summary

 debian/build.properties                 |    3 +
 debian/changelog                        |   66 ++++++++++++++++++++++++++++++++
 debian/compat                           |    1 
 debian/control                          |   46 ++++++++++++++++++++++
 debian/copyright                        |   59 ++++++++++++++++++++++++++++
 debian/libclassworlds-java-doc.doc-base |    9 ++++
 debian/libclassworlds-java.poms         |    1 
 debian/maven.rules                      |    1 
 debian/orig-tar.sh                      |   17 ++++++++
 debian/patches/pom.diff                 |   21 ++++++++++
 debian/patches/series                   |    1 
 debian/rules                            |   27 +++++++++++++
 debian/watch                            |    4 +
 13 files changed, 256 insertions(+)

    
download this patch

Patch contents

--- classworlds-1.1-final.orig/debian/libclassworlds-java.poms
+++ classworlds-1.1-final/debian/libclassworlds-java.poms
@@ -0,0 +1 @@
+pom.xml --no-parent
--- classworlds-1.1-final.orig/debian/build.properties
+++ classworlds-1.1-final/debian/build.properties
@@ -0,0 +1,3 @@
+javadoc.dir=build/api
+maven.test.skip=true
+build.sourceDirectory=src/java/main
--- classworlds-1.1-final.orig/debian/orig-tar.sh
+++ classworlds-1.1-final/debian/orig-tar.sh
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../classworlds_$VERSION.orig.tar.gz
+DIR=classworlds-$VERSION
+TAG=$(echo "CLASSWORLDS_$VERSION" | sed 's,1\.1-final,1_1,' | sed 's,-\(alpha\),_ALPHA_,' | sed 's,-\(beta\),_BETA_,' | sed 's,-\(rc\),_RC_,' | sed 's,\([0-9]\)\.,\1_,g' )
+
+svn export http://svn.codehaus.org/classworlds/tags/$TAG/classworlds/ $DIR
+tar -c -z -f $TAR $DIR
+rm -rf $DIR ../$TAG
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir
+  echo "moved $TAR to $origDir"
+fi
--- classworlds-1.1-final.orig/debian/watch
+++ classworlds-1.1-final/debian/watch
@@ -0,0 +1,4 @@
+version=3
+#http://dist.codehaus.org/classworlds/distributions/classworlds-([\d.]+)-src\.tar\.gz
+opts=uversionmangle=s/_/./g;s/1\.1/1.1-final/;s/.ALPHA/~ALPHA/;s/.RC/~RC/ \
+ http://svn.codehaus.org/classworlds/tags/ CLASSWORLDS_(\d.*)/ debian debian/orig-tar.sh
--- classworlds-1.1-final.orig/debian/maven.rules
+++ classworlds-1.1-final/debian/maven.rules
@@ -0,0 +1 @@
+junit junit jar s/3\..*/3.x/
--- classworlds-1.1-final.orig/debian/rules
+++ classworlds-1.1-final/debian/rules
@@ -0,0 +1,27 @@
+#!/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-trax ant-nodeps xalan2
+DEB_ANT_BUILD_TARGET := package javadoc
+DEB_ANT_BUILDFILE    := /usr/share/maven-ant-helper/maven-build.xml
+DEB_ANT_ARGS         := -Dbasedir=$(realpath .) -Dpackage=$(PACKAGE) -Dversion=$(VERSION)
+API_DOCS             := build/api
+
+get-orig-source:
+		-uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+
+binary-post-install/lib$(PACKAGE)-java::
+	mh_installpoms -plib$(PACKAGE)-java
+	mh_installjar -plib$(PACKAGE)-java -l pom.xml --usj-version=$(VERSION) build/$(PACKAGE)-$(VERSION).jar
+
+binary-post-install/lib$(PACKAGE)-java-doc::
+	dh_install -plib$(PACKAGE)-java-doc build/api usr/share/doc/lib$(PACKAGE)-java
+
+clean::
+	-rm -rf debian/tmp
--- classworlds-1.1-final.orig/debian/libclassworlds-java-doc.doc-base
+++ classworlds-1.1-final/debian/libclassworlds-java-doc.doc-base
@@ -0,0 +1,9 @@
+Document: libclassworlds-java
+Title: API Javadoc for libclassworlds-java
+Author: Codehaus developers
+Abstract: This is the API Javadoc provided by the libclassworlds-java library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libclassworlds-java/api/index.html
+Files: /usr/share/doc/libclassworlds-java/api/*
--- classworlds-1.1-final.orig/debian/compat
+++ classworlds-1.1-final/debian/compat
@@ -0,0 +1 @@
+5
--- classworlds-1.1-final.orig/debian/copyright
+++ classworlds-1.1-final/debian/copyright
@@ -0,0 +1,59 @@
+This package was debianized by Marcus Crafter <crafterm@debian.org> on
+Wed,  1 Sep 2004 20:46:11 +0200.
+
+classworlds was downloaded from http://svn.codehaus.org/classworlds
+
+Upstream Authors:  
+    
+    Ben Walding <bwalding@jakarta.org>
+    bob mcwhirter<bob@eng.werken.com>
+    Jason van Zyl<jason@maven.org>
+    Hani Suleiman <hani@formicary.net>
+
+Copyright:
+
+    Copyright 2002 (C) The Codehaus. All Rights Reserved.
+ 
+License:
+
+    Redistribution and use of this software and associated documentation
+    ("Software"), with or without modification, are permitted provided
+    that the following conditions are met:
+   
+    1. Redistributions of source code must retain copyright
+       statements and notices.  Redistributions must also contain a
+       copy of this document.
+    
+    2. 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.
+    
+    3. The name "classworlds" must not be used to endorse or promote
+       products derived from this Software without prior written
+       permission of The Codehaus.  For written permission, please 
+       contact bob@codehaus.org.
+    
+    4. Products derived from this Software may not be called "classworlds"
+       nor may "classworlds" appear in their names without prior written
+       permission of The Codehaus. "classworlds" is a registered
+       trademark of The Codehaus.
+    
+    5. Due credit should be given to The Codehaus.
+       (http://classworlds.codehaus.org/).
+    
+    THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS
+    ``AS IS'' AND ANY EXPRESSED 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 CODEHAUS OR ITS 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.
+
+The Debian packaging is (C) 2004, Marcus Crafter <crafterm@debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- classworlds-1.1-final.orig/debian/control
+++ classworlds-1.1-final/debian/control
@@ -0,0 +1,46 @@
+Source: classworlds
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
+Uploaders: Trygve Laugstøl <trygvis@inamo.no>, Paul Cager <paul-debian@home.paulcager.org>,
+ Torsten Werner <twerner@debian.org>
+Build-Depends-Indep: ant, ant-optional, libxalan2-java, maven-ant-helper (>> 4),
+ maven-repo-helper, openjdk-6-doc
+Build-Depends: debhelper (>= 5), cdbs (>= 0.4.5.3), default-jdk, quilt
+Standards-Version: 3.8.1
+
+Package: libclassworlds-java
+Architecture: all
+Section: java
+Depends: ${misc:Depends}
+Suggests: libclassworlds-java-doc
+Description: framework for container developers requiring manipulation of ClassLoaders
+ Classworlds is a framework for container developers who require complex
+ manipulation of Java's ClassLoaders. Java's native ClassLoader mechanims
+ and classes can cause many headaches and confusion for certain types of
+ application developers. Projects which involve dynamic loading of
+ components or otherwise represent a 'container' that can benefit from the
+ classloading control provided by classworlds.
+ .
+ Classworlds provides a richer set of semantics for class loading than Java's
+ normal mechanisms, while still being able to provide a ClassLoader interface
+ to integrate seamlessly with the Java environment.
+
+Package: libclassworlds-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, classpath-doc
+Suggests: libclassworlds-java
+Description: Documentation for the Classworlds Java library
+ Classworlds is a framework for container developers who require complex
+ manipulation of Java's ClassLoaders. Java's native ClassLoader mechanims
+ and classes can cause many headaches and confusion for certain types of
+ application developers. Projects which involve dynamic loading of
+ components or otherwise represent a 'container' that can benefit from the
+ classloading control provided by classworlds.
+ .
+ Classworlds provides a richer set of semantics for class loading than Java's
+ normal mechanisms, while still being able to provide a ClassLoader interface
+ to integrate seamlessly with the Java environment.
+ .
+ This package provides the API documentation.
--- classworlds-1.1-final.orig/debian/changelog
+++ classworlds-1.1-final/debian/changelog
@@ -0,0 +1,66 @@
+classworlds (1.1-final-4) unstable; urgency=low
+
+  [ Michael Koch ]
+  * Fixed watch file.
+
+  [ Torsten Werner ]
+  * Add myself to Uploaders.
+  * Add missing Build-Depends: openjdk-6-doc. (Closes: #551764)
+
+ -- Torsten Werner <twerner@debian.org>  Tue, 20 Oct 2009 17:41:44 +0200
+
+classworlds (1.1-final-3) unstable; urgency=low
+
+  * Upload to unstable.
+
+ -- Torsten Werner <twerner@debian.org>  Sun, 09 Aug 2009 10:38:43 +0200
+
+classworlds (1.1-final-2) experimental; urgency=low
+
+  * Add watch file
+  * Change section to java, bump up Standards-Version to 3.8.1
+  * Add the Maven POM to the package,
+  * Add a Build-Depends-Indep dependency on maven-repo-helper
+  * Use mh_installpom and mh_installjar to install the POM and the jar to the
+    Maven repository
+  * Use quilt to patch the POM and use <project> as the top level element
+  * Change the dependency on java-gcj to default-jdk (Closes: #526281)
+
+ -- Ludovic Claude <ludovic.claude@laposte.net>  Thu, 16 Apr 2009 15:00:16 +0100
+
+classworlds (1.1-final-1) unstable; urgency=low
+
+  * Update to the 1.1 release.
+
+ -- Matthias Klose <doko@debian.org>  Sun, 02 Dec 2007 23:37:41 +0100
+
+classworlds (1.1-alpha-2-1) unstable; urgency=low
+
+  * New maintainer (Closes: #382813).
+  * Fix FTBFS: build-depends on j2sdk1.4 (Closes: #397566).
+  * Moved from contrib/devel to main/libs.
+  * Changed to use CDBS (pkg-java standard).
+  * Bumped to compat 5 and standards version 3.7.2.
+  * Provides a doc-base.
+
+ -- Paul Cager <paul-debian@home.paulcager.org>  Sat, 16 Jun 2007 23:06:46 +0100
+
+classworlds (1.0.1-1.1) unstable; urgency=high
+
+  * NMU during BSP.
+  * Fix build failure (thanks to Andreas Jochens for the patch):
+    - Add junit to build dependencies.
+    - debian/rules: Set JAVA_HOME.
+    - src/java/test/org/codehaus/classworlds/ClassRealmImplTest.java:
+      ClassWriter.visit() from libasm-java 1.5 expects a version argument.
+    Closes: #307042.
+
+ -- Matej Vela <vela@debian.org>  Sun,  8 May 2005 22:29:01 +0200
+
+classworlds (1.0.1-1) unstable; urgency=low
+
+  * Initial Release.
+    (closes: #269502)
+
+ -- Marcus Crafter <crafterm@debian.org>  Wed,  1 Sep 2004 20:46:11 +0200
+
--- classworlds-1.1-final.orig/debian/patches/pom.diff
+++ classworlds-1.1-final/debian/patches/pom.diff
@@ -0,0 +1,21 @@
+--- a/pom.xml
++++ b/pom.xml
+@@ -1,10 +1,10 @@
+-<model>
++<project>
+   <modelVersion>4.0.0</modelVersion>
+   <groupId>classworlds</groupId>
+   <artifactId>classworlds</artifactId>
+   <packaging>jar</packaging>
+   <name>classworlds</name>
+-  <version>1.1-beta-1-SNAPSHOT</version>
++  <version>1.1</version>
+   <description></description>
+   <url>http://cvs.classworlds.codehaus.org/</url>
+   <inceptionYear>2002</inceptionYear>
+@@ -133,4 +133,4 @@
+     <name>The Codehaus</name>
+     <url>http://codehaus.org/</url>
+   </organization>
+-</model>
++</project>
--- classworlds-1.1-final.orig/debian/patches/series
+++ classworlds-1.1-final/debian/patches/series
@@ -0,0 +1 @@
+pom.diff