This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository kryo-serializers.
commit 153887f02098f6df87ae9a419b3a61b6a193c7da Author: Emmanuel Bourg <[email protected]> Date: Tue Jun 9 13:32:37 2015 +0200 Initial packaging --- debian/README.source | 9 ++++++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 29 ++++++++++++++++++++++++++ debian/copyright | 16 ++++++++++++++ debian/libkryo-serializers-java.poms | 28 +++++++++++++++++++++++++ debian/maven.ignoreRules | 5 +++++ debian/maven.properties | 4 ++++ debian/maven.publishedRules | 3 +++ debian/maven.rules | 5 +++++ debian/orig-tar.sh | 16 ++++++++++++++ debian/patches/01-add-minlog-dependency.patch | 18 ++++++++++++++++ debian/patches/02-disable-wicket-support.patch | 18 ++++++++++++++++ debian/patches/series | 2 ++ debian/rules | 9 ++++++++ debian/source/format | 1 + debian/watch | 2 ++ 17 files changed, 171 insertions(+) diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..770637f --- /dev/null +++ b/debian/README.source @@ -0,0 +1,9 @@ +Information about kryo-serializers +---------------------------------- + +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..f4f9d26 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +kryo-serializers (0.22-1) unstable; urgency=medium + + * Initial release (Closes: #788186) + + -- Emmanuel Bourg <[email protected]> Tue, 09 Jun 2015 09:49:29 +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..1daeaa6 --- /dev/null +++ b/debian/control @@ -0,0 +1,29 @@ +Source: kryo-serializers +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Emmanuel Bourg <[email protected]> +Build-Depends: cdbs, + debhelper (>= 9), + default-jdk, + libjoda-time-java, + libkryo-java (>= 2.20-5~), + libmaven-bundle-plugin-java, + libminlog-java (>= 1.2-3~), + libservlet2.5-java, + libslf4j-java, + maven-debian-helper (>= 1.5), + testng +Standards-Version: 3.9.6 +Vcs-Git: git://anonscm.debian.org/pkg-java/kryo-serializers.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/kryo-serializers.git +Homepage: https://github.com/magro/kryo-serializers + +Package: libkryo-serializers-java +Architecture: all +Depends: ${maven:Depends}, ${misc:Depends} +Suggests: ${maven:OptionalDepends} +Description: Kryo serializers + Additional Kryo (http://kryo.googlecode.com) serializers for standard JDK + types (e.g. currency, jdk proxies) and some for external libs (e.g. joda + time, cglib proxies, wicket). diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ce7e181 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,16 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Kryo serializers +Source: https://github.com/magro/kryo-serializers + +Files: * +Copyright: 2010-2015, Martin Grotzke + 2013, Rafael Winterhalter +License: Apache-2.0 + +Files: debian/* +Copyright: 2015, 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/libkryo-serializers-java.poms b/debian/libkryo-serializers-java.poms new file mode 100644 index 0000000..5ad70f2 --- /dev/null +++ b/debian/libkryo-serializers-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 --has-package-version diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules new file mode 100644 index 0000000..adcf01f --- /dev/null +++ b/debian/maven.ignoreRules @@ -0,0 +1,5 @@ + +org.apache.maven.plugins maven-jxr-plugin * * * * +org.apache.maven.plugins maven-project-info-reports-plugin * * * * +org.apache.wicket wicket * * * * +org.codehaus.mojo findbugs-maven-plugin * * * * diff --git a/debian/maven.properties b/debian/maven.properties new file mode 100644 index 0000000..7c29bd7 --- /dev/null +++ b/debian/maven.properties @@ -0,0 +1,4 @@ +# Include here properties to pass to Maven during the build. +# For example: +# maven.test.skip=true + diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules new file mode 100644 index 0000000..1a5ef3e --- /dev/null +++ b/debian/maven.publishedRules @@ -0,0 +1,3 @@ + +de.javakaffee kryo-serializers bundle s/.*/debian/ * * +de.javakaffee kryo-serializers s/jar/bundle/ s/.*/debian/ * * diff --git a/debian/maven.rules b/debian/maven.rules new file mode 100644 index 0000000..141e2cd --- /dev/null +++ b/debian/maven.rules @@ -0,0 +1,5 @@ + +org.testng testng jar s/6\..*/6.x/ * * +com.esotericsoftware.kryo kryo * s/.*/debian/ s/shaded// * +org.testng testng * s/.*/6.x/ s/.*// * +cglib * * s/.*/3.x/ * * diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh new file mode 100755 index 0000000..52b5a24 --- /dev/null +++ b/debian/orig-tar.sh @@ -0,0 +1,16 @@ +#!/bin/sh +set -e + +PACKAGE=$(dpkg-parsechangelog -S Source) +VERSION=$2 +DIR=${PACKAGE}-${VERSION} +TAR=../${PACKAGE}_${VERSION}.orig.tar.xz + +mkdir $DIR +tar -xf $3 --strip-components=1 -C $DIR +rm $3 +XZ_OPT=--best tar -c -v -J -f $TAR \ + --exclude '*.jar' \ + --exclude '*.travis.yml' \ + $DIR +rm -Rf $DIR diff --git a/debian/patches/01-add-minlog-dependency.patch b/debian/patches/01-add-minlog-dependency.patch new file mode 100644 index 0000000..6cf463e --- /dev/null +++ b/debian/patches/01-add-minlog-dependency.patch @@ -0,0 +1,18 @@ +Description: Keep the dependency on linlog since the shaded version of Kryo + isn't in Debian and doesn't provide this dependency. This patch can be removed + after upgrading kryo-serializers to the version 0.25 or later. +Author: Emmanuel Bourg <[email protected]> +Forwarded: not-needed +--- a/pom.xml ++++ b/pom.xml +@@ -171,10 +171,6 @@ + <artifactId>reflectasm</artifactId> + </exclusion> + <exclusion> +- <groupId>com.esotericsoftware.minlog</groupId> +- <artifactId>minlog</artifactId> +- </exclusion> +- <exclusion> + <groupId>org.objenesis</groupId> + <artifactId>objenesis</artifactId> + </exclusion> diff --git a/debian/patches/02-disable-wicket-support.patch b/debian/patches/02-disable-wicket-support.patch new file mode 100644 index 0000000..b7b72ad --- /dev/null +++ b/debian/patches/02-disable-wicket-support.patch @@ -0,0 +1,18 @@ +Description: Disable the Wicket support since this library isn't available in Debian +Author: Emmanuel Bourg <[email protected]> +Forwarded: not-needed +--- a/pom.xml ++++ b/pom.xml +@@ -61,6 +61,12 @@ + <source>1.6</source> + <target>1.6</target> + <encoding>utf-8</encoding> ++ <excludes> ++ <exclude>**/wicket/*</exclude> ++ </excludes> ++ <testExcludes> ++ <testExclude>**/wicket/*</testExclude> ++ </testExcludes> + </configuration> + </plugin> + </plugins> diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..9409714 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +01-add-minlog-dependency.patch +02-disable-wicket-support.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4a061cf --- /dev/null +++ b/debian/rules @@ -0,0 +1,9 @@ +#!/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 + +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..8507583 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://github.com/magro/kryo-serializers/tags .*/kryo-serializers-([\d\.]+).tar.gz debian debian/orig-tar.sh -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/kryo-serializers.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

