[pkg-java] r10174 - trunk/commons-vfs/debian

Damien Raude-Morvan drazzib-guest at alioth.debian.org
Sun Aug 23 13:55:03 UTC 2009


Author: drazzib-guest
Date: 2009-08-23 13:55:02 +0000 (Sun, 23 Aug 2009)
New Revision: 10174

Added:
   trunk/commons-vfs/debian/libcommons-vfs-java-doc.install
   trunk/commons-vfs/debian/libcommons-vfs-java.poms
   trunk/commons-vfs/debian/maven.rules
Modified:
   trunk/commons-vfs/debian/changelog
   trunk/commons-vfs/debian/control
   trunk/commons-vfs/debian/libcommons-vfs-java-doc.doc-base
   trunk/commons-vfs/debian/rules
Log:
[commons-vfs]

* Use maven-repo-helper
* Default-JDK 


Modified: trunk/commons-vfs/debian/changelog
===================================================================
--- trunk/commons-vfs/debian/changelog	2009-08-23 13:53:01 UTC (rev 10173)
+++ trunk/commons-vfs/debian/changelog	2009-08-23 13:55:02 UTC (rev 10174)
@@ -1,22 +1,28 @@
-commons-vfs (1.0-4) UNRELEASED; urgency=low
+commons-vfs (1.0-4) unstable; urgency=low
 
+  * Set Maintainer field to Debian Java Team
+  * Add myself as Uploaders
   * Add ${misc:Depends} in Depends field for debhelper
-  * Bump Standards-Version 3.8.2:
+  * Bump Standards-Version 3.8.3:
     - Move libcommons-vfs-java to "java" section
     - Add a README.source describing patch system
   * Switch to Quilt patch system:
     - Refresh all patchs
     - Add B-D on quilt
     - Include patchsys-quilt.mk in debian/rules
-  * Set Maintainer field to Debian Java Team
-  * Add myself as Uploaders
   * New patch 02_no_home_dir.diff: don't try to create/copy files
     in $HOME as many autobuilder won't have one
-  * Depends on default-jre-headless instead of java-gcj-compat
-  * Build-Depends on default-jdk instead of default-jdk-builddep
-    because we don't build a native GCJ package.
+  * Use default-jdk/jre:
+    - Depends on default-jre-headless instead of java-gcj-compat
+    - Build-Depends on default-jdk instead of default-jdk-builddep
+      because we don't build a native GCJ package.
+  * Maven POMs:
+    - Add a Build-Depends-Indep dependency on maven-repo-helper
+    - Use mh_installpom and mh_installjar to install the POM and the jar to the
+      Maven repository
+  * Move api documentation to /usr/share/doc/libcommons-vfs-java/api
 
- -- Damien Raude-Morvan <drazzib at drazzib.com>  Fri, 17 Jul 2009 16:06:06 +0200
+ -- Damien Raude-Morvan <drazzib at drazzib.com>  Sun, 23 Aug 2009 00:52:26 +0200
 
 commons-vfs (1.0-3) unstable; urgency=low
 

Modified: trunk/commons-vfs/debian/control
===================================================================
--- trunk/commons-vfs/debian/control	2009-08-23 13:53:01 UTC (rev 10173)
+++ trunk/commons-vfs/debian/control	2009-08-23 13:55:02 UTC (rev 10174)
@@ -5,7 +5,7 @@
 Uploaders: 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, default-jdk, quilt
-Standards-Version: 3.8.2
+Standards-Version: 3.8.3
 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

Modified: trunk/commons-vfs/debian/libcommons-vfs-java-doc.doc-base
===================================================================
--- trunk/commons-vfs/debian/libcommons-vfs-java-doc.doc-base	2009-08-23 13:53:01 UTC (rev 10173)
+++ trunk/commons-vfs/debian/libcommons-vfs-java-doc.doc-base	2009-08-23 13:55:02 UTC (rev 10174)
@@ -5,5 +5,5 @@
 Section: Programming
 
 Format: HTML
-Index: /usr/share/doc/libcommons-vfs-java-doc/api/index.html
-Files: /usr/share/doc/libcommons-vfs-java-doc/api/*
+Index: /usr/share/doc/libcommons-vfs-java/api/index.html
+Files: /usr/share/doc/libcommons-vfs-java/api/*

Added: trunk/commons-vfs/debian/libcommons-vfs-java-doc.install
===================================================================
--- trunk/commons-vfs/debian/libcommons-vfs-java-doc.install	                        (rev 0)
+++ trunk/commons-vfs/debian/libcommons-vfs-java-doc.install	2009-08-23 13:55:02 UTC (rev 10174)
@@ -0,0 +1 @@
+dist/docs/api /usr/share/doc/libcommons-vfs-java/

Added: trunk/commons-vfs/debian/libcommons-vfs-java.poms
===================================================================
--- trunk/commons-vfs/debian/libcommons-vfs-java.poms	                        (rev 0)
+++ trunk/commons-vfs/debian/libcommons-vfs-java.poms	2009-08-23 13:55:02 UTC (rev 10174)
@@ -0,0 +1 @@
+core/pom.xml --no-parent

Added: trunk/commons-vfs/debian/maven.rules
===================================================================
--- trunk/commons-vfs/debian/maven.rules	                        (rev 0)
+++ trunk/commons-vfs/debian/maven.rules	2009-08-23 13:55:02 UTC (rev 10174)
@@ -0,0 +1,3 @@
+junit junit jar s/3\..*/3.x/
+s/ant/org.apache.ant/ * * s/.*/debian/
+commons-collections commons-collections jar s/3\..*/3.x/

Modified: trunk/commons-vfs/debian/rules
===================================================================
--- trunk/commons-vfs/debian/rules	2009-08-23 13:53:01 UTC (rev 10173)
+++ trunk/commons-vfs/debian/rules	2009-08-23 13:55:02 UTC (rev 10174)
@@ -6,20 +6,19 @@
 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_JARS             := commons-net.jar commons-logging.jar commons-collections3.jar commons-httpclient.jar jsch.jar
 DEB_ANT_BUILD_TARGET := dist
 #DEB_ANT_CHECK_TARGET := test
 
-API_DOCS             := dist/docs/api
+PACKAGE              := $(DEB_SOURCE_PACKAGE)
+VERSION              := $(DEB_UPSTREAM_VERSION)
 
-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$(PACKAGE)-java::
+	mh_installpoms -plib$(PACKAGE)-java
+	mh_installjar -plib$(PACKAGE)-java -l core/pom.xml target/$(PACKAGE)-$(VERSION).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
+clean::
+	-rm -rf debian/tmp
 
 get-orig-source:
 	uscan --force-download --rename




More information about the pkg-java-commits mailing list