[pkg-java] r15387 - in trunk/apache-pom: . debian debian/source

Ludovic Claude ludovicc-guest at alioth.debian.org
Sun Nov 13 23:03:14 UTC 2011


Author: ludovicc-guest
Date: 2011-11-13 23:03:14 +0000 (Sun, 13 Nov 2011)
New Revision: 15387

Added:
   trunk/apache-pom/debian/
   trunk/apache-pom/debian/README.source
   trunk/apache-pom/debian/build.properties
   trunk/apache-pom/debian/changelog
   trunk/apache-pom/debian/compat
   trunk/apache-pom/debian/control
   trunk/apache-pom/debian/copyright
   trunk/apache-pom/debian/libapache-pom-java.poms
   trunk/apache-pom/debian/maven.cleanIgnoreRules
   trunk/apache-pom/debian/maven.ignoreRules
   trunk/apache-pom/debian/maven.publishedRules
   trunk/apache-pom/debian/maven.rules
   trunk/apache-pom/debian/orig-tar.sh
   trunk/apache-pom/debian/rules
   trunk/apache-pom/debian/source/
   trunk/apache-pom/debian/source/format
   trunk/apache-pom/debian/watch
Log:
[svn-inject] Application des modifications Debian (7-1) pour le tronc


Property changes on: trunk/apache-pom/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: trunk/apache-pom/debian/README.source
===================================================================
--- trunk/apache-pom/debian/README.source	                        (rev 0)
+++ trunk/apache-pom/debian/README.source	2011-11-13 23:03:14 UTC (rev 15387)
@@ -0,0 +1,6 @@
+Information about apache-pom
+------------------------------
+
+This package was debianized using the mh_make command
+from the maven-debian-helper package.
+

Added: trunk/apache-pom/debian/build.properties
===================================================================
--- trunk/apache-pom/debian/build.properties	                        (rev 0)
+++ trunk/apache-pom/debian/build.properties	2011-11-13 23:03:14 UTC (rev 15387)
@@ -0,0 +1,3 @@
+build.directory=target
+javadoc.dir=target/apidocs
+maven.test.skip=true

