libcolor-scheme-perl (1.02-3) debian-dir only changes

Summary

 debian/changelog |   20 ++++++++++++++
 debian/compat    |    1 
 debian/control   |   15 ++++++++++
 debian/copyright |   18 +++++++++++++
 debian/rules     |   76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/watch     |    3 ++
 6 files changed, 133 insertions(+)

    
download this patch

Patch contents

--- libcolor-scheme-perl-1.02.orig/debian/watch
+++ libcolor-scheme-perl-1.02/debian/watch
@@ -0,0 +1,3 @@
+# format version number, currently 2; this line is compulsory!
+version=2
+http://www.cpan.org/modules/by-module/Color/Color-Scheme-(.*).(tar.gz|tar|tgz)
--- libcolor-scheme-perl-1.02.orig/debian/rules
+++ libcolor-scheme-perl-1.02/debian/rules
@@ -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.
+
+# 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
+
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
+	$(MAKE) test
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	dh_clean build-stamp install-stamp
+
+	# Add commands to clean up after the build process here
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	# Add commands to install the package into $(TMP) here
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
+
+	touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installexamples
+	dh_installdocs README
+	dh_installchangelogs Changes
+	dh_perl
+	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
--- libcolor-scheme-perl-1.02.orig/debian/compat
+++ libcolor-scheme-perl-1.02/debian/compat
@@ -0,0 +1 @@
+4
--- libcolor-scheme-perl-1.02.orig/debian/changelog
+++ libcolor-scheme-perl-1.02/debian/changelog
@@ -0,0 +1,20 @@
+libcolor-scheme-perl (1.02-3) unstable; urgency=low
+
+  * D'oh, ack NMU from Gunnar Wolf, adding libtest-differences-perl to
+    Build-Dep.  Thanks!
+
+ -- Ivan Kohler <ivan-debian@420.am>  Thu, 28 Feb 2008 16:23:50 -0800
+
+libcolor-scheme-perl (1.02-2) unstable; urgency=low
+
+  * Update debian/rules to current dh-make-perl template to fix "unconditional
+    rmdir" FTBFS (closes: Bug#467752)
+
+ -- Ivan Kohler <ivan-debian@420.am>  Wed, 27 Feb 2008 15:27:57 -0800
+
+libcolor-scheme-perl (1.02-1) unstable; urgency=low
+
+  * Initial Release (closes: Bug#366332).
+
+ -- Ivan Kohler <ivan-debian@420.am>  Sun,  7 May 2006 07:01:43 -0700
+
--- libcolor-scheme-perl-1.02.orig/debian/copyright
+++ libcolor-scheme-perl-1.02/debian/copyright
@@ -0,0 +1,18 @@
+This is the debian package for the Color-Scheme module.
+It was created by Ivan Kohler <ivan-debian@420.am> using dh-make-perl.
+
+The upstream author is: 
+
+Ian Langworth <ian.langworth@gmail.com>
+
+Copyright (C) 2005 Ian Langworth
+
+This license has been granted explictly by the author of Color Schemes 2. This
+program is free software; you can redistribute it and/or modify it under the
+same terms as Perl itself.
+
+Perl is distributed under your choice of the GNU General Public License or
+the Artistic License.  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'.
+
--- libcolor-scheme-perl-1.02.orig/debian/control
+++ libcolor-scheme-perl-1.02/debian/control
@@ -0,0 +1,15 @@
+Source: libcolor-scheme-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 4.0.2), libtest-differences-perl
+Build-Depends-Indep: perl (>= 5.8.0-7)
+Maintainer: Ivan Kohler <ivan-debian@420.am>
+Standards-Version: 3.6.1
+
+Package: libcolor-scheme-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, 
+Description: Perl module to generate pleasant color schemes
+ This module is a Perl implementation of Color Schemes 2
+ (http://wellstyled.com/tools/colorscheme2/index-en.html), a color scheme
+ generator.