This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository dokujclient.
commit 78a2983b84ac137a4d745269a50f9019a3658425 Author: Guillaume Turri <[email protected]> Date: Mon Sep 21 11:45:09 2015 +0200 Initial packaging --- debian/README.source | 9 +++++ debian/changelog | 5 +++ debian/compat | 1 + debian/control | 55 +++++++++++++++++++++++++++ debian/copyright | 15 ++++++++ debian/dokujclient.install | 1 + debian/dokujclient.manpages | 1 + debian/libdokujclient-java-doc.doc-base.api | 10 +++++ debian/libdokujclient-java-doc.install | 1 + debian/libdokujclient-java.poms | 28 ++++++++++++++ debian/maven.ignoreRules | 13 +++++++ debian/maven.properties | 5 +++ debian/rules | 20 ++++++++++ debian/scripts/dokujclient | 7 ++++ debian/scripts/dokujclient_from_build_tree.sh | 3 ++ debian/scripts/test.sh | 3 ++ debian/source/format | 1 + debian/watch | 4 ++ 18 files changed, 182 insertions(+) diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..04d2b83 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,9 @@ +Information about dokujclient +----------------------------- + +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..ac16778 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +dokujclient (3.5.2-1) unstable; urgency=medium + + * Initial release (Closes: #790484) + + -- Guillaume Turri <[email protected]> Mon, 21 Sep 2015 11:33:32 +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..d4974b6 --- /dev/null +++ b/debian/control @@ -0,0 +1,55 @@ +Source: dokujclient +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Guillaume Turri <[email protected]> +Build-Depends: cdbs, + debhelper (>= 9), + default-jdk, + maven-debian-helper (>= 1.5) +Build-Depends-Indep: default-jdk-doc, + libaxmlrpc-java (>= 1.8.0), + libaxmlrpc-java-doc, + libguava-java, + libguava-java-doc, + libjsap-java, + libjsap-java-doc, + libmaven-javadoc-plugin-java +Standards-Version: 3.9.6 +Vcs-Git: git://anonscm.debian.org/pkg-java/dokujclient.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/dokujclient.git +Homepage: http://turri.fr/dokujclient + +Package: libdokujclient-java +Architecture: all +Depends: ${maven:Depends}, ${misc:Depends} +Suggests: libdokujclient-java-doc, ${maven:OptionalDepends} +Description: Client library for Dokuwiki's xmlrpc interface + Java library which can be used in other programs, to interact + (read, write, ...) with an instance of Dokuwiki. + Nearly all the xmlrpc interface is mirrored, and all recent versions + of Dokuwiki are supported. + +Package: libdokujclient-java-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Recommends: ${maven:DocDepends}, ${maven:DocOptionalDepends} +Suggests: libdokujclient-java +Description: Client for Dokuwiki's xmlrpc interface -- documentation + Java library which can be used in other programs, to interact + (read, write, ...) with an instance of Dokuwiki. + Nearly all the xmlrpc interface is mirrored, and all recent versions + of Dokuwiki are supported. + . + This package contains the API documentation of libdokujclient-java. + +Package: dokujclient +Architecture: all +Depends: default-jre-headless | java6-runtime-headless, libdokujclient-java, ${misc:Depends} +Suggests: +Description: Command line tool to interact with an instance of Dokuwiki + Command line tool which can be used interactively or in scripts, to + interact (read, write, ...) with an instance of Dokuwiki. + Nearly all the xmlrpc interface is mirrored, and all recent versions of + Dokuwiki are supported. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..14cb58f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,15 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: dokujclient +Source: http://turri.fr/dokujclient + +Files: * +Copyright: 2013-2015, Guillaume Turri <[email protected]> +License: Apache-2.0 + +Files: debian/* +Copyright: 2015, Guillaume Turri <[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/dokujclient.install b/debian/dokujclient.install new file mode 100644 index 0000000..90d1b4a --- /dev/null +++ b/debian/dokujclient.install @@ -0,0 +1 @@ +debian/scripts/dokujclient usr/bin/ diff --git a/debian/dokujclient.manpages b/debian/dokujclient.manpages new file mode 100644 index 0000000..9ebb3db --- /dev/null +++ b/debian/dokujclient.manpages @@ -0,0 +1 @@ +man/man1/dokujclient.1 diff --git a/debian/libdokujclient-java-doc.doc-base.api b/debian/libdokujclient-java-doc.doc-base.api new file mode 100644 index 0000000..879ec98 --- /dev/null +++ b/debian/libdokujclient-java-doc.doc-base.api @@ -0,0 +1,10 @@ +Document: libdokujclient-java +Title: API Javadoc for fr.turri:dokujclient +Author: fr.turri:dokujclient developers +Abstract: This is the API Javadoc provided for the + libdokujclient-java library. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libdokujclient-java/api/index.html +Files: /usr/share/doc/libdokujclient-java/api/* diff --git a/debian/libdokujclient-java-doc.install b/debian/libdokujclient-java-doc.install new file mode 100644 index 0000000..37e04a0 --- /dev/null +++ b/debian/libdokujclient-java-doc.install @@ -0,0 +1 @@ +target/apidocs/* usr/share/doc/libdokujclient-java/api diff --git a/debian/libdokujclient-java.poms b/debian/libdokujclient-java.poms new file mode 100644 index 0000000..1d885c3 --- /dev/null +++ b/debian/libdokujclient-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 --has-package-version --java-lib diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules new file mode 100644 index 0000000..7b107a7 --- /dev/null +++ b/debian/maven.ignoreRules @@ -0,0 +1,13 @@ + +com.github.tomakehurst wiremock * * * * +junit-addons junit-addons * * * * +junit junit * * * * +org.apache.maven.plugins maven-antrun-plugin * * * * +org.apache.maven.plugins maven-assembly-plugin * * * * +org.apache.maven.plugins maven-dependency-plugin * * * * +org.apache.maven.plugins maven-surefire-plugin * * * * +org.codehaus.mojo cobertura-maven-plugin * * * * +org.codehaus.mojo findbugs-maven-plugin * * * * +org.mockito mockito-all * * * * +org.pitest pitest-maven * * * * +org.sonatype.plugins nexus-staging-maven-plugin * * * * 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/rules b/debian/rules new file mode 100755 index 0000000..05c1401 --- /dev/null +++ b/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/maven.mk + +JAVA_HOME := /usr/lib/jvm/default-java + +build/dokujclient:: + # Build the man page + cd man && DOKUJCLIENT_CMD='../debian/scripts/dokujclient_from_build_tree.sh' ./build_man.sh + +binary-predeb/dokujclient:: + # Test the command line tool + PKG_LIB_PATH=debian/libdokujclient-java/usr/share/java PKG_BIN_PATH=debian/dokujclient/usr/bin ./debian/scripts/test.sh + +clean:: + rm -f man/man1/dokujclient.1 + +get-orig-source: + uscan --download-current-version --force-download --rename diff --git a/debian/scripts/dokujclient b/debian/scripts/dokujclient new file mode 100755 index 0000000..d398989 --- /dev/null +++ b/debian/scripts/dokujclient @@ -0,0 +1,7 @@ +#!/bin/bash +CLASSPATH=$CLASSPATH:\ +/usr/share/java/dokujclient.jar:\ +/usr/share/java/jsap.jar:\ +/usr/share/java/axmlrpc.jar:\ +/usr/share/java/guava.jar +java -cp $CLASSPATH dw.cli.Program $@ diff --git a/debian/scripts/dokujclient_from_build_tree.sh b/debian/scripts/dokujclient_from_build_tree.sh new file mode 100755 index 0000000..cdf18d3 --- /dev/null +++ b/debian/scripts/dokujclient_from_build_tree.sh @@ -0,0 +1,3 @@ +#!/bin/bash +DEBIAN_DIR="$(dirname "$0")" +java -cp "/usr/share/java/*:$DEBIAN_DIR/../target/*" dw.cli.Program $@ diff --git a/debian/scripts/test.sh b/debian/scripts/test.sh new file mode 100755 index 0000000..e850314 --- /dev/null +++ b/debian/scripts/test.sh @@ -0,0 +1,3 @@ +#/bin/bash + +CLASSPATH=$PKG_LIB_PATH/dokujclient.jar $PKG_BIN_PATH/dokujclient --help 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..2e02144 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 + +opts="filenamemangle=s/(?:.*?)?v?(\d[\d.]*)\.tar\.gz/libdokujclient-java-$1.tar.gz/" \ + https://github.com/gturri/dokujclient/tags (?:.*?/)?dokujclient-(\d[\d.]*)\.tar\.gz -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/dokujclient.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

