[pkg-java] r13192 - in tags/libjoda-time-java: . 1.6.2-1/debian

Torsten Werner twerner at alioth.debian.org
Fri Dec 31 00:19:33 UTC 2010


Author: twerner
Date: 2010-12-31 00:19:32 +0000 (Fri, 31 Dec 2010)
New Revision: 13192

Added:
   tags/libjoda-time-java/1.6.2-1/
   tags/libjoda-time-java/1.6.2-1/debian/README.source
   tags/libjoda-time-java/1.6.2-1/debian/changelog
   tags/libjoda-time-java/1.6.2-1/debian/compat
   tags/libjoda-time-java/1.6.2-1/debian/control
   tags/libjoda-time-java/1.6.2-1/debian/copyright
   tags/libjoda-time-java/1.6.2-1/debian/libjoda-time-java-doc.doc-base.api
   tags/libjoda-time-java/1.6.2-1/debian/libjoda-time-java-doc.install
   tags/libjoda-time-java/1.6.2-1/debian/libjoda-time-java.poms
   tags/libjoda-time-java/1.6.2-1/debian/maven.cleanIgnoreRules
   tags/libjoda-time-java/1.6.2-1/debian/maven.ignoreRules
   tags/libjoda-time-java/1.6.2-1/debian/maven.properties
   tags/libjoda-time-java/1.6.2-1/debian/maven.publishedRules
   tags/libjoda-time-java/1.6.2-1/debian/maven.rules
   tags/libjoda-time-java/1.6.2-1/debian/orig-tar.sh
   tags/libjoda-time-java/1.6.2-1/debian/rules
   tags/libjoda-time-java/1.6.2-1/debian/watch
Removed:
   tags/libjoda-time-java/1.6.2-1/debian/ant.properties
   tags/libjoda-time-java/1.6.2-1/debian/changelog
   tags/libjoda-time-java/1.6.2-1/debian/compat
   tags/libjoda-time-java/1.6.2-1/debian/control
   tags/libjoda-time-java/1.6.2-1/debian/copyright
   tags/libjoda-time-java/1.6.2-1/debian/install
   tags/libjoda-time-java/1.6.2-1/debian/orig-tar.sh
   tags/libjoda-time-java/1.6.2-1/debian/rules
   tags/libjoda-time-java/1.6.2-1/debian/watch
Log:
[svn-buildpackage] Tagging libjoda-time-java 1.6.2-1

Copied: tags/libjoda-time-java/1.6.2-1/debian/README.source (from rev 13191, trunk/libjoda-time-java/debian/README.source)
===================================================================
--- tags/libjoda-time-java/1.6.2-1/debian/README.source	                        (rev 0)
+++ tags/libjoda-time-java/1.6.2-1/debian/README.source	2010-12-31 00:19:32 UTC (rev 13192)
@@ -0,0 +1,9 @@
+Information about libjoda-time-java
+------------------------------
+
+This package was debianized using the mh_make command
+from the maven-debian-helper package.
+
+The build system uses Maven but prevents it from downloading
+anything from the Internet, making the build compliant with
+the Debian policy.

Deleted: tags/libjoda-time-java/1.6.2-1/debian/ant.properties
===================================================================
--- trunk/libjoda-time-java/debian/ant.properties	2010-12-22 19:40:10 UTC (rev 13190)
+++ tags/libjoda-time-java/1.6.2-1/debian/ant.properties	2010-12-31 00:19:32 UTC (rev 13192)
@@ -1 +0,0 @@
-junit.jar=/usr/share/java/junit.jar

