[med-svn] [pbcopper] 01/01: releasing package pbcopper version 0.0.1+20161202-1

Afif Elghraoui afif at moszumanska.debian.org
Wed Dec 14 10:42:31 UTC 2016


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

afif pushed a commit to branch master
in repository pbcopper.

commit 278a1c4e7c45040489a9801b077d6034dae24e60
Author: Afif Elghraoui <afif at debian.org>
Date:   Wed Dec 14 02:26:26 2016 -0800

    releasing package pbcopper version 0.0.1+20161202-1
---
 debian/changelog                 |  5 +++
 debian/compat                    |  1 +
 debian/control                   | 27 ++++++++++++++++
 debian/copyright                 | 66 ++++++++++++++++++++++++++++++++++++++++
 debian/docs                      |  1 +
 debian/install                   |  3 ++
 debian/patches/git-version.patch | 28 +++++++++++++++++
 debian/patches/series            |  1 +
 debian/rules                     | 11 +++++++
 debian/source/format             |  1 +
 debian/watch                     |  4 +++
 11 files changed, 148 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f3a8013
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pbcopper (0.0.1+20161202-1) unstable; urgency=medium
+
+  * Initial release (Closes: #848122)
+
+ -- Afif Elghraoui <afif at debian.org>  Wed, 14 Dec 2016 02:04:06 -0800
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..abc91ac
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: pbcopper
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Afif Elghraoui <afif at debian.org>
+Build-Depends:
+	debhelper (>=10),
+	dh-exec,
+	cmake,
+	libboost-dev,
+Standards-Version: 3.9.8
+Section: libs
+Homepage: https://github.com/PacificBiosciences/pbcopper
+Vcs-Git: https://anonscm.debian.org/git/debian-med/pbcopper.git
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/pbcopper.git
+
+Package: libpbcopper-dev
+Section: libdevel
+Architecture: any
+Depends:
+	${misc:Depends},
+	${shlibs:Depends},
+Description: data structures, algorithms, and utilities for C++ applications -- header files
+ pbcopper provides general tools for C++ applications. It is developed
+ for use by applications of the Pacific Biosciences SMRT Analysis
+ suite.
+ .
+ This package contains the header files and static library
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5d7cb74
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,66 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pbcopper
+Source: https://github.com/PacificBiosciences/pbcopper
+
+Files: *
+Copyright: 2016, Pacific Biosciences of California, Inc.
+License: BSD-3-Clause
+
+Files: third-party/googletest/*
+Copyright: 2005-2015, Google Inc.
+License: BSD-3-Clause-Google
+
+Files: debian/*
+Copyright: 2016 Afif Elghraoui <afif 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:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. 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.
+ 3. Neither the name of the University 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 HOLDERS 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.
+
+License: BSD-3-Clause-Google
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. 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.
+ 3. Neither the name of Google Inc. 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/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/install b/debian/install
new file mode 100755
index 0000000..8bc5f77
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,3 @@
+#!/usr/bin/dh-exec
+include/pbcopper	/usr/include
+*/lib/libpbcopper.a	/usr/lib/${DEB_HOST_MULTIARCH}
diff --git a/debian/patches/git-version.patch b/debian/patches/git-version.patch
new file mode 100644
index 0000000..07768bf
--- /dev/null
+++ b/debian/patches/git-version.patch
@@ -0,0 +1,28 @@
+Description: Don't add git SHA hash to version
+ We don't have the upstream git history for this to work.
+ If we really want to be able to add it here, we should allow
+ taking an environment variable as input. We can then get the git SHA
+ from the version in debian/changelog and and pass it via debian/rules.
+Author: Afif Elghraoui <afif at debian.org>
+Forwarded: not-needed
+Last-Update: 2016-12-14
+--- pbcopper.orig/cmake/pbcopper-gitsha1.cmake
++++ pbcopper/cmake/pbcopper-gitsha1.cmake
+@@ -5,16 +5,5 @@
+ set(__find_git_sha1 YES)
+ 
+ function(find_git_sha1 _GIT_SHA1)
+-    find_package(Git QUIET REQUIRED)
+-    execute_process(COMMAND
+-        "${GIT_EXECUTABLE}" "describe" "--always" "--dirty=*"
+-        WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
+-        RESULT_VARIABLE res
+-        OUTPUT_VARIABLE out
+-        ERROR_QUIET
+-        OUTPUT_STRIP_TRAILING_WHITESPACE)
+-    if (NOT res EQUAL 0)
+-        message(FATAL_ERROR "Could not determine git sha1 via `git describe --always --dirty=*`")
+-    endif()
+-    set(${_GIT_SHA1} "${out}" PARENT_SCOPE)
++    set(${_GIT_SHA1} "" PARENT_SCOPE)
+ endfunction()
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..06a73fc
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+git-version.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2b2965d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE = 1
+
+# The package FTBFS if we don't call the build directory "build"
+%:
+	dh $@ --builddirectory=build
+
+# debhelper's cmake action is to run `make test`, which won't work
+override_dh_auto_test:
+	cd build && $(MAKE) check
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..ae29d9a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+
+# Upsteam does not tag releases.
+# Check the git annotations for the upstream changelog file to find the snapshot corresponding to a version number.

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



More information about the debian-med-commit mailing list