--- libtime-duration-parse-perl-0.06.orig/debian/control +++ libtime-duration-parse-perl-0.06/debian/control @@ -0,0 +1,22 @@ +Source: libtime-duration-parse-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5), quilt (>= 0.40) +Build-Depends-Indep: perl (>= 5.6.10-12), libexporter-lite-perl, + libtime-duration-perl +Maintainer: Debian Perl Group +Uploaders: AGOSTINI Yves +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Time-Duration-Parse/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtime-duration-parse-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libtime-duration-parse-perl/ + +Package: libtime-duration-parse-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, libexporter-lite-perl, + libtime-duration-perl +Description: Parse string that represents time duration + Time::Duration::Parse is a module to parse human readable duration + strings like 2 minutes and 3 seconds to seconds. + . + parse_duration '6 Minutes and 3 seconds' == 363 ; --- libtime-duration-parse-perl-0.06.orig/debian/copyright +++ libtime-duration-parse-perl-0.06/debian/copyright @@ -0,0 +1,30 @@ +This is the debian package for the Time-Duration-Parse module. + +It was downloaded from http://search.cpan.org/dist/Time-Duration-Parse/ + +The upstream author is: + +Copyright 2006-2008 by Tatsuhiko Miyagawa . + + +This library is free software; you can redistribute it and/or modify +it under the same terms as Perl itself. + +Some internal code in lib/Time/Duration/Parse.pm is taken from Cache and +Cache::Cache modules on CPAN. +Cache is Copyright (C) 2003-2006 Chris Leishman. All Rights Reserved. +Cache::Cache is Copyright (C) 2001-2006 DeWitt Clinton All Rights Reserved +Both modules are released under the same terms as Perl itself. + +Perl is distributed under either the Artistic licence or the GPL. + +The full text of the GPL is available on Debian systems in +/usr/share/common-licenses/GPL + +The full text of the Artistic Licence is available on Debian systems in +/usr/share/common-licenses/Artistic. + + +The Debian packaging is (C) 2008, Debian Perl Group + and +is licensed under the same terms as the software itself (see above). --- libtime-duration-parse-perl-0.06.orig/debian/watch +++ libtime-duration-parse-perl-0.06/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/Time-Duration-Parse/ .*/Time-Duration-Parse-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libtime-duration-parse-perl-0.06.orig/debian/compat +++ libtime-duration-parse-perl-0.06/debian/compat @@ -0,0 +1 @@ +5 --- libtime-duration-parse-perl-0.06.orig/debian/changelog +++ libtime-duration-parse-perl-0.06/debian/changelog @@ -0,0 +1,16 @@ +libtime-duration-parse-perl (0.06-1) unstable; urgency=low + + [ AGOSTINI Yves ] + * New upstream release + + [ gregor herrmann ] + * Add patch pod-error.patch; adds a missing "=back" to the inline POD; add + quilt framework. + + -- AGOSTINI Yves Sun, 01 Jun 2008 21:11:47 +0200 + +libtime-duration-parse-perl (0.05-1) unstable; urgency=low + + * Initial Release (Closes: #476410) + + -- AGOSTINI Yves Wed, 16 Apr 2008 10:00:35 +0200 --- libtime-duration-parse-perl-0.06.orig/debian/rules +++ libtime-duration-parse-perl-0.06/debian/rules @@ -0,0 +1,62 @@ +#!/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 + +include /usr/share/quilt/quilt.make + +PERL ?= /usr/bin/perl +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test + touch $@ + +clean: unpatch + 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 + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libtime-duration-parse-perl-0.06.orig/debian/patches/series +++ libtime-duration-parse-perl-0.06/debian/patches/series @@ -0,0 +1 @@ +pod-error.patch --- libtime-duration-parse-perl-0.06.orig/debian/patches/pod-error.patch +++ libtime-duration-parse-perl-0.06/debian/patches/pod-error.patch @@ -0,0 +1,14 @@ +Author: gregor herrmann +Description: small error in POD + +--- libtime-duration-parse-perl.orig/lib/Time/Duration/Parse.pm ++++ libtime-duration-parse-perl/lib/Time/Duration/Parse.pm +@@ -88,6 +88,8 @@ + error in a given string, it dies an exception saying "Unknown + timespec: blah blah blah". This function is exported by default. + ++=back ++ + =head1 AUTHOR + + Tatsuhiko Miyagawa Emiyagawa@bulknews.netE