[pkg-java] r3123 - in trunk: . plexus-interactivity-api plexus-interactivity-api/debian

Paul Cager paulcager-guest at alioth.debian.org
Tue Mar 27 16:38:35 CET 2007


Author: paulcager-guest
Date: 2007-03-27 15:38:35 +0000 (Tue, 27 Mar 2007)
New Revision: 3123

Added:
   trunk/plexus-interactivity-api/
   trunk/plexus-interactivity-api/debian/
   trunk/plexus-interactivity-api/debian/build.xml
   trunk/plexus-interactivity-api/debian/changelog
   trunk/plexus-interactivity-api/debian/compat
   trunk/plexus-interactivity-api/debian/control
   trunk/plexus-interactivity-api/debian/copyright
   trunk/plexus-interactivity-api/debian/libplexus-interactivity-api-java-doc.doc-base
   trunk/plexus-interactivity-api/debian/rules
Log:
plexus-interactivity-api - Initial import

Added: trunk/plexus-interactivity-api/debian/build.xml
===================================================================
--- trunk/plexus-interactivity-api/debian/build.xml	2007-03-27 15:11:26 UTC (rev 3122)
+++ trunk/plexus-interactivity-api/debian/build.xml	2007-03-27 15:38:35 UTC (rev 3123)
@@ -0,0 +1,75 @@
+<?xml version="1.0"?>
+
+<!--
+      This build.xml file was written for the Debian build of plexus-interactivity-api.
+      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-interactivity-api" 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>

Added: trunk/plexus-interactivity-api/debian/changelog
===================================================================
--- trunk/plexus-interactivity-api/debian/changelog	2007-03-27 15:11:26 UTC (rev 3122)
+++ trunk/plexus-interactivity-api/debian/changelog	2007-03-27 15:38:35 UTC (rev 3123)
@@ -0,0 +1,5 @@
+plexus-interactivity-api (1.0+svn5974-1) unstable; urgency=low
+
+  * Initial release. (Closes: #413525)
+
+ -- Paul Cager <paul-debian at home.paulcager.org>  Sun, 25 Mar 2007 18:27:29 +0100

Added: trunk/plexus-interactivity-api/debian/compat
===================================================================
--- trunk/plexus-interactivity-api/debian/compat	2007-03-27 15:11:26 UTC (rev 3122)
+++ trunk/plexus-interactivity-api/debian/compat	2007-03-27 15:38:35 UTC (rev 3123)
@@ -0,0 +1 @@
+5

Added: trunk/plexus-interactivity-api/debian/control
===================================================================
--- trunk/plexus-interactivity-api/debian/control	2007-03-27 15:11:26 UTC (rev 3122)
+++ trunk/plexus-interactivity-api/debian/control	2007-03-27 15:38:35 UTC (rev 3123)
@@ -0,0 +1,48 @@
+Source: plexus-interactivity-api
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Paul Cager <paul-debian at home.paulcager.org>
+Build-Depends-Indep: java-gcj-compat-dev (>=1.0.65), ant-optional, libxalan2-java,
+                     libplexus-component-api-java,
+                     libplexus-component-api-java-doc,
+                     libplexus-utils-java,
+                     libplexus-utils-java-doc,
+Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3)
+Standards-Version: 3.7.2
+
+Package: libplexus-interactivity-api-java
+Architecture: all
+Depends: libplexus-component-api-java
+Section: libs
+Suggests: libplexus-interactivity-api-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-interactivity-api-java-doc
+Architecture: all
+Section: doc
+Depends: classpath-doc, libplexus-component-api-java-doc
+Suggests: libplexus-interactivity-api-java
+Description: API Documentation for plexus-interactivity-api
+ Documentation for plexus-interactivity-api, part of the Plexus framework.
+ .
+  Homepage: http://plexus.codehaus.org/

