--- libdatetime-format-pg-perl-0.16001.orig/debian/rules +++ libdatetime-format-pg-perl-0.16001/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-pg-perl-0.16001.orig/debian/watch +++ libdatetime-format-pg-perl-0.16001/debian/watch @@ -0,0 +1,3 @@ +# format version number, currently 3; this line is compulsory! +version=3 +http://search.cpan.org/dist/DateTime-Format-Pg/ .*/DateTime-Format-Pg-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libdatetime-format-pg-perl-0.16001.orig/debian/compat +++ libdatetime-format-pg-perl-0.16001/debian/compat @@ -0,0 +1 @@ +5 --- libdatetime-format-pg-perl-0.16001.orig/debian/copyright +++ libdatetime-format-pg-perl-0.16001/debian/copyright @@ -0,0 +1,22 @@ +This is the debian package for the DateTime-Format-Pg module. +It was created by gregor herrmann using dh-make-perl +and is maintained by the Debian Perl Group. + +The upstream author is: +Claus A. Färber +Currently maintained by Daisuke Maki . + +Upstream source location: http://search.cpan.org/dist/DateTime-Format-Pg/ + +Copyright © 2003 Claus A. Färber. 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'. --- libdatetime-format-pg-perl-0.16001.orig/debian/changelog +++ libdatetime-format-pg-perl-0.16001/debian/changelog @@ -0,0 +1,38 @@ +libdatetime-format-pg-perl (0.16001-2) unstable; urgency=low + + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: + Homepage pseudo-field (Description); XS-Vcs-Svn fields. + * debian/rules: + - delete /usr/lib/perl5 only if it exists (closes: #467739) + - update with dh-make-perl's help + - don't install README any more (no relevant info for users) + * debian/watch: use dist-based URL. + * debian/copyright: + - add upstream source location + - convert to UTF-8 + * Set Standards-Version to 3.7.3 (no changes). + + -- gregor herrmann Mon, 03 Mar 2008 19:44:58 +0100 + +libdatetime-format-pg-perl (0.16001-1) unstable; urgency=low + + * New upstream release + * Added myself to uploaders + * Homepage added to debian/control + + -- Rene Mayorga Thu, 28 Jun 2007 11:27:34 -0600 + +libdatetime-format-pg-perl (0.15-1) unstable; urgency=low + + * New upstream release + * debian/control: Added me to Uploaders + + -- Krzysztof Krzyzaniak (eloy) Fri, 20 Apr 2007 14:20:20 +0200 + +libdatetime-format-pg-perl (0.13-1) unstable; urgency=low + + * Initial Release (closes: #390227). + + -- gregor herrmann Sun, 8 Oct 2006 18:51:59 +0200 + --- libdatetime-format-pg-perl-0.16001.orig/debian/control +++ libdatetime-format-pg-perl-0.16001/debian/control @@ -0,0 +1,21 @@ +Source: libdatetime-format-pg-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: libdatetime-perl, libdatetime-timezone-perl, libdatetime-format-builder-perl, libtest-pod-perl, libtest-pod-coverage-perl +Maintainer: Debian Perl Group +Uploaders: gregor herrmann , Krzysztof Krzyzaniak (eloy) , Rene Mayorga +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/DateTime-Format-Pg/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdatetime-format-pg-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-format-pg-perl/ + +Package: libdatetime-format-pg-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, libdatetime-perl, libdatetime-timezone-perl, libdatetime-format-builder-perl +Description: Parse and format PostgreSQL dates and times + This module understands the formats used by PostgreSQL for its DATE, TIME, + TIMESTAMP, and INTERVAL data types. It can be used to parse these formats in + order to create DateTime or DateTime::Duration objects, and it can take a + DateTime or DateTime::Duration object and produce a string representing + it in a format accepted by PostgreSQL.