diff options
-rw-r--r-- | debian/README.source | 18 | ||||
-rw-r--r-- | debian/changelog | 215 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 65 | ||||
-rw-r--r-- | debian/copyright | 84 | ||||
-rw-r--r-- | debian/files | 1 | ||||
-rw-r--r-- | debian/liburiparser-dev.install | 3 | ||||
-rw-r--r-- | debian/liburiparser-doc.dirs | 1 | ||||
-rw-r--r-- | debian/liburiparser-doc.doc-base | 7 | ||||
-rw-r--r-- | debian/liburiparser1.install | 1 | ||||
-rw-r--r-- | debian/liburiparser1.symbols | 102 | ||||
-rwxr-xr-x | debian/rules | 43 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/upstream/metadata | 5 | ||||
-rw-r--r-- | debian/watch | 4 |
15 files changed, 551 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..e4f2b3d --- /dev/null +++ b/debian/README.source @@ -0,0 +1,18 @@ +Hello, + +now I use the branching model from Vincent Driessen[1]. + +I use the gitflow-avh[2]. with the Documentation[3]. +The Debian package can be found here[4]. + +Please upload unattended uploads use a branch feature/<your title>. + + +Many thanks. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Fri, 02 Jun 2017 19:00:40 +0200 + +[1] http://nvie.com/posts/a-successful-git-branching-model/ +[2] https://github.com/petervanderdoes/gitflow-avh +[3] https://github.com/petervanderdoes/gitflow-avh/wiki +[4] https://tracker.debian.org/pkg/git-flow diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..09e7c88 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,215 @@ +uriparser (0.8.5-2) unstable; urgency=medium + + * debian/control: + - Switch Vcs-* to new loacation. + * Remove now useless debian/liburiparser-doc.lintian-overrides. + * Declare compliance with Debian Policy 4.1.5 (No changes needed). + + -- Jörg Frings-Fürst <debian@jff.email> Sun, 08 Jul 2018 14:16:31 +0200 + +uriparser (0.8.5-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix broken symlink: liburiparser.so -> liburiparser.so.1.0.21 + (closes: #901955) + + -- Bas Couwenberg <sebastic@debian.org> Fri, 22 Jun 2018 17:00:15 +0200 + +uriparser (0.8.5-1) unstable; urgency=medium + + * New upstream release (Closes: #893316). + - Refresh symbols file. + - Refresh debian/copyright. + - Rewrite debian/upstream/metadata. + * Remove trailing whitespaces: + - debian/changelog + - debian/control + - debian/rules + * Migrate to debhelper 11: + - Change debian/compat to 11. + - Bump minimum debhelper version in debian/control to >= 11. + - Remove dh-autoreconf from Build-Depends. + * Declare compliance with Debian Policy 4.1.4 (No changes needed). + * Change to my new email address: + - debian/control + - debian/copyright + * New README.source to explain the branching model used. + * debian/rules: + - Switch to $(DEB_UPSTREAM_VERSION). + + -- Jörg Frings-Fürst <debian@jff.email> Sat, 05 May 2018 10:14:09 +0200 + +uriparser (0.8.4-1) unstable; urgency=medium + + * New upstream release. + * debian/liburiparser-dev.links: + - Bump library version to 1.0.20. + * Add package liburiparser-doc: + - debian/rules: + + Add override_dh_auto_build-indep and override_dh_installdocs-indep + to handle the build and install the html documentation. + - debian/control: + + Add Build-Depends-Indep. + + Add new package liburiparser-doc. + - New debian/liburiparser-doc.doc-base. + - New debian/liburiparser-doc.dirs. + * New debian/liburiparser-doc.lintian-overrides to override the lintian + warning "embedded-javascript-library". + * debian/copyright: + - Change GPL-3.0+ to GPL-3+. + - Change Upstream Mail Address to Sebastian Pipping <webmaster@hartwork.org> + * debian/rules: + - Add override_dh_compress to exclude *.qhp. + - Remove -c0 from dh_makeshlibs call. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Wed, 04 Nov 2015 07:02:13 +0100 + +uriparser (0.8.3-1) unstable; urgency=low + + * New upstream release. + * New debian/upstream/metadata: + - Add some DEP-12 upstream metadata. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Wed, 07 Oct 2015 18:35:50 +0200 + +uriparser (0.8.2-1) unstable; urgency=low + + * New upstream release. + * debian/control: + - Bump Standards-Version to 3.9.6 (no changes required). + - Remove unknown substitution variable ${shlibs:Depends} + from liburiparser-dev. + * Refresh debian/liburiparser1.symbols. + * Refresh link to usr/lib/liburiparser.so in liburiparser-dev.links. + * debian/copyright: + - Add License and author for the new files: + + test/VersionSuite.*. + * debian/source/options: + - Removed because xz is now standard compression. + * debian/rules: + - Enable hardening. + - Add override_dh_makeshlibs for testing symbols. + * Enable mulitarch: + - debian/rules: + + Add --libdir to confflags + - debian/liburiparser-dev.links: + + Add dh-exec shebang line. + + Add ${DEB_HOST_MULTIARCH}. + + make file executable. + - debian/*.install: + + Change the path (add /*/). + - debian/control: + + Add dh-exec (>=0.3) to Build-Depends. + + Add Pre-Depends: ${misc:Pre-Depends} to package liburiparser1. + + Add Multi-Arch: same to package liburiparser1. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Tue, 28 Apr 2015 08:18:53 +0200 + +uriparser (0.8.0.1-2) unstable; urgency=low + + * debian/rules: + - Add --with autoreconf to enable update Build Environment + (Closes: #727517). + + Thanks to Breno Leitao <brenohl@br.ibm.com> + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sat, 16 Aug 2014 09:30:15 +0200 + +uriparser (0.8.0.1-1) unstable; urgency=medium + + * New Maintainer (Closes: #754473). + * New upstream release (Closes: #668244). + - Remove nonfree items from source (Closes: #753833): + + doc/rfc3513.htm. + + doc/rfc3986.htm. + + doc/rfc3986_grammar_only.txt. + + Remove debian/prune-tarball.sh. + + Remove debian/README.Debian-source. + * debian/control: + - Set myself as maintainer. + - Bump Standards-Version to 3.9.5 (no changes required). + - Update Build-Depends: + + Add dh-autoreconf for update Build Environment (Closes: #727517). + - Change description of liburiparser1 (Closes: #552993). + - For previously not existing Vcs + + Create a new git repository on alioth. + + Add the Fields Vcs-Browser and Vcs-Git. + * Change debian/compat to 9 (no changes required). + * Add debian/source/options: + - Set compression to xz & compression-level to 9 to save space. + * debian/copyright: + - Rewrite into machine-readable format. + - Add myself to the list of authors for debian/*. + - Update copyright years for 2014. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Wed, 06 Aug 2014 21:23:55 +0200 + +uriparser (0.8.0+dfsg-1) UNRELEASED; urgency=medium + + * Change debian/watch + - change upstream tarball to all filetypes. + * remove debian/rules.old + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sat, 12 Jul 2014 05:09:11 +0200 + + +uriparser (0.7.5-1) unstable; urgency=low + + * New upstream release. + * New maintainer. (Closes: #544633) + * Use more minimalistic approach to rules using debhelper 7. + * Add --disable-test to configure because cpptest-1.1.0 isn't packaged yet. + * Add --disable-doc to configure to prevent generation of api docs. + * Switch to dpkg-source 3.0 (quilt) format + * Update *.install files to more inclusive of files to install. + * Re-enable watch file, as it seems to work just fine with uscan. + + -- Taylor LeMasurier-Wren <ripps818@gmail.com> Sat, 15 May 2010 13:47:20 -0500 + +uriparser (0.7.4-2) unstable; urgency=low + + * Bump to Standards-Version 3.8.2. + * Set maintainer to Debian QA Group. + + -- Clint Adams <schizo@debian.org> Sat, 01 Aug 2009 01:12:33 -0400 + +uriparser (0.7.4-1) unstable; urgency=low + + * New upstream release. closes: #493073. + * Add myself to Uploaders. + * Bump to Standards-Version 3.8.0. + * debian/prune-tarball.sh: also remove RFC1866. + + -- Clint Adams <schizo@debian.org> Sat, 14 Feb 2009 10:36:07 -0500 + +uriparser (0.6.4-1) unstable; urgency=low + + * New upstream release. + * Bump Standard-Versions to 3.7.3 (no changes needed). + + -- Adeodato Simó <dato@net.com.org.es> Sun, 09 Mar 2008 11:54:35 +0100 + +uriparser (0.6.3-1) unstable; urgency=low + + * New upstream release. + + -- Adeodato Simó <dato@net.com.org.es> Mon, 11 Feb 2008 19:48:38 +0100 + +uriparser (0.6.1-1) unstable; urgency=low + + * New upstream version. + + * Add a watch file. + + * Convert debian/liburiparser1.symbols to be a dpkg-gensymbols file. + SymbolFile.pm blacklists arch-specific symbols, so this closes: #448959. + + -- Adeodato Simó <dato@net.com.org.es> Wed, 26 Dec 2007 18:42:29 +0100 + +uriparser (0.6.0-1) unstable; urgency=low + + * Initial release. (Closes: #443222) + + * Include in the .diff.gz hunks to allow building in a separate tree. + This will be fixed in the next upstream release. + + -- Adeodato Simó <dato@net.com.org.es> Wed, 19 Sep 2007 21:07:20 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..68d11b1 --- /dev/null +++ b/debian/control @@ -0,0 +1,65 @@ +Source: uriparser +Section: libs +Priority: optional +Maintainer: Jörg Frings-Fürst <debian@jff.email> +Build-Depends: + debhelper (>= 11), + dh-exec (>=0.3) +Build-Depends-Indep: + doxygen, + graphviz, + qttools5-dev-tools, + qtbase5-dev, + libqt5sql5-sqlite +Standards-Version: 4.1.5 +Homepage: http://uriparser.sourceforge.net +Vcs-Git: git://jff.email/opt/git/uriparser.git +Vcs-Browser: https://jff.email/cgit/uriparser.git + +Package: liburiparser1 +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + ${shlibs:Depends} +Pre-Depends: + ${misc:Pre-Depends} +Description: URI parsing library compliant with RFC 3986 + uriparser is a library that parses Uniform Resource Identifiers (URIs), + strictly adhering to RFC 3986 where syntax for URIs is defined. URIs + are used to identify resources, like http://www.debian.org/ or + urn:isbn:0-395-36341-1. + . + uriparser has the following features: + . + * strictly compliant to RFC 3986, implementing: + + parsing + + reference resolution + + reference creation + + recomposition + + syntax-based normalization + * fast (linear input length time complexity) + * unicode support + +Package: liburiparser-dev +Architecture: any +Section: libdevel +Depends: + liburiparser1 (= ${binary:Version}), + ${misc:Depends} +Description: development files for uriparser + This package provides the development files for uriparser, a library to parse + Uniform Resource Identifiers (URIs). Install it if you want to compile a + program that makes use of this library. + +Package: liburiparser-doc +Architecture: all +Section: doc +Depends: + ${misc:Depends} +Description: documentation files for uriparser + uriparser is a library that parses Uniform Resource Identifiers (URIs), + strictly adhering to RFC 3986 where syntax for URIs is defined. URIs + are used to identify resources, like http://www.debian.org/ or + urn:isbn:0-395-36341-1. This package provides the documentation + files for uriparser. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..5a52f3d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,84 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: uriparser +Source: https://github.com/uriparser/uriparser + +Files: * +Copyright: 2007 Weijia Song <songweijia@gmail.com> + 2008 Michael Anthony Puls II <shadow2531@gmail.com> + 2007-2015 Sebastian Pipping <webmaster@hartwork.org> + 2013 Radu Hociung <radu.uriparser@ohmi.org> +License: BSD-3-clause + +Files: test/* +Copyright: 2007 Weijia Song <songweijia@gmail.com> + 2007 Sebastian Pipping <webmaster@hartwork.org> +License: LGPL-2.1+ + +Files: test/VersionSuite.* +Copyright: 2014-2015 Sebastian Pipping <webmaster@hartwork.org> +License: LGPL-2.1+ + +Files: debian/* +Copyright: 2014-2018 Jörg Frings-Fürst <debian@jff.email> +License: GPL-3+ + +License: BSD-3-clause + All rights reserved. + . + 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. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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: LGPL-2.1+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This library 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 + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in `/usr/share/common-licenses/LGPL-2.1' + +License: GPL-3+ + 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 of the License, or + (at your option) any later version. + . + This package 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/>. + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..bf254b1 --- /dev/null +++ b/debian/files @@ -0,0 +1 @@ +uriparser_0.8.5-2_source.buildinfo libs optional diff --git a/debian/liburiparser-dev.install b/debian/liburiparser-dev.install new file mode 100644 index 0000000..8ea08d4 --- /dev/null +++ b/debian/liburiparser-dev.install @@ -0,0 +1,3 @@ +usr/include +usr/lib/*/pkgconfig/* +usr/lib/*/*.so diff --git a/debian/liburiparser-doc.dirs b/debian/liburiparser-doc.dirs new file mode 100644 index 0000000..14ce20b --- /dev/null +++ b/debian/liburiparser-doc.dirs @@ -0,0 +1 @@ +/usr/share/doc/liburiparser-doc/html/ diff --git a/debian/liburiparser-doc.doc-base b/debian/liburiparser-doc.doc-base new file mode 100644 index 0000000..3e3c089 --- /dev/null +++ b/debian/liburiparser-doc.doc-base @@ -0,0 +1,7 @@ +Document: liburiparser +Title: liburiparserx Documentation +Section: Network/Communication + +Format: HTML +Index: /usr/share/doc/liburiparser-doc/html/index.html +Files: /usr/share/doc/liburiparser-doc/html/*.html diff --git a/debian/liburiparser1.install b/debian/liburiparser1.install new file mode 100644 index 0000000..3de3b10 --- /dev/null +++ b/debian/liburiparser1.install @@ -0,0 +1 @@ +usr/lib/*/*.so.* diff --git a/debian/liburiparser1.symbols b/debian/liburiparser1.symbols new file mode 100644 index 0000000..51a2188 --- /dev/null +++ b/debian/liburiparser1.symbols @@ -0,0 +1,102 @@ +liburiparser.so.1 liburiparser1 #MINVER# + uriAddBaseUriA@Base 0.6.0 + uriAddBaseUriExA@Base 0.8.1 + uriAddBaseUriExW@Base 0.8.1 + uriAddBaseUriW@Base 0.6.0 + uriCompareRangeA@Base 0.8.1 + uriCompareRangeW@Base 0.8.1 + uriComposeQueryA@Base 0.7.2 + uriComposeQueryCharsRequiredA@Base 0.7.2 + uriComposeQueryCharsRequiredExA@Base 0.7.2 + uriComposeQueryCharsRequiredExW@Base 0.7.2 + uriComposeQueryCharsRequiredW@Base 0.7.2 + uriComposeQueryExA@Base 0.7.2 + uriComposeQueryExW@Base 0.7.2 + uriComposeQueryMallocA@Base 0.7.2 + uriComposeQueryMallocExA@Base 0.7.2 + uriComposeQueryMallocExW@Base 0.7.2 + uriComposeQueryMallocW@Base 0.7.2 + uriComposeQueryW@Base 0.7.2 + uriConstParentA@Base 0.6.0 + uriConstParentW@Base 0.6.0 + uriConstPwdA@Base 0.6.0 + uriConstPwdW@Base 0.6.0 + uriCopyAuthorityA@Base 0.6.0 + uriCopyAuthorityW@Base 0.6.0 + uriCopyPathA@Base 0.6.0 + uriCopyPathW@Base 0.6.0 + uriDissectQueryMallocA@Base 0.7.2 + uriDissectQueryMallocExA@Base 0.7.2 + uriDissectQueryMallocExW@Base 0.7.2 + uriDissectQueryMallocW@Base 0.7.2 + uriEqualsUriA@Base 0.6.0 + uriEqualsUriW@Base 0.6.0 + uriEscapeA@Base 0.6.0 + uriEscapeExA@Base 0.6.0 + uriEscapeExW@Base 0.6.0 + uriEscapeW@Base 0.6.0 + uriFixAmbiguityA@Base 0.6.0 + uriFixAmbiguityW@Base 0.6.0 + uriFixEmptyTrailSegmentA@Base 0.7.2 + uriFixEmptyTrailSegmentW@Base 0.7.2 + uriFreeQueryListA@Base 0.7.2 + uriFreeQueryListW@Base 0.7.2 + uriFreeUriMembersA@Base 0.6.0 + uriFreeUriMembersW@Base 0.6.0 + uriGetOctetValue@Base 0.6.0 + uriHexToLetterA@Base 0.6.0 + uriHexToLetterExA@Base 0.7.4 + uriHexToLetterExW@Base 0.7.4 + uriHexToLetterW@Base 0.6.0 + uriHexdigToIntA@Base 0.6.0 + uriHexdigToIntW@Base 0.6.0 + uriIsHostSetA@Base 0.6.0 + uriIsHostSetW@Base 0.6.0 + uriIsUnreserved@Base 0.6.0 + uriNormalizeSyntaxA@Base 0.6.0 + uriNormalizeSyntaxExA@Base 0.6.0 + uriNormalizeSyntaxExW@Base 0.6.0 + uriNormalizeSyntaxMaskRequiredA@Base 0.6.0 + uriNormalizeSyntaxMaskRequiredW@Base 0.6.0 + uriNormalizeSyntaxW@Base 0.6.0 + uriParseIpFourAddressA@Base 0.6.0 + uriParseIpFourAddressW@Base 0.6.0 + uriParseUriA@Base 0.6.0 + uriParseUriExA@Base 0.6.0 + uriParseUriExW@Base 0.6.0 + uriParseUriW@Base 0.6.0 + uriPushToStack@Base 0.6.0 + uriRemoveBaseUriA@Base 0.6.0 + uriRemoveBaseUriW@Base 0.6.0 + uriRemoveDotSegmentsA@Base 0.6.0 + uriRemoveDotSegmentsAbsoluteA@Base 0.6.4 + uriRemoveDotSegmentsAbsoluteW@Base 0.6.4 + uriRemoveDotSegmentsExA@Base 0.7.4 + uriRemoveDotSegmentsExW@Base 0.7.4 + uriRemoveDotSegmentsW@Base 0.6.0 + uriResetUriA@Base 0.6.0 + uriResetUriW@Base 0.6.0 + uriSafeToPointToA@Base 0.6.0 + uriSafeToPointToW@Base 0.6.0 + uriStackToOctet@Base 0.6.0 + uriToStringA@Base 0.6.0 + uriToStringCharsRequiredA@Base 0.6.0 + uriToStringCharsRequiredW@Base 0.6.0 + uriToStringW@Base 0.6.0 + uriUnescapeInPlaceA@Base 0.6.0 + uriUnescapeInPlaceExA@Base 0.6.0 + uriUnescapeInPlaceExW@Base 0.6.0 + uriUnescapeInPlaceW@Base 0.6.0 + uriUnixFilenameToUriStringA@Base 0.6.0 + uriUnixFilenameToUriStringW@Base 0.6.0 + uriUriStringToUnixFilenameA@Base 0.6.0 + uriUriStringToUnixFilenameW@Base 0.6.0 + uriUriStringToWindowsFilenameA@Base 0.6.0 + uriUriStringToWindowsFilenameW@Base 0.6.0 + uriWindowsFilenameToUriStringA@Base 0.6.0 + uriWindowsFilenameToUriStringW@Base 0.6.0 + uriWriteQuadToDoubleByte@Base 0.6.0 + uri_TESTING_ONLY_ParseIpFourA@Base 0.6.0 + uri_TESTING_ONLY_ParseIpFourW@Base 0.6.0 + uri_TESTING_ONLY_ParseIpSixA@Base 0.6.0 + uri_TESTING_ONLY_ParseIpSixW@Base 0.6.0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3245017 --- /dev/null +++ b/debian/rules @@ -0,0 +1,43 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/default.mk + +# hardening +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# Configure arguments + +confflags = --prefix=/usr --disable-test --disable-doc --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +confflags += --build $(DEB_BUILD_GNU_TYPE) + +# Only specify --host when cross-compiling +ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --host $(DEB_HOST_GNU_TYPE) +endif + +### + +%: + dh $@ --with autoreconf + +override_dh_auto_configure: + ./configure $(confflags) + +override_dh_auto_build-indep: + dh_auto_build + make -C doc + +override_dh_installdocs-indep: + cp -r $(CURDIR)/doc/html/* $(CURDIR)/debian/liburiparser-doc/usr/share/doc/liburiparser-doc/html/ + $(RM) debian/liburiparser-doc/usr/share/doc/liburiparser-doc/html/*.md5 + dh_installdocs + +override_dh_makeshlibs: + dh_makeshlibs -- -v$(DEB_VERSION_UPSTREAM) -Pdebian/liburiparser1 -pliburiparser1 + +override_dh_compress: + dh_compress -X.qhp 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..60c70b2 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +Bug-Database: https://github.com/uriparser/uriparser/issues +Bug-Submit: https://github.com/uriparser/uriparser/issues/new +Name: uriparser +Repository: https://github.com/uriparser/uriparser.git +Repository-Browse: https://github.com/uriparser/uriparser diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..5641bc5 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts=uversionmangle=s/_/./g;s/\.(rc\d*)$/~$1/ \ + https://github.com/uriparser/uriparser/releases \ + .*[^n]/(?:|v|version-|version|release-|r|REL_|rel-|uriparser(?:_|-))(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz) |