[pkg-java] r3138 - trunk/libplexus-utils/debian
Paul Cager
paulcager-guest at alioth.debian.org
Fri Mar 30 22:23:27 CET 2007
Author: paulcager-guest
Date: 2007-03-30 21:23:26 +0000 (Fri, 30 Mar 2007)
New Revision: 3138
Added:
trunk/libplexus-utils/debian/libplexus-utils-java-doc.doc-base
Removed:
trunk/libplexus-utils/debian/dirs
trunk/libplexus-utils/debian/libplexus-utils.install
trunk/libplexus-utils/debian/libplexus-utils.links
trunk/libplexus-utils/debian/libplexus.links
Modified:
trunk/libplexus-utils/debian/build.xml
trunk/libplexus-utils/debian/changelog
trunk/libplexus-utils/debian/compat
trunk/libplexus-utils/debian/control
trunk/libplexus-utils/debian/copyright
trunk/libplexus-utils/debian/rules
Log:
libplexus-utils (1.4.1+svn6048-1) unstable; urgency=low
* New upstream version, required for maven2 packaging
* Added myself to uploaders
* Wolfgang removed from uploaders as he is currently inactive
* Bumped to debhelper version 5
* Bumped to standards version 3.7.2
* Copyright and Authors updated
* Updated for new pkg-java standards:
- Binary package renamed to libplexus-utils-java
- Created separate "doc" package
- Using gcj-compat-dev to compile
Modified: trunk/libplexus-utils/debian/build.xml
===================================================================
--- trunk/libplexus-utils/debian/build.xml 2007-03-30 11:34:23 UTC (rev 3137)
+++ trunk/libplexus-utils/debian/build.xml 2007-03-30 21:23:26 UTC (rev 3138)
@@ -1,13 +1,75 @@
-<project>
- <target name="clean">
- <delete dir="../target"/>
- <delete file="../plexus-utils-1.0alpha1.jar"/>
- </target>
- <target name="jar">
- <mkdir dir="../target/classes"/>
- <mkdir dir="../target/test-classes"/>
- <javac nowarn="true" srcdir="../src/main/java" destdir="../target/classes"/>
- <javac nowarn="true" srcdir="../src/main/java" destdir="../target/test-classes"/>
- <jar basedir="../target/classes" destfile="../plexus-utils-1.0alpha1.jar"/>
- </target>
+<?xml version="1.0"?>
+
+<!--
+ This build.xml file was written for the Debian build of plexus-utils.
+ This file copyright (c) Paul Cager <paul-debian at home.paulcager.org>
+
+ This software and documentation is provided "as is," and
+ the copyright holders and contributing author(s) 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.
+
+ The copyright holders and contributing author(s) will not be
+ liable for any direct, indirect, special or consequential damages
+ arising out of any use of the software or documentation, even if
+ advised of the possibility of such damage.
+
+ Permission is hereby granted to use, copy, modify, and distribute
+ this source code, or portions hereof, documentation and executables,
+ for any purpose, without fee, subject to the following restrictions:
+
+ 1. The origin of this source code must not be misrepresented.
+ 2. Altered versions must be plainly marked as such and must
+ not be misrepresented as being the original source.
+ 3. This Copyright notice may not be removed or altered from any
+ source or altered source distribution.
+-->
+
+<project name="plexus-utils" default="package" basedir="..">
+
+<target name="package" depends="jar,javadoc"/>
+
+<target name="init">
+ <property name="src.dir" value="src"/>
+ <property name="build.dir" value="build"/>
+ <property name="jar" value="${build.dir}/${package}-${version}.jar"/>
+ <property name="javadoc.dir" value="${build.dir}/doc/api"/>
+</target>
+
+<target name="compile" depends="init">
+ <mkdir dir="${build.dir}"/>
+ <javac srcdir="${src.dir}/main"
+ destdir="${build.dir}"
+ includes="**/*.java"
+ debug="on"
+ />
+</target>
+
+<target name="jar" depends="compile">
+ <delete file="${jar}"/>
+
+ <jar jarfile="${jar}"
+ basedir="${build.dir}"
+ includes="**/*.class,**/*.properties"
+ />
+</target>
+
+<target name="javadoc" depends="init">
+ <mkdir dir="${javadoc.dir}"/>
+ <javadoc packagenames="org.codehaus.plexus.*"
+ sourcepath="${src.dir}/main/java"
+ destdir="${javadoc.dir}"
+ author="true"
+ version="true"
+ windowtitle="${package} API"
+ doctitle="${package} - ${version}"
+ />
+</target>
+
+<target name="clean" depends="init">
+ <delete dir="${build.dir}"/>
+</target>
</project>
Modified: trunk/libplexus-utils/debian/changelog
===================================================================
--- trunk/libplexus-utils/debian/changelog 2007-03-30 11:34:23 UTC (rev 3137)
+++ trunk/libplexus-utils/debian/changelog 2007-03-30 21:23:26 UTC (rev 3138)
@@ -1,3 +1,18 @@
+libplexus-utils (1.4.1+svn6048-1) unstable; urgency=low
+
+ * New upstream version, required for maven2 packaging
+ * Added myself to uploaders
+ * Wolfgang removed from uploaders as he is currently inactive
+ * Bumped to debhelper version 5
+ * Bumped to standards version 3.7.2
+ * Copyright and Authors updated
+ * Updated for new pkg-java standards:
+ - Binary package renamed to libplexus-utils-java
+ - Created separate "doc" package
+ - Using gcj-compat-dev to compile
+
+ -- Paul Cager <paul-debian at home.paulcager.org> Sun, 25 Mar 2007 18:27:29 +0100
+
libplexus-utils (1.0alpha1-3) unstable; urgency=low
* kaffe compiler transition
Modified: trunk/libplexus-utils/debian/compat
===================================================================
--- trunk/libplexus-utils/debian/compat 2007-03-30 11:34:23 UTC (rev 3137)
+++ trunk/libplexus-utils/debian/compat 2007-03-30 21:23:26 UTC (rev 3138)
@@ -1 +1 @@
-4
+5
Modified: trunk/libplexus-utils/debian/control
===================================================================
--- trunk/libplexus-utils/debian/control 2007-03-30 11:34:23 UTC (rev 3137)
+++ trunk/libplexus-utils/debian/control 2007-03-30 21:23:26 UTC (rev 3138)
@@ -2,12 +2,61 @@
Section: libs
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Trygve Laugstøl <trygvis at codehaus.org>, Arnaud Vandyck <avdyk at debian.org>, Wolfgang Baer <WBaer at gmx.de>
-Build-Depends-Indep: debhelper (>= 4.2.30), kaffe (>=2:1.1.4), ant, cdbs(>=0.4.27)
-Standards-Version: 3.6.2
+Uploaders: Trygve Laugstøl <trygvis at codehaus.org>, Arnaud Vandyck <avdyk at debian.org>, Paul Cager <paul-debian at home.paulcager.org>
+Build-Depends-Indep: java-gcj-compat-dev (>=1.0.65), ant-optional, libxalan2-java
+Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3)
+Standards-Version: 3.7.2
-Package: libplexus-utils
+Package: libplexus-utils-java
Architecture: all
-Depends: kaffe | java1-runtime | java2-runtime
-Description: Common utilities used by the Plexus Container and components
- These utils collected from misc places, mostly the Jakarta Commons packages.
+Section: libs
+Suggests: libplexus-utils-java-doc
+Description: utilities for the Plexus framework
+ The Plexus project provides a full software stack for creating and executing
+ software projects. Based on the Plexus container, the applications can
+ utilise component-oriented programming to build modular, reusable components
+ that can easily be assembled and reused.
+ .
+ While Plexus is similar to other inversion-of-control (IoC) or dependency
+ injection frameworks such as the Spring Framework, it is a full-fledged
+ container that supports many more features such as:
+ .
+ * Component lifecycles
+ * Component instantiation strategies
+ * Nested containers
+ * Component configuration
+ * Auto-wiring
+ * Component dependencies, and
+ * Various dependency injection techniques including constructor injection,
+ setter injection, and private field injection.
+ .
+ Homepage: http://plexus.codehaus.org/
+
+Package: libplexus-utils-java-doc
+Architecture: all
+Section: doc
+Depends: classpath-doc
+Suggests: libplexus-utils-java
+Description: API Documentation for plexus-utils
+ The Plexus project provides a full software stack for creating and executing
+ software projects. Based on the Plexus container, the applications can
+ utilise component-oriented programming to build modular, reusable components
+ that can easily be assembled and reused.
+ .
+ While Plexus is similar to other inversion-of-control (IoC) or dependency
+ injection frameworks such as the Spring Framework, it is a full-fledged
+ container that supports many more features such as:
+ .
+ * Component lifecycles
+ * Component instantiation strategies
+ * Nested containers
+ * Component configuration
+ * Auto-wiring
+ * Component dependencies, and
+ * Various dependency injection techniques including constructor injection,
+ setter injection, and private field injection.
+ .
+ This package contains the API documentation for plexus-utils.
+ .
+ Homepage: http://plexus.codehaus.org/
+
Modified: trunk/libplexus-utils/debian/copyright
===================================================================
--- trunk/libplexus-utils/debian/copyright 2007-03-30 11:34:23 UTC (rev 3137)
+++ trunk/libplexus-utils/debian/copyright 2007-03-30 21:23:26 UTC (rev 3138)
@@ -1,44 +1,198 @@
This package was debianized by Trygve Laugstøl <trygvis at codehaus.org> on
Tue, 19 Aug 2005 00:26:30 +0100.
-It was downloaded from http://cvs.plexus.codehaus.org
+libplex-utils was downloaded from http://plexus.codehaus.org/
-Upstream Authors: Jason van Zyl <jvanzyl at maven.org>
- Pete Kazmier <pete at codehaus.org>
- James Taylor <james at jamestaylor.org>
- Dan Diephouse <dan at envoisolutions.com>
- Kasper Nielsen <apache at kav.dk>
- Ben Walding <bwalding at codehaus.org>
- Mark Wilkinson <mhw at kremvax.net>
- Michal Maczka <mmaczka at interia.pl>
- Trygve Laugst¸l <trygvis at codehaus.org>
- Brett Porter <brett at codehaus.org>
- Emmanuel Venisse <evenisse at codehaus.org>
- John D. Casey <jdcasey at codehaus.org>
+Upstream Authors:
+ Javolution
+ ThoughtWorks, Inc
+ The Apache Software Foundation
+ The Codehaus Foundation
-Copyright:
+ Arnout J. Kuiper
+ Ben Walding
+ Bert
+ costin at dnt.ro
+ Dan T. Tran
+ Dmitri Plotnikov
+ Edwin Punzalan
+ Holger Krauth
+ Jason van Zyl
+ jdcasey
+ Jean-Marie Dautelle
+ Jeremias Maerki
+ Jesse McConnell
+ John Casey
+ Magesh Umasankar
+ Matthew Hawthorne
+ Michal Maczka
+ Peter Donald
+ Stefan Bodewig
+ Stephen Colebourne
+ Thomas Haas
-/*
- * The MIT License
- *
- * Copyright (c) 2004, The Codehaus
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
- * this software and associated documentation files (the "Software"), to deal in
- * the Software without restriction, including without limitation the rights to
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
- * of the Software, and to permit persons to whom the Software is furnished to do
- * so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
+Copyright (c) 1998-2007 Codehaus Foundation,
+ Apache Software Foundation,
+ Indiana University,
+ Javolution,
+ ThoughtWorks, Inc
+COPYRIGHT NOTICES:
+ Indiana University Extreme! Lab Software License
+
+ Version 1.1.1
+
+ Copyright (c) 2002 Extreme! Lab, Indiana University. 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 acknowledgment:
+
+ "This product includes software developed by the Indiana University
+ Extreme! Lab (http://www.extreme.indiana.edu/)."
+
+ Alternately, this acknowledgment may appear in the software itself,
+ if and wherever such third-party acknowledgments normally appear.
+
+ 4. The names "Indiana Univeristy" and "Indiana Univeristy Extreme! Lab"
+ must not be used to endorse or promote products derived from this
+ software without prior written permission. For written permission,
+ please contact http://www.extreme.indiana.edu/.
+
+ 5. Products derived from this software may not use "Indiana Univeristy"
+ name nor may "Indiana Univeristy" appear in their name, without prior
+ written permission of the Indiana University.
+
+ 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 AUTHORS, COPYRIGHT HOLDERS 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.
+
+ Javolution - Java(TM) Solution for Real-Time and Embedded Systems
+ Copyright (c) 2006, Javolution (http://javolution.org)
+ 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.
+
+ 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.
+
+
+ /********************************************************************************
+ * CruiseControl, a Continuous Integration Toolkit
+ * Copyright (c) 2001-2003, ThoughtWorks, Inc.
+ * 651 W Washington Ave. Suite 500
+ * Chicago, IL 60661 USA
+ * 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 ThoughtWorks, Inc., CruiseControl, 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.
+ ********************************************************************************/
+
+ This product includes software developed by
+ The Apache Software Foundation (http://www.apache.org/).
+
+
+ * The Apache Software License, Version 1.1
+ *
+ * Copyright (c) 2000-2002 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.codehaus.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", "Ant", 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 codehaus at codehaus.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.
Deleted: trunk/libplexus-utils/debian/dirs
===================================================================
--- trunk/libplexus-utils/debian/dirs 2007-03-30 11:34:23 UTC (rev 3137)
+++ trunk/libplexus-utils/debian/dirs 2007-03-30 21:23:26 UTC (rev 3138)
@@ -1 +0,0 @@
-usr/share/java
Added: trunk/libplexus-utils/debian/libplexus-utils-java-doc.doc-base
===================================================================
--- trunk/libplexus-utils/debian/libplexus-utils-java-doc.doc-base 2007-03-30 11:34:23 UTC (rev 3137)
+++ trunk/libplexus-utils/debian/libplexus-utils-java-doc.doc-base 2007-03-30 21:23:26 UTC (rev 3138)
@@ -0,0 +1,9 @@
+Document: libplexus-utils-java
+Title: API Javadoc for libplexus-utils
+Author: plexus-utils developers
+Abstract: This is the API Javadoc provided by the libplexus-utils library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libplexus-utils-java/api/index.html
+Files: /usr/share/doc/libplexus-utils-java/api/*
Deleted: trunk/libplexus-utils/debian/libplexus-utils.install
===================================================================
--- trunk/libplexus-utils/debian/libplexus-utils.install 2007-03-30 11:34:23 UTC (rev 3137)
+++ trunk/libplexus-utils/debian/libplexus-utils.install 2007-03-30 21:23:26 UTC (rev 3138)
@@ -1 +0,0 @@
-plexus-utils-1.0alpha1.jar /usr/share/java/
Deleted: trunk/libplexus-utils/debian/libplexus-utils.links
===================================================================
--- trunk/libplexus-utils/debian/libplexus-utils.links 2007-03-30 11:34:23 UTC (rev 3137)
+++ trunk/libplexus-utils/debian/libplexus-utils.links 2007-03-30 21:23:26 UTC (rev 3138)
@@ -1 +0,0 @@
-/usr/share/java/plexus-utils-1.0alpha1.jar /usr/share/java/plexus-utils.jar
Deleted: trunk/libplexus-utils/debian/libplexus.links
===================================================================
--- trunk/libplexus-utils/debian/libplexus.links 2007-03-30 11:34:23 UTC (rev 3137)
+++ trunk/libplexus-utils/debian/libplexus.links 2007-03-30 21:23:26 UTC (rev 3138)
@@ -1 +0,0 @@
-usr/share/java/plexus-utils-1.0-alpha-1.jar usr/share/java/plexus-utils.jar
Modified: trunk/libplexus-utils/debian/rules
===================================================================
--- trunk/libplexus-utils/debian/rules 2007-03-30 11:34:23 UTC (rev 3137)
+++ trunk/libplexus-utils/debian/rules 2007-03-30 21:23:26 UTC (rev 3138)
@@ -1,43 +1,38 @@
#!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
-# Copyright © 2005 Trygve Laugstøl <trygvis at codehaus.org>
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
-JAVA_HOME := /usr/lib/kaffe
-ANT_HOME := /usr/share/ant
+PACKAGE := $(shell dpkg-parsechangelog | egrep '^Source:' | cut -f2 -d' ')
+VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -d' ' | cut -f1 -d-)
+JAVA_HOME := /usr/lib/jvm/java-gcj
+ANT_HOME := /usr/share/ant
+DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar $(ANT_HOME)/lib/ant-trax.jar xalan2
+DEB_ANT_BUILD_TARGET := package
+BUILD_FILE := ./debian/build.xml
+DEB_ANT_INVOKE := ant -Dpackage=$(PACKAGE) -Dversion=$(VERSION) -f $(BUILD_FILE)
+API_DOCS := build/doc/api
+SVN := http://svn.codehaus.org/plexus/plexus-utils/trunk/
+REVISION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -d' ' | cut -f1 -d- | sed 's/.*svn//' | sed 's/[^0-9].*//')
-# 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.
-# ant.jar and $(JAVA_HOME)/lib/tools.jar are automatically added if they
-# exist.
-DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar
-# Targets to invoke for building, installing, testing and cleaning up.
-# Building uses the default target from build.xml, installing and testing is
-# only called if the corresponding variable is set. You can also specify
-# multiple targets for each step.
-DEB_ANT_BUILD_TARGET := jar
-#DEB_ANT_INSTALL_TARGET := install
-#DEB_ANT_TEST_TARGET :=
-DEB_ANT_CLEAN_TARGET := clean
-DEB_ANT_BUILDFILE := debian/build.xml
+get-orig-source:
+ echo "Getting revision $(REVISION) from $(SVN)"
+ mkdir orig_tmp
+ cd orig_tmp && \
+ svn export -q -r $(REVISION) $(SVN) $(PACKAGE) && \
+ tar czf ../../$(PACKAGE)_$(VERSION).orig.tar.gz $(PACKAGE)
+ rm -rf orig_tmp
+
-# This example assumes that Ant creates a JAR in dist which should be installed
-# into /usr/share/java with the appropriate API version in the name. These
-# steps can also be handled by debhelper (debian/*.install and debian/*.links),
-# of course.
+makebuilddir/lib$(PACKAGE)-java::
+ echo "build/$(PACKAGE)-$(VERSION).jar usr/share/java" >debian/lib$(PACKAGE)-java.install
+ echo "/usr/share/java/$(PACKAGE)-$(VERSION).jar /usr/share/java/$(PACKAGE).jar" >debian/lib$(PACKAGE)-java.links
-LIBRARY_PACKAGE := plexus-utils
-API_VERSION := 1.0alpha1
+makebuilddir/lib$(PACKAGE)-java-doc::
+ echo "$(API_DOCS) usr/share/doc/lib$(PACKAGE)-java" >debian/lib$(PACKAGE)-java-doc.install
+ #echo "CHANGES usr/share/doc/lib$(PACKAGE)-java" >>debian/lib$(PACKAGE)-java-doc.install
-TAG=PLEXUS_UTILS_1_0_ALPHA_1
-CVSROOT=:pserver:anonymous at cvs.plexus.codehaus.org:/scm/plexus
-ORIG=libplexus-utils-$(API_VERSION)
-
-get-orig-source:
- rm -rf libplexus-utils_$(API_VERSION)
- cvs -d ${CVSROOT} -Q export -r ${TAG} -d $(ORIG) plexus/plexus-utils
- tar zcf libplexus-utils_$(API_VERSION).orig.tar.gz $(ORIG)
- rm -rf $(ORIG)
+cleanbuilddir/lib$(PACKAGE)-java::
+ cd debian && rm -f lib$(PACKAGE)-java-doc.install lib$(PACKAGE)-java.links lib$(PACKAGE)-java.install
More information about the pkg-java-commits
mailing list