Commit 278a1c4e authored by Afif Elghraoui's avatar Afif Elghraoui

releasing package pbcopper version 0.0.1+20161202-1

parent b9226a56
pbcopper (0.0.1+20161202-1) unstable; urgency=medium
* Initial release (Closes: #848122)
-- Afif Elghraoui <afif@debian.org> Wed, 14 Dec 2016 02:04:06 -0800
Source: pbcopper
Priority: optional
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Uploaders: Afif Elghraoui <afif@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
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@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.
README.md
#!/usr/bin/dh-exec
include/pbcopper /usr/include
*/lib/libpbcopper.a /usr/lib/${DEB_HOST_MULTIARCH}
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@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()
git-version.patch
#!/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
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.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment