--- libclass-throwable-perl-0.10.orig/debian/control +++ libclass-throwable-perl-0.10/debian/control @@ -0,0 +1,22 @@ +Source: libclass-throwable-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5) +Build-Depends-Indep: perl (>= 5.8.0-7), libtest-pod-perl, libtest-pod-coverage-perl +Maintainer: Debian Perl Group +Uploaders: Krzysztof Krzyzaniak (eloy) , + gregor herrmann +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Class-Throwable/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libclass-throwable-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-throwable-perl/ + +Package: libclass-throwable-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, +Description: A minimal lightweight exception class + This module implements a minimal lightweight exception object. It is meant to + be a compromise between more basic solutions like Carp which can only print + information and cannot handle exception objects, and more more complex + solutions like Exception::Class which can be used to define complex inline + exceptions and has a number of module dependencies. --- libclass-throwable-perl-0.10.orig/debian/rules +++ libclass-throwable-perl-0.10/debian/rules @@ -0,0 +1,70 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt 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 + + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test + + touch $@ + +clean: + dh_testdir + dh_testroot + + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) realclean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + + $(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_installdocs + 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 install --- libclass-throwable-perl-0.10.orig/debian/watch +++ libclass-throwable-perl-0.10/debian/watch @@ -0,0 +1,3 @@ +# format version number, currently 2; this line is compulsory! +version=3 +http://search.cpan.org/dist/Class-Throwable/ .*/Class-Throwable-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libclass-throwable-perl-0.10.orig/debian/copyright +++ libclass-throwable-perl-0.10/debian/copyright @@ -0,0 +1,23 @@ +This is the debian package for the Class::Throwable module. +It was created by Krzysztof Krzyzaniak (eloy) using dh-make-perl. + +It was downloaded from http://mirrors.kernel.org/cpan/modules/by-module/Class/ + +The upstream author is: stevan little, . + +Copyright (C) 2004 Infinity Interactive, Inc. http://www.iinteractive.com + +This program is free software, you can redistribute it and/or modify it under +the same terms as Perl itself. + +Perl is distributed under licenses: + + 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'. --- libclass-throwable-perl-0.10.orig/debian/compat +++ libclass-throwable-perl-0.10/debian/compat @@ -0,0 +1 @@ +5 --- libclass-throwable-perl-0.10.orig/debian/changelog +++ libclass-throwable-perl-0.10/debian/changelog @@ -0,0 +1,21 @@ +libclass-throwable-perl (0.10-2) unstable; urgency=low + + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: XS- + Vcs-Svn fields. Added: /me to Uploaders. + * debian/rules: + - delete /usr/lib/perl5 only if it exists (closes: #467722) + - update with dh-make-perl's help + - don't install almost empty README any more + * debian/watch: use dist-based URL. + * Set Standards-Version to 3.7.3 (no changes). + * Set debhelper compatibility level to 5. + + -- gregor herrmann Fri, 07 Mar 2008 16:17:10 +0100 + +libclass-throwable-perl (0.10-1) unstable; urgency=low + + * Initial Release (closes: #350582). + + -- Krzysztof Krzyzaniak (eloy) Mon, 30 Jan 2006 15:16:22 +0100 +