Author: twerner
Date: 2008-11-29 18:59:45 +0000 (Sat, 29 Nov 2008)
New Revision: 7467

Added:
   trunk/libxbean-java/
   trunk/libxbean-java/debian/
   trunk/libxbean-java/debian/ant.properties
   trunk/libxbean-java/debian/build.xml
   trunk/libxbean-java/debian/changelog
   trunk/libxbean-java/debian/compat
   trunk/libxbean-java/debian/control
   trunk/libxbean-java/debian/copyright
   trunk/libxbean-java/debian/orig-tar.sh
   trunk/libxbean-java/debian/rules
   trunk/libxbean-java/debian/watch
Log:
new package xbean


Added: trunk/libxbean-java/debian/ant.properties
===================================================================
--- trunk/libxbean-java/debian/ant.properties                           (rev 0)
+++ trunk/libxbean-java/debian/ant.properties   2008-11-29 18:59:45 UTC (rev 
7467)
@@ -0,0 +1,4 @@
+classpath.compile=
+classpath.test=
+javadoc.dir=build/api
+maven.test.skip=true

Added: trunk/libxbean-java/debian/build.xml
===================================================================
--- trunk/libxbean-java/debian/build.xml                                (rev 0)
+++ trunk/libxbean-java/debian/build.xml        2008-11-29 18:59:45 UTC (rev 
7467)
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+ 
+<project name="xbean" default="package" basedir="..">
+ 
+  <property file="/usr/share/maven-ant-helper/maven-defaults.properties"/>
+
+  <macrodef name="cleanmodule">
+    <attribute name="dir"/>
+    <sequential>
+      <ant target="clean"
+       antfile="${basedir}/debian/maven-build.xml" dir="@{dir}"/>
+    </sequential>
+  </macrodef>
+
+  <macrodef name="packagemodule">
+    <attribute name="dir"/>
+    <attribute name="artifactId"/>
+    <sequential>
+      <ant target="package" antfile="${basedir}/debian/maven-build.xml" 
dir="@{dir}">
+       <property name="artifactId" value="@{artifactId}"/>
+      </ant>
+    </sequential>
+  </macrodef>
+
+  <target name="clean">
+    <delete dir="build"/>
+    <cleanmodule dir="xbean-reflect"/>
+  </target>
+
+  <target name="package">
+    <packagemodule dir="xbean-reflect" artifactId="xbean-reflect"/>
+  </target>
+
+  <target name="javadoc">
+    <javadoc destdir="${javadoc.dir}">
+      <packageset dir="xbean-reflect/src/main/java/"/>
+    </javadoc>
+  </target>
+
+</project>

Added: trunk/libxbean-java/debian/changelog
===================================================================
--- trunk/libxbean-java/debian/changelog                                (rev 0)
+++ trunk/libxbean-java/debian/changelog        2008-11-29 18:59:45 UTC (rev 
7467)
@@ -0,0 +1,6 @@
+libxbean-java (3.4.3-1) unstable; urgency=low
+
+  UNRELEASED
+  * Initial release. (Closes: #xxxxxx)
+
+ -- Torsten Werner <[EMAIL PROTECTED]>  Sat, 29 Nov 2008 19:52:17 +0100

Added: trunk/libxbean-java/debian/compat
===================================================================
--- trunk/libxbean-java/debian/compat                           (rev 0)
+++ trunk/libxbean-java/debian/compat   2008-11-29 18:59:45 UTC (rev 7467)
@@ -0,0 +1 @@
+5

Added: trunk/libxbean-java/debian/control
===================================================================
--- trunk/libxbean-java/debian/control                          (rev 0)
+++ trunk/libxbean-java/debian/control  2008-11-29 18:59:45 UTC (rev 7467)
@@ -0,0 +1,20 @@
+Source: libxbean-java
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <[EMAIL PROTECTED]>
+Uploaders: Torsten Werner <[EMAIL PROTECTED]>
+Build-Depends: ant, debhelper (>= 5), cdbs, default-jdk, maven-ant-helper
+Standards-Version: 3.8.0
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libxbean-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libxbean-java/
+Homepage: http://geronimo.apache.org/xbean/
+
+Package: libxbean-java
+Architecture: all
+Description: plugin based Java application server
+ The goal of XBean project is to created a plugin based server analogous to
+ Eclipse being a plugin based IDE. XBean will be able to discover, download and
+ install server plugins from an Internet based repository. In addition, we
+ include support for multiple IoC systems, support for running with no IoC
+ system, JMX without JMX code, lifecycle and class loader management, and a 
rock
+ solid Spring integration.

Added: trunk/libxbean-java/debian/copyright
===================================================================
--- trunk/libxbean-java/debian/copyright                                (rev 0)
+++ trunk/libxbean-java/debian/copyright        2008-11-29 18:59:45 UTC (rev 
7467)
@@ -0,0 +1,97 @@
+This package was debianized by Torsten Werner<[EMAIL PROTECTED]>
+Sat Nov 29 17:33:45 CET 2008
+
+xbean was downloaded from http://geronimo.apache.org/xbean/
+
+FIXME
+
+Upstream Authors:  
+       Andrew Williams
+       Avalon Development Team
+       Ben Walding
+       Berin Loritsch
+       Bert van Brakel
+       Brett Porter
+       Dan Diephouse
+       Jason van Zyl
+       John Casey
+       Kenney Westerhof
+       Leo Sutic
+       Mark H. Wilkinson
+       Michal Maczka
+       Peter Donald
+       Ran Tene
+       Trygve Laugstl
+
+
+There is one source file without a license header. This has been brought to
+upstream's attention who have confirmed that they will add the license
+information (see IRC log extract below):
+
+ [Sat Apr 21 2007] [13:06:51] <paulcager> Source file for class
+  org.codehaus.plexus.component.configurator.converters.ComponentValueSetter
+  doesn't have any License information at
+ [Sat Apr 21 2007] [13:07:45] <paulcager> the top. I'm packaging it for Debian,
+  and I wondered if anyone could add the appropriate license block?
+ [Sat Apr 21 2007] [13:22:22] <cobalt-60> kenney, your name is there,
+  and it looks it all your fault :)
+ [Sat Apr 21 2007] [15:19:52] <trygvis> paulcager: I'll take care of it ..
+  was supposed to do it, but got busy
+
+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 [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 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/libxbean-java/debian/orig-tar.sh
===================================================================
--- trunk/libxbean-java/debian/orig-tar.sh                              (rev 0)
+++ trunk/libxbean-java/debian/orig-tar.sh      2008-11-29 18:59:45 UTC (rev 
7467)
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+TAR=../libxbean-java_$2.orig.tar.gz
+DIR=xbean-$2
+TAG=xbean-$2
+
+svn export http://svn.apache.org/repos/asf/geronimo/xbean/tags/$TAG $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


Property changes on: trunk/libxbean-java/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
   + 

Added: trunk/libxbean-java/debian/rules
===================================================================
--- trunk/libxbean-java/debian/rules                            (rev 0)
+++ trunk/libxbean-java/debian/rules    2008-11-29 18:59:45 UTC (rev 7467)
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.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/default-java
+DEB_JARS             := 
+DEB_ANT_BUILD_TARGET := package
+DEB_ANT_BUILDFILE    := debian/build.xml
+DEB_ANT_ARGS         := -Dversion=$(VERSION)
+MODULES              := reflect
+
+get-orig-source:
+       uscan --force-download --rename
+
+binary-post-install/$(PACKAGE)::
+       for MODULE in $(MODULES); do \
+         dh_install -p$(PACKAGE) 
xbean-$$MODULE/build/xbean-$$MODULE-$(VERSION).jar usr/share/java; \
+         dh_link -p$(PACKAGE) /usr/share/java/xbean-$$MODULE-$(VERSION).jar 
/usr/share/java/xbean-$$MODULE.jar; \
+       done
+


Property changes on: trunk/libxbean-java/debian/rules
___________________________________________________________________
Name: svn:executable
   + 

Added: trunk/libxbean-java/debian/watch
===================================================================
--- trunk/libxbean-java/debian/watch                            (rev 0)
+++ trunk/libxbean-java/debian/watch    2008-11-29 18:59:45 UTC (rev 7467)
@@ -0,0 +1,4 @@
+version=3
+
+http://svn.apache.org/repos/asf/geronimo/xbean/tags/ xbean-(.*)/ \
+  debian debian/orig-tar.sh


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

Reply via email to