[pkg-java] r8837 - in trunk/stax: . debian

Ludovic Claude ludovicc-guest at alioth.debian.org
Sat Jul 4 14:40:26 UTC 2009


Author: ludovicc-guest
Date: 2009-07-04 14:40:24 +0000 (Sat, 04 Jul 2009)
New Revision: 8837

Added:
   trunk/stax/debian/
   trunk/stax/debian/ant.properties
   trunk/stax/debian/changelog
   trunk/stax/debian/compat
   trunk/stax/debian/control
   trunk/stax/debian/copyright
   trunk/stax/debian/libstax-java-doc.doc-base
   trunk/stax/debian/libstax-java-doc.docs
   trunk/stax/debian/maven.rules
   trunk/stax/debian/orig-tar.sh
   trunk/stax/debian/rules
   trunk/stax/debian/stax-api.pom
   trunk/stax/debian/stax.pom
   trunk/stax/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: trunk/stax/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: trunk/stax/debian/ant.properties
===================================================================
--- trunk/stax/debian/ant.properties	                        (rev 0)
+++ trunk/stax/debian/ant.properties	2009-07-04 14:40:24 UTC (rev 8837)
@@ -0,0 +1,7 @@
+maven.compile.source=1.3
+maven.compile.target=1.3
+
+javadoc_dir=build/docs/api
+
+junit.jar=/usr/share/java/junit.jar
+test.failonerror=false