Added: trunk/plexus-interactivity-api/debian/copyright
===================================================================
--- trunk/plexus-interactivity-api/debian/copyright	2007-03-27 15:11:26 UTC (rev 3122)
+++ trunk/plexus-interactivity-api/debian/copyright	2007-03-27 15:38:35 UTC (rev 3123)
@@ -0,0 +1,75 @@
+This package was debianized by Paul Cager <paul-debian at home.paulcager.org>
+Sun, 25 Mar 2007 18:27:29 +0100
+
+The Debian packaging is Copyright (c) 2007 Paul Cager and is licensed under
+the GNU General Public License version 2. On Debian systems, the complete text
+of the GNU General Public License version 2 can be found in
+'/usr/share/common-licenses/GPL-2'.
+
+
+plex-classworlds was downloaded from http://plexus.codehaus.org/
+
+Upstream Authors:  
+	Ben Walding <bwalding at jakarta.org>
+	bob mcwhirter<bob at eng.werken.com>
+	Jason van Zyl<jason at maven.org>
+	Andrew Williams
+	Hani Suleiman <hani at formicary.net>
+
+COPYRIGHT NOTICES:
+	Copyright 2002 (C) The Werken Company. All Rights Reserved.
+
+	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 Werken Company.  For written permission,
+	please contact bob at werken.com.
+
+	4. Products derived from this Software may not be called "classworlds"
+	nor may "classworlds" appear in their names without prior written
+	permission of The Werken Company. "classworlds" is a registered
+	trademark of The Werken Company.
+
+	5. Due credit should be given to The Werken Company.
+	(http://classworlds.werken.com/).
+
+	THIS SOFTWARE IS PROVIDED BY THE WERKEN COMPANY 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 WERKEN COMPANY 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.
+
+
+	* Copyright 2001-2006 Codehaus Foundation.
+	*
+	* Licensed under the Apache License, Version 2.0 (the "License");
+	* you may not use this file except in compliance with the License.
+	* You may obtain a copy of the License at
+	*
+	*      http://www.apache.org/licenses/LICENSE-2.0
+	*
+	* Unless required by applicable law or agreed to in writing, software
+	* distributed under the License is distributed on an "AS IS" BASIS,
+	* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	* See the License for the specific language governing permissions and
+	* limitations under the License.
+

Added: trunk/plexus-interactivity-api/debian/libplexus-interactivity-api-java-doc.doc-base
===================================================================
--- trunk/plexus-interactivity-api/debian/libplexus-interactivity-api-java-doc.doc-base	2007-03-27 15:11:26 UTC (rev 3122)
+++ trunk/plexus-interactivity-api/debian/libplexus-interactivity-api-java-doc.doc-base	2007-03-27 15:38:35 UTC (rev 3123)
@@ -0,0 +1,9 @@
+Document: libplexus-interactivity-api-java
+Title: API Javadoc for plexus-interactivity-api
+Author: plexus-interactivity-api developers
+Abstract: This is the API Javadoc provided by the plexus-interactivity-api library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libplexus-interactivity-api-java/api/index.html
+Files: /usr/share/doc/libplexus-interactivity-api-java/api/*

Added: trunk/plexus-interactivity-api/debian/rules
===================================================================
--- trunk/plexus-interactivity-api/debian/rules	2007-03-27 15:11:26 UTC (rev 3122)
+++ trunk/plexus-interactivity-api/debian/rules	2007-03-27 15:38:35 UTC (rev 3123)
@@ -0,0 +1,40 @@
+#!/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/simple-patchsys.mk
+
+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 \
+                        /usr/share/java/plexus-classworlds.jar /usr/share/java/plexus-component-api.jar \
+			/usr/share/java/plexus-utils.jar
+DEB_ANT_BUILD_TARGET := package
+DEB_ANT_BUILDFILE    := ./debian/build.xml
+DEB_ANT_ARGS         := -Dpackage=$(PACKAGE) -Dversion=$(VERSION)
+#DEB_ANT_INVOKE       := ant -verbose -Dpackage=$(PACKAGE) -Dversion=$(VERSION) -f $(BUILD_FILE)
+API_DOCS             := build/doc/api
+SVN                  := http://svn.codehaus.org/plexus/plexus-components/trunk/plexus-interactivity/plexus-interactivity-api
+REVISION             := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -d' ' | cut -f1 -d- | sed 's/.*svn//' | sed 's/[^0-9].*//')
+
+
+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
+	
+
+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
+
+makebuilddir/lib$(PACKAGE)-java-doc::
+	echo "$(API_DOCS) usr/share/doc/lib$(PACKAGE)-java" >debian/lib$(PACKAGE)-java-doc.install
+
+cleanbuilddir/lib$(PACKAGE)-java::
+	cd debian && rm -f lib$(PACKAGE)-java-doc.install lib$(PACKAGE)-java.links lib$(PACKAGE)-java.install


Property changes on: trunk/plexus-interactivity-api/debian/rules
___________________________________________________________________
Name: svn:executable
   + 




More information about the pkg-java-commits mailing list