--- libaxiom-java-1.2.8.orig/debian/orig-tar.sh +++ libaxiom-java-1.2.8/debian/orig-tar.sh @@ -0,0 +1,18 @@ +#!/bin/sh -e + +# $1 = version +TAR=../libaxiom-java_$2.orig.tar.gz +DIR=libaxiom-java-$2.orig + +# clean up the upstream tarball +svn export http://svn.apache.org/repos/asf/webservices/commons/tags/axiom/$2/ $DIR +GZIP=--best tar -c -z -f $TAR $DIR +rm -rf $DIR +rm ../$2 + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $TAR $origDir + echo "moved $TAR to $origDir" +fi --- libaxiom-java-1.2.8.orig/debian/changelog +++ libaxiom-java-1.2.8/debian/changelog @@ -0,0 +1,23 @@ +libaxiom-java (1.2.8-1fakesync1) lucid; urgency=low + + * Fake sync due to mismatching tarball (LP: #521666) + + -- Artur Rona Sun, 14 Feb 2010 12:25:50 +0100 + +libaxiom-java (1.2.8-1) unstable; urgency=low + + * Port package to pkg-java based largely on existing Ubuntu package + + -- Chris Grzegorczyk Thu, 17 Dec 2009 05:12:24 -0800 + +libaxiom-java (1.2.8-0ubuntu2) karmic; urgency=low + + * Added debian/ant.properties to build java2-compatible code + + -- Thierry Carrez Mon, 24 Aug 2009 11:06:48 +0200 + +libaxiom-java (1.2.8-0ubuntu1) karmic; urgency=low + + * Initial release. New Eucalyptus dependency. + + -- Thierry Carrez Fri, 24 Jul 2009 14:55:33 +0200 --- libaxiom-java-1.2.8.orig/debian/ant.properties +++ libaxiom-java-1.2.8/debian/ant.properties @@ -0,0 +1,2 @@ +ant.build.javac.target=1.4 +ant.build.javac.source=1.4 --- libaxiom-java-1.2.8.orig/debian/rules +++ libaxiom-java-1.2.8/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 + +SRCARCHIVE := http://archive.apache.org/dist/ws/commons/axiom/ +SRCDIRECTORY := $(shell echo $(DEB_UPSTREAM_VERSION) | sed 'y/\./_/') +JAVA_HOME := /usr/lib/jvm/default-java +DEB_ANT_CHECK_TARGET := test +DEB_ANT_BUILDFILE := ./debian/build.xml +DEB_ANT_ARGS := -DartifactVersion=$(DEB_UPSTREAM_VERSION) +DEB_JARS := commons-logging-api jaxen log4j-1.2 xercesImpl \ + gnumail inetlib ant-junit junit + +binary-post-install/libaxiom-java:: + for jar in api dom impl; do \ + dh_install -plibaxiom-java target/axiom-$$jar-$(DEB_UPSTREAM_VERSION).jar usr/share/java; \ + dh_link -plibaxiom-java usr/share/java/axiom-$$jar-$(DEB_UPSTREAM_VERSION).jar usr/share/java/axiom-$$jar.jar; \ + done + +get-orig-source: + mkdir -p orig_tmp + cd orig_tmp && \ + wget $(SRCARCHIVE)/$(SRCDIRECTORY)/axiom-$(DEB_UPSTREAM_VERSION)-src.zip && \ + unzip -n axiom-$(DEB_UPSTREAM_VERSION)-src.zip && \ + tar czf ../../libaxiom-java_$(DEB_UPSTREAM_VERSION).orig.tar.gz axiom-$(DEB_UPSTREAM_VERSION) + rm -rf orig_tmp + --- libaxiom-java-1.2.8.orig/debian/watch +++ libaxiom-java-1.2.8/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://svn.apache.org/repos/asf/webservices/commons/tags/axiom/ ([0-9].*)/ debian debian/orig-tar.sh --- libaxiom-java-1.2.8.orig/debian/copyright +++ libaxiom-java-1.2.8/debian/copyright @@ -0,0 +1,55 @@ +This package was debianized by Thierry Carrez on +Tue, 23 Jun 2009 09:53:10 +0200 + +Source tarballs were tar.gz-ed from the .zip source distribution downloaded +from: http://archive.apache.org/dist/ws/commons/axiom/ + +Copyright: + This product includes software developed by + The Apache Software Foundation (http://www.apache.org/). + Portions Copyright 2006 International Business Machines Corp. + axiom-tests/test-resources/xml/test/tests.xsl file is + Copyright (C) 2000-2002 bob mcwhirter & James Strachan + +Authors: + The Apache Software Foundation, including but not limited to: + Saminda Abeyruwan + Afkham Azeez + Eran Chinthaka + Glen Daniels + Jaliya Ekanayake + Nandana Mihindukulasooriya + Ruchith Fernando + Thilina Gunarathne + Chathura Herath + Deepal Jayasinghe + Chatra Nakkawita + Srinath Perera + Ajith Ranabahu + Venkat Reddy + Rich Scheuerle + Ashutosh Shahi + Aleksander Slominski + Davanum Srinivas + Jayachandra Sekhara Rao Sunkara + Andreas Veithen + Dasarath Weerathunga + Sanjiva Weerawarana + +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. --- libaxiom-java-1.2.8.orig/debian/compat +++ libaxiom-java-1.2.8/debian/compat @@ -0,0 +1 @@ +5 --- libaxiom-java-1.2.8.orig/debian/build.xml +++ libaxiom-java-1.2.8/debian/build.xml @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --- libaxiom-java-1.2.8.orig/debian/control +++ libaxiom-java-1.2.8/debian/control @@ -0,0 +1,25 @@ +Source: libaxiom-java +Section: java +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Chris Grzegorczyk +DM-Upload-Allowed: yes +Uploaders: Graziano Obertelli , Kyo Lee +Build-Depends-Indep: default-jdk, + libcommons-logging-java, + libjaxen-java, + liblog4j1.2-java, + libgnumail-java, + libgnuinet-java, + libxerces2-java, + junit +Build-Depends: ant-optional, debhelper (>= 5), cdbs (>= 0.4.5.3) +Standards-Version: 3.8.3 + +Package: libaxiom-java +Architecture: all +Depends: default-jre-headless | java2-runtime-headless, ${misc:Depends} +Description: Apache AXIOM Java library (AXIs Object Model) + Apache AXIOM is a StAX-based, XML Infoset compliant object model which + supports on-demand building of the object tree. +