[pkg-java] r7881 - in trunk/commons-vfs: . debian debian/patches
drazzib-guest at alioth.debian.org
drazzib-guest at alioth.debian.org
Sun Jan 25 18:09:59 UTC 2009
Author: drazzib-guest
Date: 2009-01-25 18:09:59 +0000 (Sun, 25 Jan 2009)
New Revision: 7881
Added:
trunk/commons-vfs/debian/
trunk/commons-vfs/debian/TODO
trunk/commons-vfs/debian/changelog
trunk/commons-vfs/debian/compat
trunk/commons-vfs/debian/control
trunk/commons-vfs/debian/copyright
trunk/commons-vfs/debian/docs
trunk/commons-vfs/debian/libcommons-vfs-java-doc.doc-base
trunk/commons-vfs/debian/libcommons-vfs-java-doc.examples
trunk/commons-vfs/debian/patches/
trunk/commons-vfs/debian/patches/01_build-xml-nodownload.patch
trunk/commons-vfs/debian/rules
trunk/commons-vfs/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk
Property changes on: trunk/commons-vfs/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: trunk/commons-vfs/debian/TODO
===================================================================
--- trunk/commons-vfs/debian/TODO (rev 0)
+++ trunk/commons-vfs/debian/TODO 2009-01-25 18:09:59 UTC (rev 7881)
@@ -0,0 +1,2 @@
+* Launch unit tests (Junit) during build (using DEB_ANT_CHECK_TARGET)
+ Complicated, see : http://commons.apache.org/vfs/testserver.html
Added: trunk/commons-vfs/debian/changelog
===================================================================
--- trunk/commons-vfs/debian/changelog (rev 0)
+++ trunk/commons-vfs/debian/changelog 2009-01-25 18:09:59 UTC (rev 7881)
@@ -0,0 +1,39 @@
+commons-vfs (1.0-4) UNRELEASED; urgency=low
+
+ * debian/control: add ${misc:Depends} in Depends field for debhelper
+
+ -- Damien Raude-Morvan <drazzib at drazzib.com> Wed, 14 Jan 2009 20:18:20 +0100
+
+commons-vfs (1.0-3) unstable; urgency=low
+
+ * debian/control:
+ - Build-Depend on default-jdk-builddep instead of java-gcj-compat-dev.
+ - Move default-jdk-builddep form B-D-I to B-D (needed for clean)
+ - Differentiate short description of -doc package
+ * debian/rules: Use default-java from default-jdk-builddep as JAVA_HOME
+ * Move examples (sample source code) to libcommons-vfs-java-doc package
+
+ -- Damien Raude-Morvan <drazzib at drazzib.com> Sun, 30 Nov 2008 13:11:05 +0100
+
+commons-vfs (1.0-2) unstable; urgency=low
+
+ * debian/rules:
+ - Include examples/ in libcommons-vfs-java
+ - Install Javadoc API in /usr/share/doc/libcommons-vfs-java-doc
+ - Use CDBS DEB_SOURCE_PACKAGE and DEB_UPSTREAM_VERSION instead of using
+ dpkg-parsechangelog
+ - get-orig-source: use --force-download for uscan
+ - include simple-patchsys.mk rules before ant.mk class
+ * debian/control:
+ - Remove depends on java1-runtime as commons-vfs only works
+ with Java >= 1.4
+ * debian/copyright: Relicense debian packaging under BSD
+ * debian/dirs: Removed because dirs are created by dh_install
+
+ -- Damien Raude-Morvan <drazzib at drazzib.com> Sun, 10 Aug 2008 21:55:32 +0200
+
+commons-vfs (1.0-1) unstable; urgency=low
+
+ * Initial release (closes: #238904).
+
+ -- Damien Raude-Morvan <drazzib at drazzib.com> Wed, 16 Jul 2008 21:56:34 +0200
Added: trunk/commons-vfs/debian/compat
===================================================================
--- trunk/commons-vfs/debian/compat (rev 0)
+++ trunk/commons-vfs/debian/compat 2009-01-25 18:09:59 UTC (rev 7881)
@@ -0,0 +1 @@
+5
Added: trunk/commons-vfs/debian/control
===================================================================
--- trunk/commons-vfs/debian/control (rev 0)
+++ trunk/commons-vfs/debian/control 2009-01-25 18:09:59 UTC (rev 7881)
@@ -0,0 +1,39 @@
+Source: commons-vfs
+Section: libs
+Priority: optional
+Maintainer: Damien Raude-Morvan <drazzib at drazzib.com>
+Build-Depends-Indep: ant-optional, junit, libcommons-net-java, libcommons-logging-java, libcommons-httpclient-java, libcommons-collections3-java, libjsch-java
+Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3), default-jdk-builddep
+Standards-Version: 3.8.0
+Homepage: http://commons.apache.org/vfs/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/commons-vfs
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/commons-vfs
+
+Package: libcommons-vfs-java
+Architecture: all
+Section: libs
+Depends: ${misc:Depends}, java-gcj-compat | java2-runtime, libcommons-logging-java
+Recommends: libcommons-net-java, libcommons-httpclient-java, libcommons-collections3-java, libjsch-java
+Suggests: libcommons-vfs-java-doc
+Description: Java API for accessing various filesystems
+ Commons VFS provides a single API for accessing various different file
+ systems. It presents a uniform view of the files from various different
+ sources, such as the files on local disk, on an HTTP server, or inside
+ a Zip archive.
+ .
+ This is a part of the Apache Commons Project.
+
+Package: libcommons-vfs-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Suggests: libcommons-vfs-java
+Description: Java API for accessing various filesystems - documentation
+ Commons VFS provides a single API for accessing various different file
+ systems. It presents a uniform view of the files from various different
+ sources, such as the files on local disk, on an HTTP server, or inside
+ a Zip archive.
+ .
+ This is a part of the Apache Commons Project.
+ .
+ This package provides the API documentation for Commons VFS.
Added: trunk/commons-vfs/debian/copyright
===================================================================
--- trunk/commons-vfs/debian/copyright (rev 0)
+++ trunk/commons-vfs/debian/copyright 2009-01-25 18:09:59 UTC (rev 7881)
@@ -0,0 +1,25 @@
+This package was debianized by Damien Raude-Morvan <drazzib at drazzib.com>
+
+It was downloaded from http://www.apache.org/dist/commons/vfs/
+
+Upstream Authors:
+Adam Murdoch <adammurdoch at apache.org>
+James Strachan <jstrachan at apache.org>
+Mario Ivankovits <imario at apache.org>
+Rahul Akolkar <rahul at apache.org>
+Rami Ojares <rami.ojares at elisa.fi>
+Anthony Goubard <adagoubard at chello.nl>
+Christopher Ottley <xknight at users.sourceforge.net>
+(from http://commons.apache.org/vfs/team-list.html)
+
+Copyright:
+ Copyright (C) 2002-2006 The Apache Software Foundation
+
+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'
+
+The Debian packaging is
+Copyright (C) 2008, Damien Raude-Morvan <drazzib at drazzib.com>
+and is licensed under the BSD, see `/usr/share/common-licenses/BSD'.
Added: trunk/commons-vfs/debian/docs
===================================================================
--- trunk/commons-vfs/debian/docs (rev 0)
+++ trunk/commons-vfs/debian/docs 2009-01-25 18:09:59 UTC (rev 7881)
@@ -0,0 +1,2 @@
+NOTICE.txt
+RELEASE_NOTES.txt
Added: trunk/commons-vfs/debian/libcommons-vfs-java-doc.doc-base
===================================================================
--- trunk/commons-vfs/debian/libcommons-vfs-java-doc.doc-base (rev 0)
+++ trunk/commons-vfs/debian/libcommons-vfs-java-doc.doc-base 2009-01-25 18:09:59 UTC (rev 7881)
@@ -0,0 +1,9 @@
+Document: libcommons-vfs-java-doc
+Title: API Javadoc for libcommons-vfs
+Author: libcommons-vfs developers
+Abstract: This is the API Javadoc provided by the libcommons-vfs library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libcommons-vfs-java-doc/api/index.html
+Files: /usr/share/doc/libcommons-vfs-java-doc/api/*
Added: trunk/commons-vfs/debian/libcommons-vfs-java-doc.examples
===================================================================
--- trunk/commons-vfs/debian/libcommons-vfs-java-doc.examples (rev 0)
+++ trunk/commons-vfs/debian/libcommons-vfs-java-doc.examples 2009-01-25 18:09:59 UTC (rev 7881)
@@ -0,0 +1 @@
+examples/*
Added: trunk/commons-vfs/debian/patches/01_build-xml-nodownload.patch
===================================================================
--- trunk/commons-vfs/debian/patches/01_build-xml-nodownload.patch (rev 0)
+++ trunk/commons-vfs/debian/patches/01_build-xml-nodownload.patch 2009-01-25 18:09:59 UTC (rev 7881)
@@ -0,0 +1,89 @@
+--- build.xml.orig 2008-07-20 21:23:03.000000000 +0200
++++ build.xml 2008-07-20 21:34:09.000000000 +0200
+@@ -36,32 +36,6 @@
+ </property>
+ <property name="proxy.password" value="">
+ </property>
+- <path id="build.classpath">
+- <pathelement location="${libdir}/ant/jars/ant-1.6.2.jar">
+- </pathelement>
+- <pathelement location="${libdir}/commons-net/jars/commons-net-1.4.1.jar">
+- </pathelement>
+- <pathelement location="${libdir}/commons-logging/jars/commons-logging-1.0.4.jar">
+- </pathelement>
+- <pathelement location="${libdir}/commons-collections/jars/commons-collections-3.1.jar">
+- </pathelement>
+- <pathelement location="${libdir}/jcifs/jars/jcifs-0.8.3.jar">
+- </pathelement>
+- <pathelement location="${libdir}/slide/jars/jakarta-slide-webdavlib-20050629.161100.jar">
+- </pathelement>
+- <pathelement location="${libdir}/jdom/jars/jdom-1.0.jar">
+- </pathelement>
+- <pathelement location="${libdir}/commons-httpclient/jars/commons-httpclient-2.0.2.jar">
+- </pathelement>
+- <pathelement location="${libdir}/com.jcraft/jars/jsch-0.1.23.jar">
+- </pathelement>
+- <pathelement location="${libdir}/xml-apis/jars/xml-apis-1.0.b2.jar">
+- </pathelement>
+- <pathelement location="${libdir}/oro/jars/oro-2.0.8.jar">
+- </pathelement>
+- <pathelement location="${libdir}/maven/plugins/maven-xdoc-plugin-1.9.2.jar">
+- </pathelement>
+- </path>
+ <target name="init" description="o Initializes some properties">
+ <mkdir dir="${libdir}">
+ </mkdir>
+@@ -86,7 +60,7 @@
+ </and>
+ </condition>
+ </target>
+- <target name="compile" description="o Compile the code" depends="get-deps">
++ <target name="compile" description="o Compile the code">
+ <mkdir dir="${classesdir}">
+ </mkdir>
+ <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
+@@ -94,8 +68,6 @@
+ <pathelement location="${basedir}/core/src/main/java">
+ </pathelement>
+ </src>
+- <classpath refid="build.classpath">
+- </classpath>
+ </javac>
+ <copy todir="${classesdir}">
+ <fileset dir="${basedir}/core/src/main/java">
+@@ -151,8 +123,6 @@
+ <formatter usefile="false" type="plain">
+ </formatter>
+ <classpath>
+- <path refid="build.classpath">
+- </path>
+ <pathelement path="${testclassesdir}">
+ </pathelement>
+ <pathelement path="${classesdir}">
+@@ -184,14 +154,12 @@
+ </pathelement>
+ </src>
+ <classpath>
+- <path refid="build.classpath">
+- </path>
+ <pathelement path="${classesdir}">
+ </pathelement>
+ </classpath>
+ </javac>
+ </target>
+- <target name="javadoc" description="o Generate javadoc" depends="get-deps">
++ <target name="javadoc" description="o Generate javadoc">
+ <mkdir dir="${javadocdir}">
+ </mkdir>
+ <tstamp>
+@@ -203,10 +171,6 @@
+ <property name="title" value="Commons VFS 1.0 API">
+ </property>
+ <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="${basedir}/core/src/main/java" packagenames="org.apache.commons.vfs.*">
+- <classpath>
+- <path refid="build.classpath">
+- </path>
+- </classpath>
+ </javadoc>
+ </target>
+ <target name="get-dep-ant.jar" description="o Download the dependency : ant.jar" unless="ant.jar" depends="init,setProxy,noProxy,get-custom-dep-ant.jar">
Added: trunk/commons-vfs/debian/rules
===================================================================
--- trunk/commons-vfs/debian/rules (rev 0)
+++ trunk/commons-vfs/debian/rules 2009-01-25 18:09:59 UTC (rev 7881)
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+# debian/rules for commons-vfs
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java
+ANT_HOME := /usr/share/ant
+
+DEB_JARS := commons-net.jar commons-logging.jar commons-collections3.jar commons-httpclient.jar jsch.jar xml-apis.jar oro.jar
+DEB_ANT_BUILD_TARGET := dist
+#DEB_ANT_CHECK_TARGET := test
+
+API_DOCS := dist/docs/api
+
+binary-post-install/lib$(DEB_SOURCE_PACKAGE)-java::
+ dh_install -plib$(DEB_SOURCE_PACKAGE)-java target/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java
+ dh_link -plib$(DEB_SOURCE_PACKAGE)-java usr/share/java/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(DEB_SOURCE_PACKAGE).jar
+
+binary-post-install/lib$(DEB_SOURCE_PACKAGE)-java-doc::
+ dh_install -plib$(DEB_SOURCE_PACKAGE)-java-doc $(API_DOCS) usr/share/doc/lib$(DEB_SOURCE_PACKAGE)-java-doc
+
+get-orig-source:
+ uscan --force-download --rename
Property changes on: trunk/commons-vfs/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/commons-vfs/debian/watch
===================================================================
--- trunk/commons-vfs/debian/watch (rev 0)
+++ trunk/commons-vfs/debian/watch 2009-01-25 18:09:59 UTC (rev 7881)
@@ -0,0 +1,2 @@
+version=3
+http://www.apache.org/dist/commons/vfs/source/commons-vfs-(.*)-src\.tar\.gz debian uupdate
More information about the pkg-java-commits
mailing list