--- libdatetime-format-db2-perl-0.05.orig/debian/rules +++ libdatetime-format-db2-perl-0.05/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 + 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 --- libdatetime-format-db2-perl-0.05.orig/debian/watch +++ libdatetime-format-db2-perl-0.05/debian/watch @@ -0,0 +1,3 @@ +# format version number, currently 2; this line is compulsory! +version=3 +http://search.cpan.org/dist/DateTime-Format-DB2/ .*/DateTime-Format-DB2-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libdatetime-format-db2-perl-0.05.orig/debian/compat +++ libdatetime-format-db2-perl-0.05/debian/compat @@ -0,0 +1 @@ +5 --- libdatetime-format-db2-perl-0.05.orig/debian/copyright +++ libdatetime-format-db2-perl-0.05/debian/copyright @@ -0,0 +1,18 @@ +This is the debian package for the DateTime-Format-DB2 module. +It was created by gregor herrmann using dh-make-perl +and is maintained by the Debian Perl Group. + +The upstream author is: +Jess Robinson +This module was shamelessly cloned from Dave Rolsky's DateTime::Format::MySQL module.. + +Upstream source location: http://search.cpan.org/dist/DateTime-Format-DB2/ + +Copyright (c) 2005 Jess Robinson. All rights reserved. This program +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'. --- libdatetime-format-db2-perl-0.05.orig/debian/changelog +++ libdatetime-format-db2-perl-0.05/debian/changelog @@ -0,0 +1,27 @@ +libdatetime-format-db2-perl (0.05-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: #467756) + - minor cleanup (thanks, dh-make-perl) + * debian/watch: use dist-based URL. + * Set Standards-Version to 3.7.3 (no changes). + * debian/copyright: add upstream source location. + + -- gregor herrmann Mon, 03 Mar 2008 19:37:15 +0100 + +libdatetime-format-db2-perl (0.05-1) unstable; urgency=low + + * New upstream release + * debian/control: Added me to Uploaders + + -- Krzysztof Krzyzaniak (eloy) Mon, 30 Apr 2007 15:42:56 +0200 + +libdatetime-format-db2-perl (0.04-1) unstable; urgency=low + + * Initial Release (closes: #390264). + + -- gregor herrmann Sun, 8 Oct 2006 19:14:52 +0200 + --- libdatetime-format-db2-perl-0.05.orig/debian/control +++ libdatetime-format-db2-perl-0.05/debian/control @@ -0,0 +1,23 @@ +Source: libdatetime-format-db2-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: libdatetime-perl, libdatetime-format-builder-perl +Maintainer: Debian Perl Group +Uploaders: gregor herrmann , + Krzysztof Krzyzaniak (eloy) +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/DateTime-Format-DB2/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdatetime-format-db2-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-format-db2-perl/ + +Package: libdatetime-format-db2-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, libdatetime-perl, + libdatetime-format-builder-perl +Description: Parse and format DB2 dates and times + This module understands the formats used by DB2 for its DATE, + TIME, and TIMESTAMP data types. It can be used to parse + these formats in order to create DateTime objects, and it can take a + DateTime object and produce a string representing it in the DB2 + format.