Merge ../cvt/liburi-template-perl into 0.06 0.06
authorIan Beckwith <ianb@erislabs.net>
Sat, 1 Mar 2008 00:30:19 +0000 (00:30 +0000)
committerIan Beckwith <ianb@erislabs.net>
Sat, 1 Mar 2008 00:30:19 +0000 (00:30 +0000)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0644]
debian/source.lintian-overrides [new file with mode: 0644]
debian/watch [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..603a2f0
--- /dev/null
@@ -0,0 +1,5 @@
+liburi-template-perl (0.06-1) unstable; urgency=low
+
+  * Initial Release (Closes: #420648).
+
+ -- Ian Beckwith <ianb@nessie.mcc.ac.uk>  Mon, 23 Apr 2007 20:53:24 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..700f5a0
--- /dev/null
@@ -0,0 +1,14 @@
+Source: liburi-template-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5), libmodule-build-perl
+Build-Depends-Indep: perl (>= 5.8.8-7), liburi-perl
+Maintainer: Ian Beckwith <ianb@nessie.mcc.ac.uk>
+Standards-Version: 3.7.2
+
+Package: liburi-template-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, liburi-perl
+Description: handle URI templates in perl
+ This is an initial attempt to provide a wrapper around URI templates as
+ described at http://bitworking.org/news/URI_Templates
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..f89b392
--- /dev/null
@@ -0,0 +1,32 @@
+This package was debianized by Ian Beckwith <ianb@nessie.mcc.ac.uk> on
+Mon, 23 Apr 2007 20:53:24 +0100.
+
+It was downloaded from
+<http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/URI-Template-0.06.tar.gz>.
+
+Upstream Author: Brian Cassidy <brian.cassidy@nald.ca>.
+
+License:
+
+       Copyright 2007 by Brian Cassidy
+
+       This library is free software; you can redistribute it and/or modify it
+       under the same terms as Perl itself.
+
+ Those terms are (from /usr/share/doc/perl/copyright):
+
+       This program is free software; you can redistribute it and/or modify
+       it under the terms of either:
+
+       a) the GNU General Public License as published by the Free Software
+       Foundation; either version 1, or (at your option) any later
+       version, or
+
+       b) the "Artistic License" which comes with Perl.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL' and
+the Artistic Licence in `/usr/share/common-licenses/Artistic'.
+
+The Debian packaging is (C) 2004-2007, Ian Beckwith <ianb@nessie.mcc.ac.uk> and
+is licensed under the same terms as Perl itself (see above).
diff --git a/debian/rules b/debian/rules
new file mode 100644 (file)
index 0000000..a3dd6b1
--- /dev/null
@@ -0,0 +1,76 @@
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc@dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
+#
+# It was later modified by Jason Kohles <email@jasonkohles.com>
+# http://www.jasonkohles.com/ to support Module::Build installed modules
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+       dh_testdir
+
+       $(PERL) Build.PL installdirs=vendor
+       OPTIMIZE="-Wall -O2 -g" $(PERL) Build
+
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+
+       # Add commands to clean up after the build process here
+       [ ! -f Build ] || $(PERL) Build distclean
+
+       dh_clean build-stamp install-stamp
+
+install: build install-stamp
+install-stamp:
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+
+       $(PERL) Build test
+       $(PERL) Build install destdir=$(TMP)
+
+       touch install-stamp
+
+binary-arch:
+# We have nothing to do by default.
+
+binary-indep: build install
+       dh_testdir
+       dh_testroot
+       dh_installdocs
+       dh_installchangelogs
+       dh_perl
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+source diff:
+       @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
new file mode 100644 (file)
index 0000000..155742d
--- /dev/null
@@ -0,0 +1 @@
+liburi-template-perl source: build-depends-without-arch-dep libmodule-build-perl
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..56ce91b
--- /dev/null
@@ -0,0 +1,3 @@
+version=3
+
+http://www.cpan.org/modules/by-module/URI/URI-Template-(.*)\.tar\.gz