[libcatmandu-xsd-perl] 01/01: Initial packaging.
Jonas Smedegaard
dr at jones.dk
Mon Oct 2 10:29:53 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libcatmandu-xsd-perl.
commit ae9ac28e631f40ecb8fb3343c175b977f60ff0cb
Author: Jonas Smedegaard <dr at jones.dk>
Date: Mon Oct 2 12:17:58 2017 +0200
Initial packaging.
---
debian/README.source | 11 +++
debian/changelog | 6 ++
debian/compat | 1 +
debian/control | 36 +++++++++
debian/control.in | 24 ++++++
debian/copyright | 163 ++++++++++++++++++++++++++++++++++++++++
debian/copyright-check | 24 ++++++
debian/copyright_hints | 114 ++++++++++++++++++++++++++++
debian/gbp.conf | 6 ++
debian/rules | 35 +++++++++
debian/source/format | 1 +
debian/source/lintian-overrides | 7 ++
debian/watch | 4 +
13 files changed, 432 insertions(+)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..f88449e
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,11 @@
+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
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c7c74c5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libcatmandu-xsd-perl (0.04-1) unstable; urgency=low
+
+ * Initial Release.
+ Closes: bug#877502.
+
+ -- Jonas Smedegaard <dr at jones.dk> Mon, 02 Oct 2017 12:28:08 +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..aff6da3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,36 @@
+Source: libcatmandu-xsd-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Section: perl
+Testsuite: autopkgtest-pkg-perl
+Priority: optional
+Build-Depends: cdbs,
+ perl,
+ libmodule-build-tiny-perl,
+ debhelper,
+ dh-buildinfo,
+ libcatmandu-perl,
+ libcatmandu-template-perl,
+ libxml-compile-perl,
+ libxml-compile-cache-perl,
+ libxml-libxml-perl,
+ libtest-exception-perl,
+ libxml-xpath-perl,
+ perl (>= 5.21.1) | libtest-simple-perl (>= 1.001003)
+Standards-Version: 4.1.1
+Vcs-Browser: https://anonscm.debian.org/git/pkg-perl/packages/libcatmandu-xsd-perl.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libcatmandu-xsd-perl.git
+Homepage: https://github.com/LibreCat/Catmandu-XSD
+
+Package: libcatmandu-xsd-perl
+Architecture: all
+Depends: ${cdbs:Depends},
+ ${misc:Depends},
+ ${perl:Depends}
+Enhances: ${cdbs:Enhances}
+Description: modules for handling XML data with XSD compilation
+ Catmandu::XSD contains modules for handling XML data within the
+ Catmandu framework. Parsing and serializing is based on XML::Compile.
+ .
+ Catmandu provides a suite of Perl modules to ease the import, storage,
+ retrieval, export and transformation of metadata records.
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..f3b7098
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,24 @@
+Source: libcatmandu-xsd-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Section: perl
+Testsuite: autopkgtest-pkg-perl
+Priority: optional
+Build-Depends: @cdbs@
+Standards-Version: 4.1.1
+Vcs-Browser: https://anonscm.debian.org/git/pkg-perl/packages/libcatmandu-xsd-perl.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libcatmandu-xsd-perl.git
+Homepage: https://github.com/LibreCat/Catmandu-XSD
+
+Package: libcatmandu-xsd-perl
+Architecture: all
+Depends: ${cdbs:Depends},
+ ${misc:Depends},
+ ${perl:Depends}
+Enhances: ${cdbs:Enhances}
+Description: modules for handling XML data with XSD compilation
+ Catmandu::XSD contains modules for handling XML data within the
+ Catmandu framework. Parsing and serializing is based on XML::Compile.
+ .
+ Catmandu provides a suite of Perl modules to ease the import, storage,
+ retrieval, export and transformation of metadata records.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f94b827
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,163 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Catmandu::XSD
+Upstream-Contact: https://github.com/LibreCat/Catmandu-XSD/issues
+Source: https://github.com/LibreCat/Catmandu-XSD
+ git://github.com/LibreCat/Catmandu-XSD
+
+Files: *
+Copyright: Patrick Hochstenbach <patrick.hochstenbach at ugent.be>
+License-Grant:
+ This is free software; you can redistribute it and/or modify it under
+ the same terms as the Perl 5 programming language system itself.
+License: Artistic or GPL-1+
+Comment:
+ Perl 5 is licensed under either the Artistic license or the GNU General
+ Public License version 1 or later.
+
+Files: t/demo/mets/mets.xsd
+Copyright: The Digital Library Federation
+License-Grant:
+ This document is available under the Creative Commons CC0 1.0 Universal
+ Public Domain Dedication
+ (<http://creativecommons.org/publicdomain/zero/1.0/>). The Digital
+ Library Federation, as creator of this document, has waived all rights
+ to it worldwide under copyright law, including all related and
+ neighboring rights, to the extent allowed by law. For the full text see
+ <http://creativecommons.org/publicdomain/zero/1.0/legalcode>.
+License: CC0-1.0
+
+Files: debian/*
+Copyright: 2016-2017, Jonas Smedegaard <dr at jones.dk>
+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 of the License, or (at your
+ option) any later version.
+License: GPL-3+
+
+License: Artistic
+License-Reference: /usr/share/common-licenses/Artistic
+
+License: CC0-1.0
+ Statement of Purpose
+ .
+ The laws of most jurisdictions throughout the world automatically
+ confer exclusive Copyright and Related Rights (defined below) upon the
+ creator and subsequent owner(s) (each and all, an "owner") of an
+ original work of authorship and/or a database (each, a "Work").
+ .
+ Certain owners wish to permanently relinquish those rights to a Work
+ for the purpose of contributing to a commons of creative, cultural and
+ scientific works ("Commons") that the public can reliably and without
+ fear of later claims of infringement build upon, modify, incorporate in
+ other works, reuse and redistribute as freely as possible in any form
+ whatsoever and for any purposes, including without limitation
+ commercial purposes. These owners may contribute to the Commons to
+ promote the ideal of a free culture and the further production of
+ creative, cultural and scientific works, or to gain reputation or
+ greater distribution for their Work in part through the use and efforts
+ of others.
+ .
+ For these and/or other purposes and motivations, and without any
+ expectation of additional consideration or compensation, the person
+ associating CC0 with a Work (the "Affirmer"), to the extent that he or
+ she is an owner of Copyright and Related Rights in the Work,
+ voluntarily elects to apply CC0 to the Work and publicly distribute the
+ Work under its terms, with knowledge of his or her Copyright and
+ Related Rights in the Work and the meaning and intended legal effect of
+ CC0 on those rights.
+ .
+ 1. Copyright and Related Rights. A Work made available under CC0 may
+ be protected by copyright and related or neighboring rights
+ ("Copyright and Related Rights"). Copyright and Related Rights
+ include, but are not limited to, the following:
+ .
+ * the right to reproduce, adapt, distribute, perform, display,
+ communicate, and translate a Work;
+ * moral rights retained by the original author(s) and/or
+ performer(s);
+ * publicity and privacy rights pertaining to a person's image or
+ likeness depicted in a Work;
+ * rights protecting against unfair competition in regards to a Work,
+ subject to the limitations in paragraph 4(a), below;
+ * rights protecting the extraction, dissemination, use and reuse of
+ data in a Work;
+ * database rights (such as those arising under Directive 96/9/EC of
+ the European Parliament and of the Council of 11 March 1996 on the
+ legal protection of databases, and under any national
+ implementation thereof, including any amended or successor version
+ of such directive); and
+ * other similar, equivalent or corresponding rights throughout the
+ world based on applicable law or treaty, and any national
+ implementations thereof.
+ .
+ 2. Waiver. To the greatest extent permitted by, but not in
+ contravention of, applicable law, Affirmer hereby overtly, fully,
+ permanently, irrevocably and unconditionally waives, abandons, and
+ surrenders all of Affirmer's Copyright and Related Rights and
+ associated claims and causes of action, whether now known or
+ unknown (including existing as well as future claims and causes of
+ action), in the Work (i) in all territories worldwide, (ii) for the
+ maximum duration provided by applicable law or treaty (including
+ future time extensions), (iii) in any current or future medium and
+ for any number of copies, and (iv) for any purpose whatsoever,
+ including without limitation commercial, advertising or promotional
+ purposes (the "Waiver"). Affirmer makes the Waiver for the benefit
+ of each member of the public at large and to the detriment of
+ Affirmer's heirs and successors, fully intending that such Waiver
+ shall not be subject to revocation, rescission, cancellation,
+ termination, or any other legal or equitable action to disrupt the
+ quiet enjoyment of the Work by the public as contemplated by
+ Affirmer's express Statement of Purpose.
+ .
+ 3. Public License Fallback. Should any part of the Waiver for any
+ reason be judged legally invalid or ineffective under applicable
+ law, then the Waiver shall be preserved to the maximum extent
+ permitted taking into account Affirmer's express Statement of
+ Purpose. In addition, to the extent the Waiver is so judged
+ Affirmer hereby grants to each affected person a royalty-free, non
+ transferable, non sublicensable, non exclusive, irrevocable and
+ unconditional license to exercise Affirmer's Copyright and Related
+ Rights in the Work (i) in all territories worldwide, (ii) for the
+ maximum duration provided by applicable law or treaty (including
+ future time extensions), (iii) in any current or future medium and
+ for any number of copies, and (iv) for any purpose whatsoever,
+ including without limitation commercial, advertising or promotional
+ purposes (the "License"). The License shall be deemed effective as
+ of the date CC0 was applied by Affirmer to the Work. Should any
+ part of the License for any reason be judged legally invalid or
+ ineffective under applicable law, such partial invalidity or
+ ineffectiveness shall not invalidate the remainder of the License,
+ and in such case Affirmer hereby affirms that he or she will not
+ (i) exercise any of his or her remaining Copyright and Related
+ Rights in the Work or (ii) assert any associated claims and causes
+ of action with respect to the Work, in either case contrary to
+ Affirmer's express Statement of Purpose.
+ .
+ 4. Limitations and Disclaimers.
+ .
+ * No trademark or patent rights held by Affirmer are waived,
+ abandoned, surrendered, licensed or otherwise affected by this
+ document.
+ * Affirmer offers the Work as-is and makes no representations or
+ warranties of any kind concerning the Work, express, implied,
+ statutory or otherwise, including without limitation warranties of
+ title, merchantability, fitness for a particular purpose, non
+ infringement, or the absence of latent or other defects, accuracy,
+ or the present or absence of errors, whether or not discoverable,
+ all to the greatest extent permissible under applicable law.
+ * Affirmer disclaims responsibility for clearing rights of other
+ persons that may apply to the Work or any use thereof, including
+ without limitation any person's Copyright and Related Rights in
+ the Work. Further, Affirmer disclaims responsibility for obtaining
+ any necessary consents, permissions or other rights required for
+ any use of the Work.
+ * Affirmer understands and acknowledges that Creative Commons is not
+ a party to this document and has no duty or obligation with
+ respect to this CC0 or use of the Work.
+
+License: GPL-1+
+License-Reference: /usr/share/common-licenses/GPL-1
+
+License: GPL-3+
+License-Reference: /usr/share/common-licenses/GPL-3
diff --git a/debian/copyright-check b/debian/copyright-check
new file mode 100755
index 0000000..129b94d
--- /dev/null
+++ b/debian/copyright-check
@@ -0,0 +1,24 @@
+#!/bin/sh
+# Copyright © 2016-2017 Jonas Smedegaard <dr at jones.dk>
+# Description: helper script to update copyright_hints
+#
+# 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/>.
+
+set -eu
+
+make -f /usr/share/cdbs/1/rules/utils.mk pre-build || true
+make -f /usr/share/cdbs/1/rules/utils.mk clean DEB_COPYRIGHT_CHECK_STRICT=1
+
+# unconditionally merge changes - safe to do with git-tracked package
+[ ! -f debian/copyright_newhints ] || mv -f debian/copyright_newhints debian/copyright_hints
diff --git a/debian/copyright_hints b/debian/copyright_hints
new file mode 100644
index 0000000..6663cf1
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,114 @@
+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: Build.PL
+ Changes
+ MANIFEST
+ META.json
+ META.yml
+ catmandu.yml
+ cpanfile
+ debian/README.source
+ debian/compat
+ debian/control
+ debian/control.in
+ debian/gbp.conf
+ debian/source/format
+ debian/watch
+ dist.ini
+ lib/Catmandu/Exporter/XSD.pm
+ lib/Catmandu/Fix/xpath_map.pm
+ lib/Catmandu/Importer/XSD.pm
+ t/Catmandu-Exporter-XSD.t
+ t/Catmandu-Fix-xpath_map.t
+ t/Catmandu-Importer-XSD.t
+ t/Catmandu-XSD.t
+ t/demo/ead/ead2.xsd
+ t/demo/ead/test.xml
+ t/demo/ead/xlink.xsd
+ t/demo/mets/mets.xml
+ t/demo/mets/xlink.xsd
+ t/demo/mods/xlink.xsd
+ t/demo/mods/xml.xsd
+ t/demo/order/id_0.xml
+ t/demo/order/id_1.xml
+ t/demo/order/list.xml
+ t/demo/order/order.xsd
+ t/demo/order/test.xml
+ t/demo/order/test2.xml
+ t/demo/order/xml_footer.tt
+ t/demo/order/xml_header.tt
+ t/demo/order/xml_record.tt
+ t/release-pod-syntax.t
+Copyright: NONE
+License: UNKNOWN
+ FIXME
+
+Files: README
+ lib/Catmandu/XSD.pm
+Copyright: NONE
+License: Artistic or GPL-1+
+ FIXME
+
+Files: debian/copyright-check
+ debian/rules
+Copyright: 2014, 2016-2017, Jonas Smedegaard <dr at jones.dk>
+ 2016-2017, Jonas Smedegaard <dr at jones.dk>
+License: GPL-3+
+ FIXME
+
+Files: LICENSE
+Copyright: 1989, Free Software Foundation, Inc.
+ 19xx name of author
+ 19yy <name of author>
+ 5 by Patrick Hochstenbach , C<< patrick.hochstenbach at ugent.be >>.
+ disclaimer" for the program, if
+ ed by the Free
+ interest in the
+ of this Package, but belong to whomever generated them, and may be sold
+ the software, and
+License: Artistic or GPL-1+
+ FIXME
+
+Files: t/demo/mets/mets.xsd
+Copyright: trade or service marks or other intellectual property rights for the object.
+License: CC0-1.0
+ FIXME
+
+Files: debian/source/lintian-overrides
+Copyright: Artistic
+ GPL-1+
+ GPL-3+
+ artistic
+ gpl-1+
+ gpl-3+
+License: UNKNOWN
+ FIXME
+
+Files: t/demo/mods/mods-3-6.xsd
+Copyright: Date" type="dateDefinition"/>
+ Date"/>
+License: UNKNOWN
+ FIXME
+
+Files: t/demo/mods/mods-3-3.xsd
+Copyright: Date" type="dateType"/>
+License: UNKNOWN
+ FIXME
+
+Files: t/demo/mods/test2.xml
+Copyright: dérik Leliaert, Khanjanapaj Lewmanomont , and Olivier De Clerck. 2010. Seaweeds of Mu Ko Tha Lae Thai (SE Thailand): Methodologies and Field Guide to the Dominant Species. BRT Book Series, Area-Based. Vol. 11. Bangkok, Thailand: Biodiversity Research and Training Program (BRT).</note>
+ dérik Leliaert</displayForm>
+ dérik</namePart>
+ for this publication to the publisher</accessCondition>
+License: UNKNOWN
+ FIXME
+
+Files: t/demo/mods/test.xml
+Copyright: for this publication to the publisher</accessCondition>
+License: UNKNOWN
+ FIXME
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..2a594ca
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,6 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
+filter = */.git*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bcd63d1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,35 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright 2014, 2016-2017 Jonas Smedegaard <dr at jones.dk>
+# Description: Main Debian packaging script for Catmandu::XSD
+#
+# 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/>.
+
+include /usr/share/cdbs/1/class/perl-build.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+pkg = $(DEB_SOURCE_PACKAGE)
+
+# Needed by upstream build and (always) at runtime
+perl-deps = catmandu catmandu-template
+perl-deps += xml-compile xml-compile-cache xml-libxml
+deps = $(patsubst %,$(comma) lib%-perl, $(perl-deps))
+
+# Needed by upstream testsuite
+deps-test = libtest-exception-perl, libxml-xpath-perl
+deps-test +=, perl (>= 5.21.1) | libtest-simple-perl (>= 1.001003)
+
+CDBS_BUILD_DEPENDS +=, $(deps), $(deps-test)
+CDBS_DEPENDS_$(pkg) = $(deps)
+CDBS_ENHANCES_$(pkg) = libcatmandu-perl
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..46ebe02
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
\ No newline at end of file
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..cd31f27
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,7 @@
+# License is in License-Reference field (see bug#786450)
+missing-license-paragraph-in-dep5-copyright artistic *
+missing-license-paragraph-in-dep5-copyright gpl-1\+ *
+missing-license-paragraph-in-dep5-copyright gpl-3\+ *
+missing-license-text-in-dep5-copyright Artistic *
+missing-license-text-in-dep5-copyright GPL-1\+ *
+missing-license-text-in-dep5-copyright GPL-3\+ *
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..7d1c0da
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# run "uscan --report" to check or "gpb import-orig --uscan" to update
+version=4
+https://metacpan.org/release/Catmandu-XSD \
+ .*/Catmandu-XSD at ANY_VERSION@@ARCHIVE_EXT@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatmandu-xsd-perl.git
More information about the Pkg-perl-cvs-commits
mailing list