[jeromq] 01/02: Initial packaging
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Oct 19 07:47:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository jeromq.
commit b2962d27bf93eaa3f0c26c88035ee0dac24cb2fd
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Mon Oct 19 09:37:55 2015 +0200
Initial packaging
---
debian/README.source | 9 +++++++++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 23 +++++++++++++++++++++++
debian/copyright | 37 +++++++++++++++++++++++++++++++++++++
debian/libjeromq-java.poms | 28 ++++++++++++++++++++++++++++
debian/maven.ignoreRules | 5 +++++
debian/maven.properties | 5 +++++
debian/maven.rules | 2 ++
debian/rules | 9 +++++++++
debian/source/format | 1 +
debian/watch | 2 ++
12 files changed, 127 insertions(+)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..1faec33
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about jeromq
+------------------------
+
+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..47eae36
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+jeromq (0.3.5-1) unstable; urgency=medium
+
+ * Initial release (Closes: #802279)
+
+ -- Emmanuel Bourg <ebourg at apache.org> Mon, 19 Oct 2015 09:37:49 +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..407fe7a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: jeromq
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Emmanuel Bourg <ebourg at apache.org>
+Build-Depends: debhelper (>= 9), cdbs, default-jdk, maven-debian-helper (>= 1.5)
+Build-Depends-Indep: libmaven-bundle-plugin-java, junit4
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-java/jeromq.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/jeromq.git
+Homepage: https://github.com/zeromq/jeromq
+
+Package: libjeromq-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Suggests: ${maven:OptionalDepends}
+Description: Java implementation of the ZeroMQ messaging library
+ JeroMQ is pure Java implementation of the ZeroMQ messaging library (libmzq).
+ Compared to jzmq (libzmq-java) this implementation doesn't rely on a native
+ library.
+ .
+ JeroMQ support ZMTP/2.0, the tcp:// and inproc:// protocols. ipc:// protocol
+ works only between jeromq. The API is compatible with jzmq.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e690f83
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,37 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: JeroMQ
+Source: https://github.com/zeromq/jeromq
+
+Files: *
+Copyright: 2007-2015, Contributors as noted in the AUTHORS file
+License: LGPL-3+ with Classpath Exception
+ 0MQ is free software; you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+ .
+ 0MQ is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Lesser General Public License for more details.
+ .
+ On Debian systems, the full text of the LGPL-3 license
+ can be found in the file '/usr/share/common-licenses/LGPL-3'
+ .
+ SPECIAL EXCEPTION GRANTED BY COPYRIGHT HOLDERS
+ .
+ As a special exception, copyright holders give you permission to link this
+ library with independent modules to produce an executable, regardless of
+ the license terms of these independent modules, and to copy and distribute
+ the resulting executable under terms of your choice, provided that you also
+ meet, for each linked independent module, the terms and conditions of
+ the license of that module. An independent module is a module which is not
+ derived from or based on this library. If you modify this library, you must
+ extend this exception to your version of the library.
+
+Files: debian/*
+Copyright: 2015, Emmanuel Bourg <ebourg at apache.org>
+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/libjeromq-java.poms b/debian/libjeromq-java.poms
new file mode 100644
index 0000000..5ad70f2
--- /dev/null
+++ b/debian/libjeromq-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..c6fb8f6
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,5 @@
+
+org.apache.maven.plugins maven-checkstyle-plugin * * * *
+org.apache.maven.plugins maven-javadoc-plugin * * * *
+org.apache.maven.plugins maven-release-plugin * * * *
+org.apache.maven.plugins maven-source-plugin * * * *
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..16360f6
--- /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.failure.ignore=true
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..e85291e
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,2 @@
+
+junit junit jar s/4\..*/4.x/ * *
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..cdd650c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/zeromq/jeromq/tags .*/v([\d\.]+).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jeromq.git
More information about the pkg-java-commits
mailing list