[unsafe-fences] 01/02: Prepare initial Debian release

Miguel Landaeta nomadium at moszumanska.debian.org
Sat Mar 4 17:07:24 UTC 2017


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

nomadium pushed a commit to branch master
in repository unsafe-fences.

commit f16916513a03d1972c9b91efd6c49f7da4693695
Author: Miguel Landaeta <nomadium at debian.org>
Date:   Sat Mar 4 16:26:47 2017 +0000

    Prepare initial Debian release
---
 debian/changelog                  |  5 +++++
 debian/compat                     |  1 +
 debian/control                    | 31 +++++++++++++++++++++++++++++++
 debian/copyright                  | 34 ++++++++++++++++++++++++++++++++++
 debian/libunsafe-fences-java.poms | 28 ++++++++++++++++++++++++++++
 debian/maven.cleanIgnoreRules     |  1 +
 debian/maven.ignoreRules          |  2 ++
 debian/maven.publishedRules       |  1 +
 debian/maven.rules                |  1 +
 debian/rules                      |  6 ++++++
 debian/source/format              |  1 +
 debian/watch                      |  3 +++
 12 files changed, 114 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5357f7d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+unsafe-fences (1.0-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #856674)
+
+ -- Miguel Landaeta <nomadium at debian.org>  Sat, 04 Mar 2017 15:56:59 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..077cf69
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: unsafe-fences
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Miguel Landaeta <nomadium at debian.org>
+Build-Depends: debhelper (>= 10~),
+               default-jdk (>= 2:1.8~),
+               libmaven-javadoc-plugin-java,
+               maven-debian-helper
+Standards-Version: 3.9.8
+Homepage: https://github.com/headius/unsafe-fences
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/unsafe-fences.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/unsafe-fences.git
+
+Package: libunsafe-fences-java
+Architecture: all
+Depends: ${maven:Depends},
+         ${misc:Depends}
+Description: wrapper library around the Java 8 fences API
+ unsafe-fences is a very simple Java library that just provides a shim
+ around the Java 8 Unsafe methods used for memory fencing.
+ .
+ In Java 8, three memory-ordering intrinsics were added to the
+ sun.misc.Unsafe class: fullFence, storeFence, and loadFence.
+ .
+ The main goal of unsafe-fences is to allow code in Java 6 and 7
+ to compile those calls with a provided boolean guard.
+ .
+ This is especially useful for projects like JRuby that support
+ several JDK versions but it can be reused by other Java projects as
+ well.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..70ae2b5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: unsafe-fences
+Upstream-Contact: Charles Oliver Nutter <headius at headius.com>
+Source: https://github.com/headius/unsafe-fences
+
+Files: *
+Copyright: 2016-2017 Charles Oliver Nutter <headius at headius.com>
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2017 Miguel Landaeta <nomadium at debian.org>
+License: Apache-2.0
+Comment: the Debian packaging is licensed under the same terms as the original package.
+
+License: Apache-2.0
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ .
+    http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ .
+ On Debian GNU/Linux system you can find the complete text of the
+ Apache 2.0 license in '/usr/share/common-licenses/Apache-2.0'.
diff --git a/debian/libunsafe-fences-java.poms b/debian/libunsafe-fences-java.poms
new file mode 100644
index 0000000..8545d14
--- /dev/null
+++ b/debian/libunsafe-fences-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
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..9d0638b
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,2 @@
+
+org.apache.maven.plugins maven-javadoc-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..8b13789
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1 @@
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8e053ea
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+%:
+	dh $@ --buildsystem=maven
+
+get-orig-source:
+	uscan --verbose --download-current-version
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..8a8d835
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+https://github.com/headius/unsafe-fences/releases \
+ /headius/unsafe-fences/archive/unsafe-fences-([0-9].+)\.tar\.gz

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



More information about the pkg-java-commits mailing list