This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository commons-parent.
commit e6c5b1df84d15e88d26dbcdeb01a4c6e194aea86 Author: Ludovic Claude <[email protected]> Date: Sun Nov 13 23:13:19 2011 +0000 [svn-inject] Application des modifications Debian (21-1) pour le tronc --- debian/README.source | 6 ++++++ debian/build-classpath | 1 + debian/build.properties | 2 ++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 26 ++++++++++++++++++++++++++ debian/copyright | 17 +++++++++++++++++ debian/libcommons-parent-java.poms | 27 +++++++++++++++++++++++++++ debian/maven.cleanIgnoreRules | 17 +++++++++++++++++ debian/maven.ignoreRules | 16 ++++++++++++++++ debian/maven.publishedRules | 19 +++++++++++++++++++ debian/maven.rules | 20 ++++++++++++++++++++ debian/orig-tar.sh | 16 ++++++++++++++++ debian/rules | 10 ++++++++++ debian/source/format | 1 + debian/watch | 4 ++++ 16 files changed, 188 insertions(+) diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..c9949ed --- /dev/null +++ b/debian/README.source @@ -0,0 +1,6 @@ +Information about commons-parent +------------------------------ + +This package was debianized using the mh_make command +from the maven-debian-helper package. + diff --git a/debian/build-classpath b/debian/build-classpath new file mode 100644 index 0000000..5bfa9ce --- /dev/null +++ b/debian/build-classpath @@ -0,0 +1 @@ +/usr/share/java/ant-nodeps.jar diff --git a/debian/build.properties b/debian/build.properties new file mode 100644 index 0000000..4e12bf5 --- /dev/null +++ b/debian/build.properties @@ -0,0 +1,2 @@ +build.directory=target +maven.test.skip=true diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6e0d253 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +commons-parent (21-1) unstable; urgency=low + + * Initial release (Closes: #644561) + + -- Ludovic Claude <[email protected]> Fri, 07 Oct 2011 00:27:53 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..819c820 --- /dev/null +++ b/debian/control @@ -0,0 +1,26 @@ +Source: commons-parent +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Ludovic Claude <[email protected]> +Build-Depends: debhelper (>= 7), default-jdk, maven-repo-helper (>= 1.7) +Build-Depends-Indep: libapache-pom-java (>= 7) +Standards-Version: 3.9.2 +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/commons-parent +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/commons-parent +Homepage: http://commons.apache.org/ + +Package: libcommons-parent-java +Architecture: all +Depends: ${misc:Depends}, libapache-pom-java (>= 9) +Description: Maven metadata for Apache Commons project + 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. + . + This package contains the Maven metadata shared between all components of + the Apache Commons project. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..68e1006 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,17 @@ +Format: http://dep.debian.net/deps/dep5/ +Upstream-Name: Commons Parent +Source: http://commons.apache.org/ + +Files: * +Copyright: 2010, The Apache Software Foundation +License: Apache-2.0 + +Files: debian/* +Copyright: 2010, Ludovic Claude <[email protected]> +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' + + diff --git a/debian/libcommons-parent-java.poms b/debian/libcommons-parent-java.poms new file mode 100644 index 0000000..742e8b2 --- /dev/null +++ b/debian/libcommons-parent-java.poms @@ -0,0 +1,27 @@ +# 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 --site-xml=src/site/site.xml + diff --git a/debian/maven.cleanIgnoreRules b/debian/maven.cleanIgnoreRules new file mode 100644 index 0000000..b47b61d --- /dev/null +++ b/debian/maven.cleanIgnoreRules @@ -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/ + diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules new file mode 100644 index 0000000..0088a40 --- /dev/null +++ b/debian/maven.ignoreRules @@ -0,0 +1,16 @@ +# 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/ + diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules new file mode 100644 index 0000000..822f087 --- /dev/null +++ b/debian/maven.publishedRules @@ -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/ + diff --git a/debian/maven.rules b/debian/maven.rules new file mode 100644 index 0000000..bebf071 --- /dev/null +++ b/debian/maven.rules @@ -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/ + +org.apache apache pom s/.*/debian/ * * +org.apache.commons commons-parent pom s/.*/debian/ * * diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh new file mode 100755 index 0000000..b30785c --- /dev/null +++ b/debian/orig-tar.sh @@ -0,0 +1,16 @@ +#!/bin/sh -e + +VERSION=$2 +TAR=../commons-parent_$VERSION.orig.tar.gz +DIR=commons-parent-$VERSION +TAG=$(echo "commons-parent-$VERSION" | sed -re's/~(alpha|beta)/-\1-/') + +svn export http://svn.apache.org/repos/asf/commons/proper/commons-parent/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 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..28d3fd6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +DEB_SOURCE_PACKAGE := $(shell dpkg-parsechangelog | grep '^Source:' | cut -f 2 -d ' ') +DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | cut -d: -f2- | sed 's/-[^-]*$$//') + +%: + dh $@ --with maven_repo_helper + +get-orig-source: + uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..e0a938d --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts="uversionmangle=s/-(alpha|beta)-/~$1/" \ + http://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/ \ + commons-parent-(\d.*)/ debian debian/orig-tar.sh -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/commons-parent.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

