[pkg-java] r8812 - trunk/commons-io/debian

Ludovic Claude ludovicc-guest at alioth.debian.org
Thu Jul 2 22:47:35 UTC 2009


Author: ludovicc-guest
Date: 2009-07-02 22:47:35 +0000 (Thu, 02 Jul 2009)
New Revision: 8812

Added:
   trunk/commons-io/debian/libcommons-io-java.poms
   trunk/commons-io/debian/maven.rules
Modified:
   trunk/commons-io/debian/ant.properties
   trunk/commons-io/debian/changelog
   trunk/commons-io/debian/control
   trunk/commons-io/debian/copyright
   trunk/commons-io/debian/libcommons-io-java-doc.doc-base
   trunk/commons-io/debian/rules
Log:
* New version

Modified: trunk/commons-io/debian/ant.properties
===================================================================
--- trunk/commons-io/debian/ant.properties	2009-07-02 22:42:40 UTC (rev 8811)
+++ trunk/commons-io/debian/ant.properties	2009-07-02 22:47:35 UTC (rev 8812)
@@ -1 +1 @@
-javadocdir=build/javadoc
+javadocdir=target/apidocs

Modified: trunk/commons-io/debian/changelog
===================================================================
--- trunk/commons-io/debian/changelog	2009-07-02 22:42:40 UTC (rev 8811)
+++ trunk/commons-io/debian/changelog	2009-07-02 22:47:35 UTC (rev 8812)
@@ -1,12 +1,21 @@
-commons-io (1.4-1.1) UNRELEASED; urgency=low
+commons-io (1.4-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
+  * Change section to java, bump up Standards-Version to 3.8.1
+  * Bump up debhelper to 6
+  * Add the Maven POM to the package
+  * 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
+  * Change the build dependency on java-gcj to default-jdk
+  * Add ${misc:Depends} to Depends to clear Lintian warnings
+  * Remove Depends on Java runtimes as it is a library
 
-  [ Emmanuel Bourg ]
+  [ Emmanuel Bourg and Sylvestre Ledru]
   * Update of the URLs
   * Rename Jakarta Commons to Apache Commons
 
- -- Sylvestre Ledru <sylvestre.ledru at inria.fr>  Wed, 17 Jun 2009 10:46:10 +0200
+ -- Ludovic Claude <ludovic.claude at laposte.net>  Thu, 02 Jul 2009 23:28:09 +0100
 
 commons-io (1.4-1) unstable; urgency=low
 

Modified: trunk/commons-io/debian/control
===================================================================
--- trunk/commons-io/debian/control	2009-07-02 22:42:40 UTC (rev 8811)
+++ trunk/commons-io/debian/control	2009-07-02 22:47:35 UTC (rev 8812)
@@ -1,18 +1,18 @@
 Source: commons-io
-Section: libs
+Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Trygve Laugstøl <trygvis at inamo.no>, Arnaud Vandyck <avdyk at debian.org>, Varun Hiremath <varun at debian.org>, Kumar Appaiah <akumar at ee.iitm.ac.in>
-Build-Depends: debhelper (>= 6), cdbs
-Build-Depends-Indep: ant, junit, java-gcj-compat-dev
-Standards-Version: 3.7.3
+Build-Depends: debhelper (>= 6), cdbs, default-jdk
+Build-Depends-Indep: maven-repo-helper, ant, junit
+Standards-Version: 3.8.1
 Homepage: http://commons.apache.org/io/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/commons-io
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/commons-io
 
 Package: libcommons-io-java
 Architecture: all
-Depends: java-gcj-compat | java1-runtime | java2-runtime
+Depends: ${misc:Depends}
 Suggests: libcommons-io-java-doc
 Description: Common useful IO related classes
  Commons-IO contains utility classes, stream implementations, file filters and
@@ -21,6 +21,7 @@
 Package: libcommons-io-java-doc
 Section: doc
 Architecture: all
+Depends: ${misc:Depends}
 Suggests: libcommons-io-java
 Description: Common useful IO related classes - documentation
  Commons-IO contains utility classes, stream implementations, file filters and

Modified: trunk/commons-io/debian/copyright
===================================================================
--- trunk/commons-io/debian/copyright	2009-07-02 22:42:40 UTC (rev 8811)
+++ trunk/commons-io/debian/copyright	2009-07-02 22:47:35 UTC (rev 8812)
@@ -31,7 +31,7 @@
                   James Urie,
                   Frank W. Zammetti
 
-Copyright: © 2002-2008 The Apache Software Foundation 
+Copyright: 2002-2008 The Apache Software Foundation 
 
 License: Apache 2.0
 

Modified: trunk/commons-io/debian/libcommons-io-java-doc.doc-base
===================================================================
--- trunk/commons-io/debian/libcommons-io-java-doc.doc-base	2009-07-02 22:42:40 UTC (rev 8811)
+++ trunk/commons-io/debian/libcommons-io-java-doc.doc-base	2009-07-02 22:47:35 UTC (rev 8812)
@@ -1,7 +1,7 @@
 Document: libcommons-io-java
 Title: Programmer API for Commons-IO
 Author: The Apache Commons IO Team
-Abstract: This is the javadoc api of libcommons-io-java, a Java library
+Abstract: This is the javadoc API of libcommons-io-java, a Java library
  which contains utility classes, stream implementations, file filters and
  endian classes.
 Section: Programming

Added: trunk/commons-io/debian/libcommons-io-java.poms
===================================================================
--- trunk/commons-io/debian/libcommons-io-java.poms	                        (rev 0)
+++ trunk/commons-io/debian/libcommons-io-java.poms	2009-07-02 22:47:35 UTC (rev 8812)
@@ -0,0 +1 @@
+pom.xml --no-parent

Added: trunk/commons-io/debian/maven.rules
===================================================================
--- trunk/commons-io/debian/maven.rules	                        (rev 0)
+++ trunk/commons-io/debian/maven.rules	2009-07-02 22:47:35 UTC (rev 8812)
@@ -0,0 +1,2 @@
+junit junit jar s/3\..*/3.x/
+

Modified: trunk/commons-io/debian/rules
===================================================================
--- trunk/commons-io/debian/rules	2009-07-02 22:42:40 UTC (rev 8811)
+++ trunk/commons-io/debian/rules	2009-07-02 22:47:35 UTC (rev 8812)
@@ -3,16 +3,19 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/ant.mk
 
-JAVA_HOME := /usr/lib/jvm/java-gcj/
-ANT_HOME := /usr/share/ant
-
+PACKAGE              := $(DEB_SOURCE_PACKAGE)
+VERSION              := $(DEB_UPSTREAM_VERSION)
+JAVA_HOME            := /usr/lib/jvm/default-java
 # no junit at the moment
 DEB_JARS := #junit ant-junit
 DEB_ANT_BUILD_TARGET := jar javadoc
 
-install/libcommons-io-java::
-	dh_install target/commons-io-$(DEB_UPSTREAM_VERSION).jar usr/share/java/
-	dh_link usr/share/java/commons-io-$(DEB_UPSTREAM_VERSION).jar usr/share/java/commons-io.jar
+binary-post-install/lib$(PACKAGE)-java::
+	mh_installpoms -plib$(PACKAGE)-java
+	mh_installjar -plib$(PACKAGE)-java -l pom.xml target/$(PACKAGE)-$(VERSION).jar
 
+clean::
+	-rm -rf debian/tmp
+
 get-orig-source:
 	-uscan --upstream-version 0 --rename




More information about the pkg-java-commits mailing list