--- libtree-perl-1.01.orig/debian/rules +++ libtree-perl-1.01/debian/rules @@ -0,0 +1,77 @@ +#!/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. +# +# It was later modified by Jason Kohles +# 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 + + # Add commands to compile the package here + $(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 + + # Add commands to install the package into debian/$PACKAGE_NAME here + #$(PERL) Build test + $(PERL) Build install destdir=$(TMP) + + test -d $(TMP)/usr/lib && rm -rf $(TMP)/usr/lib || true + + touch install-stamp + +binary-arch: +# We have nothing to do by default. + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs Changes + dh_perl + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- libtree-perl-1.01.orig/debian/compat +++ libtree-perl-1.01/debian/compat @@ -0,0 +1 @@ +5 --- libtree-perl-1.01.orig/debian/copyright +++ libtree-perl-1.01/debian/copyright @@ -0,0 +1,29 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Maintainer: Rob Kinyon +Source: http://search.cpan.org/dist/Tree/ +Name: Tree + +Files: * +Copyright: 2004-2005, Infinity Interactive Inc +License: Artistic or GPL-1+ + +Files: debian/* +Copyright: 2008, Javier Uruen Val + 2010, Angel Abad +License: Artistic or GPL-1+ + +License: Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + . + On Debian GNU/Linux systems, the complete text of the Artistic License + can be found in `/usr/share/common-licenses/Artistic' + +License: GPL-1+ + 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 1, or (at your option) + any later version. + . + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL' --- libtree-perl-1.01.orig/debian/control +++ libtree-perl-1.01/debian/control @@ -0,0 +1,17 @@ +Source: libtree-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0.0), perl (>= 5.6.0-16), libmodule-build-perl +Build-Depends-Indep: libtest-exception-perl, libtest-warn-perl, libtest-deep-perl +Maintainer: Ubuntu MOTU Developers +Standards-Version: 3.8.4 +Homepage: http://search.cpan.org/dist/Tree/ + +Package: libtree-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends} +Description: an N-ary tree Perl module derived from Tree::Simple + This is meant to be a full-featured N-ary tree representation with + configurable error-handling and a simple events system that allows for + transparent persistence to a variety of datastores. It is derived from + Tree::Simple, but has a simpler interface and much, much more. --- libtree-perl-1.01.orig/debian/changelog +++ libtree-perl-1.01/debian/changelog @@ -0,0 +1,16 @@ +libtree-perl (1.01-0ubuntu2) lucid; urgency=low + + * debian/control: + - Add misc:Depends to Depends + - Add homepage field + * Add debian/watch file + * Update debian/copyright to new specification + * Bump Standards-Version to 3.8.4 (LP: #519472) + + -- Angel Abad Tue, 09 Feb 2010 20:55:43 +0100 + +libtree-perl (1.01-0ubuntu1) hardy; urgency=low + + * Initial Release (LP: #184166) + + -- Javier Uruen Val Thu, 17 Jan 2008 12:56:58 -1000 --- libtree-perl-1.01.orig/debian/watch +++ libtree-perl-1.01/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Tree/ .*/Tree-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$