[jffi-1.2.7] 01/01: Imported Debian patch 1.2.7-1

Tim Potter tpot-guest at moszumanska.debian.org
Fri Jan 23 01:43:42 UTC 2015


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

tpot-guest pushed a commit to branch master
in repository jffi-1.2.7.

commit 15eb1ce0db9f7b6ed4a2aaec264a2f81cb29b9d1
Author: Tim Potter <tpot at hp.com>
Date:   Mon Nov 24 22:38:47 2014 +1100

    Imported Debian patch 1.2.7-1
---
 debian/changelog                  |  5 +++++
 debian/compat                     |  1 +
 debian/control                    | 15 +++++++++++++++
 debian/copyright                  | 38 ++++++++++++++++++++++++++++++++++++++
 debian/docs                       |  0
 debian/info                       |  1 +
 debian/libjffi-java.links         |  3 +++
 debian/libjffi-java.poms          | 28 ++++++++++++++++++++++++++++
 debian/libjnr-jffi-java.substvars | 10 ++++++++++
 debian/maven.cleanIgnoreRules     |  1 +
 debian/maven.ignoreRules          |  2 ++
 debian/maven.publishedRules       |  1 +
 debian/maven.rules                |  3 +++
 debian/rules                      | 13 +++++++++++++
 debian/source/format              |  1 +
 15 files changed, 122 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e0f6fed
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+jffi (1.2.7-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Tim Potter <tpot at hp.com>  Mon, 24 Nov 2014 22:38:47 +1100
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..dd4536f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,15 @@
+Source: jffi
+Section: java
+Priority: optional
+Maintainer: Tim Potter <tpot at hp.com>
+Build-Depends: debhelper (>= 9), javahelper, maven-debian-helper, default-jdk, libmaven-antrun-plugin-java, libmaven-assembly-plugin-java, junit4
+Standards-Version: 3.9.6
+Homepage: <insert the upstream URL, if relevant>
+#Vcs-Git: git://anonscm.debian.org/collab-maint/jffi.git
+#Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/jffi.git;a=summary
+
+Package: libjffi-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: <insert up to 60 chars description>
+ <insert long description, indented with spaces>
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..973d367
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: jffi
+Source: <url://example.com>
+
+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: 2014 Tim Potter <tpot at hp.com>
+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 <http://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 to pick license terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e69de29
diff --git a/debian/info b/debian/info
new file mode 100644
index 0000000..26e7f1a
--- /dev/null
+++ b/debian/info
@@ -0,0 +1 @@
+jni/libffi/doc/libffi.info
diff --git a/debian/libjffi-java.links b/debian/libjffi-java.links
new file mode 100644
index 0000000..018620c
--- /dev/null
+++ b/debian/libjffi-java.links
@@ -0,0 +1,3 @@
+/usr/share/java/jffi-native.jar usr/share/java/jffi-1.2.7-native.jar
+/usr/share/java/jffi-native.jar usr/share/maven-repo/com/github/jnr/jffi/debian/jffi-native-debian.jar
+/usr/share/java/jffi-native.jar usr/share/maven-repo/com/github/jnr/jffi/1.2.7/jffi-1.2.7-native.jar
diff --git a/debian/libjffi-java.poms b/debian/libjffi-java.poms
new file mode 100644
index 0000000..64b1188
--- /dev/null
+++ b/debian/libjffi-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 --java-lib
diff --git a/debian/libjnr-jffi-java.substvars b/debian/libjnr-jffi-java.substvars
new file mode 100644
index 0000000..c7948b3
--- /dev/null
+++ b/debian/libjnr-jffi-java.substvars
@@ -0,0 +1,10 @@
+#List of dependencies for libjnr-jffi-java, generated for use by debian/control
+maven:CompileDepends=libmaven-antrun-plugin-java, libmaven-assembly-plugin-java
+maven:Depends=
+maven:OptionalDepends=
+maven:TestDepends=junit4
+maven:DocDepends=
+maven:DocOptionalDepends=
+java:Depends=
+java:Recommends=
+misc:Depends=
diff --git a/debian/maven.cleanIgnoreRules b/debian/maven.cleanIgnoreRules
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/debian/maven.cleanIgnoreRules
@@ -0,0 +1 @@
+
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..a059d02
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,2 @@
+
+org.apache.maven.plugins maven-release-plugin * * * *
diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/debian/maven.publishedRules
@@ -0,0 +1 @@
+
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..0f9ded2
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,3 @@
+
+junit junit jar s/.*/4.x/ * *
+junit junit jar s/4\..*/4.x/ * *
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8314d9a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+export JAVA_HOME=/usr/lib/jvm/default-java
+export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
+
+%:
+	dh $@ --buildsystem=maven --with javahelper
+
+override_dh_install:
+	dh_install
+	mh_installjar -plibjffi-java pom.xml target/jffi-1.2.7.jar
+	cp target/jffi-1.2.7-native.jar debian/libjffi-java/usr/share/java/jffi-native.jar
+	#cp target/jffi-1.2.7-native.jar debian/libjffi-java/usr/share/java/jffi-1.2.7-native.jar
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)

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



More information about the pkg-java-commits mailing list