[pkg-java] r15495 - in trunk/maven-parent: . debian debian/source
Damien Raude-Morvan
drazzib at alioth.debian.org
Sun Dec 4 01:15:10 UTC 2011
Author: drazzib
Date: 2011-12-04 01:15:10 +0000 (Sun, 04 Dec 2011)
New Revision: 15495
Added:
trunk/maven-parent/debian/
trunk/maven-parent/debian/changelog
trunk/maven-parent/debian/compat
trunk/maven-parent/debian/control
trunk/maven-parent/debian/copyright
trunk/maven-parent/debian/libmaven-parent-java.poms
trunk/maven-parent/debian/maven.ignoreRules
trunk/maven-parent/debian/maven.rules
trunk/maven-parent/debian/orig-tar.sh
trunk/maven-parent/debian/rules
trunk/maven-parent/debian/source/
trunk/maven-parent/debian/source/format
trunk/maven-parent/debian/watch
Log:
[svn-inject] Application des modifications Debian (21-1) pour le tronc
Property changes on: trunk/maven-parent/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: trunk/maven-parent/debian/changelog
===================================================================
--- trunk/maven-parent/debian/changelog (rev 0)
+++ trunk/maven-parent/debian/changelog 2011-12-04 01:15:10 UTC (rev 15495)
@@ -0,0 +1,5 @@
+maven-parent (21-1) unstable; urgency=low
+
+ * Initial release (Closes: #nnnn).
+
+ -- Damien Raude-Morvan <drazzib at debian.org> Sun, 04 Dec 2011 02:06:20 +0100
Added: trunk/maven-parent/debian/compat
===================================================================
--- trunk/maven-parent/debian/compat (rev 0)
+++ trunk/maven-parent/debian/compat 2011-12-04 01:15:10 UTC (rev 15495)
@@ -0,0 +1 @@
+7
Added: trunk/maven-parent/debian/control
===================================================================
--- trunk/maven-parent/debian/control (rev 0)
+++ trunk/maven-parent/debian/control 2011-12-04 01:15:10 UTC (rev 15495)
@@ -0,0 +1,25 @@
+Source: maven-parent
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Ludovic Claude <ludovic.claude at laposte.net>,
+ Damien Raude-Morvan <drazzib at debian.org>
+Build-Depends: debhelper (>= 7),
+ default-jdk,
+ libapache-pom-java (>= 7),
+ maven-repo-helper (>= 1.5~)
+Standards-Version: 3.9.2
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/maven-parent
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/maven-parent
+Homepage: http://maven.apache.org/
+
+Package: libmaven-parent-java
+Architecture: all
+Depends: ${misc:Depends}
+Description: Maven metadata for Apache Maven itself
+ Maven is a software project management and comprehension tool. Based on
+ the concept of a project object model (POM), Maven can manage a project's
+ build, reporting and documentation from a central piece of information.
+ .
+ This package contains the metadata (POM file) used by Maven during the build of
+ Maven itself and related projects.
Added: trunk/maven-parent/debian/copyright
===================================================================
--- trunk/maven-parent/debian/copyright (rev 0)
+++ trunk/maven-parent/debian/copyright 2011-12-04 01:15:10 UTC (rev 15495)
@@ -0,0 +1,15 @@
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174
+Upstream-Name: Apache Maven root POM
+Source: http://svn.apache.org/repos/asf/maven/pom/trunk/maven/
+
+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
+ 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'
Added: trunk/maven-parent/debian/libmaven-parent-java.poms
===================================================================
--- trunk/maven-parent/debian/libmaven-parent-java.poms (rev 0)
+++ trunk/maven-parent/debian/libmaven-parent-java.poms 2011-12-04 01:15:10 UTC (rev 15495)
@@ -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 --site-xml=src/site-docs/site.xml
Added: trunk/maven-parent/debian/maven.ignoreRules
===================================================================
--- trunk/maven-parent/debian/maven.ignoreRules (rev 0)
+++ trunk/maven-parent/debian/maven.ignoreRules 2011-12-04 01:15:10 UTC (rev 15495)
@@ -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/
+
Added: trunk/maven-parent/debian/maven.rules
===================================================================
--- trunk/maven-parent/debian/maven.rules (rev 0)
+++ trunk/maven-parent/debian/maven.rules 2011-12-04 01:15:10 UTC (rev 15495)
@@ -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.maven maven-parent pom s/.*/debian/ * *
Added: trunk/maven-parent/debian/orig-tar.sh
===================================================================
--- trunk/maven-parent/debian/orig-tar.sh (rev 0)
+++ trunk/maven-parent/debian/orig-tar.sh 2011-12-04 01:15:10 UTC (rev 15495)
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../maven-parent_$VERSION.orig.tar.gz
+DIR=maven-parent-$VERSION
+TAG=$(echo "maven-parent-$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/maven-parent/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/maven-parent/debian/rules
===================================================================
--- trunk/maven-parent/debian/rules (rev 0)
+++ trunk/maven-parent/debian/rules 2011-12-04 01:15:10 UTC (rev 15495)
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | cut -d: -f2- | sed 's/-[^-]*$$//')
+
+get-orig-source:
+ uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+
+%:
+ dh $@ --with maven_repo_helper
+
Property changes on: trunk/maven-parent/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/maven-parent/debian/source/format
===================================================================
--- trunk/maven-parent/debian/source/format (rev 0)
+++ trunk/maven-parent/debian/source/format 2011-12-04 01:15:10 UTC (rev 15495)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: trunk/maven-parent/debian/watch
===================================================================
--- trunk/maven-parent/debian/watch (rev 0)
+++ trunk/maven-parent/debian/watch 2011-12-04 01:15:10 UTC (rev 15495)
@@ -0,0 +1,4 @@
+version=3
+opts="uversionmangle=s/-(alpha|beta)-/~$1/" \
+ http://svn.apache.org/repos/asf/maven/pom/tags/ \
+ maven-parent-(\d.*)/ debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list