Added: trunk/apache-pom/debian/changelog
===================================================================
--- trunk/apache-pom/debian/changelog	                        (rev 0)
+++ trunk/apache-pom/debian/changelog	2011-11-13 23:03:14 UTC (rev 15387)
@@ -0,0 +1,6 @@
+apache-pom (7-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your
+    ITP>
+
+ -- Ludovic Claude <ludovic.claude at laposte.net>  Thu, 11 Nov 2010 18:27:31 +0100

Added: trunk/apache-pom/debian/compat
===================================================================
--- trunk/apache-pom/debian/compat	                        (rev 0)
+++ trunk/apache-pom/debian/compat	2011-11-13 23:03:14 UTC (rev 15387)
@@ -0,0 +1 @@
+7

Added: trunk/apache-pom/debian/control
===================================================================
--- trunk/apache-pom/debian/control	                        (rev 0)
+++ trunk/apache-pom/debian/control	2011-11-13 23:03:14 UTC (rev 15387)
@@ -0,0 +1,23 @@
+Source: apache-pom
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Ludovic Claude <ludovic.claude at laposte.net>
+Build-Depends: debhelper (>= 7), cdbs, default-jdk, ant-optional, maven-ant-helper (>> 6.7)
+Build-Depends-Indep: maven-repo-helper (>= 1.4)
+Standards-Version: 3.9.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/apache-pom
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/apache-pom
+Homepage: http://www.apache.org/ 
+
+Package: libapache-pom-java
+Architecture: all
+Depends: ${misc:Depends}, 
+Description: Maven POM for The Apache Software Foundation
+ The Apache Software Foundation provides support for the Apache community
+ of open-source software projects. The Apache projects are characterized
+ by a collaborative, consensus based development process, an open and pragmatic
+ software license, and a desire to create high quality software that leads
+ the way in its field. We consider ourselves not simply a group of projects
+ sharing a server, but rather a community of developers and users.
+

Added: trunk/apache-pom/debian/copyright
===================================================================
--- trunk/apache-pom/debian/copyright	                        (rev 0)
+++ trunk/apache-pom/debian/copyright	2011-11-13 23:03:14 UTC (rev 15387)
@@ -0,0 +1,15 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: The Apache Software Foundation
+Source: http://www.apache.org/
+
+Files: *
+Copyright: 2010, The Apache Software Foundation
+License: Apache-2.0
+Files: debian/*
+Copyright: 2010, Ludovic Claude <ludovic.claude at laposte.net>
+License: Apache-2.0
+
+License: Apache-2.0
+  TODO: include the full license text here
+
+

Added: trunk/apache-pom/debian/libapache-pom-java.poms
===================================================================
--- trunk/apache-pom/debian/libapache-pom-java.poms	                        (rev 0)
+++ trunk/apache-pom/debian/libapache-pom-java.poms	2011-11-13 23:03:14 UTC (rev 15387)
@@ -0,0 +1,20 @@
+# 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
+#   --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
+#
+pom.xml --has-package-version

Added: trunk/apache-pom/debian/maven.cleanIgnoreRules
===================================================================
--- trunk/apache-pom/debian/maven.cleanIgnoreRules	                        (rev 0)
+++ trunk/apache-pom/debian/maven.cleanIgnoreRules	2011-11-13 23:03:14 UTC (rev 15387)
@@ -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/
+

Added: trunk/apache-pom/debian/maven.ignoreRules
===================================================================
--- trunk/apache-pom/debian/maven.ignoreRules	                        (rev 0)
+++ trunk/apache-pom/debian/maven.ignoreRules	2011-11-13 23:03:14 UTC (rev 15387)
@@ -0,0 +1,26 @@
+# 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-docck-plugin * * * *
+org.apache.maven.plugins maven-enforcer-plugin * * * *
+org.apache.maven.plugins maven-gpg-plugin * * * *
+org.apache.maven.plugins maven-invoker-plugin * * * *
+org.apache.maven.plugins maven-project-info-reports-plugin * * * *
+org.apache.maven.plugins maven-remote-resources-plugin * * * *
+org.apache.maven.plugins maven-scm-plugin * * * *
+org.codehaus.modello modello-maven-plugin * * * *
+org.codehaus.mojo clirr-maven-plugin * * * *
+org.codehaus.plexus plexus-maven-plugin * * * *

Added: trunk/apache-pom/debian/maven.publishedRules
===================================================================
--- trunk/apache-pom/debian/maven.publishedRules	                        (rev 0)
+++ trunk/apache-pom/debian/maven.publishedRules	2011-11-13 23:03:14 UTC (rev 15387)
@@ -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/
+

Added: trunk/apache-pom/debian/maven.rules
===================================================================
--- trunk/apache-pom/debian/maven.rules	                        (rev 0)
+++ trunk/apache-pom/debian/maven.rules	2011-11-13 23:03:14 UTC (rev 15387)
@@ -0,0 +1,19 @@
+# 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/
+
+org.apache apache pom s/.*/debian/ * *

Added: trunk/apache-pom/debian/orig-tar.sh
===================================================================
--- trunk/apache-pom/debian/orig-tar.sh	                        (rev 0)
+++ trunk/apache-pom/debian/orig-tar.sh	2011-11-13 23:03:14 UTC (rev 15387)
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../apache-pom_$VERSION.orig.tar.gz
+DIR=apache-pom-$VERSION
+TAG=$(echo "apache-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
+
+svn export http://svn.apache.org/repos/asf/maven/pom/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


Property changes on: trunk/apache-pom/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/apache-pom/debian/rules
===================================================================
--- trunk/apache-pom/debian/rules	                        (rev 0)
+++ trunk/apache-pom/debian/rules	2011-11-13 23:03:14 UTC (rev 15387)
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+JAVA_HOME            := /usr/lib/jvm/default-java
+DEB_JARS             := ant-nodeps   ant-junit  
+DEB_ANT_BUILDFILE    := /usr/share/maven-ant-helper/maven-build.xml
+DEB_ANT_ARGS         := -Dbasedir=$(realpath .) -Dpackage=$(DEB_SOURCE_PACKAGE)
+
+get-orig-source:
+	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+
+binary-post-install/libapache-pom-java::
+	mh_install -plibapache-pom-java
+
+clean::
+	-mh_clean
+


Property changes on: trunk/apache-pom/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/apache-pom/debian/source/format
===================================================================
--- trunk/apache-pom/debian/source/format	                        (rev 0)
+++ trunk/apache-pom/debian/source/format	2011-11-13 23:03:14 UTC (rev 15387)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: trunk/apache-pom/debian/watch
===================================================================
--- trunk/apache-pom/debian/watch	                        (rev 0)
+++ trunk/apache-pom/debian/watch	2011-11-13 23:03:14 UTC (rev 15387)
@@ -0,0 +1,4 @@
+version=3
+opts="uversionmangle=s/-(alpha|beta)-/~$1/" \
+  http://svn.apache.org/repos/asf/maven/pom/tags/ \
+  apache-(\d.*)/ debian debian/orig-tar.sh




More information about the pkg-java-commits mailing list