[commons-io] 21/47: * New version

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Apr 26 10:54:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository commons-io.

commit 69206dee7240fef596dbce41336f3d83a232162b
Author: Ludovic Claude <ludovic.claude at laposte.net>
Date:   Thu Jul 2 22:47:35 2009 +0000

    * New version
---
 debian/ant.properties                  |  2 +-
 debian/changelog                       | 17 +++++++++++++----
 debian/control                         | 11 ++++++-----
 debian/copyright                       |  2 +-
 debian/libcommons-io-java-doc.doc-base |  2 +-
 debian/libcommons-io-java.poms         |  1 +
 debian/maven.rules                     |  2 ++
 debian/rules                           | 15 +++++++++------
 8 files changed, 34 insertions(+), 18 deletions(-)

diff --git a/debian/ant.properties b/debian/ant.properties
index 55fc52a..c97321a 100644
--- a/debian/ant.properties
+++ b/debian/ant.properties
@@ -1 +1 @@
-javadocdir=build/javadoc
+javadocdir=target/apidocs
diff --git a/debian/changelog b/debian/changelog
index a7b2b2f..d32a5a6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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.
-
-  [ Emmanuel Bourg ]
+  * 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 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
 
diff --git a/debian/control b/debian/control
index 042afdb..f86a991 100644
--- a/debian/control
+++ b/debian/control
@@ -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 @@ Description: Common useful IO related classes
 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
diff --git a/debian/copyright b/debian/copyright
index 1655a09..51c37cb 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -31,7 +31,7 @@ Upstream Authors: Scott Sanders <sanders at apache.org>,
                   James Urie,
                   Frank W. Zammetti
 
-Copyright: © 2002-2008 The Apache Software Foundation 
+Copyright: 2002-2008 The Apache Software Foundation 
 
 License: Apache 2.0
 
diff --git a/debian/libcommons-io-java-doc.doc-base b/debian/libcommons-io-java-doc.doc-base
index c18c70b..8efb549 100644
--- a/debian/libcommons-io-java-doc.doc-base
+++ b/debian/libcommons-io-java-doc.doc-base
@@ -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
diff --git a/debian/libcommons-io-java.poms b/debian/libcommons-io-java.poms
new file mode 100644
index 0000000..43e746b
--- /dev/null
+++ b/debian/libcommons-io-java.poms
@@ -0,0 +1 @@
+pom.xml --no-parent
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..8486979
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,2 @@
+junit junit jar s/3\..*/3.x/
+
diff --git a/debian/rules b/debian/rules
index 318b883..e066330 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/commons-io.git



More information about the pkg-java-commits mailing list