[rabbitmq-java-client] 01/01: Initial release (Closes: #879660)

Christopher Stuart Hoskin mans0954 at moszumanska.debian.org
Tue Oct 24 19:06:19 UTC 2017


This is an automated email from the git hooks/post-receive script.

mans0954 pushed a commit to branch master
in repository rabbitmq-java-client.

commit 18551cc480ffde882430e67f9055fc2411f7ceeb
Author: Christopher Hoskin <mans0954 at debian.org>
Date:   Tue Oct 24 19:55:48 2017 +0100

    Initial release (Closes: #879660)
---
 debian/README.source                |  8 +++++++
 debian/changelog                    |  5 +++++
 debian/clean                        |  3 +++
 debian/compat                       |  1 +
 debian/control                      | 19 ++++++++++++++++
 debian/copyright                    | 44 +++++++++++++++++++++++++++++++++++++
 debian/librabbitmq-client-java.poms | 28 +++++++++++++++++++++++
 debian/maven.ignoreRules            |  9 ++++++++
 debian/maven.properties             |  2 ++
 debian/maven.rules                  |  3 +++
 debian/rules                        | 30 +++++++++++++++++++++++++
 debian/source/format                |  1 +
 debian/watch                        |  3 +++
 13 files changed, 156 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..ea246e6
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,8 @@
+rabbitmq-java-client for Debian
+------------------------------
+
+This package uses a version control system as described in
+http://wiki.debian.org/Java/JavaVcs and the pages linked from there.
+
+ -- Christopher Hoskin <mans0954 at debian.org>  Wed, 11 Oct 2017 06:47:51 +0100
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1adf7b5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+rabbitmq-java-client (5.0.0-1) unstable; urgency=medium
+
+  * Initial release (Closes: #879660)
+
+ -- Christopher Hoskin <mans0954 at debian.org>  Wed, 11 Oct 2017 06:47:51 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..7fe901d
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,3 @@
+codegen/__pycache__/
+generated-sources/src/main/java/com/rabbitmq/client/AMQP.java
+generated-sources/src/main/java/com/rabbitmq/client/impl/AMQImpl.java
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..743d912
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: rabbitmq-java-client
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org> 
+Uploaders: Christopher Hoskin <mans0954 at debian.org>
+Build-Depends: debhelper (>= 9), maven-debian-helper, python3, 
+ libmaven-source-plugin-java, libbuild-helper-maven-plugin-java,
+ libmaven-bundle-plugin-java, libdropwizard-metrics-java
+Standards-Version: 4.1.1
+Section: java
+Homepage: https://www.rabbitmq.com/java-client.html
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/rabbitmq-java-client.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/rabbitmq-java-client.git
+
+Package: librabbitmq-client-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Suggests: ${maven:OptionalDepends}
+Description: RabbitMQ Java client
+ The RabbitMQ Java client library allows Java code to interface with RabbitMQ.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..176254f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,44 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: rabbitmq-java-client
+Source: <url://example.com>
+Files-Excluded: doc/channels/channels.pdf
+ doc/channels/worktransition.pdf
+ doc/channels/whiteboard.JPG
+Comment: PDFs can be built from tex files
+ doc/channels/whiteboard.JPG contains non-free ICC profile
+ fixed upstream https://github.com/rabbitmq/rabbitmq-java-client/issues/322 
+
+Files: *
+Copyright: <years> <put author's name and email here>
+           <years> <likewise for another author>
+License: <special license>
+ <Put the license of the package here indented by 1 space>
+ <This follows the format of Description: lines in control file>
+ .
+ <Including paragraphs>
+
+# If you want to use GPL v2 or later for the /debian/* files use 
+# the following clauses, or change it to suit. Delete these two lines
+Files: debian/*
+Copyright: 2017 Christopher Hoskin <mans0954 at debian.org>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package 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 General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+# Please avoid picking licenses with terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
diff --git a/debian/librabbitmq-client-java.poms b/debian/librabbitmq-client-java.poms
new file mode 100644
index 0000000..0417132
--- /dev/null
+++ b/debian/librabbitmq-client-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
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..63a5c2e
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,9 @@
+
+ch.qos.logback logback-classic * * * *
+commons-cli commons-cli * * * *
+org.apache.maven.plugins maven-failsafe-plugin * * * *
+org.awaitility awaitility * * * *
+org.codehaus.gmaven groovy-maven-plugin * * * *
+org.hamcrest hamcrest-library * * * *
+org.mockito mockito-core * * * *
+org.codehaus.mojo keytool-maven-plugin * * * *
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..be462da
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,2 @@
+deps.dir=./
+maven.test.skip=true
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..299fd55
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,3 @@
+
+com.rabbitmq amqp-client jar s/.*/debian/ * *
+junit junit jar s/4\..*/4.x/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e4d974f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,30 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+# package maintainers to append CFLAGS
+#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
+# package maintainers to append LDFLAGS
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+
+%:
+	dh $@ --buildsystem=maven
+
+override_dh_auto_configure:
+	PYTHONPATH=codegen/ python3 ./codegen.py header codegen/amqp-rabbitmq-0.9.1.json target/generated-sources/src/main/java/com/rabbitmq/client/AMQP.java
+	PYTHONPATH=codegen/ python3 ./codegen.py body codegen/amqp-rabbitmq-0.9.1.json target/generated-sources/src/main/java/com/rabbitmq/client/impl/AMQImpl.java
+	dh_auto_configure
+
+
+# dh_make generated override targets
+# This is example for Cmake (See https://bugs.debian.org/641051 )
+#override_dh_auto_configure:
+#	dh_auto_configure -- #	-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
+
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..2f6bb5b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/rabbitmq-java-client-$1\.tar\.gz/ \
+  https://github.com/rabbitmq/rabbitmq-java-client/tags .*/v?(\d\S+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/rabbitmq-java-client.git



More information about the pkg-java-commits mailing list