summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-20 20:27:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-20 20:27:52 +0000
commiteabb1c02d6c0fdc57c553cba77588ef3132320ce (patch)
treefebb4bbdd301c7341f44cfe1811be450ae10f24c
parentAdding upstream version 0.05. (diff)
downloadlibfile-dirlist-perl-eabb1c02d6c0fdc57c553cba77588ef3132320ce.tar.xz
libfile-dirlist-perl-eabb1c02d6c0fdc57c553cba77588ef3132320ce.zip
Adding debian version 0.05-2.debian/0.05-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog11
-rw-r--r--debian/control25
-rw-r--r--debian/copyright28
-rw-r--r--debian/patches/home-dir-to-common-licenses.patch16
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch2
8 files changed, 88 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7234e63
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,11 @@
+libfile-dirlist-perl (0.05-2) unstable; urgency=medium
+
+ * No-changes source-only upload.
+
+ -- Andrius Merkys <merkys@debian.org> Tue, 22 Sep 2020 01:35:00 -0400
+
+libfile-dirlist-perl (0.05-1) unstable; urgency=low
+
+ * Initial release (Closes: #968232).
+
+ -- Andrius Merkys <merkys@debian.org> Tue, 11 Aug 2020 05:42:12 -0400
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..27dec88
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: libfile-dirlist-perl
+Section: perl
+Priority: optional
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders:
+ Andrius Merkys <merkys@debian.org>,
+Build-Depends:
+ debhelper-compat (= 13),
+Build-Depends-Indep:
+ perl,
+Standards-Version: 4.5.0
+Homepage: https://metacpan.org/release/File-DirList
+Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libfile-dirlist-perl.git
+Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libfile-dirlist-perl
+Rules-Requires-Root: no
+Testsuite: autopkgtest-pkg-perl
+
+Package: libfile-dirlist-perl
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${perl:Depends},
+Description: provide a sorted list of directory content
+ File::DirList is used to get a list of directory content. It is a simple
+ wrapper around DirHandle and sort().
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b8e188b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://metacpan.org/release/File-DirList
+Upstream-Contact: Daniel Podolsky <tpaba@cpan.org>
+Upstream-Name: File-DirList
+
+Files: *
+Copyright: 2006, Daniel Podolsky <tpaba@cpan.org>
+License: Artistic or GPL-1+
+
+Files: debian/*
+Copyright: 2020, Andrius Merkys <merkys@debian.org>
+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/home-dir-to-common-licenses.patch b/debian/patches/home-dir-to-common-licenses.patch
new file mode 100644
index 0000000..41a630b
--- /dev/null
+++ b/debian/patches/home-dir-to-common-licenses.patch
@@ -0,0 +1,16 @@
+Description: Use /usr/share/common-licenses instead of user's home directory
+ in tests.
+Author: Andrius Merkys <merkys@debian.org>
+--- a/t/File-DirList.t
++++ b/t/File-DirList.t
+@@ -13,8 +13,8 @@
+ # Insert your test code below, the Test::More module is use()ed here so read
+ # its man page ( perldoc Test::More ) for help writing this test script.
+
+-my $homeDir = ( "\L$^O" =~ m/win32/ ) ? '.' : glob('~');
+-print STDERR ("\nListing your home dir '$homeDir' for test purposes\n");
++my $homeDir = '/usr/share/common-licenses';
++print STDERR ("\nListing common-licenses dir '$homeDir' for test purposes\n");
+ foreach my $item (@{File::DirList::list($homeDir, 'din', "\L$^O" =~ m/win32/ ? 1 : 0, 1, 1)})
+ { print STDERR (sprintf("%s'%s'%s\n", ($item->[14] ? 'dir ' : 'file '), $item->[13], (!$item->[15] ? '' : ($item->[15] < 0 ? ' bad' : '').' link to \''.$item->[16].'\''))); };
+ ok("listing completed");
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b8ef2c8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+home-dir-to-common-licenses.patch
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/watch b/debian/watch
new file mode 100644
index 0000000..44846c5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://metacpan.org/release/File-DirList .*/File-DirList-v?@ANY_VERSION@@ARCHIVE_EXT@$