[med-svn] [librandom123] 02/02: Initial packaging

Andreas Tille tille at debian.org
Tue Mar 14 08:14:34 UTC 2017


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

tille pushed a commit to branch master
in repository librandom123.

commit 295c7ad4ad0428202ad142f390f3002e0c56d759
Author: Andreas Tille <tille at debian.org>
Date:   Tue Mar 14 09:13:51 2017 +0100

    Initial packaging
---
 debian/changelog                 |  5 ++++
 debian/compat                    |  1 +
 debian/control                   | 64 ++++++++++++++++++++++++++++++++++++++++
 debian/copyright                 | 37 +++++++++++++++++++++++
 debian/get-orig-source           |  9 ++++++
 debian/librandom123-dev.install  |  1 +
 debian/librandom123-doc.doc-base | 28 ++++++++++++++++++
 debian/librandom123-doc.install  |  2 ++
 debian/rules                     | 26 ++++++++++++++++
 debian/source/format             |  1 +
 debian/upstream/metadata         |  7 +++++
 debian/watch                     |  4 +++
 12 files changed, 185 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c41574a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+librandom123 (1.09-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #<bug>)
+
+ -- Andreas Tille <tille at debian.org>  Tue, 14 Mar 2017 08:28:26 +0100
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..faa9a18
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,64 @@
+Source: librandom123
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: science
+Priority: optional
+Build-Depends: debhelper (>= 10)
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/librandom123.git
+Vcs-Git: https://anonscm.debian.org/git/debian-med/librandom123.git
+Homepage: http://www.deshawresearch.com/resources_random123.html
+
+Package: librandom123-dev
+Architecture: all
+Section: libdevel
+Depends: ${misc:Depends}
+Description: parallel random numbers library
+ Random123 is a family of highly parallelizable counter-based random
+ number generators (CBRNGs) that are useful for a wide range of
+ applications.
+ .
+ Random123 is a library of "counter-based" random number generators
+ (CBRNGs), in which the Nth random number can be obtained by applying a
+ stateless mixing function to N instead of the conventional approach of
+ using N iterations of a stateful transformation. CBRNGs are ideal for a
+ wide range of applications on modern multi-core CPUs, GPUs, clusters,
+ and special-purpose hardware. Three families of non-cryptographic CBRNGs
+ are described in a paper presented at the SC11 conference: ARS (based on
+ the Advanced Encryption System (AES)), Threefry (based on the Threefish
+ encryption function), and Philox (based on integer multiplication). They
+ all satisfy rigorous statistical testing (passing BigCrush in TestU01),
+ vectorize and parallelize well (each generator can produce at least 264
+ independent streams), have long periods (the period of each stream is at
+ least 2128), require little or no memory or state, and have excellent
+ performance (a few clock cycles per byte of random output). The
+ Random123 library can be used with CPU (C and C++) and GPU (CUDA and
+ OpenCL) applications.
+
+Package: librandom123-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: documentation and examples of parallel random numbers library
+ Random123 is a family of highly parallelizable counter-based random
+ number generators (CBRNGs) that are useful for a wide range of
+ applications.
+ .
+ Random123 is a library of "counter-based" random number generators
+ (CBRNGs), in which the Nth random number can be obtained by applying a
+ stateless mixing function to N instead of the conventional approach of
+ using N iterations of a stateful transformation. CBRNGs are ideal for a
+ wide range of applications on modern multi-core CPUs, GPUs, clusters,
+ and special-purpose hardware. Three families of non-cryptographic CBRNGs
+ are described in a paper presented at the SC11 conference: ARS (based on
+ the Advanced Encryption System (AES)), Threefry (based on the Threefish
+ encryption function), and Philox (based on integer multiplication). They
+ all satisfy rigorous statistical testing (passing BigCrush in TestU01),
+ vectorize and parallelize well (each generator can produce at least 264
+ independent streams), have long periods (the period of each stream is at
+ least 2128), require little or no memory or state, and have excellent
+ performance (a few clock cycles per byte of random output). The
+ Random123 library can be used with CPU (C and C++) and GPU (CUDA and
+ OpenCL) applications.
+ .
+ This package contains the documentation and examples for the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..17839dd
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,37 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Random123
+Source: http://www.deshawresearch.com/downloads/download_random123.cgi/
+
+Files: *
+Copyright: 2010-2016 D. E. Shaw Research
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2017 Andreas Tille <tille at debian.org>
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+  * Redistributions of source code must retain the above copyright
+    notice, this list of conditions, and the following disclaimer.
+  * Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions, and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+  * Neither the name of D. E. Shaw Research nor the names of its
+    contributors may be used to endorse or promote products derived from
+    this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/get-orig-source b/debian/get-orig-source
new file mode 100755
index 0000000..9f3d4e9
--- /dev/null
+++ b/debian/get-orig-source
@@ -0,0 +1,9 @@
+#!/bin/sh
+cat <<EOT
+You need to visit the following website
+
+   http://www.deshawresearch.com/downloads/download_random123.cgi/
+
+to confirm that you understood the BSD license.  Afterwards the cgi
+script there will enable you to download a set of versioned tarballs.
+EOT
diff --git a/debian/librandom123-dev.install b/debian/librandom123-dev.install
new file mode 100644
index 0000000..fbc68a0
--- /dev/null
+++ b/debian/librandom123-dev.install
@@ -0,0 +1 @@
+include	usr
diff --git a/debian/librandom123-doc.doc-base b/debian/librandom123-doc.doc-base
new file mode 100644
index 0000000..a59793a
--- /dev/null
+++ b/debian/librandom123-doc.doc-base
@@ -0,0 +1,28 @@
+Document: librandom123
+Title: Random123: a Library of Counter-Based Random Number Generators
+Author: John K. Salmon and Mark A. Moraes and Ron O. Dror and David E. Shaw
+Abstract: Random123 is a family of highly parallelizable counter-based random
+ number generators (CBRNGs) that are useful for a wide range of
+ applications.
+ .
+ Random123 is a library of "counter-based" random number generators
+ (CBRNGs), in which the Nth random number can be obtained by applying a
+ stateless mixing function to N instead of the conventional approach of
+ using N iterations of a stateful transformation. CBRNGs are ideal for a
+ wide range of applications on modern multi-core CPUs, GPUs, clusters,
+ and special-purpose hardware. Three families of non-cryptographic CBRNGs
+ are described in a paper presented at the SC11 conference: ARS (based on
+ the Advanced Encryption System (AES)), Threefry (based on the Threefish
+ encryption function), and Philox (based on integer multiplication). They
+ all satisfy rigorous statistical testing (passing BigCrush in TestU01),
+ vectorize and parallelize well (each generator can produce at least 264
+ independent streams), have long periods (the period of each stream is at
+ least 2128), require little or no memory or state, and have excellent
+ performance (a few clock cycles per byte of random output). The
+ Random123 library can be used with CPU (C and C++) and GPU (CUDA and
+ OpenCL) applications.
+Section: Science/Mathematics
+
+Format: html
+Index: /usr/share/doc/librandom123-dev/html/index.html
+Files: /usr/share/doc/librandom123-dev/html/*
diff --git a/debian/librandom123-doc.install b/debian/librandom123-doc.install
new file mode 100644
index 0000000..0514f5e
--- /dev/null
+++ b/debian/librandom123-doc.install
@@ -0,0 +1,2 @@
+docs/html	usr/share/doc/librandom123-dev
+examples	usr/share/doc/librandom123-dev
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..1ef14d9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+
+# DH_VERBOSE := 1
+export LC_ALL=C.UTF-8
+
+# some helpful variables - uncomment them if needed
+# shamelessly stolen from http://jmtd.net/log/awk/
+#DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
+#VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
+#DEBFLAVOR      := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
+#DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+#DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
+#GIT_TAG        := $(subst ~,_,$(VERSION))
+
+# alternatively to manually set those variables, you can
+#  include /usr/share/dpkg/default.mk
+# and use what is set there.
+
+# for hardening you might like to uncomment this:
+# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
+%:
+	dh $@
+
+#get-orig-source:
+#	. debian/get-orig-source
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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..d5782cb
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,7 @@
+Reference:
+  Author: John K. Salmon and Mark A. Moraes and Ron O. Dror and David E. Shaw
+  Title: "Parallel Random Numbers: As Easy as 1, 2, 3"
+  Journal: ACM Digital Library
+  Year: 2011
+  DOI: 10.1145/2063384.2063405
+  URL: https://dl.acm.org/citation.cfm?id=2063405
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..de4f041
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+
+opts=dversionmangle=s/.*/0.No-Track/ \
+https://people.debian.org/~eriberto/ FakeWatchNoUpstreamTrackingForThisPackage-(\d\S+)\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/librandom123.git



More information about the debian-med-commit mailing list