--- libdatetime-format-pg-perl-0.13.orig/debian/control +++ libdatetime-format-pg-perl-0.13/debian/control @@ -0,0 +1,19 @@ +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 +Standards-Version: 3.7.2 +XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-perl/packages/libdatetime-format-pg-perl/trunk/ + +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. --- libdatetime-format-pg-perl-0.13.orig/debian/compat +++ libdatetime-format-pg-perl-0.13/debian/compat @@ -0,0 +1 @@ +5 --- libdatetime-format-pg-perl-0.13.orig/debian/watch +++ libdatetime-format-pg-perl-0.13/debian/watch @@ -0,0 +1,3 @@ +# format version number, currently 3; this line is compulsory! +version=3 +http://mirrors.kernel.org/cpan/modules/by-module/DateTime/DateTime-Format-Pg-([\d\.]+)\.tar\.gz --- libdatetime-format-pg-perl-0.13.orig/debian/changelog +++ libdatetime-format-pg-perl-0.13/debian/changelog @@ -0,0 +1,6 @@ +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.13.orig/debian/copyright +++ libdatetime-format-pg-perl-0.13/debian/copyright @@ -0,0 +1,21 @@ +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 . + + +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.13.orig/debian/rules +++ libdatetime-format-pg-perl-0.13/debian/rules @@ -0,0 +1,74 @@ +#!/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) OPTIMIZE="-Wall -O2 -g" + + 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 README + dh_installchangelogs Changes + dh_perl + dh_link + dh_strip + 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