Deleted: tags/libjoda-time-java/1.6.2-1/debian/changelog
===================================================================
--- trunk/libjoda-time-java/debian/changelog	2010-12-22 19:40:10 UTC (rev 13190)
+++ tags/libjoda-time-java/1.6.2-1/debian/changelog	2010-12-31 00:19:32 UTC (rev 13192)
@@ -1,52 +0,0 @@
-libjoda-time-java (1.6-3) unstable; urgency=low
-
-  * Merge changes from Ubuntu version 1.6-2ubuntu1.
-  * Switch to source format 3.0.
-  * Update Standards-Version: 3.8.4.
-
- -- Torsten Werner <twerner at debian.org>  Tue, 04 May 2010 22:31:09 +0200
-
-libjoda-time-java (1.6-2ubuntu1) karmic; urgency=low
-
-  * debian/control, debian/rules: Build with default-jdk
-  * Other debian/control fixes:
-     - Runtime depend on default-jre-headless | java2-runtime-headless
-     - Set section to "java"
-     - Remove useless ${shlibs:Depends} from Depends, package has no binaries
-
- -- Thierry Carrez <thierry.carrez at ubuntu.com>  Tue, 11 Aug 2009 11:41:44 +0200
-
-libjoda-time-java (1.6-2) unstable; urgency=low
-
-  * upload to unstable
-
- -- Torsten Werner <twerner at debian.org>  Sun, 15 Feb 2009 22:34:38 +0100
-
-libjoda-time-java (1.6-1) experimental; urgency=low
-
-  * New upstream release
-  * Prepare package for extra timezone updates.
-  * Bump up Standards-Version: 3.8.0 (no changes).
-  * Do no longer quote the full text of the Apache license.
-
- -- Torsten Werner <twerner at debian.org>  Thu, 04 Dec 2008 15:17:53 +0100
-
-libjoda-time-java (1.5.2-1) unstable; urgency=low
-
-  * New upstream release
-  * Add myself to Uploaders
-
- -- Varun Hiremath <varun at debian.org>  Fri, 22 Feb 2008 00:37:48 +0530
-
-libjoda-time-java (1.5.1-1) unstable; urgency=low
-
-  * new upstream version
-  * Bump up Standards-Version: 3.7.3 (no changes needed).
-
- -- Torsten Werner <twerner at debian.org>  Sun, 16 Dec 2007 14:04:37 +0100
-
-libjoda-time-java (1.5-1) unstable; urgency=low
-
-  * Initial release (Closes: #431997)
-
- -- Torsten Werner <twerner at debian.org>  Fri, 23 Nov 2007 23:17:55 +0100

Copied: tags/libjoda-time-java/1.6.2-1/debian/changelog (from rev 13191, trunk/libjoda-time-java/debian/changelog)
===================================================================
--- tags/libjoda-time-java/1.6.2-1/debian/changelog	                        (rev 0)
+++ tags/libjoda-time-java/1.6.2-1/debian/changelog	2010-12-31 00:19:32 UTC (rev 13192)
@@ -0,0 +1,64 @@
+libjoda-time-java (1.6.2-1) experimental; urgency=low
+
+  * New upstream version
+  * Mavenize the build process with the help of mh_make.
+  * Build and run unit tests but ignore test failures and errors.
+  * Create orig tarball from upstream's SVN tag.
+  * Build a new Javadoc package.
+  * Convert copyright file to dep5 format.
+  * Update Standards-Version: 3.9.1.
+
+ -- Torsten Werner <twerner at debian.org>  Fri, 31 Dec 2010 00:50:53 +0100
+
+libjoda-time-java (1.6-3) unstable; urgency=low
+
+  * Merge changes from Ubuntu version 1.6-2ubuntu1.
+  * Switch to source format 3.0.
+  * Update Standards-Version: 3.8.4.
+
+ -- Torsten Werner <twerner at debian.org>  Tue, 04 May 2010 22:31:09 +0200
+
+libjoda-time-java (1.6-2ubuntu1) karmic; urgency=low
+
+  * debian/control, debian/rules: Build with default-jdk
+  * Other debian/control fixes:
+     - Runtime depend on default-jre-headless | java2-runtime-headless
+     - Set section to "java"
+     - Remove useless ${shlibs:Depends} from Depends, package has no binaries
+
+ -- Thierry Carrez <thierry.carrez at ubuntu.com>  Tue, 11 Aug 2009 11:41:44 +0200
+
+libjoda-time-java (1.6-2) unstable; urgency=low
+
+  * upload to unstable
+
+ -- Torsten Werner <twerner at debian.org>  Sun, 15 Feb 2009 22:34:38 +0100
+
+libjoda-time-java (1.6-1) experimental; urgency=low
+
+  * New upstream release
+  * Prepare package for extra timezone updates.
+  * Bump up Standards-Version: 3.8.0 (no changes).
+  * Do no longer quote the full text of the Apache license.
+
+ -- Torsten Werner <twerner at debian.org>  Thu, 04 Dec 2008 15:17:53 +0100
+
+libjoda-time-java (1.5.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Add myself to Uploaders
+
+ -- Varun Hiremath <varun at debian.org>  Fri, 22 Feb 2008 00:37:48 +0530
+
+libjoda-time-java (1.5.1-1) unstable; urgency=low
+
+  * new upstream version
+  * Bump up Standards-Version: 3.7.3 (no changes needed).
+
+ -- Torsten Werner <twerner at debian.org>  Sun, 16 Dec 2007 14:04:37 +0100
+
+libjoda-time-java (1.5-1) unstable; urgency=low
+
+  * Initial release (Closes: #431997)
+
+ -- Torsten Werner <twerner at debian.org>  Fri, 23 Nov 2007 23:17:55 +0100

Deleted: tags/libjoda-time-java/1.6.2-1/debian/compat
===================================================================
--- trunk/libjoda-time-java/debian/compat	2010-12-22 19:40:10 UTC (rev 13190)
+++ tags/libjoda-time-java/1.6.2-1/debian/compat	2010-12-31 00:19:32 UTC (rev 13192)
@@ -1 +0,0 @@
-5

Copied: tags/libjoda-time-java/1.6.2-1/debian/compat (from rev 13191, trunk/libjoda-time-java/debian/compat)
===================================================================
--- tags/libjoda-time-java/1.6.2-1/debian/compat	                        (rev 0)
+++ tags/libjoda-time-java/1.6.2-1/debian/compat	2010-12-31 00:19:32 UTC (rev 13192)
@@ -0,0 +1 @@
+7

Deleted: tags/libjoda-time-java/1.6.2-1/debian/control
===================================================================
--- trunk/libjoda-time-java/debian/control	2010-12-22 19:40:10 UTC (rev 13190)
+++ tags/libjoda-time-java/1.6.2-1/debian/control	2010-12-31 00:19:32 UTC (rev 13192)
@@ -1,23 +0,0 @@
-Source: libjoda-time-java
-Section: java
-Priority: optional
-Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Torsten Werner <twerner at debian.org>, Varun Hiremath <varun at debian.org>
-Build-Depends: cdbs, debhelper (>= 5)
-Build-Depends-Indep: default-jdk, ant, junit
-Standards-Version: 3.8.4
-Homepage: http://joda-time.sourceforge.net
-Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjoda-time-java
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjoda-time-java/
-
-Package: libjoda-time-java
-Architecture: all
-Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless
-Description: Java date and time API
- Joda-Time provides a quality replacement for the Java date and time
- classes. The design allows for multiple calendar systems, while still
- providing a simple API. The 'default' calendar is the ISO8601 standard
- which is used by XML. The Gregorian, Julian, Buddhist, Coptic, Ethiopic
- and Islamic systems are also included, and we welcome further
- additions. Supporting classes include time zone, duration, format and
- parsing.

Copied: tags/libjoda-time-java/1.6.2-1/debian/control (from rev 13191, trunk/libjoda-time-java/debian/control)
===================================================================
--- tags/libjoda-time-java/1.6.2-1/debian/control	                        (rev 0)
+++ tags/libjoda-time-java/1.6.2-1/debian/control	2010-12-31 00:19:32 UTC (rev 13192)
@@ -0,0 +1,40 @@
+Source: libjoda-time-java
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Torsten Werner <twerner at debian.org>, Varun Hiremath <varun at debian.org>
+Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper (>= 1.4)
+Build-Depends-Indep: libmaven-antrun-plugin-java, libmaven-javadoc-plugin-java, junit, default-jdk-doc 
+Standards-Version: 3.9.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjoda-time-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjoda-time-java
+Homepage: http://joda-time.sourceforge.net 
+
+Package: libjoda-time-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Recommends: ${maven:OptionalDepends}
+Suggests: libjoda-time-java-doc
+Description: Java date and time API
+ Joda-Time provides a quality replacement for the Java date and time
+ classes. The design allows for multiple calendar systems, while still
+ providing a simple API. The 'default' calendar is the ISO8601 standard
+ which is used by XML. The Gregorian, Julian, Buddhist, Coptic, Ethiopic
+ and Islamic systems are also included, and we welcome further
+ additions. Supporting classes include time zone, duration, format and
+ parsing.
+
+Package: libjoda-time-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${maven:DocDepends}
+Recommends: ${maven:DocOptionalDepends}
+Suggests: libjoda-time-java
+Description: Java date and time API (developer documentation)
+ Joda-Time provides a quality replacement for the Java date and time
+ classes. The design allows for multiple calendar systems, while still
+ providing a simple API. The 'default' calendar is the ISO8601 standard
+ which is used by XML. The Gregorian, Julian, Buddhist, Coptic, Ethiopic
+ and Islamic systems are also included, and we welcome further
+ additions. Supporting classes include time zone, duration, format and
+ parsing.

Deleted: tags/libjoda-time-java/1.6.2-1/debian/copyright
===================================================================
--- trunk/libjoda-time-java/debian/copyright	2010-12-22 19:40:10 UTC (rev 13190)
+++ tags/libjoda-time-java/1.6.2-1/debian/copyright	2010-12-31 00:19:32 UTC (rev 13192)
@@ -1,23 +0,0 @@
-This package was debianized by Torsten Werner <twerner at debian.org> on
-Fri, 23 Nov 2007 23:17:55 +0100.
-
-It was downloaded from http://joda-time.sourceforge.net
-
-Copyright: (C) 2002-2007, Joda.org
-
-License:
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-
-The full text of the licenses can be found in
-`/usr/share/common-licenses/Apache-2.0'.

Copied: tags/libjoda-time-java/1.6.2-1/debian/copyright (from rev 13191, trunk/libjoda-time-java/debian/copyright)
===================================================================
--- tags/libjoda-time-java/1.6.2-1/debian/copyright	                        (rev 0)
+++ tags/libjoda-time-java/1.6.2-1/debian/copyright	2010-12-31 00:19:32 UTC (rev 13192)
@@ -0,0 +1,33 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: Joda time
+Maintainer:  Stephen Colebourne <> as Lead developer 
+             Brian S O'Neill <> as Senior Developer 
+             Guy Allard as  
+             Fredrik Borgh as  
+             Jeroen van Erp as  
+             Gwyn Evans as  
+             Sean Geoghegan as  
+             Ashish Katyal as  
+             Antonio Leitao as  
+             Kostas Maistrelis as  
+             Al Major as  
+             Blair Martin as  
+             Julen Parra as  
+             Mike Schrag as  
+             Kandarp Shah as  
+             Francois Staes as  
+             Maxim Zhao as  
+             Ryan Propper as  
+Source: http://joda-time.sourceforge.net
+
+Files: *
+Copyright: 2002-2010, Joda.org
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2010, Torsten Werner <Torsten Werner <twerner at debian.org>>
+License: Apache-2.0
+
+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'

Deleted: tags/libjoda-time-java/1.6.2-1/debian/install
===================================================================
--- trunk/libjoda-time-java/debian/install	2010-12-22 19:40:10 UTC (rev 13190)
+++ tags/libjoda-time-java/1.6.2-1/debian/install	2010-12-31 00:19:32 UTC (rev 13192)
@@ -1 +0,0 @@
-build/*.jar /usr/share/java/

Copied: tags/libjoda-time-java/1.6.2-1/debian/libjoda-time-java-doc.doc-base.api (from rev 13191, trunk/libjoda-time-java/debian/libjoda-time-java-doc.doc-base.api)
===================================================================
--- tags/libjoda-time-java/1.6.2-1/debian/libjoda-time-java-doc.doc-base.api	                        (rev 0)
+++ tags/libjoda-time-java/1.6.2-1/debian/libjoda-time-java-doc.doc-base.api	2010-12-31 00:19:32 UTC (rev 13192)
@@ -0,0 +1,10 @@
+Document: libjoda-time-java
+Title: API Javadoc for Joda time
+Author: Joda.org developers
+Abstract: This is the API Javadoc provided for the
+ libjoda-time-java library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libjoda-time-java/api/index.html
+Files: /usr/share/doc/libjoda-time-java/api/*

Copied: tags/libjoda-time-java/1.6.2-1/debian/libjoda-time-java-doc.install (from rev 13191, trunk/libjoda-time-java/debian/libjoda-time-java-doc.install)
===================================================================
--- tags/libjoda-time-java/1.6.2-1/debian/libjoda-time-java-doc.install	                        (rev 0)
+++ tags/libjoda-time-java/1.6.2-1/debian/libjoda-time-java-doc.install	2010-12-31 00:19:32 UTC (rev 13192)
@@ -0,0 +1,2 @@
+target/apidocs/* usr/share/doc/libjoda-time-java/api
+

Copied: tags/libjoda-time-java/1.6.2-1/debian/libjoda-time-java.poms (from rev 13191, trunk/libjoda-time-java/debian/libjoda-time-java.poms)
===================================================================
--- tags/libjoda-time-java/1.6.2-1/debian/libjoda-time-java.poms	                        (rev 0)
+++ tags/libjoda-time-java/1.6.2-1/debian/libjoda-time-java.poms	2010-12-31 00:19:32 UTC (rev 13192)
@@ -0,0 +1,26 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+#   --ignore: ignore this POM or
+#   --no-parent: remove the <parent> tag from the POM
+#   --package=<package>: an alternative package to use when installing this POM
+#      and its artifact
+#   --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+#      of the version for the package.
+#   --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+#      during a clean operation with mh_cleanpom or mh_installpom
+#   --artifact=<path>: path to the build artifact associated with this POM,
+#      it will be installed when using the command mh_install
+#   --java-lib: install the jar into /usr/share/java to comply with Debian
+#      packaging guidelines
+#   --usj-name=<name>: name to use when installing the library in /usr/share/java
+#   --usj-version=<version>: version to use when installing the library in /usr/share/java
+#   --no-usj-versionless: don't install the versionless link in /usr/share/java
+#   --dest-jar=<path>: the destination for the real jar
+#   it will be installed with mh_install.
+#   --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+#   --ignore-pom: don't install the POM with mh_install or mh_installpoms. To use with POM files that are created
+#     temporarily for certain artifacts such as Javadoc jars.
+#
+pom.xml --has-package-version

Copied: tags/libjoda-time-java/1.6.2-1/debian/maven.cleanIgnoreRules (from rev 13191, trunk/libjoda-time-java/debian/maven.cleanIgnoreRules)
===================================================================
--- tags/libjoda-time-java/1.6.2-1/debian/maven.cleanIgnoreRules	                        (rev 0)
+++ tags/libjoda-time-java/1.6.2-1/debian/maven.cleanIgnoreRules	2010-12-31 00:19:32 UTC (rev 13192)
@@ -0,0 +1,17 @@
+# Maven clean ignore rules - ignore some Maven dependencies and plugins
+# during the clean phase of a Maven build
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., this dependency is then removed
+# from the POM before mvn clean is called
+#   junit junit jar s/3\\..*/3.x/
+

Copied: tags/libjoda-time-java/1.6.2-1/debian/maven.ignoreRules (from rev 13191, trunk/libjoda-time-java/debian/maven.ignoreRules)
===================================================================
--- tags/libjoda-time-java/1.6.2-1/debian/maven.ignoreRules	                        (rev 0)
+++ tags/libjoda-time-java/1.6.2-1/debian/maven.ignoreRules	2010-12-31 00:19:32 UTC (rev 13192)
@@ -0,0 +1,23 @@
+# Maven ignore rules - ignore some Maven dependencies and plugins
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., this dependency is then removed
+# from the POM
+#   junit junit jar s/3\\..*/3.x/
+
+org.apache.maven.plugins maven-assembly-plugin * * * *
+org.apache.maven.plugins maven-checkstyle-plugin * * * *
+org.apache.maven.plugins maven-jxr-plugin * * * *
+org.apache.maven.plugins maven-project-info-reports-plugin * * * *
+org.apache.maven.plugins maven-repository-plugin * * * *
+org.apache.maven.plugins maven-source-plugin * * * *
+org.apache.maven.plugins maven-toolchains-plugin * * * *

Copied: tags/libjoda-time-java/1.6.2-1/debian/maven.properties (from rev 13191, trunk/libjoda-time-java/debian/maven.properties)
===================================================================
--- tags/libjoda-time-java/1.6.2-1/debian/maven.properties	                        (rev 0)
+++ tags/libjoda-time-java/1.6.2-1/debian/maven.properties	2010-12-31 00:19:32 UTC (rev 13192)
@@ -0,0 +1,6 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+# maven.test.skip=true
+
+maven.test.error.ignore=true
+maven.test.failure.ignore=true

Copied: tags/libjoda-time-java/1.6.2-1/debian/maven.publishedRules (from rev 13191, trunk/libjoda-time-java/debian/maven.publishedRules)
===================================================================
--- tags/libjoda-time-java/1.6.2-1/debian/maven.publishedRules	                        (rev 0)
+++ tags/libjoda-time-java/1.6.2-1/debian/maven.publishedRules	2010-12-31 00:19:32 UTC (rev 13192)
@@ -0,0 +1,19 @@
+# Maven published rules - additional rules to publish, to help
+# the packaging work of Debian maintainers using mh_make
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# - a regular expression of the form s/match/replace/
+#   in this case, elements that match are transformed using
+#   the regex rule.
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., replacing the version with 3.x
+#   junit junit jar s/3\\..*/3.x/
+

Copied: tags/libjoda-time-java/1.6.2-1/debian/maven.rules (from rev 13191, trunk/libjoda-time-java/debian/maven.rules)
===================================================================
--- tags/libjoda-time-java/1.6.2-1/debian/maven.rules	                        (rev 0)
+++ tags/libjoda-time-java/1.6.2-1/debian/maven.rules	2010-12-31 00:19:32 UTC (rev 13192)
@@ -0,0 +1,20 @@
+# Maven rules - transform Maven dependencies and plugins
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# - a regular expression of the form s/match/replace/
+#   in this case, elements that match are transformed using
+#   the regex rule.
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., replacing the version with 3.x
+#   junit junit jar s/3\\..*/3.x/
+
+joda-time joda-time jar s/.*/debian/ * *
+junit junit jar s/3\..*/3.x/ * *

Deleted: tags/libjoda-time-java/1.6.2-1/debian/orig-tar.sh
===================================================================
--- trunk/libjoda-time-java/debian/orig-tar.sh	2010-12-22 19:40:10 UTC (rev 13190)
+++ tags/libjoda-time-java/1.6.2-1/debian/orig-tar.sh	2010-12-31 00:19:32 UTC (rev 13192)
@@ -1,17 +0,0 @@
-#!/bin/sh -e
-
-# called by uscan with '--upstream-version' <version> <file>
-TAR=$3
-DIR=joda-time-$2-src
-
-# clean up the upstream tarball
-tar -x -z -f $TAR
-tar -c -z -f $TAR --exclude '*.jar' $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

Copied: tags/libjoda-time-java/1.6.2-1/debian/orig-tar.sh (from rev 13191, trunk/libjoda-time-java/debian/orig-tar.sh)
===================================================================
--- tags/libjoda-time-java/1.6.2-1/debian/orig-tar.sh	                        (rev 0)
+++ tags/libjoda-time-java/1.6.2-1/debian/orig-tar.sh	2010-12-31 00:19:32 UTC (rev 13192)
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../libjoda-time-java_$VERSION.orig.tar.gz
+DIR=libjoda-time-java-$VERSION
+TAG=$(echo "v${VERSION}00" | sed -e's,\.,_,g')
+
+svn export http://joda-time.svn.sourceforge.net/svnroot/joda-time/tags/${TAG} $DIR
+GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
+rm -rf $DIR ../$TAG
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir && echo "moved $TAR to $origDir"
+fi

Deleted: tags/libjoda-time-java/1.6.2-1/debian/rules
===================================================================
--- trunk/libjoda-time-java/debian/rules	2010-12-22 19:40:10 UTC (rev 13190)
+++ tags/libjoda-time-java/1.6.2-1/debian/rules	2010-12-31 00:19:32 UTC (rev 13192)
@@ -1,20 +0,0 @@
-#!/usr/bin/make -f
-
-include /usr/share/cdbs/1/class/ant.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
-
-JAVA_HOME 		:= /usr/lib/jvm/default-java
-DEB_ANT_BUILD_TARGET	:= jar
-DEB_JARS                := junit
-
-# update timezone data
-makebuilddir/libjoda-time-java::
-	if [ -d debian/tzdata ]; then \
-	  cp debian/tzdata/* src/java/org/joda/time/tz/src/; \
-	fi
-
-install/libjoda-time-java::
-	dh_link /usr/share/java/joda-time-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/joda-time.jar
-
-get-orig-source:
-	-uscan --upstream-version 0 --rename

Copied: tags/libjoda-time-java/1.6.2-1/debian/rules (from rev 13191, trunk/libjoda-time-java/debian/rules)
===================================================================
--- tags/libjoda-time-java/1.6.2-1/debian/rules	                        (rev 0)
+++ tags/libjoda-time-java/1.6.2-1/debian/rules	2010-12-31 00:19:32 UTC (rev 13192)
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/maven.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java
+
+get-orig-source:
+	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename

Deleted: tags/libjoda-time-java/1.6.2-1/debian/watch
===================================================================
--- trunk/libjoda-time-java/debian/watch	2010-12-22 19:40:10 UTC (rev 13190)
+++ tags/libjoda-time-java/1.6.2-1/debian/watch	2010-12-31 00:19:32 UTC (rev 13192)
@@ -1,2 +0,0 @@
-version=3
-http://sf.net/joda-time/ joda-time-(\d.*)-src\.tar\.gz debian debian/orig-tar.sh

Copied: tags/libjoda-time-java/1.6.2-1/debian/watch (from rev 13191, trunk/libjoda-time-java/debian/watch)
===================================================================
--- tags/libjoda-time-java/1.6.2-1/debian/watch	                        (rev 0)
+++ tags/libjoda-time-java/1.6.2-1/debian/watch	2010-12-31 00:19:32 UTC (rev 13192)
@@ -0,0 +1,4 @@
+version=3
+opts="uversionmangle=s/(\d)_(\d)_(\d)\d\d/$1.$2.$3/" \
+  http://joda-time.svn.sourceforge.net/svnroot/joda-time/tags/ \
+  v(.*)/ debian debian/orig-tar.sh




More information about the pkg-java-commits mailing list