[Pkg-bitcoin-commits] [libunivalue] 76/76: Initial packaging.

Jonas Smedegaard dr at jones.dk
Mon Apr 4 09:18:34 UTC 2016


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

js pushed a commit to branch master
in repository libunivalue.

commit 41a642d7e6c4773b99b00dee909c5bd1e42992af
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Mon Apr 4 11:17:26 2016 +0200

    Initial packaging.
---
 debian/README.source            |  27 ++++++++++
 debian/changelog                |   6 +++
 debian/compat                   |   1 +
 debian/control                  |  47 ++++++++++++++++++
 debian/control.in               |  39 +++++++++++++++
 debian/control.in.in            |  39 +++++++++++++++
 debian/copyright                |  64 ++++++++++++++++++++++++
 debian/copyright_hints          |  94 +++++++++++++++++++++++++++++++++++
 debian/gbp.conf                 |   8 +++
 debian/libunivalue0.symbols     |  55 +++++++++++++++++++++
 debian/rules                    | 107 ++++++++++++++++++++++++++++++++++++++++
 debian/source/format            |   1 +
 debian/source/lintian-overrides |   8 +++
 debian/watch                    |   4 ++
 14 files changed, 500 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..ed1146b
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,27 @@
+CDBS+git-buildpackage
+---------------------
+
+This source package uses CDBS and git-buildpackage.  NMUs need not (but
+are encouraged to) make special use of these tools.  In particular, the
+debian/control.in file can be completely ignored.
+
+More info here: http://wiki.debian.org/CDBS+git-buildpackage
+
+
+ -- Jonas Smedegaard <dr at jones.dk>  Mon, 18 Feb 2013 12:55:37 +0100
+
+
+Getting new upstream release
+----------------------------
+
+Upstream does not (yet?) formally tag releases of their code.
+
+Debian package releases are therefore (for now) time-based, linked to
+upstream git hash.
+
+Example:
+
+  * debian/rules get-orig-source DEB_UPSTREAM_VERSION=0.1~20160216 DEB_UPSTREAM_TARBALL_BASENAME=7b549b1
+  * gbp import-orig --pristine-tar --filter=.gitignore --sign-tags --upstream-vcs-tag=7b549b1 ../tarballs/libsecp256k1_0.1~20160216.orig.tar.gz
+
+ -- Jonas Smedegaard <dr at jones.dk>  Sun, 03 Apr 2016 15:22:19 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5fed4d8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libunivalue (1.0.2-1) unstable; urgency=low
+
+  * Initial release.
+    Closes: bug#819953.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Mon, 04 Apr 2016 11:16:48 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3b1cfa2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,47 @@
+Source: libunivalue
+Section: libs
+Priority: optional
+Build-Depends: cdbs (>= 0.4.123~),
+ devscripts,
+ libtool,
+ automake,
+ autoconf,
+ debhelper,
+ dh-buildinfo,
+ d-shlibs (>= 0.50),
+ pkg-kde-tools
+Maintainer: Debian Bitcoin Team <pkg-bitcoin-devel at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.9.7
+Homepage: https://github.com/jgarzik/univalue
+Vcs-Git: https://anonscm.debian.org/git/pkg-bitcoin/libunivalue.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-bitcoin/libunivalue.git
+
+Package: libunivalue0
+Section: libs
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
+Description: C++ universal value object and JSON library
+ A universal value object, with JSON encoding (output) and decoding
+ (input).
+ .
+ Built as a single dynamic RAII C++ object class, and no templates.
+
+Package: libunivalue-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: libunivalue0 (= ${binary:Version}),
+ ${devlibs:Depends},
+ ${misc:Depends}
+Description: C++ universal value object and JSON library - development headers
+ A universal value object, with JSON encoding (output) and decoding
+ (input).
+ .
+ Built as a single dynamic RAII C++ object class, and no templates.
+ .
+ This package provides header files for development.
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..2647ced
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,39 @@
+Source: libunivalue
+Section: libs
+Priority: optional
+Build-Depends: @cdbs@
+Maintainer: Debian Bitcoin Team <pkg-bitcoin-devel at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.9.7
+Homepage: https://github.com/jgarzik/univalue
+Vcs-Git: https://anonscm.debian.org/git/pkg-bitcoin/libunivalue.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-bitcoin/libunivalue.git
+
+Package: libunivalue0
+Section: libs
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
+Description: C++ universal value object and JSON library
+ A universal value object, with JSON encoding (output) and decoding
+ (input).
+ .
+ Built as a single dynamic RAII C++ object class, and no templates.
+
+Package: libunivalue-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: libunivalue0 (= ${binary:Version}),
+ ${devlibs:Depends},
+ ${misc:Depends}
+Description: C++ universal value object and JSON library - development headers
+ A universal value object, with JSON encoding (output) and decoding
+ (input).
+ .
+ Built as a single dynamic RAII C++ object class, and no templates.
+ .
+ This package provides header files for development.
diff --git a/debian/control.in.in b/debian/control.in.in
new file mode 100644
index 0000000..8f91d7f
--- /dev/null
+++ b/debian/control.in.in
@@ -0,0 +1,39 @@
+Source: libunivalue
+Section: libs
+Priority: optional
+Build-Depends: @cdbs@
+Maintainer: Debian Bitcoin Team <pkg-bitcoin-devel at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.9.7
+Homepage: https://github.com/jgarzik/univalue
+Vcs-Git: https://anonscm.debian.org/git/pkg-bitcoin/libunivalue.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-bitcoin/libunivalue.git
+
+Package: __LIBPKG__
+Section: libs
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
+Description: C++ universal value object and JSON library
+ A universal value object, with JSON encoding (output) and decoding
+ (input).
+ .
+ Built as a single dynamic RAII C++ object class, and no templates.
+
+Package: libunivalue-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: __LIBPKG__ (= ${binary:Version}),
+ ${devlibs:Depends},
+ ${misc:Depends}
+Description: C++ universal value object and JSON library - development headers
+ A universal value object, with JSON encoding (output) and decoding
+ (input).
+ .
+ Built as a single dynamic RAII C++ object class, and no templates.
+ .
+ This package provides header files for development.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e03ceab
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,64 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Contact: https://github.com/jgarzik/univalue/issues
+Upstream-Name: UniValue
+Source: https://github.com/jgarzik/univalue
+ git://github.com/jgarzik/univalue
+
+Files:
+ */.gitignore
+ .travis.yml
+ gen/gen.cpp
+ include/*.h
+ lib/*.cpp
+ test/unitester.cpp
+Copyright:
+  2014, BitPay Inc.
+  2015, Bitcoin Core Developers
+License-Grant:
+ Distributed under the MIT software license, see the accompanying file
+ COPYING or http://www.opensource.org/licenses/mit-license.php.
+License: Expat
+
+Files:
+ autogen.sh
+ configure.ac
+ lib/univalue_escapes.h
+ Makefile.am
+ pc/*.pc.in
+ README
+ test/*.json
+ TODO
+Copyright: None
+License: None
+Comment:
+ These files seem authored by main upstream authors, and copyright and
+ license is therefore assumed (to the extend required) to be same as
+ generally for this project (see topmost Files section).
+
+Files: debian/*
+Copyright: 2016, Jonas Smedegaard <js at debian.org>
+License-Grant:
+ This program is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by the
+ Free Software Foundation; either version 3, or (at your option) any
+ later version.
+License: GPL-3+
+
+Files: debian/patches/*
+Copyright: 2016, Jonas Smedegaard <js at debian.org>
+License: Expat
+
+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.
+
+License: GPL-3+
+License-Reference: /usr/share/common-licenses/GPL-3
diff --git a/debian/copyright_hints b/debian/copyright_hints
new file mode 100644
index 0000000..3def9d7
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,94 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: FIXME
+Upstream-Contact: FIXME
+Source: FIXME
+Disclaimer: Autogenerated by CDBS
+
+Files: Makefile.am
+ README
+ TODO
+ autogen.sh
+ configure.ac
+ debian/README.source
+ debian/compat
+ debian/control
+ debian/control.in
+ debian/control.in.in
+ debian/gbp.conf
+ debian/libunivalue1.symbols
+ debian/source/format
+ debian/source/lintian-overrides
+ debian/watch
+ lib/univalue_escapes.h
+ pc/libunivalue-uninstalled.pc.in
+ pc/libunivalue.pc.in
+ test/fail1.json
+ test/fail10.json
+ test/fail11.json
+ test/fail12.json
+ test/fail13.json
+ test/fail14.json
+ test/fail15.json
+ test/fail16.json
+ test/fail17.json
+ test/fail18.json
+ test/fail19.json
+ test/fail2.json
+ test/fail20.json
+ test/fail21.json
+ test/fail22.json
+ test/fail23.json
+ test/fail24.json
+ test/fail25.json
+ test/fail26.json
+ test/fail27.json
+ test/fail28.json
+ test/fail29.json
+ test/fail3.json
+ test/fail30.json
+ test/fail31.json
+ test/fail32.json
+ test/fail33.json
+ test/fail34.json
+ test/fail35.json
+ test/fail36.json
+ test/fail37.json
+ test/fail4.json
+ test/fail5.json
+ test/fail6.json
+ test/fail7.json
+ test/fail8.json
+ test/fail9.json
+ test/pass1.json
+ test/pass2.json
+ test/pass3.json
+ test/round1.json
+Copyright: *No copyright*
+License: UNKNOWN
+ FIXME
+
+Files: gen/gen.cpp
+ lib/univalue_read.cpp
+ lib/univalue_write.cpp
+ test/unitester.cpp
+Copyright: 2014, BitPay Inc
+License: Expat
+ FIXME
+
+Files: include/univalue.h
+ lib/univalue.cpp
+Copyright: 2014, BitPay Inc
+  2015, Bitcoin Core Developers
+License: Expat
+ FIXME
+
+Files: COPYING
+Copyright: *No copyright*
+License: Expat
+ FIXME
+
+Files: debian/rules
+Copyright: 2016, Jonas Smedegaard <dr at jones.dk>
+License: GPL-3+
+ FIXME
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..1f8d409
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,8 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
+
+[import-orig]
+filter = .gitignore
diff --git a/debian/libunivalue0.symbols b/debian/libunivalue0.symbols
new file mode 100644
index 0000000..0ec2d49
--- /dev/null
+++ b/debian/libunivalue0.symbols
@@ -0,0 +1,55 @@
+# SymbolsHelper-Confirmed: 1.0.2 amd64
+libunivalue.so.0 libunivalue0 #MINVER#
+ NullUniValue at Base 1.0.2
+ _Z10find_valueRK8UniValueRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.2
+ _Z10uvTypeNameN8UniValue5VTypeE at Base 1.0.2
+ _Z12getJsonTokenRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERjPKc at Base 1.0.2
+ _ZN8UniValue10push_backVERKSt6vectorIS_SaIS_EE at Base 1.0.2
+ _ZN8UniValue11checkObjectERKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_5VTypeESt4lessIS6_ESaISt4pairIKS6_S7_EEE at Base 1.0.2
+ _ZN8UniValue4readEPKc at Base 1.0.2
+ _ZN8UniValue5clearEv at Base 1.0.2
+ _ZN8UniValue6pushKVERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKS_ at Base 1.0.2
+ _ZN8UniValue6setIntEl at Base 1.0.2
+ _ZN8UniValue6setIntEm at Base 1.0.2
+ _ZN8UniValue6setStrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.2
+ _ZN8UniValue7pushKVsERKS_ at Base 1.0.2
+ _ZN8UniValue7setBoolEb at Base 1.0.2
+ _ZN8UniValue7setNullEv at Base 1.0.2
+ _ZN8UniValue8setArrayEv at Base 1.0.2
+ _ZN8UniValue8setFloatEd at Base 1.0.2
+ _ZN8UniValue9push_backERKS_ at Base 1.0.2
+ _ZN8UniValue9setNumStrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.2
+ _ZN8UniValue9setObjectEv at Base 1.0.2
+ _ZN8UniValueC1ERKS_ at Base 1.0.2
+ _ZN8UniValueC2ERKS_ at Base 1.0.2
+ _ZN8UniValueD1Ev at Base 1.0.2
+ _ZN8UniValueD2Ev at Base 1.0.2
+ _ZNK8UniValue10writeArrayEjjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.2
+ _ZNK8UniValue11writeObjectEjjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.2
+ _ZNK8UniValue5writeB5cxx11Ejj at Base 1.0.2
+ _ZNK8UniValue7findKeyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.2
+ _ZNK8UniValue7getKeysB5cxx11Ev at Base 1.0.2
+ _ZNK8UniValue7get_intEv at Base 1.0.2
+ _ZNK8UniValue7get_objEv at Base 1.0.2
+ _ZNK8UniValue7get_strB5cxx11Ev at Base 1.0.2
+ _ZNK8UniValue8get_boolEv at Base 1.0.2
+ _ZNK8UniValue8get_realEv at Base 1.0.2
+ _ZNK8UniValue9getValuesEv at Base 1.0.2
+ _ZNK8UniValue9get_arrayEv at Base 1.0.2
+ _ZNK8UniValue9get_int64Ev at Base 1.0.2
+ _ZNK8UniValueixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.2
+ _ZNK8UniValueixEj at Base 1.0.2
+ (optional=templinst)_ZNSt6vectorI8UniValueSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_ at Base 1.0.2
+ (optional=templinst)_ZNSt6vectorI8UniValueSaIS0_EE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPKS0_S2_EEEEvNS5_IPS0_S2_EET_SB_St20forward_iterator_tag at Base 1.0.2
+ (optional=templinst)_ZNSt6vectorI8UniValueSaIS0_EED1Ev at Base 1.0.2
+ (optional=templinst)_ZNSt6vectorI8UniValueSaIS0_EED2Ev at Base 1.0.2
+ (optional=templinst)_ZNSt6vectorI8UniValueSaIS0_EEaSERKS2_ at Base 1.0.2
+ (optional=templinst)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS5_S7_EERKS5_ at Base 1.0.2
+ (optional=templinst)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev at Base 1.0.2
+ (optional=templinst)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev at Base 1.0.2
+ (optional=templinst)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEaSERKS7_ at Base 1.0.2
+ (optional=templinst)_ZNSt6vectorIP8UniValueSaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_ at Base 1.0.2
+ (optional=templinst)_ZNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEED0Ev at Base 1.0.2
+ (optional=templinst)_ZNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEED1Ev at Base 1.0.2
+ (optional=templinst)_ZNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEED2Ev at Base 1.0.2
+ (optional=templinst)_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_ at Base 1.0.2
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..07d5290
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,107 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2016 Jonas Smedegaard <dr at jones.dk>
+# Description: Main Debian packaging script for UniValue
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+# These need to be declared before CDBS includes
+DEB_AUTO_UPDATE_LIBTOOL = pre
+DEB_AUTO_UPDATE_ACLOCAL = ,
+DEB_AUTO_UPDATE_AUTOCONF = ,
+DEB_AUTO_UPDATE_AUTOMAKE = ,
+DEB_AUTO_UPDATE_AUTOHEADER = ,
+
+# set library package from library major version
+#  * Apply like this: debian/rules clean DEB_MAINTAINER_MODE=1
+debian/control:: debian/control.in
+DEB_PHONY_RULES += debian/control.in
+debian/control.in:: debian/control.in.in
+	sed -e 's/__LIBPKG__/$(pkg-lib)/g' <$< >$@
+
+include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+pkg = $(DEB_SOURCE_PACKAGE)
+stem = $(patsubst lib%,%,$(pkg))
+major = 0
+lib = lib$(stem)
+pkg-lib = lib$(stem)$(major)
+pkg-dev = lib$(stem)-dev
+
+# Build-depend unversioned on debhelper
+#  TODO: Drop when adopted in cdbs
+CDBS_BUILD_DEPENDS_rules_debhelper_v9 = debhelper
+
+DEB_CONFIGURE_EXTRA_FLAGS += \
+ --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
+
+DEB_MAKE_CHECK_TARGET = check
+
+# Let d-shlibs calculate development package dependencies
+#  and handle shared library install
+#  * d-shlibs 0.50 required for --multiarch and --exclude-la options
+CDBS_BUILD_DEPENDS +=, d-shlibs (>= 0.50)
+binary-post-install/$(pkg-lib) binary-post-install/$(pkg-dev):: \
+ debian/stamp-local-shlibs-$(lib)
+debian/stamp-local-shlibs-$(lib): \
+ binary-install/$(pkg-lib) \
+ binary-install/$(pkg-dev)
+	d-shlibmove --commit \
+		--devunversioned \
+		--exclude-la \
+		--multiarch \
+		--movedev "debian/tmp/usr/include/*" usr/include/ \
+		--movedev "debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/*" \
+			usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
+		debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/$(lib).so
+	touch $@
+clean::
+	rm -f debian/stamp-local-shlibs-$(lib)
+
+# create autotools files from scratch during build
+auxdir = build-aux
+macrodir = $(auxdir)/m4
+makefiledirs = .
+autoheaders = $(lib)-config.h
+files_autotools_core = $(auxdir)/config.guess $(auxdir)/config.sub
+stems_m4_libtool = libtool ltoptions ltsugar ltversion lt~obsolete
+files_libtool = $(auxdir)/ltmain.sh $(stems_m4_libtool:%=$(macrodir)/%.m4)
+stems_aux_autoconf = compile install-sh missing
+files_autoconf = aclocal.m4 configure $(stems_aux_autoconf:%=$(auxdir)/%)
+files_automake = $(auxdir)/depcomp $(makefiledirs:=/Makefile.in)
+files_automake += $(auxdir)/test-driver
+files_autoheader = config.h.in $(autoheaders:=.in)
+files_configure = config.log
+stems_autotools = autotools_core libtool aclocal autoconf automake
+stems_autotools += autoheader configure
+files_autotools = $(foreach var,$(stems_autotools),$(files_$(var)))
+DEB_ACLOCAL_ARGS = -I$(macrodir) --install --force
+DEB_AUTOMAKE_ARGS = --add-missing --copy --foreign --force
+DEB_MAKE_CLEAN_TARGET = distclean
+makefile-clean::
+	rm -rf autom4te.cache
+	rm -f $(filter-out $(DEB_UPSTREAM_CRUFT_MOVE),$(files_autotools))
+clean::
+	rm -f $(filter-out $(DEB_UPSTREAM_CRUFT_MOVE),$(files_autotools_core))
+	test ! -d $(auxdir) || rmdir --ignore-fail-on-non-empty $(auxdir)
+
+# cleanup missed autotools
+clean::
+	rm -f univalue-config.h.in
+
+# track symbols using pkgkde-symbolshelper
+CDBS_BUILD_DEPENDS +=, pkg-kde-tools
+include /usr/share/pkg-kde-tools/makefiles/1/cdbs/symbolshelper.mk
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/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..dce4650
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,8 @@
+# License is in License-Reference field (see bug#786450)
+missing-license-text-in-dep5-copyright
+
+# License is in License-Reference field (see bug#786450)
+missing-license-paragraph-in-dep5-copyright
+
+# Debhelper 9 is satisfied even in oldstable
+package-needs-versioned-debhelper-build-depends 9
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..40a0038
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%univalue-$1.tar.gz%" \
+ https://github.com/jgarzik/univalue/tags \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/libunivalue.git



More information about the Pkg-bitcoin-commits mailing list