--- libcpan-mini-perl-0.40.orig/debian/changelog +++ libcpan-mini-perl-0.40/debian/changelog @@ -0,0 +1,6 @@ +libcpan-mini-perl (0.40-1) unstable; urgency=low + + * Initial Release. + + -- Florian Ragwitz Mon, 12 Jun 2006 00:17:09 +0200 + --- libcpan-mini-perl-0.40.orig/debian/rules +++ libcpan-mini-perl-0.40/debian/rules @@ -0,0 +1,56 @@ +#!/usr/bin/make -f + +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) + touch build-stamp + +clean: + dh_testdir + dh_testroot + [ ! -f Makefile ] || $(MAKE) realclean + dh_clean build-stamp install-stamp + +install: build install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) test + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5 + 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_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 --- libcpan-mini-perl-0.40.orig/debian/compat +++ libcpan-mini-perl-0.40/debian/compat @@ -0,0 +1 @@ +5 --- libcpan-mini-perl-0.40.orig/debian/copyright +++ libcpan-mini-perl-0.40/debian/copyright @@ -0,0 +1,24 @@ +This is the debian package for the CPAN-Mini module. +It was created by Florian Ragwitz using dh-make-perl. + +The upstream authors are: + +Randal Schwartz did all the work. + +Ricardo SIGNES made a module and distribution. + +Copyright (C) 2004 Randal Schwartz, Ricardo SIGNES. + +This software is released 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'. --- libcpan-mini-perl-0.40.orig/debian/control +++ libcpan-mini-perl-0.40/debian/control @@ -0,0 +1,19 @@ +Source: libcpan-mini-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: perl (>= 5.8.0-7), liburi-perl, libcompress-zlib-perl, libwww-perl, libtest-pod-perl, libtest-pod-coverage-perl +Maintainer: Florian Ragwitz +Standards-Version: 3.7.2 + +Package: libcpan-mini-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, liburi-perl, libcompress-zlib-perl, libfile-homedir-perl, libwww-perl +Description: create a minimal mirror of CPAN + CPAN::Mini provides a simple mechanism to build and update a minimal mirror of + the CPAN on your local disk. It contains only those files needed to install + the newest version of every distribution. + . + This package also contains the minicpan commandline utility, which is a thin + wrapper around the CPAN::Mini module, which creates and updates local CPAN + mirrors without the need write a single line of Perl code.