[jsmpp] 01/16: Imported Debian patch 2.1.2-1
Tony Mancill
tmancill at moszumanska.debian.org
Fri Jun 30 04:16:44 UTC 2017
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch master
in repository jsmpp.
commit 9bb9cddad5707d1952dac3ea88090a8395a8145a
Author: Daniel Pocock <daniel at pocock.pro>
Date: Mon Jan 26 11:29:44 2015 +0100
Imported Debian patch 2.1.2-1
---
debian/README.source | 17 +++++++++++++++++
debian/build.properties | 2 ++
debian/changelog | 6 ++++++
debian/compat | 1 +
debian/control | 23 +++++++++++++++++++++++
debian/copyright | 13 +++++++++++++
debian/libjsmpp-java.poms | 28 ++++++++++++++++++++++++++++
debian/maven.ignoreRules | 16 ++++++++++++++++
debian/maven.rules | 23 +++++++++++++++++++++++
debian/rules | 12 ++++++++++++
debian/source/format | 1 +
debian/watch | 2 ++
12 files changed, 144 insertions(+)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..c86bdc5
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,17 @@
+
+Contributions from other developers are welcome.
+
+Just join pkg-java and make sure any changes you make
+are pushed into the Git repository before you upload/NMU.
+
+ http://pkg-java.alioth.debian.org/
+
+This builds the package:
+
+git-buildpackage -rfakeroot \
+ --git-debian-branch=debian \
+ --git-upstream-branch=master \
+ --git-upstream-tag='%(version)s' \
+ -i"'(^.git|^target|pom.xml)'"
+
+
diff --git a/debian/build.properties b/debian/build.properties
new file mode 100644
index 0000000..e4c094b
--- /dev/null
+++ b/debian/build.properties
@@ -0,0 +1,2 @@
+maven.test.skip=true
+javadoc.dir=build/api
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6331fa9
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+jsmpp (2.1.2-1) unstable; urgency=low
+
+ * Initial packaging (Closes: #776289)
+
+ -- Daniel Pocock <daniel at pocock.pro> Mon, 26 Jan 2015 11:29:44 +0100
+
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..c5594ab
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: jsmpp
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Daniel Pocock <daniel at pocock.pro>
+Build-Depends: debhelper (>= 9), cdbs (>= 0.4.5.3), default-jdk
+Build-Depends-Indep: maven-debian-helper (>> 0.5), libmaven-bundle-plugin-java, junit, testng
+Standards-Version: 3.9.5
+Homepage: http://jsmpp.org
+Vcs-Git: https://github.com/opentelecoms-org/jsmpp.git
+Vcs-Browser: https://github.com/opentelecoms-org/jsmpp
+
+Package: libjsmpp-java
+Architecture: all
+Depends: ${misc:Depends}, libslf4j-java
+Description: SMPP API for sending SMS from Java
+ jSMPP is a 100% Java library for SMPP. SMPP is a carrier-neutral
+ protocol that is used to connect users to the mobile SMS messaging
+ network over IP networks such as the Internet. It is highly scalable
+ and is the protocol used between many carriers. SMPP PDUs are mapped
+ directly to the format of PDUs used by mobile handsets so it is easier
+ to predict the way a message is delivered to the mobile device when
+ it is created and transmitted through an SMPP stack.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6edccec
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,13 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: jSMPP
+Upstream-Contact: jSMPP community <info at jsmpp.org>
+Source: https://github.com/opentelecoms-org/jsmpp
+
+Files: *
+Copyright: 2007-2013, Nuruddin Ashr <uudashr at gmail.com>
+ 2012-2013, Denis Kostousov <denis.kostousov at gmail.com>
+ 2014-2015, Daniel Pocock http://danielpocock.com
+License: Apache-2.0
+ On Debian systems, the full text of the Apache
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/Apache-2.0'.
diff --git a/debian/libjsmpp-java.poms b/debian/libjsmpp-java.poms
new file mode 100644
index 0000000..b68401f
--- /dev/null
+++ b/debian/libjsmpp-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 --java-lib
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..bc3504f
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,16 @@
+# Maven ignore rules - ignore some Maven dependencies and plugins
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+# for the version. In this case, the element is simply matched
+# and left as it is
+# - * (the star character, alone). In this case, anything will
+# match and be left as it is. For example, using * on the
+# position of the artifact field will match any artifact id
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., this dependency is then removed
+# from the POM
+# junit junit jar s/3\..*/3.x/
+org.apache.maven.plugins maven-release-plugin * * * *
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..5c97348
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,23 @@
+# Maven rules - transform Maven dependencies and plugins
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+# for the version. In this case, the element is simply matched
+# and left as it is
+# - * (the star character, alone). In this case, anything will
+# match and be left as it is. For example, using * on the
+# position of the artifact field will match any artifact id
+# - a regular expression of the form s/match/replace/
+# in this case, elements that match are transformed using
+# the regex rule.
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., replacing the version with 3.x
+# junit junit jar s/3\..*/3.x/
+
+junit junit jar s/4\..*/4.x/ * *
+org.apache.maven.wagon wagon-ssh-external jar s/.*/debian/ * *
+org.apache.maven.wagon wagon-ssh jar s/.*/2.x/ * *
+log4j log4j * s/1\.2\..*/1.2.x/ * *
+s/biz.aQute.bnd/biz.aQute/ bndlib * s/2.4.0/debian/ * *
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4d03c7e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/maven.mk
+
+PACKAGE := $(DEB_SOURCE_PACKAGE)
+VERSION := $(shell echo $(DEB_UPSTREAM_VERSION))
+JAVA_HOME := /usr/lib/jvm/default-java
+
+#get-orig-source:
+# uscan --download-version $(VERSION) --force-download --rename
+
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..223276a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/opentelecoms-org/jsmpp/tags .*/tarball/(\d[\d\.]+)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jsmpp.git
More information about the pkg-java-commits
mailing list