Added: trunk/stax/debian/changelog
===================================================================
--- trunk/stax/debian/changelog	                        (rev 0)
+++ trunk/stax/debian/changelog	2009-07-04 14:40:24 UTC (rev 8837)
@@ -0,0 +1,5 @@
+stax (1.2.0-0ubuntu1~ppa2) jaunty; urgency=low
+
+  * Initial release. (Closes: #XXXXXX)
+
+ -- Ludovic Claude <ludovic.claude at laposte.net>  Sat, 04 Jul 2009 00:38:47 +0100

Added: trunk/stax/debian/compat
===================================================================
--- trunk/stax/debian/compat	                        (rev 0)
+++ trunk/stax/debian/compat	2009-07-04 14:40:24 UTC (rev 8837)
@@ -0,0 +1 @@
+7

Added: trunk/stax/debian/control
===================================================================
--- trunk/stax/debian/control	                        (rev 0)
+++ trunk/stax/debian/control	2009-07-04 14:40:24 UTC (rev 8837)
@@ -0,0 +1,32 @@
+Source: stax
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Ludovic Claude <ludovic.claude at laposte.net>
+Build-Depends: debhelper (>= 7), cdbs, default-jdk
+Build-Depends-Indep: ant, ant-optional, junit, libjaxp1.3-java
+Standards-Version: 3.8.2
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/stax
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/stax
+Homepage: http://stax.codehaus.org/
+
+Package: libstax-java
+Architecture: all
+Depends: ${misc:Depends}, libjaxp1.3-java
+Suggests: libstax-java-doc
+Description: StAX Reference Implementation (RI)
+ StAX is a standard XML processing API that allows you to stream XML data 
+ from and to your application. This StAX implementation is the standard 
+ pull parser implementation for JSR-173 specification.
+
+Package: libstax-java-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: libstax-java
+Description: Javadoc API for libstax-java
+ StAX is a standard XML processing API that allows you to stream XML data 
+ from and to your application. This StAX implementation is the standard 
+ pull parser implementation for JSR-173 specification.
+ .
+ This package provides the Javadoc API for StAX.

Added: trunk/stax/debian/copyright
===================================================================
--- trunk/stax/debian/copyright	                        (rev 0)
+++ trunk/stax/debian/copyright	2009-07-04 14:40:24 UTC (rev 8837)
@@ -0,0 +1,77 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: StAX
+Maintainer: Codehaus
+Source: http://stax.codehaus.org/
+
+Files: *
+Copyright: 2002-2004, BEA Systems.
+License: Apache-2.0
+
+Files: src/test/XmlEscapingTest.java
+Copyright: 2001, 2002, International Business Machines, Inc.
+Copyright: 2002-2004, The Apache Software Foundation.
+License: Apache-2.0
+
+Files: src/com/bea/xml/stream/reader/XmlReader.java
+Copyright: 1999, Sun Microsystems, Inc.
+Copyright: 2002-2004, The Apache Software Foundation.
+License: Apache-2.0
+
+Files: src/com/bea/xml/stream/reader/XmlChars.java, src/com/bea/xml/stream/reader/XmlReader.java
+Copyright: 2002-2004, The Apache Software Foundation.
+License: Apache-2.0
+
+Files: src/com/bea/xml/stream/MXParser.java
+Copyright:2002, Extreme! Lab, Indiana University.
+License: BSD-ExtremeLab
+
+Files: debian/*
+Copyright: 2009, Ludovic Claude <ludovic.claude at laposte.net>
+License: Apache-2.0
+
+License: Apache-2.0
+  On Debian GNU/Linux system you can find the complete text of the
+  Apache 2.0 license in '/usr/share/common-licenses/Apache-2.0'.
+
+License: BSD-ExtremeLab
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions
+  are met:
+  .
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+  .
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in
+     the documentation and/or other materials provided with the
+     distribution.
+  .
+  3. The end-user documentation included with the redistribution,
+     if any, must include the following acknowledgment:
+        "This product includes software developed by the Indiana
+         University Extreme! Lab (http://www.extreme.indiana.edu/)."
+     Alternately, this acknowledgment may appear in the software itself,
+     if and wherever such third-party acknowledgments normally appear.
+  .
+  4. The names "Indiana University" and "Indiana University
+     Extreme! Lab" must not be used to endorse or promote products
+     derived from this software without prior written permission. For
+     written permission, please contact http://www.extreme.indiana.edu/.
+  .
+  5. Products derived from this software may not use "Indiana
+     University" name nor may "Indiana University" appear in their name,
+     without prior written permission of the Indiana University.
+  .
+  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+  OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+  DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+  ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+  SUCH DAMAGE.
+

Added: trunk/stax/debian/libstax-java-doc.doc-base
===================================================================
--- trunk/stax/debian/libstax-java-doc.doc-base	                        (rev 0)
+++ trunk/stax/debian/libstax-java-doc.doc-base	2009-07-04 14:40:24 UTC (rev 8837)
@@ -0,0 +1,10 @@
+Document: libstax-java-doc
+Title: Programmer API for StAX RI
+Author: Codehaus, BEA
+Abstract: Programmer API of the StAX RI library, a library providing
+ the standard pull parser implementation for JSR-173 specification.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libstax-java-doc/api/index.html
+Files: /usr/share/doc/libstax-java-doc/api/*

Added: trunk/stax/debian/libstax-java-doc.docs
===================================================================
--- trunk/stax/debian/libstax-java-doc.docs	                        (rev 0)
+++ trunk/stax/debian/libstax-java-doc.docs	2009-07-04 14:40:24 UTC (rev 8837)
@@ -0,0 +1 @@
+build/docs/api

Added: trunk/stax/debian/maven.rules
===================================================================
--- trunk/stax/debian/maven.rules	                        (rev 0)
+++ trunk/stax/debian/maven.rules	2009-07-04 14:40:24 UTC (rev 8837)
@@ -0,0 +1,2 @@
+junit junit jar s/3\..*/3.x/
+

Added: trunk/stax/debian/orig-tar.sh
===================================================================
--- trunk/stax/debian/orig-tar.sh	                        (rev 0)
+++ trunk/stax/debian/orig-tar.sh	2009-07-04 14:40:24 UTC (rev 8837)
@@ -0,0 +1,24 @@
+#!/bin/sh -e
+
+# $2 = version
+VERSION=$2
+ZIP=$3
+TAR=../stax_$VERSION.orig.tar.gz
+DIR=stax-$VERSION.orig
+
+echo $VERSION
+echo $ZIP
+echo $TAR
+
+# clean up the upstream tarball
+unzip $ZIP -d $DIR
+GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*/src/javax/xml/namespace/*' $DIR
+rm -rf $DIR
+rm $ZIP
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir
+  echo "moved $TAR to $origDir"
+fi

Added: trunk/stax/debian/rules
===================================================================
--- trunk/stax/debian/rules	                        (rev 0)
+++ trunk/stax/debian/rules	2009-07-04 14:40:24 UTC (rev 8837)
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+# debian/rules file for libstax-java (uses cdbs)
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+PACKAGE              := $(DEB_SOURCE_PACKAGE)
+VERSION              := $(DEB_UPSTREAM_VERSION)
+API_VERSION          := 1.0.1
+JAVA_HOME            := /usr/lib/jvm/default-java
+DEB_JARS             := xml-apis junit
+DEB_ANT_BUILD_TARGET := ri_bin_dist javadoc
+
+binary-post-install/lib$(PACKAGE)-java::
+	# cannot use the mh_* helper scripts here as stax is used to build maven-repo-helper
+	mkdir -p debian/tmp
+	cp debian/stax-api.pom debian/tmp/stax-api-$(API_VERSION).pom
+	dh_install -plib$(PACKAGE)-java --sourcedir=debian/tmp stax-api-$(API_VERSION).pom /usr/share/maven-repo/stax/stax-api/$(API_VERSION)/
+	cp build/stax-api-$(API_VERSION).jar debian/tmp/stax-api-$(API_VERSION).jar
+	dh_install -plib$(PACKAGE)-java --sourcedir=debian/tmp stax-api-$(API_VERSION).jar /usr/share/maven-repo/stax/stax-api/$(API_VERSION)/
+	dh_link -plib$(PACKAGE)-java /usr/share/maven-repo/stax/stax-api/$(API_VERSION)/stax-api-$(API_VERSION).jar /usr/share/java/stax-api-$(API_VERSION).jar
+	dh_link -plib$(PACKAGE)-java /usr/share/maven-repo/stax/stax-api/$(API_VERSION)/stax-api-$(API_VERSION).jar /usr/share/java/stax-api.jar
+	cp debian/stax-api.pom debian/tmp/stax-api-debian.pom
+	perl -p -i -e 's/<version>$(API_VERSION)/<version>debian/' debian/tmp/stax-api-debian.pom
+	dh_install -plib$(PACKAGE)-java --sourcedir=debian/tmp stax-api-debian.pom /usr/share/maven-repo/stax/stax-api/debian/
+	dh_link -plib$(PACKAGE)-java /usr/share/maven-repo/stax/stax-api/$(API_VERSION)/stax-api-$(API_VERSION).jar /usr/share/maven-repo/stax/stax-api/debian/stax-api-debian.jar
+	cp debian/stax.pom debian/tmp/stax-$(VERSION).pom
+	dh_install -plib$(PACKAGE)-java --sourcedir=debian/tmp stax-$(VERSION).pom /usr/share/maven-repo/stax/stax/$(VERSION)/
+	cp build/stax-$(VERSION)-dev.jar debian/tmp/stax-$(VERSION).jar
+	dh_install -plib$(PACKAGE)-java --sourcedir=debian/tmp stax-$(VERSION).jar /usr/share/maven-repo/stax/stax/$(VERSION)/
+	dh_link -plib$(PACKAGE)-java /usr/share/maven-repo/stax/stax/$(VERSION)/stax-$(VERSION).jar /usr/share/java/stax-$(VERSION).jar
+	dh_link -plib$(PACKAGE)-java /usr/share/maven-repo/stax/stax/$(VERSION)/stax-$(VERSION).jar /usr/share/java/stax.jar
+	cp debian/stax.pom debian/tmp/stax-debian.pom
+	perl -p -i -e 's/<version>$(VERSION)/<version>debian/' debian/tmp/stax-debian.pom
+	dh_install -plib$(PACKAGE)-java --sourcedir=debian/tmp stax-debian.pom /usr/share/maven-repo/stax/stax/debian/
+	dh_link -plib$(PACKAGE)-java /usr/share/maven-repo/stax/stax/$(VERSION)/stax-$(VERSION).jar /usr/share/maven-repo/stax/stax/debian/stax-debian.jar
+
+clean::
+	-rm -rf debian/tmp
+
+get-orig-source:
+	-uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename


Property changes on: trunk/stax/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/stax/debian/stax-api.pom
===================================================================
--- trunk/stax/debian/stax-api.pom	                        (rev 0)
+++ trunk/stax/debian/stax-api.pom	2009-07-04 14:40:24 UTC (rev 8837)
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>stax</groupId>
+  <artifactId>stax-api</artifactId>
+  <name>StAX API</name>
+  <version>1.0.1</version>
+  <properties>
+    <debian.originalVersion>1.0.1</debian.originalVersion>
+    <debian.package>libstax-java</debian.package>
+  </properties>
+
+  <description>StAX API is the standard java XML processing API defined by JSR-173</description>
+  <url>http://stax.codehaus.org/</url>
+  <issueManagement>
+    <url>http://jira.codehaus.org/browse/STAX</url>
+  </issueManagement>
+  <ciManagement>
+    <notifiers>
+      <notifier>
+        <configuration>
+          <address>dev at stax.codehaus.org</address>
+        </configuration>
+      </notifier>
+    </notifiers>
+  </ciManagement>
+  <inceptionYear>2005</inceptionYear>
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  <mailingLists>
+    <mailingList>
+      <name>StAX Builders List</name>
+      <subscribe>stax_builders-subscribe at yahoogroups.com</subscribe>
+      <unsubscribe>stax_builders-unsubscribe at yahoogroups.com</unsubscribe>
+      <archive>http://groups.yahoo.com/group/stax_builders/</archive>
+    </mailingList>
+  </mailingLists>
+  <developers>
+    <developer>
+      <id>aslom</id>
+      <name>Aleksander Slominski</name>
+      <email></email>
+      <organization>Indiana University</organization>
+    </developer>
+    <developer>
+      <id>chris</id>
+      <name>Chris Fry</name>
+      <email></email>
+      <organization></organization>
+    </developer>
+  </developers>
+</project>
+

Added: trunk/stax/debian/stax.pom
===================================================================
--- trunk/stax/debian/stax.pom	                        (rev 0)
+++ trunk/stax/debian/stax.pom	2009-07-04 14:40:24 UTC (rev 8837)
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>stax</groupId>
+  <artifactId>stax</artifactId>
+  <name>StAX</name>
+  <version>1.2.0</version>
+  <properties>
+    <debian.originalVersion>1.2.0</debian.originalVersion>
+    <debian.package>libstax-java</debian.package>
+  </properties>
+
+  <description>StAX is the reference implementation of the StAX API</description>
+  <url>http://stax.codehaus.org/</url>
+  <issueManagement>
+    <url>http://jira.codehaus.org/browse/STAX</url>
+  </issueManagement>
+  <ciManagement>
+    <notifiers>
+      <notifier>
+        <configuration>
+          <address>dev at stax.codehaus.org</address>
+        </configuration>
+      </notifier>
+    </notifiers>
+  </ciManagement>
+  <inceptionYear>2002</inceptionYear>
+  <mailingLists>
+    <mailingList>
+      <name>StAX Builders List</name>
+      <subscribe>stax_builders-subscribe at yahoogroups.com</subscribe>
+      <unsubscribe>stax_builders-unsubscribe at yahoogroups.com</unsubscribe>
+      <archive>http://groups.yahoo.com/group/stax_builders/</archive>
+    </mailingList>
+  </mailingLists>
+  <developers>
+    <developer>
+      <id>aslom</id>
+      <name>Aleksander Slominski</name>
+      <email></email>
+      <organization>Indiana University</organization>
+    </developer>
+    <developer>
+      <id>chris</id>
+      <name>Chris Fry</name>
+      <email></email>
+      <organization></organization>
+    </developer>
+  </developers>
+  <dependencies>
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis</artifactId>
+      <version>debian</version>
+    </dependency>
+    <dependency>
+      <groupId>stax</groupId>
+      <artifactId>stax-api</artifactId>
+      <version>debian</version>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.x</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+</project>
+

Added: trunk/stax/debian/watch
===================================================================
--- trunk/stax/debian/watch	                        (rev 0)
+++ trunk/stax/debian/watch	2009-07-04 14:40:24 UTC (rev 8837)
@@ -0,0 +1,2 @@
+version=3
+http://dist.codehaus.org/stax/distributions/stax-src-([\d\.]*).zip debian debian/orig-tar.sh




More information about the pkg-java-commits mailing list