[pkg-java] r15745 - in trunk: . geronimo-stax-1.2-spec geronimo-stax-1.2-spec/debian geronimo-stax-1.2-spec/debian/source

Steffen Möller moeller at alioth.debian.org
Wed Feb 1 16:22:05 UTC 2012


Author: moeller
Date: 2012-02-01 16:22:04 +0000 (Wed, 01 Feb 2012)
New Revision: 15745

Added:
   trunk/geronimo-stax-1.2-spec/
   trunk/geronimo-stax-1.2-spec/debian/
   trunk/geronimo-stax-1.2-spec/debian/build.xml
   trunk/geronimo-stax-1.2-spec/debian/changelog
   trunk/geronimo-stax-1.2-spec/debian/compat
   trunk/geronimo-stax-1.2-spec/debian/control
   trunk/geronimo-stax-1.2-spec/debian/copyright
   trunk/geronimo-stax-1.2-spec/debian/rules
   trunk/geronimo-stax-1.2-spec/debian/source/
   trunk/geronimo-stax-1.2-spec/debian/source/format
Log:
Prepared geronimo-stax-1.2-spec package.



Property changes on: trunk/geronimo-stax-1.2-spec/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: trunk/geronimo-stax-1.2-spec/debian/build.xml
===================================================================
--- trunk/geronimo-stax-1.2-spec/debian/build.xml	                        (rev 0)
+++ trunk/geronimo-stax-1.2-spec/debian/build.xml	2012-02-01 16:22:04 UTC (rev 15745)
@@ -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>

Added: trunk/geronimo-stax-1.2-spec/debian/changelog
===================================================================
--- trunk/geronimo-stax-1.2-spec/debian/changelog	                        (rev 0)
+++ trunk/geronimo-stax-1.2-spec/debian/changelog	2012-02-01 16:22:04 UTC (rev 15745)
@@ -0,0 +1,17 @@
+geronimo-stax-1.2-spec (1.1-1) unstable; urgency=low
+
+  * Upload to Debian.
+
+ -- Brian Thomason <brian.thomason at eucalyptus.com>  Wed, 01 Feb 2012 17:21:24 +0100
+
+geronimo-stax-1.2-spec (1.1-0ubuntu2) precise; urgency=low
+
+  * Added missing build-deps
+
+ -- Brian Thomason <brian.thomason at eucalyptus.com>  Wed, 25 Jan 2012 11:55:21 -0500
+
+geronimo-stax-1.2-spec (1.1-0ubuntu1) precise; urgency=low
+
+  * Initial release
+
+ -- Brian Thomason <brian.thomason at eucalyptus.com>  Wed, 11 Jan 2012 16:59:59 -0500

Added: trunk/geronimo-stax-1.2-spec/debian/compat
===================================================================
--- trunk/geronimo-stax-1.2-spec/debian/compat	                        (rev 0)
+++ trunk/geronimo-stax-1.2-spec/debian/compat	2012-02-01 16:22:04 UTC (rev 15745)
@@ -0,0 +1 @@
+5

Added: trunk/geronimo-stax-1.2-spec/debian/control
===================================================================
--- trunk/geronimo-stax-1.2-spec/debian/control	                        (rev 0)
+++ trunk/geronimo-stax-1.2-spec/debian/control	2012-02-01 16:22:04 UTC (rev 15745)
@@ -0,0 +1,14 @@
+Source: geronimo-stax-1.2-spec
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Brian Thomason <brian.thomason at eucalyptus.com>
+Build-Depends-Indep: default-jdk, libosgi-core-java, libosgi-compendium-java, libgeronimo-osgi-support-java
+Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3)
+Standards-Version: 3.9.2
+
+Package: libgeronimo-stax-1.2-spec-java
+Architecture: all
+Depends: ${misc:Depends}
+Description: Geronimo API implementation of the StAX 1.2 spec
+ Geronimo API implementation of the StAX 1.2 spec (javax.xml classes)

Added: trunk/geronimo-stax-1.2-spec/debian/copyright
===================================================================
--- trunk/geronimo-stax-1.2-spec/debian/copyright	                        (rev 0)
+++ trunk/geronimo-stax-1.2-spec/debian/copyright	2012-02-01 16:22:04 UTC (rev 15745)
@@ -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.

Added: trunk/geronimo-stax-1.2-spec/debian/rules
===================================================================
--- trunk/geronimo-stax-1.2-spec/debian/rules	                        (rev 0)
+++ trunk/geronimo-stax-1.2-spec/debian/rules	2012-02-01 16:22:04 UTC (rev 15745)
@@ -0,0 +1,34 @@
+#!/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-stax-api_1.2_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)
+DEB_JARS             := geronimo-osgi-locator-1.0 osgi.core osgi.compendium
+
+get-orig-source:
+	echo "Getting version $(VERSION) from $(SVN)"
+	mkdir orig_tmp
+	cd orig_tmp && \
+		svn export -q $(ASFREPO) $(PACKAGE)-$(VERSION) && \
+		tar czf ../../$(PACKAGE)_$(VERSION).orig.tar.gz $(PACKAGE)-$(VERSION)
+	rm -rf orig_tmp
+
+binary-post-install/lib$(PACKAGE)-java::
+	dh_install -plib$(PACKAGE)-java build/$(PACKAGE)-$(VERSION).jar usr/share/java
+	dh_link -plib$(PACKAGE)-java usr/share/java/$(PACKAGE)-$(VERSION).jar usr/share/java/$(PACKAGE).jar
+


Property changes on: trunk/geronimo-stax-1.2-spec/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/geronimo-stax-1.2-spec/debian/source/format
===================================================================
--- trunk/geronimo-stax-1.2-spec/debian/source/format	                        (rev 0)
+++ trunk/geronimo-stax-1.2-spec/debian/source/format	2012-02-01 16:22:04 UTC (rev 15745)
@@ -0,0 +1 @@
+3.0 (quilt)




More information about the pkg-java-commits mailing list