From 69b7f61056004687b16a690a1a07af040ed6892e Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Mon, 21 Jan 2019 16:15:35 +0000 Subject: [PATCH 1/1] Import spdlog_1.3.1-1.debian.tar.xz [dgit import tarball spdlog 1:1.3.1-1 spdlog_1.3.1-1.debian.tar.xz] --- changelog | 146 ++++++++++++++++++++++++++++++++++++++++++++++ compat | 1 + control | 28 +++++++++ copyright | 50 ++++++++++++++++ docs | 1 + examples | 1 + lintian-overrides | 1 + rules | 19 ++++++ source/format | 1 + tests/control | 3 + tests/run-tests | 15 +++++ watch | 2 + 12 files changed, 268 insertions(+) create mode 100644 changelog create mode 100644 compat create mode 100644 control create mode 100644 copyright create mode 100644 docs create mode 100644 examples create mode 100644 lintian-overrides create mode 100755 rules create mode 100644 source/format create mode 100644 tests/control create mode 100755 tests/run-tests create mode 100644 watch diff --git a/changelog b/changelog new file mode 100644 index 0000000..8a02c26 --- /dev/null +++ b/changelog @@ -0,0 +1,146 @@ +spdlog (1:1.3.1-1) unstable; urgency=medium + + * New upstream version + + -- Michael R. Crusoe Mon, 21 Jan 2019 08:15:35 -0800 + +spdlog (1:1.3.0-2) unstable; urgency=medium + + * No point in building benchmarks, causes issues on some unofficial + archs. + + -- Michael R. Crusoe Sat, 12 Jan 2019 09:59:25 -0800 + +spdlog (1:1.3.0-1) unstable; urgency=medium + + * debian/control: Mark us as Multi-Arch: same. + * New upstream version + * Build the benchmark. + * Standards-Version: 4.3.0, no changes needed + + -- Michael R. Crusoe Sat, 12 Jan 2019 06:52:15 -0800 + +spdlog (1:1.2.1-1) unstable; urgency=medium + + * New upstream version + + -- Michael R. Crusoe Wed, 28 Nov 2018 23:54:29 -0800 + +spdlog (1:1.2.0-1) unstable; urgency=medium + + * New upstream release. + + -- Michael R. Crusoe Wed, 17 Oct 2018 03:10:17 -0700 + +spdlog (1:1.1.0-2) unstable; urgency=medium + + * Team upload. + * Drop debian/gdb.conf (specifying only defaults) + * Fix build on several architectures (Thanks for the patch to + Adrian Bunk ) + Closes: #909938 + + -- Andreas Tille Mon, 01 Oct 2018 08:31:40 +0200 + +spdlog (1:1.1.0-1) unstable; urgency=medium + + * Team upload. + * New upstream version + Closes: #909197 + * Standards-Version: 4.2.1 + * Respect DEB_BUILD_OPTIONS in override_dh_auto_test + + -- Andreas Tille Wed, 19 Sep 2018 21:38:22 +0200 + +spdlog (1:0.17.0-1) unstable; urgency=medium + + * Team upload. + * New upstream version + * debhelper 11 + * Point Vcs fields to salsa.debian.org + * Standards-Version: 4.1.4 + + -- Andreas Tille Mon, 28 May 2018 21:20:54 +0200 + +spdlog (1:0.16.3-1) unstable; urgency=medium + + * New upstream version + + -- Michael R. Crusoe Sat, 17 Feb 2018 09:02:28 -0800 + +spdlog (1:0.14.0-1) unstable; urgency=medium + + * Team upload. + * New upstream version + Closes: #882606 + * debhelper 10 + + -- Andreas Tille Sat, 02 Dec 2017 08:06:47 +0100 + +spdlog (1:0.11.0-3) unstable; urgency=medium + + * Allow stderr, fixes autopkgtests; fix courtesy Graham Inggs + . (Closes: #854469) + * Update standards-version to 4.1.1; no changes needed. + + -- Michael R. Crusoe Sat, 14 Oct 2017 10:30:35 -0700 + +spdlog (1:0.11.0-2) unstable; urgency=medium + + * Correct URL to upstream + + -- Michael R. Crusoe Sun, 09 Oct 2016 05:26:25 -0700 + +spdlog (1:0.11.0-1) unstable; urgency=medium + + * Switch to correct upstream, increment epoch due to different version + numbering. Mea culpa! + + -- Michael R. Crusoe Sun, 09 Oct 2016 01:30:45 -0700 + +spdlog (1.12-1) unstable; urgency=medium + + * new upstream release + + -- Michael R. Crusoe Sun, 18 Sep 2016 05:52:07 -0700 + +spdlog (1.11-1) unstable; urgency=medium + + * new upstream release + * debian/copyright: updated to track latest code movement + + -- Michael R. Crusoe Fri, 26 Aug 2016 09:23:31 -0700 + +spdlog (1.8-1) unstable; urgency=medium + + * new upstream release + + -- Michael R. Crusoe Tue, 17 May 2016 02:52:07 -0700 + +spdlog (1.7-1) unstable; urgency=medium + + * new upstream release + * Standards-Version: increment to 3.9.8 + * Match upstream's switch to cmake + + -- Michael R. Crusoe Sat, 14 May 2016 11:06:05 -0700 + +spdlog (1.6-2) unstable; urgency=medium + + * Fix VCS-Git URL. + + -- Michael R. Crusoe Sun, 28 Feb 2016 17:10:41 -0800 + +spdlog (1.6-1) unstable; urgency=medium + + * Update to version 1.6 + * Ship examples, tests. Run the tests during build time and added + autopkgtest hook. + + -- Michael R. Crusoe Sat, 30 Jan 2016 05:33:59 -0800 + +spdlog (1.4-1) unstable; urgency=low + + * Initial release (Closes: #800337) + + -- Michael R. Crusoe Fri, 18 Sep 2015 20:31:46 -0700 diff --git a/compat b/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +11 diff --git a/control b/control new file mode 100644 index 0000000..2b96cff --- /dev/null +++ b/control @@ -0,0 +1,28 @@ +Source: spdlog +Maintainer: Debian Med Packaging Team +Uploaders: Michael R. Crusoe +Section: libdevel +Priority: optional +Build-Depends: debhelper (>= 11~), + cmake +Standards-Version: 4.3.0 +Vcs-Browser: https://salsa.debian.org/med-team/spdlog +Vcs-Git: https://salsa.debian.org/med-team/spdlog.git +Homepage: https://github.com/gabime/spdlog + +Package: libspdlog-dev +Architecture: any +Multi-Arch: same +Depends: ${misc:Depends} +Description: Very fast, header only, C++ logging library + Features: Very fast - performance is the primary goal; Headers only; No + dependencies - just copy and use; call style using the excellent cppformat + library; ostream call style is supported too; Optional extremely fast + asynchronous mode - using lockfree queues and other tricks to reach millions + of calls/sec; Custom formatting; Multi/Single threaded loggers; Easily + extendable with custom log targets (just implement a single function in the + sink interface). Severity based filtering - threshold levels can be modified + in runtime as well as in compile time. + . + Various log targets: + Rotating log files, Daily log files, Console logging, Linux syslog. diff --git a/copyright b/copyright new file mode 100644 index 0000000..6fbc794 --- /dev/null +++ b/copyright @@ -0,0 +1,50 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: spdlog +Source: https://github.com/gabime/spdlog + +Files: * +Copyright: (c) 2014-2016 Gabi Melman +License: Expat + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Files: include/spdlog/fmt/bundled/* +Copyright: (c) 2012 - 2016, Victor Zverovich +License: BSD-2-clause + +License: BSD-2-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. + . + 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/docs b/docs new file mode 100644 index 0000000..2b29f27 --- /dev/null +++ b/docs @@ -0,0 +1 @@ +tests diff --git a/examples b/examples new file mode 100644 index 0000000..0bbe99e --- /dev/null +++ b/examples @@ -0,0 +1 @@ +example/* diff --git a/lintian-overrides b/lintian-overrides new file mode 100644 index 0000000..cb41a62 --- /dev/null +++ b/lintian-overrides @@ -0,0 +1 @@ +libspdlog-dev: package-contains-empty-directory usr/share/doc/libspdlog-dev/examples/logs/ diff --git a/rules b/rules new file mode 100755 index 0000000..663269e --- /dev/null +++ b/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mips mipsel powerpc powerpcspe sh4)) + export DEB_LDFLAGS_MAINT_APPEND=-latomic +endif + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- -DSPDLOG_BUILD_EXAMPLES=ON \ + -DSPDLOG_BUILD_BENCH=OFF \ + -DSPDLOG_BUILD_TESTS=ON + +override_dh_auto_install: + rm -f example/logs/.gitignore + dh_auto_install + rm debian/libspdlog-dev/usr/include/spdlog/fmt/bundled/LICENSE.rst + find debian -name .gitignore -delete diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/tests/control b/tests/control new file mode 100644 index 0000000..4422619 --- /dev/null +++ b/tests/control @@ -0,0 +1,3 @@ +Tests: run-tests +Restrictions: allow-stderr +Depends: @, @builddeps@ diff --git a/tests/run-tests b/tests/run-tests new file mode 100755 index 0000000..4a54611 --- /dev/null +++ b/tests/run-tests @@ -0,0 +1,15 @@ +#!/bin/sh + +#set -x +#set -e + +pkg=libspdlog-dev +if [ "$ADTTMP" = "" ] ; then + ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX` +fi +cd $ADTTMP + +cp -rs /usr/share/doc/libspdlog-dev/tests/ . +cd tests +gunzip < catch.hpp.gz > catch.hpp +make diff --git a/watch b/watch new file mode 100644 index 0000000..5c4508f --- /dev/null +++ b/watch @@ -0,0 +1,2 @@ +version=3 +https://github.com/gabime/spdlog/releases .*/archive/v(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz) -- 2.30.2