--- libjboss-integration-java-5.0.3.GA.orig/debian/changelog
+++ libjboss-integration-java-5.0.3.GA/debian/changelog
@@ -0,0 +1,47 @@
+libjboss-integration-java (5.0.3.GA-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Torsten Werner <twerner@debian.org>  Thu, 04 Dec 2008 23:37:12 +0100
+
+libjboss-integration-java (5.0.1.GA+dak1-1) unstable; urgency=low
+
+  * Move package to main.
+
+ -- Torsten Werner <twerner@debian.org>  Tue, 18 Nov 2008 20:44:22 +0100
+
+libjboss-integration-java (5.0.1.GA-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Torsten Werner <twerner@debian.org>  Sat, 08 Nov 2008 22:25:31 +0100
+
+libjboss-integration-java (5.0.0~Beta5-1) unstable; urgency=low
+
+  * New upstream release
+  * Bump Standards-Version to 3.8.0
+
+ -- Varun Hiremath <varun@debian.org>  Mon, 23 Jun 2008 16:39:17 +0530
+
+libjboss-integration-java (5.0.0~Beta4-3) unstable; urgency=low
+
+  * debian/control: Build-Depend on debhelper >=6
+  * debian/compat: Bump to 6
+  * Add watch file and fix orig-tar.sh to directly read the upstream tag
+    version and create orig.tar.gz
+
+ -- Varun Hiremath <varun@debian.org>  Fri, 11 Jan 2008 10:24:51 +0530
+
+libjboss-integration-java (5.0.0~Beta4-2) unstable; urgency=low
+
+  * Move the package to contrib as libjboss-j2ee-java is in contrib
+    (Closes: #460075)
+  * Bump up Standards-Version to 3.7.3
+
+ -- Varun Hiremath <varun@debian.org>  Fri, 11 Jan 2008 01:12:15 +0530
+
+libjboss-integration-java (5.0.0~Beta4-1) unstable; urgency=low
+
+  * Initial release (Closes: #450847)
+
+ -- Varun Hiremath <varunhiremath@gmail.com>  Tue, 24 Apr 2007 17:19:10 +0530
--- libjboss-integration-java-5.0.3.GA.orig/debian/control
+++ libjboss-integration-java-5.0.3.GA/debian/control
@@ -0,0 +1,26 @@
+Source: libjboss-integration-java
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
+Uploaders: Varun Hiremath <varun@debian.org>, Torsten Werner <twerner@debian.org>
+Build-Depends: cdbs, debhelper (>= 6)
+Build-Depends-Indep: ant-optional, java-gcj-compat-dev, libjboss-common-java, libjboss-j2ee-java
+Standards-Version: 3.8.0
+Homepage: http://labs.jboss.com/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjboss-integration-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjboss-integration-java
+
+Package: libjboss-integration-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: JBoss Integration
+ A J2EE certified platform for developing and deploying enterprise Java
+ applications, Web applications, and Portals, JBoss Application Server
+ provides the full range of J2EE 1.4 features as well as extended
+ enterprise services including clustering, caching, and persistence.
+ .
+ JBoss Application Server includes support for Enterprise Java Beans
+ (EJB) 3.0 which is designed to dramatically simplify the enterprise
+ Java programming model.
+ .
+ This package ships the jboss-integration libraries.
--- libjboss-integration-java-5.0.3.GA.orig/debian/compat
+++ libjboss-integration-java-5.0.3.GA/debian/compat
@@ -0,0 +1 @@
+6
--- libjboss-integration-java-5.0.3.GA.orig/debian/watch
+++ libjboss-integration-java-5.0.3.GA/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/.Beta/~Beta/" \
+http://anonsvn.jboss.org/repos/jbossas/projects/integration/tags/ ([0-9].*)/ debian debian/orig-tar.sh
--- libjboss-integration-java-5.0.3.GA.orig/debian/ant.properties
+++ libjboss-integration-java-5.0.3.GA/debian/ant.properties
@@ -0,0 +1,8 @@
+project.name=jboss-integration
+class.dir=class
+source.dir=src/main
+jar.name=jboss-integration.jar
+
+jboss-classloading-spi.dir=jboss-classloading-spi
+jboss-corba-ots-spi.dir=jboss-corba-ots-spi
+jboss-transaction-spi.dir=jboss-transaction-spi
--- libjboss-integration-java-5.0.3.GA.orig/debian/copyright
+++ libjboss-integration-java-5.0.3.GA/debian/copyright
@@ -0,0 +1,34 @@
+This package was debianized by Varun Hiremath <varunhiremath@gmail.com> on
+Tue, 24 Apr 2007 17:19:10 +0530.
+
+It was downloaded from http://labs.jboss.com/
+
+Upstream Author: JBoss Inc.
+
+Copyright: (C) 2005,2006 JBoss Inc., and authors
+
+Authors:
+    Adrian Brock <adrian@jboss.com>
+    Bill Burke <bill@burkecentral.com>
+    Dain Sundstrom <dain@daingroup.com>
+    Dimitris Andreadis <dimitris@jboss.org>
+    David Jencks <d_jencks@users.sourceforge.net>
+    Ole Husgaard <osh@sparre.dk>
+    Francisco Reverbel <reverbel@ime.usp.br>
+
+License:
+    This library is free software; you can redistribute it and/or modify
+    it under the terms of the GNU Lesser General Public License as
+    published by the Free Software Foundation; either version 2.1 of
+    the License, or (at your option) any later version.
+ 
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    On Debian systems, full text of the LGPL license can be found at
+    `/usr/share/common-licenses/LGPL'.
+
+The Debian packaging is (C) 2007, Varun Hiremath <varunhiremath@gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- libjboss-integration-java-5.0.3.GA.orig/debian/rules
+++ libjboss-integration-java-5.0.3.GA/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+JAVA_HOME 		:= /usr/lib/jvm/java-gcj
+DEB_ANT_BUILD_TARGET	:= jar
+DEB_ANT_BUILDFILE	:= debian/build.xml
+DEB_JARS		:= jboss-common jboss-j2ee
+
+install/libjboss-integration-java::
+	install -m 644 -D jboss-integration.jar $(DEB_DESTDIR)/usr/share/java/jboss-integration-$(DEB_UPSTREAM_VERSION).jar
+	dh_link /usr/share/java/jboss-integration-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/jboss-integration.jar
+
+get-orig-source:
+	-uscan --upstream-version 0
--- libjboss-integration-java-5.0.3.GA.orig/debian/orig-tar.sh
+++ libjboss-integration-java-5.0.3.GA/debian/orig-tar.sh
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+
+# $1 = version
+TAR=../libjboss-integration-java_$2.orig.tar.gz
+DIR=libjboss-integration-java-$2.orig
+TAG=$(echo $2 | sed -e 's/~/./')
+
+# clean up the upstream tarball
+svn export http://anonsvn.jboss.org/repos/jbossas/projects/integration/tags/$TAG $DIR
+GZIP=--best tar -c -z -f $TAR $DIR
+rm -rf $DIR
+rm ../$TAG
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir
+  echo "moved $TAR to $origDir"
+fi
+
--- libjboss-integration-java-5.0.3.GA.orig/debian/build.xml
+++ libjboss-integration-java-5.0.3.GA/debian/build.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project default="jar" name="${project.name}" basedir="..">
+
+  <target name="clean">
+    <delete dir="all-sources" quiet="true"/>
+    <delete dir="${class.dir}" quiet="true"/>
+    <delete file="${jar.name}" quiet="true"/>
+  </target>
+
+  <target name="compile">
+    <mkdir dir="all-sources"/>
+    <copy todir="all-sources">
+      <fileset dir="${jboss-classloading-spi.dir}/${source.dir}"/>
+<!--       <fileset dir="${jboss-corba-ots-spi.dir}/${source.dir}"/> -->
+      <fileset dir="${jboss-transaction-spi.dir}/${source.dir}"/>
+    </copy>
+
+    <mkdir dir="${class.dir}"/>
+    <javac srcdir="all-sources" destdir="${class.dir}"
+      debug="true" source="1.5"/>
+  </target>
+
+  <target name="jar" description="o Create the jar" depends="compile">
+    <jar jarfile="${jar.name}">
+      <fileset dir="${class.dir}">
+          <include name="**"/>
+      </fileset>
+    </jar>
+  </target>
+</project>
