This is an automated email from the git hooks/post-receive script. apo-guest pushed a commit to branch master in repository jboss-jdeparser2.
commit e7910c24c22b99480a3d16bf8b5eeb088544cd71 Author: Markus Koschany <[email protected]> Date: Wed Sep 16 15:41:33 2015 +0200 Imported Debian patch 2.0.0-1 --- debian/README.source | 9 +++++ debian/changelog | 5 +++ debian/compat | 1 + debian/control | 49 ++++++++++++++++++++++++ debian/copyright | 18 +++++++++ debian/libjboss-jdeparser2-java-doc.doc-base.api | 10 +++++ debian/libjboss-jdeparser2-java-doc.install | 1 + debian/libjboss-jdeparser2-java.poms | 28 ++++++++++++++ debian/maven.properties | 6 +++ debian/maven.rules | 3 ++ debian/patches/disable-apiviz-plugin.patch | 30 +++++++++++++++ debian/patches/series | 1 + debian/rules | 8 ++++ debian/source/format | 1 + debian/watch | 6 +++ 15 files changed, 176 insertions(+) diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..68f7cd4 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,9 @@ +Information about jboss-jdeparser2 +---------------------------------- + +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..d12bbcf --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +jboss-jdeparser2 (2.0.0-1) unstable; urgency=medium + + * Initial release. (Closes: #799112) + + -- Markus Koschany <[email protected]> Wed, 16 Sep 2015 15:41:33 +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..320fd02 --- /dev/null +++ b/debian/control @@ -0,0 +1,49 @@ +Source: jboss-jdeparser2 +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: + Markus Koschany <[email protected]> +Build-Depends: + debhelper (>= 9), + default-jdk, + default-jdk-doc, + junit4, + libmaven-javadoc-plugin-java, + maven-debian-helper (>= 1.5) +Standards-Version: 3.9.6 +Vcs-Git: git://anonscm.debian.org/pkg-java/jboss-jdeparser2.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/jboss-jdeparser2.git +Homepage: https://github.com/jdeparser/jdeparser2 + +Package: libjboss-jdeparser2-java +Architecture: all +Depends: + ${maven:Depends}, + ${misc:Depends} +Suggests: + libjboss-jdeparser2-java-doc, + ${maven:OptionalDepends} +Description: Java source code generating library + jboss-jdeparser2 is used in annotation processors and utilities like + jboss-logging to generate additional code. It is an improved version of + com.sun.codemodel. It offers a simple API and completely customizable code + formatting. + +Package: libjboss-jdeparser2-java-doc +Architecture: all +Section: doc +Depends: + ${misc:Depends} +Recommends: + ${maven:DocDepends}, + ${maven:DocOptionalDepends} +Suggests: + libjboss-jdeparser2-java +Description: Documentation for libjboss-jdeparser2-java + jboss-jdeparser2 is used in annotation processors and utilities like + jboss-logging to generate additional code. It is an improved version of + com.sun.codemodel. It offers a simple API and completely customizable code + formatting. + . + This package contains the API documentation of libjboss-jdeparser2-java. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..9546601 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,18 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: jdeparser2 +Source: https://github.com/jdeparser/jdeparser2 +Comment: + pom.xml contains an outdated reference to the old LGPL license. Nowadays + jdeparser2 is licensed under Apache-2.0. + +Files: * +Copyright: 2015, Red Hat, Inc. +License: Apache-2.0 + +Files: debian/* +Copyright: 2015, Markus Koschany <[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/libjboss-jdeparser2-java-doc.doc-base.api b/debian/libjboss-jdeparser2-java-doc.doc-base.api new file mode 100644 index 0000000..4d08eea --- /dev/null +++ b/debian/libjboss-jdeparser2-java-doc.doc-base.api @@ -0,0 +1,10 @@ +Document: libjboss-jdeparser2-java +Title: API Javadoc for jdeparser2 +Author: Red Hat, Inc. +Abstract: This is the API Javadoc provided for the + libjboss-jdeparser2-java library. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libjboss-jdeparser2-java/api/index.html +Files: /usr/share/doc/libjboss-jdeparser2-java/api/* diff --git a/debian/libjboss-jdeparser2-java-doc.install b/debian/libjboss-jdeparser2-java-doc.install new file mode 100644 index 0000000..bd55bbd --- /dev/null +++ b/debian/libjboss-jdeparser2-java-doc.install @@ -0,0 +1 @@ +target/apidocs/* usr/share/doc/libjboss-jdeparser2-java/api diff --git a/debian/libjboss-jdeparser2-java.poms b/debian/libjboss-jdeparser2-java.poms new file mode 100644 index 0000000..8545d14 --- /dev/null +++ b/debian/libjboss-jdeparser2-java.poms @@ -0,0 +1,28 @@ +# 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 diff --git a/debian/maven.properties b/debian/maven.properties new file mode 100644 index 0000000..1dbb21c --- /dev/null +++ b/debian/maven.properties @@ -0,0 +1,6 @@ +# Include here properties to pass to Maven during the build. +# For example: +# maven.test.skip=true +maven.compiler.source=1.7 +maven.compiler.target=1.7 + diff --git a/debian/maven.rules b/debian/maven.rules new file mode 100644 index 0000000..4285c06 --- /dev/null +++ b/debian/maven.rules @@ -0,0 +1,3 @@ + +junit junit jar s/4\..*/4.x/ * * +org.jboss.jdeparser jdeparser jar s/.*/debian/ * * diff --git a/debian/patches/disable-apiviz-plugin.patch b/debian/patches/disable-apiviz-plugin.patch new file mode 100644 index 0000000..b10c481 --- /dev/null +++ b/debian/patches/disable-apiviz-plugin.patch @@ -0,0 +1,30 @@ +From: Markus Koschany <[email protected]> +Date: Thu, 28 May 2015 15:08:20 +0200 +Subject: disable apiviz plugin + +Forwarded: not-needed +--- + pom.xml | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/pom.xml b/pom.xml +index 2e60967..c3c259f 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -49,14 +49,14 @@ + <plugins> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> +- <configuration> ++ <!--<configuration> + <doclet>net.gleamynode.apiviz.APIviz</doclet> + <docletArtifact> + <groupId>org.jboss.apiviz</groupId> + <artifactId>apiviz</artifactId> + <version>1.3.2.GA</version> + </docletArtifact> +- </configuration> ++ </configuration>--> + </plugin> + </plugins> + </build> diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..2775e34 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +disable-apiviz-plugin.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..fc6afff --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +export JAVA_HOME=/usr/lib/jvm/default-java + +%: + dh $@ --parallel --buildsystem=maven + +get-orig-source: + uscan --verbose --download-current-version --force-download 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..0d8363f --- /dev/null +++ b/debian/watch @@ -0,0 +1,6 @@ +version=3 +opts=dversionmangle=s/(\da?)[\+\.\-~](?:dfsg|debian|ds|repack|repacked)\.?\d*$/$1/,\ +uversionmangle=s/_/./g;s/\.Final// \ +https://github.com/jdeparser/jdeparser2/tags \ +.*/archive/(?:upstream/)?(?:v||version-|release-|X|R|r)(\d\S*)\.Final\.tar\.gz + -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jboss-jdeparser2.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

