This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository classworlds.

commit 8b2970fad3df75fd5b6242ccf8270e0a8385a9a9
Author: Trygve Laugstøl <[email protected]>
Date:   Sat Jun 2 12:31:36 2007 +0000

    o Adding a classworlds package. The plexus-container-default alpha-9 
release requires this.
---
 debian/build.xml | 25 +++++++++++++++++++++++++
 debian/changelog |  5 +++++
 debian/compat    |  1 +
 debian/control   | 24 ++++++++++++++++++++++++
 debian/copyright | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/rules     | 38 ++++++++++++++++++++++++++++++++++++++
 6 files changed, 147 insertions(+)

diff --git a/debian/build.xml b/debian/build.xml
new file mode 100644
index 0000000..8b2c142
--- /dev/null
+++ b/debian/build.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+
+<project name="classworlds" default="package" basedir="..">
+
+    <property file="debian/build.properties"/>
+    <property name="build.sourceDirectory" value="src/java/main"/>
+    <property name="maven.test.skip" value="true"/>
+    <property file="/usr/share/maven-ant-helper/maven-defaults.properties"/>
+
+    <target name="clean">
+        <ant target="clean" 
antfile="/usr/share/maven-ant-helper/maven-build.xml" dir="."/>
+    </target>
+
+    <target name="package">
+        <ant target="package" 
antfile="/usr/share/maven-ant-helper/maven-build.xml" dir=".">
+            <property name="artifactId" value="classworlds"/>
+        </ant>
+    </target>
+ 
+    <target name="javadoc">
+        <ant target="javadoc" 
antfile="/usr/share/maven-ant-helper/maven-build.xml" dir=".">
+            <property name="artifactId" value="classworlds"/>
+        </ant>
+    </target>
+</project>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9101d3a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+classworlds (1.1-alpha-2-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Trygve Laugstol <[email protected]>  Sat, 2 Jun 2007 10:28:32 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..77f7009
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: classworlds
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers 
<[email protected]>
+Uploaders: Trygve Laugstøl <[email protected]>
+Build-Depends-Indep: java-gcj-compat-dev (>=1.0.65), ant-optional, 
libxalan2-java, maven-ant-helper
+Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3)
+Standards-Version: 3.7.2
+
+Package: libclassworlds-java
+Architecture: all
+Section: libs
+Suggests: libclassworlds-java-doc
+Description: Classworlds is a framework for container developers who require 
complex manipulation of Java's ClassLoaders.
+ 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: classpath-doc
+Suggests: libclassworlds-java
+Description: Documentation for the Classworlds Java library
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..62b824d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,54 @@
+classworlds was downloaded from http://svn.codehaus.org/classworlds
+
+Upstream Authors:  
+       Ben Walding <[email protected]>
+       bob mcwhirter<[email protected]>
+       Jason van Zyl<[email protected]>
+
+COPYRIGHT NOTICES:
+/*
+
+ $Id$
+
+ Copyright 2002 (C) The Codehaus. 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 Codehaus.  For written permission, please 
+    contact [email protected].
+ 
+ 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.
+ 
+ */
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a1aa3c5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,38 @@
+#!/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:' | sed 
"s,Version: \(.*\)-.*,\1,g")
+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 javadoc
+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/javadoc
+SVN                  := 
http://svn.codehaus.org/classworlds/tags/CLASSWORLDS_1_1_ALPHA_2/classworlds
+
+get-orig-source:
+       echo "Getting from $(SVN)"
+       rm -rf orig_tmp
+       mkdir orig_tmp
+       svn export -q $(SVN) orig_tmp/$(PACKAGE)
+       rm orig_tmp/$(PACKAGE)/lib/*.jar
+       ( cd orig_tmp; 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
+
+

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/classworlds.git

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to