[pkg-java] r6709 - in trunk: . libexml-java libexml-java/debian
varun at alioth.debian.org
varun at alioth.debian.org
Thu Jul 17 20:32:58 UTC 2008
Author: varun
Date: 2008-07-17 20:32:58 +0000 (Thu, 17 Jul 2008)
New Revision: 6709
Added:
trunk/libexml-java/
trunk/libexml-java/debian/
trunk/libexml-java/debian/ant.properties
trunk/libexml-java/debian/build.xml
trunk/libexml-java/debian/changelog
trunk/libexml-java/debian/compat
trunk/libexml-java/debian/control
trunk/libexml-java/debian/copyright
trunk/libexml-java/debian/orig-tar.sh
trunk/libexml-java/debian/rules
trunk/libexml-java/debian/watch
Log:
* New package libexml-java
Property changes on: trunk/libexml-java/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: trunk/libexml-java/debian/ant.properties
===================================================================
--- trunk/libexml-java/debian/ant.properties (rev 0)
+++ trunk/libexml-java/debian/ant.properties 2008-07-17 20:32:58 UTC (rev 6709)
@@ -0,0 +1,10 @@
+project.name=libexml-java
+class.dir=classes
+source.dir=src/main/java
+
+amazon-s3.dir=amazon-s3
+e-xml.dir=e-xml
+http.dir=http
+xmlrpc.dir=xmlrpc
+
+exml.jar=exml.jar
Added: trunk/libexml-java/debian/build.xml
===================================================================
--- trunk/libexml-java/debian/build.xml (rev 0)
+++ trunk/libexml-java/debian/build.xml 2008-07-17 20:32:58 UTC (rev 6709)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project default="jar" name="${project.name}" basedir="..">
+
+ <target name="clean">
+ <delete dir="${class.dir}" quiet="true"/>
+ <delete file="${exml.jar}" quiet="true"/>
+ </target>
+
+ <target name="jar">
+ <mkdir dir="${class.dir}"/>
+
+ <javac srcdir="${http.dir}/${source.dir}" destdir="${class.dir}"
+ debug="true" source="1.5"/>
+ <javac srcdir="${amazon-s3.dir}/${source.dir}" destdir="${class.dir}"
+ debug="true" source="1.5"/>
+ <javac srcdir="${e-xml.dir}/${source.dir}" destdir="${class.dir}"
+ debug="true" source="1.5"/>
+ <javac srcdir="${xmlrpc.dir}/${source.dir}" destdir="${class.dir}"
+ debug="true" source="1.5"/>
+
+ <jar jarfile="${exml.jar}">
+ <fileset dir="${class.dir}">
+ <include name="**"/>
+ </fileset>
+ </jar>
+ </target>
+
+</project>
Added: trunk/libexml-java/debian/changelog
===================================================================
--- trunk/libexml-java/debian/changelog (rev 0)
+++ trunk/libexml-java/debian/changelog 2008-07-17 20:32:58 UTC (rev 6709)
@@ -0,0 +1,5 @@
+libexml-java (0.0.20080703-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Varun Hiremath <varun at debian.org> Thu, 03 Jul 2008 20:08:09 +0530
Added: trunk/libexml-java/debian/compat
===================================================================
--- trunk/libexml-java/debian/compat (rev 0)
+++ trunk/libexml-java/debian/compat 2008-07-17 20:32:58 UTC (rev 6709)
@@ -0,0 +1 @@
+6
Added: trunk/libexml-java/debian/control
===================================================================
--- trunk/libexml-java/debian/control (rev 0)
+++ trunk/libexml-java/debian/control 2008-07-17 20:32:58 UTC (rev 6709)
@@ -0,0 +1,21 @@
+Source: libexml-java
+Section: contrib/libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Varun Hiremath <varun at debian.org>
+Build-Depends: debhelper (>= 6), cdbs
+Build-Depends-Indep: sun-java6-jdk, ant, libcommons-codec-java,
+ libcommons-logging-java, libcommons-httpclient-java,
+ libservlet2.4-java
+Standards-Version: 3.8.0
+Homepage: http://e-xml.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libexml-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libexml-java
+
+Package: libexml-java
+Architecture: all
+Depends: java-gcj-compat | java2-runtime
+Description: e-xml parsing library for java
+ A XML pull-parse library for Java 1.2, designed for processing XML
+ protocol messages in the most efficient way possible. Contains a
+ complete HTTP client library.
Added: trunk/libexml-java/debian/copyright
===================================================================
--- trunk/libexml-java/debian/copyright (rev 0)
+++ trunk/libexml-java/debian/copyright 2008-07-17 20:32:58 UTC (rev 6709)
@@ -0,0 +1,25 @@
+This package was debianized by Varun Hiremath <varun at debian.org> on
+Thu, 3 Jul 2008 18:59:13 +0530.
+
+It was downloaded from https://sourceforge.net/projects/e-xml
+
+Upstream Author: Elias Ross <genman at maison-otaku.net>
+
+Copyright: (C) 2002-2008 Elias Ross <genman at maison-otaku.net>
+
+License:
+ This library is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ On Debian systems, full text of the LGPL license can be found at
+ `/usr/share/common-licenses/LGPL'.
+
+The Debian packaging is (C) 2008, Varun Hiremath <varun at debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
Added: trunk/libexml-java/debian/orig-tar.sh
===================================================================
--- trunk/libexml-java/debian/orig-tar.sh (rev 0)
+++ trunk/libexml-java/debian/orig-tar.sh 2008-07-17 20:32:58 UTC (rev 6709)
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+# $1 = version
+TAR=../libexml-java_$1.orig.tar.gz
+DIR=libexml-java-$1.orig
+
+# download source from svn
+svn export https://e-xml.svn.sourceforge.net/svnroot/e-xml/trunk $DIR
+GZIP=--best tar -c -z -f $TAR $DIR
+rm -rf $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
+
+exit 0
Property changes on: trunk/libexml-java/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/libexml-java/debian/rules
===================================================================
--- trunk/libexml-java/debian/rules (rev 0)
+++ trunk/libexml-java/debian/rules 2008-07-17 20:32:58 UTC (rev 6709)
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+JAVA_HOME := /usr/lib/jvm/java-6-sun
+DEB_ANT_BUILDFILE := debian/build.xml
+DEB_ANT_BUILD_TARGET := jar
+DEB_JARS := servlet-api commons-httpclient commons-logging commons-codec
+
+install/libexml-java::
+ install -m 644 -D exml.jar $(DEB_DESTDIR)/usr/share/java/exml-$(DEB_UPSTREAM_VERSION).jar
+ dh_link usr/share/java/exml-$(DEB_UPSTREAM_VERSION).jar usr/share/java/exml.jar
+
+get-orig-source:
+ sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION)
Property changes on: trunk/libexml-java/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/libexml-java/debian/watch
===================================================================
--- trunk/libexml-java/debian/watch (rev 0)
+++ trunk/libexml-java/debian/watch 2008-07-17 20:32:58 UTC (rev 6709)
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-beta/~beta/,dversionmangle=s/-beta/~beta/" \
+http://sf.net/e-xml/ e-xml-([0-9].*)\.tar\.gz debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list