[libweb-mrest-cli-perl] 01/01: Initial packaging.

Jonas Smedegaard dr at jones.dk
Wed Mar 9 19:26:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libweb-mrest-cli-perl.

commit e0f2890349905ce29ff6045c85fd89086d8632d9
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Wed Mar 9 20:20:38 2016 +0100

    Initial packaging.
---
 debian/README.source            | 11 +++++++++
 debian/changelog                |  6 +++++
 debian/compat                   |  1 +
 debian/control                  | 45 ++++++++++++++++++++++++++++++++++++
 debian/control.in               | 22 ++++++++++++++++++
 debian/copyright                | 51 +++++++++++++++++++++++++++++++++++++++++
 debian/copyright_hints          | 42 +++++++++++++++++++++++++++++++++
 debian/gbp.conf                 |  5 ++++
 debian/rules                    | 45 ++++++++++++++++++++++++++++++++++++
 debian/source/format            |  1 +
 debian/source/lintian-overrides |  8 +++++++
 debian/watch                    |  4 ++++
 12 files changed, 241 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..8a1103d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libweb-mrest-cli-perl (0.280-1) unstable; urgency=low
+
+  * Initial packaging release.
+    Closes: bug#817268.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Wed, 09 Mar 2016 20:14:37 +0100
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..95b64b7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,45 @@
+Source: libweb-mrest-cli-perl
+Section: perl
+Priority: optional
+Build-Depends: cdbs,
+ devscripts,
+ perl,
+ libmodule-build-perl,
+ debhelper,
+ dh-buildinfo,
+ libapp-cell-perl,
+ libfile-sharedir-perl,
+ libhttp-message-perl,
+ libjson-perl,
+ liblwp-protocol-https-perl,
+ libwww-perl,
+ libmodule-runtime-perl,
+ libparams-validate-perl,
+ libpath-router-perl,
+ libplack-middleware-logerrors-perl,
+ libplack-middleware-session-perl,
+ libplack-perl,
+ libtry-tiny-perl,
+ liburi-perl,
+ libtest-deep-perl,
+ libtest-fatal-perl,
+ libtest-json-perl,
+ libtest-warnings-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.9.7
+Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libweb-mrest-cli-perl
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libweb-mrest-cli-perl.git
+Homepage: https://metacpan.org/pod/Web::MREST::CLI
+
+Package: libweb-mrest-cli-perl
+Architecture: all
+Depends: ${cdbs:Depends},
+ ${misc:Depends},
+ ${perl:Depends}
+Description: CLI components for Web::MEST-based applications
+ Web::MREST provides a fully functional REST server that can be started
+ with a simple command.
+ .
+ Web::MREST::CLI exports some "generalized" functions that are used
+ internally and might also be useful for writing CLI clients in general.
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..0d4d4f4
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,22 @@
+Source: libweb-mrest-cli-perl
+Section: perl
+Priority: optional
+Build-Depends: @cdbs@
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.9.7
+Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libweb-mrest-cli-perl
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libweb-mrest-cli-perl.git
+Homepage: https://metacpan.org/pod/Web::MREST::CLI
+
+Package: libweb-mrest-cli-perl
+Architecture: all
+Depends: ${cdbs:Depends},
+ ${misc:Depends},
+ ${perl:Depends}
+Description: CLI components for Web::MEST-based applications
+ Web::MREST provides a fully functional REST server that can be started
+ with a simple command.
+ .
+ Web::MREST::CLI exports some "generalized" functions that are used
+ internally and might also be useful for writing CLI clients in general.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8712cc0
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,51 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Web::MREST::CLI
+Upstream-Contact: mailto:bug-Web-MREST-CLI at rt.cpan.org
+ https://rt.cpan.org/Public/Dist/Display.html?Name=Web-MREST-CLI
+ https://github.com/smithfarm/mrest-cli/issues
+Source: https://github.com/smithfarm/mrest-cli
+ git://github.com/smithfarm/mrest-cli
+
+Files: *
+Copyright: 2014-2015, SUSE LLC
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2016, 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, or (at your option) any
+ later version.
+License: GPL-3+
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ 3. Neither the name of SUSE LLC nor the names of its contributors may
+ be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: GPL-3+
+License-Reference: /usr/share/common-licenses/GPL-3
diff --git a/debian/copyright_hints b/debian/copyright_hints
new file mode 100644
index 0000000..34edb6b
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,42 @@
+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
+ MANIFEST.SKIP
+ META.json
+ META.yml
+ README
+ README.md
+ debian/README.source
+ debian/compat
+ debian/control
+ debian/control.in
+ debian/gbp.conf
+ debian/source/format
+ debian/source/lintian-overrides
+ debian/watch
+Copyright: *No copyright*
+License: UNKNOWN
+ FIXME
+
+Files: LICENSE
+ bin/mrest-cli
+ config/CLI_Config.pm
+ config/CLI_Message_en.conf
+ config/CLI_MetaConfig.pm
+ lib/Web/MREST/CLI.pm
+ lib/Web/MREST/CLI/Parser.pm
+Copyright: 2014-2015, SUSE LLC
+License: BSD-3-clause
+ FIXME
+
+Files: debian/rules
+Copyright: 2016, Jonas Smedegaard <dr at jones.dk>
+License: GPL-3+
+ FIXME
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..a7281f9
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,5 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e517816
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,45 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright 2016, Jonas Smedegaard <dr at jones.dk>
+# Description: Main Debian packaging script for Web::MREST::CLI
+#
+# 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/rules/upstream-tarball.mk
+include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/class/perl-build.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+pkg = $(DEB_SOURCE_PACKAGE)
+
+DEB_UPSTREAM_PACKAGE = Web-MREST-CLI
+DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/Web
+
+# Build-depend unversioned on debhelper
+#  TODO: Drop when adopted in cdbs
+CDBS_BUILD_DEPENDS_rules_debhelper_v9 = debhelper
+
+# Needed by upstream build and (always) at runtime
+perl-deps = app-cell file-sharedir http-message json lwp-protocol-https
+perl-deps += www module-runtime params-validate path-router
+perl-deps += plack-middleware-logerrors plack-middleware-session plack
+perl-deps += try-tiny uri
+deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps))
+
+# Needed by upstream testsuite
+perl-bdeps-test = deep fatal json warnings
+bdeps-test = $(patsubst %,$(comma) libtest-%-perl,$(perl-bdeps-test))
+
+CDBS_BUILD_DEPENDS +=, $(deps), $(bdeps-test)
+CDBS_DEPENDS_$(pkg) = $(deps)
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/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..dce4650
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,8 @@
+# License is in License-Reference field (see bug#786450)
+missing-license-text-in-dep5-copyright
+
+# License is in License-Reference field (see bug#786450)
+missing-license-paragraph-in-dep5-copyright
+
+# Debhelper 9 is satisfied even in oldstable
+package-needs-versioned-debhelper-build-depends 9
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..07f0598
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# Run the "uscan" command to check for upstream updates and more.
+version=4
+https://metacpan.org/release/Web-MREST-CLI/ .*/Web-MREST-CLI-([\d.]+)\.tar\.gz
+http://www.cpan.org/modules/by-module/Web/Web-MREST-CLI-([\d.]+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libweb-mrest-cli-perl.git



More information about the Pkg-perl-cvs-commits mailing list