geronimo-activation-1.1-spec (1.0.2-2) debian-dir only changes

Summary

 debian/build.xml                                 |   41 +++++++++++
 debian/changelog                                 |   23 ++++++
 debian/compat                                    |    1 
 debian/control                                   |   27 +++++++
 debian/copyright                                 |   83 +++++++++++++++++++++++
 debian/libgeronimo-activation-1.1-spec-java.poms |    1 
 debian/orig-tar.sh                               |   18 ++++
 debian/rules                                     |   28 +++++++
 debian/watch                                     |    3 
 9 files changed, 225 insertions(+)

    
download this patch

Patch contents

--- geronimo-activation-1.1-spec-1.0.2.orig/debian/rules
+++ geronimo-activation-1.1-spec-1.0.2/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
+
+PACKAGE              := $(shell dpkg-parsechangelog | egrep '^Source:' | cut -f2 -d' ')
+VERSION              := $(shell dpkg-parsechangelog | egrep '^Version:' | sed 's/Version: \(.*\)-.*/\1/')
+
+SVN                  := geronimo/specs/tags/geronimo-activation_1.1_spec-$(VERSION)
+ASFREPO              := http://svn.apache.org/repos/asf/$(SVN)
+REQUIRED_JVM_VERSION := 1.5
+
+JAVA_HOME            := /usr/lib/jvm/default-java
+ANT_HOME             := /usr/share/ant
+DEB_ANT_BUILD_TARGET := package
+DEB_ANT_BUILDFILE    := ./debian/build.xml
+DEB_ANT_ARGS         := -DartifactVersion=$(VERSION) \
+                        -DartifactId=$(PACKAGE) \
+                        -DsourceVersion=$(REQUIRED_JVM_VERSION) \
+                        -DtargetVersion=$(REQUIRED_JVM_VERSION)
+
+get-orig-source:
+	uscan --force-download
+
+binary-post-install/lib$(PACKAGE)-java::
+	mh_installpoms -plib$(PACKAGE)-java
+	mh_installjar -plib$(PACKAGE)-java -l pom.xml build/$(PACKAGE)-$(VERSION).jar
+
--- geronimo-activation-1.1-spec-1.0.2.orig/debian/copyright
+++ geronimo-activation-1.1-spec-1.0.2/debian/copyright
@@ -0,0 +1,83 @@
+This package was debianized by Thierry Carrez <thierry.carrez@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.
--- geronimo-activation-1.1-spec-1.0.2.orig/debian/watch
+++ geronimo-activation-1.1-spec-1.0.2/debian/watch
@@ -0,0 +1,3 @@
+version=3
+https://svn.apache.org/repos/asf/geronimo/specs/tags \
+  geronimo-activation_1.1_spec-([\d.]+)/ debian debian/orig-tar.sh
--- geronimo-activation-1.1-spec-1.0.2.orig/debian/orig-tar.sh
+++ geronimo-activation-1.1-spec-1.0.2/debian/orig-tar.sh
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+SVN=https://svn.apache.org/repos/asf/geronimo/specs/tags
+TAR=../geronimo-activation-1.1-spec_$2.orig.tar.gz
+DIR=geronimo-activation-1.1-spec
+
+# clean up the upstream tarball
+svn export $SVN/geronimo-activation_1.1_spec-$2 $DIR
+GZIP=--best tar -c -z -f $TAR $DIR
+rm -rf $3 $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir
+  echo "moved $TAR to $origDir"
+fi
--- geronimo-activation-1.1-spec-1.0.2.orig/debian/compat
+++ geronimo-activation-1.1-spec-1.0.2/debian/compat
@@ -0,0 +1 @@
+5
--- geronimo-activation-1.1-spec-1.0.2.orig/debian/build.xml
+++ geronimo-activation-1.1-spec-1.0.2/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>
--- geronimo-activation-1.1-spec-1.0.2.orig/debian/changelog
+++ geronimo-activation-1.1-spec-1.0.2/debian/changelog
@@ -0,0 +1,23 @@
+geronimo-activation-1.1-spec (1.0.2-2) unstable; urgency=low
+
+  * Improve the description of the package. (Closes: #578420)
+
+ -- Torsten Werner <twerner@debian.org>  Fri, 30 Apr 2010 19:17:44 +0200
+
+geronimo-activation-1.1-spec (1.0.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * Change Maintainer: Debian Java Maintainers.
+  * Change Section: java.
+  * Add myself to Uploaders.
+  * Update Standards-Version: 3.8.4 (no changes).
+  * Add d/watch.
+  * Switch to maven-repo-helper.
+
+ -- Torsten Werner <twerner@debian.org>  Thu, 25 Mar 2010 23:36:19 +0100
+
+geronimo-activation-1.1-spec (1.0.1-0ubuntu1) jaunty; urgency=low
+
+  * Initial release.
+
+ -- Thierry Carrez <thierry.carrez@ubuntu.com>  Tue, 10 Feb 2009 13:23:52 +0000
--- geronimo-activation-1.1-spec-1.0.2.orig/debian/control
+++ geronimo-activation-1.1-spec-1.0.2/debian/control
@@ -0,0 +1,27 @@
+Source: geronimo-activation-1.1-spec
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
+Uploaders: Torsten Werner <twerner@debian.org>
+Build-Depends-Indep: default-jdk, maven-repo-helper
+Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3)
+Standards-Version: 3.8.4
+
+Package: libgeronimo-activation-1.1-spec-java
+Architecture: all
+Depends: default-jre-headless | java5-runtime-headless, ${misc:Depends}
+Description: Java Activation Framework implementation from Apache Geronimo
+ Apache Geronimo is an open source application server developed by the Apache
+ Software Foundation and distributed under the Apache license. Geronimo is
+ currently compatible with the Java Enterprise Edition (Java EE) 5.0
+ specification. 
+ .
+ The JavaBeans Activation Framework (JAF) extension to Java allows developers
+ to determine the type of an arbitrary piece of data, to encapsulate access to
+ it, to discover the operations available on it, and to instantiate the
+ appropriate bean to perform said operation(s). For example, if a browser
+ obtained a PNG image, JAF would help the browser to identify that stream of
+ data as a PNG image, and the browser can instantiate an object to display that
+ image.
+ .
+ Another DFSG free JAF implementation is available from the Glassfish project.
--- geronimo-activation-1.1-spec-1.0.2.orig/debian/libgeronimo-activation-1.1-spec-java.poms
+++ geronimo-activation-1.1-spec-1.0.2/debian/libgeronimo-activation-1.1-spec-java.poms
@@ -0,0 +1 @@
+pom.xml --no-parent