--- libcommons-modeler-java-1.1.orig/debian/patches/01_build_xml.patch
+++ libcommons-modeler-java-1.1/debian/patches/01_build_xml.patch
@@ -0,0 +1,20 @@
+--- build.xml.orig 2005-09-11 00:29:15.000000000 +0200
++++ build.xml 2005-09-11 00:28:55.000000000 +0200
+@@ -23,8 +23,6 @@
+
+
+
+-
+-
+
+
+
+@@ -157,7 +155,7 @@
+ destdir="${build.home}/classes"
+ debug="${compile.debug}"
+ deprecation="${compile.deprecation}"
+- optimize="${compile.optimize}">
++ optimize="${compile.optimize}" target="1.3">
+
+
+
--- libcommons-modeler-java-1.1.orig/debian/ant.properties
+++ libcommons-modeler-java-1.1/debian/ant.properties
@@ -0,0 +1,3 @@
+commons-digester.jar=/usr/share/java/commons-digester.jar
+commons-logging.jar=/usr/share/java/commons-logging.jar
+junit.jar=/usr/share/java/junit.jar
--- libcommons-modeler-java-1.1.orig/debian/changelog
+++ libcommons-modeler-java-1.1/debian/changelog
@@ -0,0 +1,101 @@
+libcommons-modeler-java (1.1-9) unstable; urgency=low
+
+ * Use java-gcj-compat instead of kaffe.
+ * Moved -doc package to doc section.
+ * Moved Build-Depends-Indep to Build-Depends.
+ * Use Homepage: tag in package descriptions.
+ * Removed Wolfgang and added myself to uploaders.
+ * Updated Standards-Version.
+
+ -- Michael Koch Sun, 17 Jun 2007 14:24:30 -0100
+
+libcommons-modeler-java (1.1-8) unstable; urgency=low
+
+ * kaffe compiler transition
+ + Build-depend only on kaffe
+ + Remove compiler property in debian/rules
+ * Bumped debhelper version to fix linda error
+ * Removed Takashi and Stefan from uploaders to reflect current maintainers
+
+ -- Wolfgang Baer Sun, 15 Jan 2006 17:59:27 +0100
+
+libcommons-modeler-java (1.1-7) unstable; urgency=low
+
+ * Updated build.xml patch to include fix for building
+ in top level directory (closes: #326163)
+ * Added kaffe | java1-runtime | java2-runtime to depends
+ * Added java-virtual-machine as suggests
+ * Changed DEB_ANT_INSTALL_TARGET into DEB_ANT_BUILD_TARGET
+ so javadocs is only build once
+
+ * Upload sponsored by Petter Reinholdtsen
+
+ -- Wolfgang Baer Sun, 11 Sep 2005 00:30:12 +0200
+
+libcommons-modeler-java (1.1-6) unstable; urgency=low
+
+ * libant1.6-java to ant transition
+
+ -- Arnaud Vandyck Sun, 21 Aug 2005 10:12:56 +0200
+
+libcommons-modeler-java (1.1-5) unstable; urgency=low
+
+ * Rebuild with target=1.3 (01_build_xml.patch)
+ This enables tomcat4 to work with JDK 1.3 again (closes: #314364)
+ * Fixed homepage location in descriptions
+ * Bumped Standards-Version to 3.6.2 (no changes)
+ * Added myself to uploaders
+ * Upload sponsored by Arnaud Vandyck
+
+ -- Wolfgang Baer Thu, 04 Aug 2005 22:22:11 +0200
+
+libcommons-modeler-java (1.1-4) unstable; urgency=low
+
+ * upload with sources.
+ * Move to main.
+
+ -- Arnaud Vandyck Sun, 10 Apr 2005 23:35:39 +0200
+
+libcommons-modeler-java (1.1-3) unstable; urgency=low
+
+ * Move to main (libmx4j-java is now in main)!
+
+ -- Arnaud Vandyck Mon, 4 Apr 2005 21:14:56 +0200
+
+libcommons-modeler-java (1.1-2) unstable; urgency=low
+
+ * added myself as an uploader
+ * build with ant1.6
+ * change build-dep in build-dep-indep
+ * debian/watch: added
+ * build with kaffe
+
+ -- Arnaud Vandyck Tue, 22 Mar 2005 12:00:31 +0100
+
+libcommons-modeler-java (1.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Switched debian/rules to CDBS
+ * Set maintainer to the Debian Java packaging project and added myself to
+ uploaders
+ * Renamed the source package to libcommons-modeler-java
+ * Added j2sdk1.3 | j2sdk1.4 to build dependencies
+ * Updated upstream authors in copyright
+ * Updated the long descriptions to include more keywords and added a link to
+ upstream's home page
+ * Standards-Version: 3.6.1
+ + Changed Build-Depends-Indep to Build-Depends
+
+ -- Stefan Gybas Thu, 16 Oct 2003 21:41:36 +0200
+
+commons-modeler (1.0-2) unstable; urgency=low
+
+ * use ant to build jar file (Closes:#162426).
+
+ -- Takashi Okamoto Fri, 27 Sep 2002 19:31:27 +0900
+
+commons-modeler (1.0-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Takashi Okamoto Sun, 15 Sep 2002 22:21:55 +0900
--- libcommons-modeler-java-1.1.orig/debian/rules
+++ libcommons-modeler-java-1.1/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+# debian/rules file for libcommons-modeler-java (uses cdbs)
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+
+JAVA_HOME_DIRS := /usr/lib/jvm/java-gcj
+ANT_HOME := /usr/share/ant
+
+# Additional JARs to add to the class path, either full path or just the
+# basename for JARs in /usr/share/java. The ".jar" suffix may also be ommitted
+DEB_JARS := mx4j commons-digester commons-logging $(ANT_HOME)/lib/ant-launcher.jar
+
+# Ant targets to call
+DEB_ANT_BUILD_TARGET := dist
+
+LIBRARY_PACKAGE := commons-modeler
+API_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -d' ' | cut -f1 -d-)
+
+install/lib$(LIBRARY_PACKAGE)-java::
+ install -m 644 dist/$(LIBRARY_PACKAGE).jar debian/$(cdbs_curpkg)/usr/share/java/$(LIBRARY_PACKAGE)-$(API_VERSION).jar
+ ln -s $(LIBRARY_PACKAGE)-$(API_VERSION).jar debian/$(cdbs_curpkg)/usr/share/java/$(LIBRARY_PACKAGE).jar
+
--- libcommons-modeler-java-1.1.orig/debian/control
+++ libcommons-modeler-java-1.1/debian/control
@@ -0,0 +1,38 @@
+Source: libcommons-modeler-java
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers
+Uploaders: Arnaud Vandyck , Michael Koch
+Build-Depends: debhelper (>= 4.2.30), cdbs (>= 0.4.8), java-gcj-compat-dev, ant, libcommons-logging-java, libcommons-digester-java, libmx4j-java
+Standards-Version: 3.7.2
+
+Package: libcommons-modeler-java
+Section: libs
+Architecture: all
+Depends: java-gcj-compat | java1-runtime | java2-runtime, libmx4j-java, libcommons-logging-java, libcommons-digester-java
+Suggests: java-virtual-machine
+Description: A convenience library to use Java Management Extensions (JMX)
+ Commons Modeler from the Apache Jakarta project simplifies using the Java
+ Management Extensions (JMX). It provides the following services to
+ application developers who wish to make their applications manageable via JMX:
+ * Reads an XML-based description of the Model MBeans to be provided
+ for a set of managed resources.
+ * Provides a registry of these descriptions.
+ * Supplies a base Model MBean implementation class that can be used
+ for all management activities where the attribute accesses or
+ operation calls are simply reflected on to the managed object.
+ .
+ Homepage: http://jakarta.apache.org/commons/modeler/
+
+Package: libcommons-modeler-java-doc
+Section: doc
+Architecture: all
+Suggests: libcommons-modeler-java
+Description: Javadoc API documentation and examples for Commons Modeler
+ Commons Modeler from the Apache Jakarta project simplifies using the Java
+ Management Extensions (JMX).
+ .
+ This package contains the Javadoc API documentation and examples.
+ .
+ Homepage: http://jakarta.apache.org/commons/modeler/
+
--- libcommons-modeler-java-1.1.orig/debian/compat
+++ libcommons-modeler-java-1.1/debian/compat
@@ -0,0 +1 @@
+4
--- libcommons-modeler-java-1.1.orig/debian/copyright
+++ libcommons-modeler-java-1.1/debian/copyright
@@ -0,0 +1,65 @@
+This package was debianized by Takashi Okamoto on
+Wed, 11 Sep 2002 21:09:56 +0900.
+
+It was downloaded from http://jakarta.apache.org/commons/modeler.html
+
+Upstream Authors: Craig R. McClanahan, Remy Maucherat, Amy Roh,
+ Costin Manolache, Yoav Shapira
+
+Copyright:
+/*
+ * ====================================================================
+ *
+ * The Apache Software License, Version 1.1
+ *
+ * Copyright (c) 1999-2001 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 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 end-user documentation included with the redistribution, if
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowlegement may appear in the software itself,
+ * if and wherever such third-party acknowlegements normally appear.
+ *
+ * 4. The names "The Jakarta Project", "Commons", and "Apache Software
+ * Foundation" must not be used to endorse or promote products derived
+ * from this software without prior written permission. For written
+ * permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache"
+ * nor may "Apache" appear in their names without prior written
+ * permission of the Apache Group.
+ *
+ * THIS SOFTWARE IS PROVIDED ``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 APACHE SOFTWARE FOUNDATION 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.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation. For more
+ * information on the Apache Software Foundation, please see
+ * .
+ *
+ */
--- libcommons-modeler-java-1.1.orig/debian/dirs
+++ libcommons-modeler-java-1.1/debian/dirs
@@ -0,0 +1 @@
+usr/share/java
--- libcommons-modeler-java-1.1.orig/debian/libcommons-modeler-java-doc.docs
+++ libcommons-modeler-java-1.1/debian/libcommons-modeler-java-doc.docs
@@ -0,0 +1 @@
+dist/docs/api
--- libcommons-modeler-java-1.1.orig/debian/libcommons-modeler-java-doc.examples
+++ libcommons-modeler-java-1.1/debian/libcommons-modeler-java-doc.examples
@@ -0,0 +1 @@
+src/test/org/apache/commons/modeler/demo
--- libcommons-modeler-java-1.1.orig/debian/libcommons-modeler-java.docs
+++ libcommons-modeler-java-1.1/debian/libcommons-modeler-java.docs
@@ -0,0 +1,3 @@
+RELEASE-NOTES.txt
+RELEASE-NOTES-1.1.txt
+STATUS.html
--- libcommons-modeler-java-1.1.orig/debian/watch
+++ libcommons-modeler-java-1.1/debian/watch
@@ -0,0 +1,2 @@
+version=2
+http://www.apache.org/dist/jakarta/commons/modeler/source/modeler-(.*)-src\.tar\.gz debian uupdate