--- libdatetime-format-mysql-perl-0.04.orig/debian/control +++ libdatetime-format-mysql-perl-0.04/debian/control @@ -0,0 +1,19 @@ +Source: libdatetime-format-mysql-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: perl, libmodule-build-perl, libdatetime-perl, libdatetime-format-builder-perl +Maintainer: Debian Perl Group +Uploaders: gregor herrmann , Niko Tyni +Standards-Version: 3.7.2 +XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-perl/packages/libdatetime-format-mysql-perl/trunk/ + +Package: libdatetime-format-mysql-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, libdatetime-perl, libdatetime-format-builder-perl +Description: Parse and format MySQL dates and times + This module understands the formats used by MySQL for its DATE, + DATETIME, 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 MySQL + format. --- libdatetime-format-mysql-perl-0.04.orig/debian/compat +++ libdatetime-format-mysql-perl-0.04/debian/compat @@ -0,0 +1 @@ +5 --- libdatetime-format-mysql-perl-0.04.orig/debian/watch +++ libdatetime-format-mysql-perl-0.04/debian/watch @@ -0,0 +1,3 @@ +# format version number, currently 3; this line is compulsory! +version=3 +http://www.cpan.org/modules/by-module/DateTime/DateTime-Format-MySQL-([\d\.]+)\.tar\.gz --- libdatetime-format-mysql-perl-0.04.orig/debian/changelog +++ libdatetime-format-mysql-perl-0.04/debian/changelog @@ -0,0 +1,13 @@ +libdatetime-format-mysql-perl (0.04-2) unstable; urgency=low + + * Add dependency on libdatetime-format-builder-perl. (Closes: #394165) + * Remove unnecessary versioning from the build dependency on perl (>= 5). + + -- Niko Tyni Fri, 20 Oct 2006 20:37:29 +0300 + +libdatetime-format-mysql-perl (0.04-1) unstable; urgency=low + + * Initial Release (closes: #387628). + + -- gregor herrmann Fri, 15 Sep 2006 17:21:34 +0200 + --- libdatetime-format-mysql-perl-0.04.orig/debian/copyright +++ libdatetime-format-mysql-perl-0.04/debian/copyright @@ -0,0 +1,14 @@ +This is the debian package for the DateTime-Format-MySQL module. +It was created by gregor herrmann using dh-make-perl, +and is maintained by the Debian Perl Group. + +The upstream author is: Dave Rolsky . + +Copyright (c) 2003 David Rolsky. 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-mysql-perl-0.04.orig/debian/rules +++ libdatetime-format-mysql-perl-0.04/debian/rules @@ -0,0 +1,81 @@ +#!/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. +# +# It was later modified by Jason Kohles +# http://www.jasonkohles.com/ to support Module::Build installed modules + +# 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 + + # Add commands to compile the package here + $(PERL) Build.PL installdirs=vendor + OPTIMIZE="-Wall -O2 -g" $(PERL) Build + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + # Add commands to clean up after the build process here + [ ! -f Build ] || $(PERL) Build distclean + + dh_clean build-stamp install-stamp + +install: build install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + + # Add commands to install the package into debian/$PACKAGE_NAME here + $(PERL) Build test + $(PERL) Build install destdir=$(TMP) + + touch install-stamp + +binary-arch: +# We have nothing to do by default. + +binary-indep: build install + dh_testdir + dh_testroot +# dh_installcron +# dh_installmenu +# dh_installexamples + 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