This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository tiles-request.
commit b35b9447c4376d43ec1095e9abc81938cf3e911e Author: Emmanuel Bourg <[email protected]> Date: Sat May 28 00:06:20 2016 +0200 Initial packaging --- debian/README.source | 9 +++++++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 29 +++++++++++++++++++++++++++++ debian/copyright | 18 ++++++++++++++++++ debian/libtiles-request-java.poms | 38 ++++++++++++++++++++++++++++++++++++++ debian/maven.ignoreRules | 10 ++++++++++ debian/maven.properties | 5 +++++ debian/maven.rules | 4 ++++ debian/orig-tar.sh | 14 ++++++++++++++ debian/rules | 7 +++++++ debian/source/format | 1 + debian/watch | 4 ++++ 13 files changed, 145 insertions(+) diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..b2cea2f --- /dev/null +++ b/debian/README.source @@ -0,0 +1,9 @@ +Information about tiles-request +------------------------------- + +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. diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..7a674f3 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +tiles-request (1.0.6-1) unstable; urgency=medium + + * Initial release (Closes: #825571) + + -- Emmanuel Bourg <[email protected]> Sat, 28 May 2016 00:04:41 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e04d98e --- /dev/null +++ b/debian/control @@ -0,0 +1,29 @@ +Source: tiles-request +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Emmanuel Bourg <[email protected]> +Build-Depends: debhelper (>= 9), default-jdk, maven-debian-helper (>= 2.0) +Build-Depends-Indep: libfreemarker-java, + libmaven-bundle-plugin-java, + libmustache-java, + libportlet-api-2.0-spec-java, + libslf4j-java, + libspring-web-java, + libtiles-autotag-java, + libvelocity-tools-java, + velocity +Standards-Version: 3.9.8 +Vcs-Git: https://anonscm.debian.org/git/pkg-java/tiles-request.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/tiles-request.git +Homepage: http://tiles.apache.org/tiles-request/ + +Package: libtiles-request-java +Architecture: all +Depends: ${maven:Depends}, ${misc:Depends} +Suggests: ${maven:OptionalDepends} +Description: Tiles Request Framework + The Tiles Request library provides a simple abstraction layer around + request/response objects of various Java frameworks and template technologies. + Bindings are available for Servlet, Portlet, JSP, Mustache, Velocity + and FreeMarker. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..963b345 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,18 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Tiles Request Framework +Source: http://tiles.apache.org/tiles-request/ +Comment: + The FREEMARKER-LICENSE.txt and SLF4J-LICENSE.txt files do not apply + to the code in this package. + +Files: * +Copyright: 2016, The Apache Software Foundation +License: Apache-2.0 + +Files: debian/* +Copyright: 2016, Emmanuel Bourg <[email protected]> +License: Apache-2.0 + +License: Apache-2.0 + On Debian systems, the full text of the Apache-2.0 license + can be found in the file '/usr/share/common-licenses/Apache-2.0' diff --git a/debian/libtiles-request-java.poms b/debian/libtiles-request-java.poms new file mode 100644 index 0000000..9d6d4dd --- /dev/null +++ b/debian/libtiles-request-java.poms @@ -0,0 +1,38 @@ +# 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 and its artifact if any +# --ignore-pom: don't install the POM. To use on POM files that are created +# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] +# --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. [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. [mh_install] +# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default. +# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed. +# Empty by default. [mh_install] +# +pom.xml --no-parent --has-package-version +tiles-request-api/pom.xml --has-package-version +tiles-request-servlet/pom.xml --has-package-version +tiles-request-servlet-wildcard/pom.xml --has-package-version +tiles-request-portlet/pom.xml --has-package-version +tiles-request-portlet-wildcard/pom.xml --ignore +tiles-request-jsp/pom.xml --has-package-version +tiles-request-freemarker/pom.xml --has-package-version +tiles-request-velocity/pom.xml --has-package-version +tiles-request-mustache/pom.xml --has-package-version +assembly/pom.xml --ignore diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules new file mode 100644 index 0000000..9599df7 --- /dev/null +++ b/debian/maven.ignoreRules @@ -0,0 +1,10 @@ + +junit junit * * * * +org.apache.maven.plugins maven-assembly-plugin * * * * +org.apache.maven.plugins maven-scm-publish-plugin * * * * +org.apache.maven.wagon wagon-ssh * * * * +org.apache.shale shale-test * * * * +org.easymock easymock * * * * +org.easymock easymockclassextension * * * * +org.slf4j slf4j-simple * * * * +org.springframework spring-webmvc-portlet * * * * diff --git a/debian/maven.properties b/debian/maven.properties new file mode 100644 index 0000000..e593715 --- /dev/null +++ b/debian/maven.properties @@ -0,0 +1,5 @@ +# Include here properties to pass to Maven during the build. +# For example: +# maven.test.skip=true + +maven.test.skip=true diff --git a/debian/maven.rules b/debian/maven.rules new file mode 100644 index 0000000..41c88b2 --- /dev/null +++ b/debian/maven.rules @@ -0,0 +1,4 @@ + +javax.portlet portlet-api * * * * +javax.servlet s/servlet-api/javax.servlet-api/ * s/.*/3.1/ * * +org.springframework * * s/.*/3.x/ * * diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh new file mode 100755 index 0000000..e08c405 --- /dev/null +++ b/debian/orig-tar.sh @@ -0,0 +1,14 @@ +#!/bin/sh -e +# +# Removes unwanted content from the upstream sources. +# Called by uscan with '--upstream-version' <version> <file> +# + +VERSION=$2 +TAR=../tiles-request_$VERSION.orig.tar.xz +DIR=tiles-request-$VERSION +TAG=$(echo "tiles-request-$VERSION" | sed -re's/~(alpha|beta|rc)/-\1-/') + +svn export http://svn.apache.org/repos/asf/tiles/request/tags/${TAG}/ $DIR +XZ_OPT=--best tar -c -J -f $TAR --exclude '*.jar' --exclude '*.class' $DIR +rm -rf $DIR ../$TAG diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..aba914b --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ --buildsystem=maven + +get-orig-source: + uscan --download-current-version --force-download --no-symlink 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..241b299 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts="uversionmangle=s/-(alpha|beta|rc)(-)?/~$1$2/" \ + http://svn.apache.org/repos/asf/tiles/request/tags/ \ + tiles-request-(\d.*)/ debian debian/orig-tar.sh -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/tiles-request.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

