This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository geronimo-interceptor-3.0-spec.
commit 4833885ebfe45d1c12e9d27a84ad6650f508cc5a Author: Chris Grzegorczyk <[email protected]> Date: Fri Feb 19 01:52:32 2010 +0000 Migrate geronimo from pkg-escience --- debian/README.Debian | 5 ++++ debian/README.source | 2 ++ debian/build.xml | 41 ++++++++++++++++++++++++++ debian/changelog | 11 +++++++ debian/compat | 1 + debian/control | 26 ++++++++++++++++ debian/copyright | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++ debian/orig-tar.sh | 26 ++++++++++++++++ debian/rules | 28 ++++++++++++++++++ debian/watch | 2 ++ 10 files changed, 225 insertions(+) diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..182844f --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,5 @@ +The package was adopted from Ubuntu, with Thierry being the original +maintainer. Now, Thierry agreed on preparing himself to become a Debian +Maintainer - yipee! His notion as an Uploader to debian/control was added +by the sponsor of this package in some more or less wise foresight to +thus increase the productivity of us all. diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..bb4f0e7 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,2 @@ +Upstream SVN is available from here, while the Debian packaging relies on official releases. +Vcs-Svn: http://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-interceptor_3.0_spec diff --git a/debian/build.xml b/debian/build.xml new file mode 100644 index 0000000..4a6642a --- /dev/null +++ b/debian/build.xml @@ -0,0 +1,41 @@ +<?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.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}"/> + </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> + +</project> diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..893017c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,11 @@ +geronimo-interceptor-3.0-spec (1.0.1-1) unstable; urgency=low + + * Port package to pkg-java based largely on existing Ubuntu package + + -- Chris Grzegorczyk <[email protected]> Wed, 16 Dec 2009 21:47:25 -0800 + +geronimo-interceptor-3.0-spec (1.0.1-0ubuntu1) karmic; urgency=low + + * Initial release. New Eucalyptus dependency. + + -- Thierry Carrez <[email protected]> Mon, 27 Jul 2009 11:15:06 +0200 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..50f406c --- /dev/null +++ b/debian/control @@ -0,0 +1,26 @@ +Source: geronimo-interceptor-3.0-spec +Section: java +Priority: optional +Maintainer: Chris Grzegorczyk <[email protected]> +DM-Upload-Allowed: yes +Uploaders: Graziano Obertelli <[email protected]>, Kyo Lee <[email protected]>, Thierry Carrez <[email protected]> +XSBC-Original-Maintainer: Thierry Carrez <[email protected]> +Build-Depends-Indep: default-jdk +Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3) +Standards-Version: 3.8.4 +Vcs-Svn: svn+ssh://svn.debian.org/svn/pkg-escience/eucalyptus/geronimo/geronimo-interceptor-3.0-spec/trunk +Vcs-Browser: http://svn.debian.org/wsvn/pkg-escience/eucalyptus/geronimo/geronimo-interceptor-3.0-spec/trunk + +Package: libgeronimo-interceptor-3.0-spec-java +Architecture: all +Depends: default-jre-headless | java5-runtime-headless, ${misc:Depends} +Description: Geronimo API implementation of the Interceptor 3.0 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. Geronimo's + most popular distribution is a fully certified Java EE 5 application server + runtime. + . + Geronimo API implementation of the Interceptor 3.0 spec (javax.interceptor + classes) + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..959585f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,83 @@ +This package was debianized by Thierry Carrez <[email protected]> on +Tue, 14 Jul 2009 15:36:56 +0200 + +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..5325a56 --- /dev/null +++ b/debian/orig-tar.sh @@ -0,0 +1,26 @@ +#!/bin/sh -e + +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout +fi + +if [ -z "$origDir" ]; then + origDir=.. +fi + +echo "Storing orig tarball in '$origDir'." + +# $1 = version +TAR=$origDir/geronimo-interceptor-3.0-spec_$2.orig.tar.gz +DIR=geronimo-interceptor-3.0-spec-java-$2 + +if [ -d "$DIR" ]; then + echo "Could not temporarily unpack source tree in '$DIR', the directory is already existing." + exit 1 +fi + +# clean up the upstream tarball +svn export http://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-interceptor_3.0_spec-$2/ $DIR +GZIP=--best tar -c -z -f $TAR $DIR +rm -rf $DIR +rm ../geronimo-interceptor_3.0_spec-$2 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..bb7a1d8 --- /dev/null +++ b/debian/rules @@ -0,0 +1,28 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk + +SVN := tags/geronimo-interceptor_3.0_spec-$(DEB_UPSTREAM_VERSION) +ASFREPO := http://svn.apache.org/repos/asf/geronimo/specs/$(SVN) +REQUIRED_JVM_VERSION := 1.5 + +JAVA_HOME := /usr/lib/jvm/default-java +DEB_ANT_BUILDFILE := debian/build.xml +DEB_ANT_ARGS := -DartifactVersion=$(DEB_UPSTREAM_VERSION) \ + -DartifactId=$(DEB_SOURCE_PACKAGE) \ + -DsourceVersion=$(REQUIRED_JVM_VERSION) \ + -DtargetVersion=$(REQUIRED_JVM_VERSION) + +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 + +get-orig-source: + echo "Getting version $(DEB_UPSTREAM_VERSION) from $(SVN)" + mkdir orig_tmp + cd orig_tmp && \ + svn export -q $(ASFREPO) $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION) && \ + GZIP=-9 tar czf ../../$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION) + rm -rf orig_tmp + diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..e602c81 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://svn.apache.org/repos/asf/geronimo/specs/tags/ geronimo-interceptor_3.0_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-interceptor-3.0-spec.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

