From dfc2d99431ffebba8cce532cfe10d594418ee0d9 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 13 Jan 2014 14:22:30 +0100 Subject: [PATCH] Initial Debian packaging, as generated by dh-make-perl --- debian/changelog | 7 +++ debian/compat | 1 + debian/control | 52 +++++++++++++++++++ debian/copyright | 36 +++++++++++++ ...d_depend_on_any_module_build_version.patch | 35 +++++++++++++ debian/patches/series | 1 + debian/rules | 7 +++ debian/source/format | 1 + debian/watch | 2 + 9 files changed, 142 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/patches/build_depend_on_any_module_build_version.patch create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..4918931 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,7 @@ +libdata-hal-perl (1.000-1) unstable; urgency=low + + * Initial Release. (Closes: #726415) + * Note: removed versioned dependency on Module::Build >= 0.40 + and skipping tests during build time. + + -- Michael Prokop Tue, 3 Dec 2013 13:42:03 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..d3b7c0e --- /dev/null +++ b/debian/control @@ -0,0 +1,52 @@ +Source: libdata-hal-perl +Section: perl +Priority: optional +Maintainer: Michael Prokop +Build-Depends: debhelper (>= 8), + perl +Build-Depends-Indep: libboolean-perl, + libclone-perl, + libdata-visitor-perl, + libfailures-perl, + libfile-slurp-perl, + libhttp-message-perl, + libjson-perl, + liblog-any-adapter-filehandle-perl, + liblog-any-adapter-perl, + liblog-any-perl, + libmime-types-perl, + libmoo-perl, + libsafe-isa-perl, + libstrictures-perl, + libtest-fatal-perl, + libtype-tiny-perl, + liburi-namespacemap-perl, + liburi-perl, + liburi-template-perl, + libxml-regexp-perl +Standards-Version: 3.9.5 +Homepage: https://metacpan.org/release/Data-HAL + +Package: libdata-hal-perl +Architecture: all +Depends: ${misc:Depends}, ${perl:Depends}, + libboolean-perl, + libclone-perl, + libdata-visitor-perl, + libfailures-perl, + libhttp-message-perl, + libjson-perl, + liblog-any-perl, + libmime-types-perl, + libmoo-perl, + libsafe-isa-perl, + libstrictures-perl, + libtype-tiny-perl, + liburi-namespacemap-perl, + liburi-perl, + liburi-template-perl, + libxml-regexp-perl +Description: Hypertext Application Language resource + HAL is a format you can use in your hypermedia API. + . + This description was automagically extracted from the module by dh-make-perl. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a61787d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,36 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://metacpan.org/release/Data-HAL +Upstream-Contact: Lars Dɪᴇᴄᴋᴏᴡ C<< >> +Upstream-Name: Data-HAL +DISCLAIMER: This copyright info was automatically extracted + from the perl module. It may not be accurate, so you better + check the module sources in order to ensure the module for its + inclusion in Debian or for general legal information. Please, + if licensing information is incorrectly generated, file a bug + on dh-make-perl. + NOTE: Don't forget to remove this disclaimer once you are happy + with this file. + +Files: * +Copyright: Lars Dɪᴇᴄᴋᴏᴡ C<< >> +License: Artistic or GPL-1+ + +Files: debian/* +Copyright: 2013, Michael Prokop +License: Artistic or GPL-1+ + +License: Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + . + On Debian systems, the complete text of the Artistic License can be + found in `/usr/share/common-licenses/Artistic'. + +License: GPL-1+ + 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 1, or (at your option) + any later version. + . + On Debian systems, the complete text of version 1 of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. diff --git a/debian/patches/build_depend_on_any_module_build_version.patch b/debian/patches/build_depend_on_any_module_build_version.patch new file mode 100644 index 0000000..02215ec --- /dev/null +++ b/debian/patches/build_depend_on_any_module_build_version.patch @@ -0,0 +1,35 @@ +Description: Module::Build 0.40 is not available in Debian/wheezy + +--- a/Build.PL ++++ b/Build.PL +@@ -12,7 +12,7 @@ + 'Test::More' => 0, + }, + configure_requires => { +- 'Module::Build' => 0.40, ++ 'Module::Build' => 0, + }, + dist_version_from => 'lib/Data/HAL.pm', + dynamic_config => 0, +--- a/META.json ++++ b/META.json +@@ -33,7 +33,7 @@ + }, + "configure" : { + "requires" : { +- "Module::Build" : "0.4" ++ "Module::Build" : "0" + } + }, + "runtime" : { +--- a/META.yml ++++ b/META.yml +@@ -12,7 +12,7 @@ + Test::More: 0 + strictures: 0 + configure_requires: +- Module::Build: 0.4 ++ Module::Build: 0 + dynamic_config: 0 + generated_by: 'Module::Build version 0.4007, CPAN::Meta::Converter version 2.132830' + license: perl diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..9796566 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +build_depend_on_any_module_build_version.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3487272 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_test: + echo "skipping as it is failing currently" 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/watch b/debian/watch new file mode 100644 index 0000000..9b7f25e --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://metacpan.org/release/Data-HAL .*/Data-HAL-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$