--- libdir-purge-perl-1.02.orig/debian/rules +++ libdir-purge-perl-1.02/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 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 --- libdir-purge-perl-1.02.orig/debian/watch +++ libdir-purge-perl-1.02/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Dir-Purge/ .*/Dir-Purge-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libdir-purge-perl-1.02.orig/debian/compat +++ libdir-purge-perl-1.02/debian/compat @@ -0,0 +1 @@ +5 --- libdir-purge-perl-1.02.orig/debian/copyright +++ libdir-purge-perl-1.02/debian/copyright @@ -0,0 +1,19 @@ +This is the debian package for the Dir-Purge module. +It was created by Deepak Tripathi using dh-make-perl. + +Upstream source location: http://search.cpan.org/dist/Dir-Purge/ + +The upstream author is: +Johan Vromans (jvromans@squirrel.nl) wrote this module. + +Copyright (c) 2000, 2005 by Squirrel Consultancy. All rights reserved.This +program is free software; you can redistribute it and/or modify it +under the same terms as Perl itself. + +The full text of the license can be found in the LICENSE file included +with this module. + +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'. --- libdir-purge-perl-1.02.orig/debian/changelog +++ libdir-purge-perl-1.02/debian/changelog @@ -0,0 +1,21 @@ +libdir-purge-perl (1.02-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. + * debian/rules: + - delete /usr/lib/perl5 only if it exists (closes: #467817) + - update with dh-make-perl's help + * debian/watch: use dist-based URL. + * Set Standards-Version to 3.7.3 (no changes). + * debian/copyright: add years of copyright, make download URL + version-agnostic. + * Add /me to Uploaders. + + -- gregor herrmann Mon, 03 Mar 2008 19:53:58 +0100 + +libdir-purge-perl (1.02-1) unstable; urgency=low + + * Initial Release (Closes: #436798) + + -- Deepak Tripathi Sun, 12 Aug 2007 00:46:33 +0530 --- libdir-purge-perl-1.02.orig/debian/control +++ libdir-purge-perl-1.02/debian/control @@ -0,0 +1,20 @@ +Source: libdir-purge-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: perl (>= 5.8.8-7) +Maintainer: Debian Perl Group +Uploaders: Deepak Tripathi , + gregor herrmann +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Dir-Purge/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdir-purge-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libdir-purge-perl/ + +Package: libdir-purge-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends} +Description: Purge directories to a given number of files + Dir::Purge implements functions to reduce the number of files in a + directory according to a strategy. It currently provides one strategy: + removal of files by age.