--- librelative-perl-0.04.orig/debian/control +++ librelative-perl-0.04/debian/control @@ -0,0 +1,28 @@ +Source: librelative-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5), libmodule-build-perl +Build-Depends-Indep: perl (>= 5.6.10-12), libuniversal-require-perl, libtest-pod-perl, libtest-pod-coverage-perl +Maintainer: Debian Perl Group +Uploaders: Edi Stojicevic +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/relative/ + +Package: librelative-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, libuniversal-require-perl +Description: Load modules with relative names + This module allows you to load modules using only parts of their name, + relatively to the current module or to a given module. Module names are + by default searched below the current module, but can be searched upper + in the hierarchy using the ..:: syntax. + . + In order to further loosen the namespace coupling, import returns + the full names of the loaded modules, making object-oriented code easier + to write: + . + use relative; + . + my ($Maker, $Publisher) = import relative qw(Create Publish); + my $report = $Maker->new; + my $publisher = $Publisher->new; --- librelative-perl-0.04.orig/debian/copyright +++ librelative-perl-0.04/debian/copyright @@ -0,0 +1,19 @@ +This is the debian package for the relative module. +The Debian packaging is (C) 2008, Edi Stojicevic and +is licensed under the same terms as the software itself (see below). + +Upstream author: Sébastien Aperghis-Tramoni + +Upstream source location: http://search.cpan.org/dist/relative/ + +License and copyright: + + Copyright 2007 Sébastien Aperghis-Tramoni, all rights reserved. + + This module 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'. --- librelative-perl-0.04.orig/debian/watch +++ librelative-perl-0.04/debian/watch @@ -0,0 +1,4 @@ +# format version number, currently 3; this line is compulsory! +version=3 +# URL to the package page followed by a regex to search +http://search.cpan.org/dist/relative/ .*/relative-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- librelative-perl-0.04.orig/debian/compat +++ librelative-perl-0.04/debian/compat @@ -0,0 +1 @@ +5 --- librelative-perl-0.04.orig/debian/changelog +++ librelative-perl-0.04/debian/changelog @@ -0,0 +1,5 @@ +librelative-perl (0.04-1) unstable; urgency=low + + * Initial Release. (Closes: #478518) + + -- Edi Stojicevic Wed, 30 Apr 2008 17:22:20 +0100 --- librelative-perl-0.04.orig/debian/rules +++ librelative-perl-0.04/debian/rules @@ -0,0 +1,60 @@ +#!/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 + +PERL ?= /usr/bin/perl +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + $(PERL) Build.PL installdirs=vendor + $(PERL) Build + $(PERL) Build test + touch $@ + +clean: + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + [ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + $(PERL) Build install destdir=$(TMP) create_packlist=0 + touch $@ + +binary-arch: +# We have nothing to do here for an architecture-independent package + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs Changes + dh_installdocs + dh_perl + 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 install