[geronimo-j2ee-connector-1.5-spec] 01/09: Imported Debian patch 1.1-1
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Dec 1 10:11:22 UTC 2014
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository geronimo-j2ee-connector-1.5-spec.
commit a5068d6faaf7de20726e16c74885c2f2095e234b
Author: Chris Grzegorczyk <grze at eucalyptus.com>
Date: Wed Dec 16 21:48:30 2009 -0800
Imported Debian patch 1.1-1
---
debian/build.xml | 70 +++++++++++++++++++++++++++++++++++++++++++++
debian/changelog | 25 ++++++++++++++++
debian/compat | 1 +
debian/control | 25 ++++++++++++++++
debian/copyright | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
debian/orig-tar.sh | 18 ++++++++++++
debian/rules | 29 +++++++++++++++++++
debian/watch | 2 ++
8 files changed, 253 insertions(+)
diff --git a/debian/build.xml b/debian/build.xml
new file mode 100644
index 0000000..95f4206
--- /dev/null
+++ b/debian/build.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+
+<project name="pkg-java" default="package" basedir="..">
+
+ <property name="build.sourceDirectory" value="src/main/java"/>
+ <property name="build.resourcesDirectory" value="src/main/resources"/>
+ <property name="build.testDirectory" value="src/test/java"/>
+ <property name="build.directory" value="build"/>
+ <property name="build.outputDirectory" value="${build.directory}/classes"/>
+
+ <target name="init">
+ <available property="available.resources" file="${build.resourcesDirectory}"/>
+ </target>
+
+ <target name="clean">
+ <delete dir="${build.directory}"/>
+ <delete>
+ <fileset dir="${build.testDirectory}" includes="**/*.class"/>
+ </delete>
+ </target>
+
+ <target name="process-resources" depends="init" if="available.resources">
+ <mkdir dir="${build.outputDirectory}"/>
+ <copy todir="${build.outputDirectory}">
+ <fileset dir="${build.resourcesDirectory}"/>
+ </copy>
+ </target>
+
+ <target name="compile" depends="process-resources">
+ <mkdir dir="${build.outputDirectory}"/>
+ <javac
+ destdir="${build.outputDirectory}"
+ nowarn="true"
+ source="${sourceVersion}" target="${targetVersion}"
+ debug="on">
+ <src path="${build.sourceDirectory}"/>
+ </javac>
+ </target>
+
+ <target name="package" depends="compile">
+ <jar jarfile="${build.directory}/${artifactId}-${artifactVersion}.jar"
+ basedir="${build.outputDirectory}"/>
+ </target>
+
+ <target name="compile_test">
+ <javac destdir="${build.testDirectory}" debug="true"
+ source="${sourceVersion}" target="${targetVersion}">
+ <src path="${build.testDirectory}"/>
+ <classpath>
+ <pathelement location="${build.directory}/${artifactId}-${artifactVersion}.jar"/>
+ <pathelement location="${build.testDirectory}"/>
+ </classpath>
+ </javac>
+ </target>
+ <target name="test" depends="compile_test">
+ <junit haltonfailure="yes">
+ <classpath>
+ <pathelement location="${build.directory}/${artifactId}-${artifactVersion}.jar"/>
+ <pathelement location="${build.testDirectory}"/>
+ </classpath>
+ <formatter type="plain" usefile="false"/>
+ <batchtest>
+ <fileset dir="${build.testDirectory}">
+ <include name="**/*Test.java"/>
+ <include name="**/*TestCase.java"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+</project>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ac2259c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,25 @@
+geronimo-j2ee-connector-1.5-spec (1.1-1) unstable; urgency=low
+
+ * Port package to pkg-java based largely on existing Ubuntu package
+
+ -- Chris Grzegorczyk <grze at eucalyptus.com> Wed, 16 Dec 2009 21:48:30 -0800
+
+geronimo-j2ee-connector-1.5-spec (1.1-0ubuntu3) karmic; urgency=low
+
+ * debian/build.xml, debian/rules: Enable test suite
+ * debian/control, debian/rules: Adding junit and ant-optional as they are
+ needed for the junit task used in tests.
+
+ -- Thierry Carrez <thierry.carrez at ubuntu.com> Wed, 26 Aug 2009 12:02:15 +0200
+
+geronimo-j2ee-connector-1.5-spec (1.1-0ubuntu2) karmic; urgency=low
+
+ * debian/rules: Remove unneeded build variables.
+
+ -- Thierry Carrez <thierry.carrez at ubuntu.com> Mon, 10 Aug 2009 13:55:27 +0200
+
+geronimo-j2ee-connector-1.5-spec (1.1-0ubuntu1) jaunty; urgency=low
+
+ * Initial release.
+
+ -- Thierry Carrez <thierry.carrez at ubuntu.com> Tue, 10 Feb 2009 13:35:57 +0000
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..ab58a1e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: geronimo-j2ee-connector-1.5-spec
+Section: libs
+Priority: optional
+Maintainer: Chris Grzegorczyk <grze at eucalyptus.com>
+DM-Upload-Allowed: yes
+Uploaders: Graziano Obertelli <graziano at eucalyptus.com>, Kyo Lee <kyo.lee at eucalyptus.com>
+XSBC-Original-Maintainer: Thierry Carrez <thierry.carrez at ubuntu.com>
+Build-Depends-Indep: default-jdk, junit
+Build-Depends: ant-optional, debhelper (>= 5), cdbs (>= 0.4.5.3)
+Standards-Version: 3.8.3
+Homepage: http://geronimo.apache.org
+
+Package: libgeronimo-j2ee-connector-1.5-spec-java
+Architecture: all
+Depends: default-jre-headless | java5-runtime-headless, ${misc:Depends}
+Description: Geronimo API implementation of the J2EE connector 1.5 spec
+ The goal of the Geronimo project is to produce a server runtime framework
+ that pulls together the best Open Source alternatives to create runtimes
+ that meet the needs of developers and system administrators. Its most
+ popular distribution is a fully certified Java EE 5 application server
+ runtime.
+ .
+ This package provides the Geronimo API implementation of the J2EE
+ connector 1.5 spec (javax.resource classes).
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0cbbc1c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,83 @@
+This package was debianized by Thierry Carrez <thierry.carrez at ubuntu.com> on
+Wed, 04 Feb 2009 11:39:01 +0100
+
+Source tarballs are rebuilt from the SVN export of the relevant tag under
+https://svn.apache.org/repos/asf/geronimo/specs
+
+Copyright:
+ Copyright (C) 2003-2006 The Apache Software Foundation
+
+Authors:
+ The Apache Software Foundation, including but not limited to:
+ Aaron Mulder
+ Alan Cabrera
+ Alexy Petrenko
+ Anita Kulshreshtha
+ Bruce Snyder
+ B.J. Reed
+ Christopher J. Blythe
+ Christopher M. Cardona
+ Dain Sundstrom
+ Darren Middleman
+ Davanum Srinivas
+ David Blevins
+ David Jencks
+ Donald Woods (dwoods)
+ Erik B. Craig
+ Geir Magnusson Jr.
+ Gianny D'Amour
+ Greg Wilkins
+ Guillaume Nodet
+ Hernan Cunico
+ Hiram Chirino
+ Jacek Laskowski
+ James Strachan
+ Jan Bartel
+ Jarek Gawor
+ Jason Dillon
+ Jason van Zyl
+ Jason Warner
+ Jay D. McHugh
+ Jeff Genender
+ Jeremy Boynes
+ Joe Bohn
+ John R. Sisson
+ Jules Gosnell
+ Kevan Miller
+ Ken Coar
+ Lars Kuhne
+ Lin Sun
+ Manu George
+ Mark DeLaFranier
+ Matt R. Hogstrom
+ Paul McMahan
+ Prasad Kashyap
+ Rakesh Midha
+ Rick McGuire
+ Sachin P. Patel
+ Shiva Kumar H R
+ Srinath Perera
+ Ted Kirby
+ Tim McConnell
+ Vamsavardhana Reddy Chillakuru
+ Viet Nguyen
+ Yun Feng Ma
+
+License:
+
+ 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.
+
+On Debian GNU/Linux and Ubuntu systems, the complete text of the Apache 2.0
+License can be found in the /usr/share/common-licenses/Apache-2.0 file.
+
+The same license and copyright applies to the Debian packaging.
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100644
index 0000000..9b16edc
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+# $1 = version
+TAR=../geronimo-j2ee-connector-1.5-spec_$2.orig.tar.gz
+DIR=libgeronimo-j2ee-connector-1.5-spec-java-$2.orig
+
+# clean up the upstream tarball
+svn export http://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-j2ee-connector_1.5_spec-$2/ $DIR
+GZIP=--best tar -c -z -f $TAR $DIR
+rm -rf $DIR
+rm ../geronimo-j2ee-connector_1.5_spec-$2
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6be21c5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,29 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+SVN := geronimo/specs/tags/geronimo-j2ee-connector_1.5_spec-$(DEB_UPSTREAM_VERSION)
+ASFREPO := http://svn.apache.org/repos/asf/$(SVN)
+REQUIRED_JVM_VERSION := 1.5
+
+JAVA_HOME := /usr/lib/jvm/default-java
+DEB_ANT_BUILDFILE := ./debian/build.xml
+DEB_ANT_CHECK_TARGET := test
+DEB_ANT_ARGS := -DartifactVersion=$(DEB_UPSTREAM_VERSION) \
+ -DartifactId=$(DEB_SOURCE_PACKAGE) \
+ -DsourceVersion=$(REQUIRED_JVM_VERSION) \
+ -DtargetVersion=$(REQUIRED_JVM_VERSION)
+DEB_JARS := junit ant-junit
+
+get-orig-source:
+ mkdir orig_tmp
+ cd orig_tmp && \
+ svn export -q $(ASFREPO) $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION) && \
+ tar czf ../../$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)
+ rm -rf orig_tmp
+
+binary-post-install/lib$(DEB_SOURCE_PACKAGE)-java::
+ dh_install -plib$(DEB_SOURCE_PACKAGE)-java build/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java
+ dh_link -plib$(DEB_SOURCE_PACKAGE)-java usr/share/java/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(DEB_SOURCE_PACKAGE).jar
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a018f5a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://svn.apache.org/repos/asf/geronimo/specs/tags/ geronimo-j2ee-connector_1.5_spec-([0-9].*)/ debian debian/orig-tar.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/geronimo-j2ee-connector-1.5-spec.git
More information about the pkg-java-commits
mailing list