From 8398f2430f9cfd361f3fd6f4bcb09d1be399c09b Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 12 Feb 2020 12:52:00 -0700 Subject: initial Debianisation Signed-off-by: Sean Whitton --- debian/changelog | 5 ++++ debian/control | 59 ++++++++++++++++++++++++++++++++++++++++++++++++ debian/copyright | 19 ++++++++++++++++ debian/rules | 13 +++++++++++ debian/source/format | 1 + debian/tests/control | 5 ++++ debian/upstream/metadata | 4 ++++ debian/watch | 3 +++ 8 files changed, 109 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/control 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..bbd3eae --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libgit-annex-perl (0.001-1) UNRELEASED; urgency=medium + + * Initial upload to Debian. + + -- Sean Whitton Wed, 5 Feb 2020 14:52:28 -0700 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..eca5391 --- /dev/null +++ b/debian/control @@ -0,0 +1,59 @@ +Source: libgit-annex-perl +Maintainer: Debian Perl Group +Uploaders: + Sean Whitton , +Section: perl +Priority: optional +Build-Depends: + debhelper-compat (= 12), +Build-Depends-Indep: + git-annex , + libcapture-tiny-perl, + libdata-compare-perl, + libdigest-md5-file-perl, + libdist-zilla-perl, + libdist-zilla-plugin-git-perl, + libdist-zilla-plugin-podweaver-perl, + libfile-chdir-perl, + libfile-chmod-perl, + libfile-slurp-perl, + libgit-repository-perl, + libgit-wrapper-perl, + libipc-system-simple-perl, + libscalar-list-utils-perl, + libterm-readkey-perl, + libtest-simple-perl, + libtry-tiny-perl, + perl (>= 5.28.0), +Standards-Version: 4.5.0 +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libgit-annex-perl +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libgit-annex-perl.git +Homepage: https://metacpan.org/release/Git-Annex + +Package: libgit-annex-perl +Architecture: all +Depends: + libdata-compare-perl, + libdigest-md5-file-perl, + libfile-chdir-perl, + libfile-chmod-perl, + libgit-repository-perl, + libgit-wrapper-perl, + libipc-system-simple-perl, + libscalar-list-utils-perl, + libterm-readkey-perl, + libtry-tiny-perl, + perl (>= 5.28.0), + ${misc:Depends}, + ${perl:Depends}, +Recommends: + git-annex, +Description: Perl interface to git-annex repositories + Perl interface to git-annex repositories, and some scripts which make + use of this interface. Requires git-annex installed to be useful. + . + Git::Annex -- class representing a git-annex repository + . + annex-to-annex -- use hardlinks to migrate files between git annex repos + . + annex-review-unused -- interactively process `git annex unused` output diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..83cb20b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,19 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://metacpan.org/release/Git-Annex +Upstream-Contact: Sean Whitton + +Files: * +Copyright: (C) 2019-2010 Sean Whitton +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 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. + . + On Debian systems, the complete text of version 3 of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-3'. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..30c568b --- /dev/null +++ b/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/pkg-info.mk + +%: + dh $@ --sourcedirectory=Git-Annex-${DEB_VERSION_UPSTREAM} + +override_dh_auto_configure: + HOME=. dzil build + dh_auto_configure + +override_dh_auto_clean: + HOME=. dzil clean 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/control b/debian/tests/control new file mode 100644 index 0000000..bb397a0 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,5 @@ +Test-Command: prove --verbose --norc +Depends: @, + git-annex, + libfile-slurp-perl, + libcapture-tiny-perl diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..c852618 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,4 @@ +--- +Archive: CPAN +Repository: https://git.spwhitton.name/p5-Git-Annex +Repository-Browse: https://git.spwhitton.name/p5-Git-Annex diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..3862caf --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +https://git.spwhitton.name/p5-Git-Annex \ + /snapshot/p5-Git-Annex-([\d\.]+)\.tar\.gz debian uupdate -- cgit v1.2.3