From 9e91ea1ac46ada9f4c8c7672670c17ea46352255 Mon Sep 17 00:00:00 2001 From: Luoyaoming Date: Thu, 22 Sep 2022 10:04:27 +0800 Subject: [PATCH] Import Debian changes 6.04-ok2 liblwp-mediatypes-perl (6.04-ok2) yangtze; urgency=medium * Update version info. liblwp-mediatypes-perl (6.04-ok1) yangtze; urgency=medium * Initial release. --- debian/changelog | 11 +++++++++++ debian/control | 22 ++++++++++++++++++++++ debian/copyright | 28 ++++++++++++++++++++++++++++ debian/rules | 4 ++++ debian/source/format | 1 + debian/tests/pkg-perl/smoke-files | 2 ++ debian/upstream/metadata | 5 +++++ debian/watch | 2 ++ 8 files changed, 75 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/tests/pkg-perl/smoke-files create mode 100644 debian/upstream/metadata create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6bbd001 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,11 @@ +liblwp-mediatypes-perl (6.04-ok2) yangtze; urgency=medium + + * Update version info. + + -- Luoyaoming Thu, 22 Sep 2022 10:04:27 +0800 + +liblwp-mediatypes-perl (6.04-ok1) yangtze; urgency=medium + + * Initial release. + + -- Luoyaoming Thu, 22 Sep 2022 10:03:49 +0800 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..0fd4232 --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ +Source: liblwp-mediatypes-perl +Section: perl +Testsuite: autopkgtest-pkg-perl +Priority: optional +Build-Depends: debhelper-compat (= 12) +Build-Depends-Indep: perl, + libtest-fatal-perl, +Maintainer: Openkylin Developers +Uploaders: Luo Yaoming +Standards-Version: 4.4.0 +Homepage: https://metacpan.org/release/LWP-MediaTypes +Vcs-Git: https://gitee/openkylin/liblwp-mediatypes-perl.git +Vcs-Browser: https://gitee/openkylin/liblwp-mediatypes-perl + +Package: liblwp-mediatypes-perl +Architecture: all +Depends: ${misc:Depends}, ${perl:Depends} +Description: module to guess media type for a file or a URL + LWP::MediaTypes provides functions for handling media (also known as MIME) + types and encodings. The mapping from file extensions to media types is + defined by the media.types file. If the ~/.media.types file exists it is used + instead. For backwards compatibility it will also look for ~/.mime.types. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..982297f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: LWP-MediaTypes +Upstream-Contact: Gisle Aas +Source: https://metacpan.org/release/LWP-MediaTypes + +Files: * +Copyright: 1995-1999, Gisle Aas +License: Artistic or GPL-1+ + +Files: debian/* +Copyright: 2022, Openkylin Developers +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/rules b/debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ 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/tests/pkg-perl/smoke-files b/debian/tests/pkg-perl/smoke-files new file mode 100644 index 0000000..8db8819 --- /dev/null +++ b/debian/tests/pkg-perl/smoke-files @@ -0,0 +1,2 @@ +README +t diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..da32f09 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +--- +Archive: CPAN +Contact: Gisle Aas +Name: LWP-MediaTypes +Repository: https://github.com/libwww-perl/LWP-MediaTypes.git diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..b0edf82 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://metacpan.org/release/LWP-MediaTypes .*/LWP-MediaTypes-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$