r25265 - in /trunk/libdatetime-perl/debian: ./ changelog control packages rules watch

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Wed Sep 17 19:28:11 UTC 2008


Author: dmn
Date: Wed Sep 17 19:28:08 2008
New Revision: 25265

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=25265
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libdatetime-perl/debian/
    trunk/libdatetime-perl/debian/changelog
    trunk/libdatetime-perl/debian/control
    trunk/libdatetime-perl/debian/packages
    trunk/libdatetime-perl/debian/rules   (with props)
    trunk/libdatetime-perl/debian/watch

Added: trunk/libdatetime-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-perl/debian/changelog?rev=25265&op=file
==============================================================================
--- trunk/libdatetime-perl/debian/changelog (added)
+++ trunk/libdatetime-perl/debian/changelog Wed Sep 17 19:28:08 2008
@@ -1,0 +1,81 @@
+libdatetime-perl (2:0.42-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Piotr Roszatycki <dexter at debian.org>  Mon, 12 May 2008 17:11:59 +0200
+
+libdatetime-perl (2:0.41-1) unstable; urgency=low
+
+  * New upstream release.
+    - Depends: libdatetime-locale-perl (>= 1:0.35).
+
+ -- Piotr Roszatycki <dexter at debian.org>  Sun, 18 Nov 2007 20:47:19 +0100
+
+libdatetime-perl (2:0.40-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/packages:
+    - Depends: libdatetime-locale-perl (>= 0.34)
+    - Depends: libdatetime-timezone-perl (>= 1:0.59)
+    - Removed depends: libclass-factory-util-perl
+
+ -- Piotr Roszatycki <dexter at debian.org>  Mon, 10 Sep 2007 12:24:45 +0200
+
+libdatetime-perl (2:0.35-1) unstable; urgency=low
+
+  * New upstream release. Closes: #397532.
+  * Applied non-maintainer fixes:
+    - Closes #355982: FTBFS: Failed 1/36 test scripts.
+  * debian/packages:
+    - Depends: libdatetime-timezone-perl (>= 1:0.38).
+    - Depends: libparams-validate-perl (>= 0.76).
+    - Depends: libdatetime-locale-perl (>= 0.31).
+
+ -- Piotr Roszatycki <dexter at debian.org>  Wed, 15 Nov 2006 10:18:34 +0100
+
+libdatetime-perl (1:0.2901-1) unstable; urgency=low
+
+  * New upstream release. Closes: #314939.
+  * debian/packages:
+    - Depends: libdatetime-locale-perl (>= 0.21)
+    - Depends: libparams-validate-perl (>= 0.76). Closes: #306831.
+
+ -- Piotr Roszatycki <dexter at debian.org>  Mon, 18 Jul 2005 16:43:01 +0200
+
+libdatetime-perl (1:0.22-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Piotr Roszatycki <dexter at debian.org>  Mon,  9 Aug 2004 11:35:17 +0200
+
+libdatetime-perl (0.2101-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Piotr Roszatycki <dexter at debian.org>  Thu,  1 Jul 2004 12:31:34 +0200
+
+libdatetime-perl (0.1901-1) unstable; urgency=low
+
+  * New upstream release.
+  * Depends on versioned libparams-validate-perl, closes: #232407.
+
+ -- Piotr Roszatycki <dexter at debian.org>  Sun, 22 Feb 2004 14:52:54 +0100
+
+libdatetime-perl (0.1705-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Piotr Roszatycki <dexter at debian.org>  Fri, 31 Oct 2003 21:21:42 +0100
+
+libdatetime-perl (0.1601-2) unstable; urgency=low
+
+  * Build with yada 0.18, closes: #205835.
+
+ -- Piotr Roszatycki <dexter at debian.org>  Tue, 19 Aug 2003 17:03:46 +0200
+
+libdatetime-perl (0.1601-1) unstable; urgency=low
+
+  * Initial Debian version.
+
+ -- Piotr Roszatycki <dexter at debian.org>  Mon, 11 Aug 2003 23:23:38 +0200
+

Added: trunk/libdatetime-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-perl/debian/control?rev=25265&op=file
==============================================================================
--- trunk/libdatetime-perl/debian/control (added)
+++ trunk/libdatetime-perl/debian/control Wed Sep 17 19:28:08 2008
@@ -1,0 +1,24 @@
+Source: libdatetime-perl
+Maintainer: Piotr Roszatycki <dexter at debian.org>
+Section: perl
+Priority: extra
+Standards-Version: 3.7.3
+Build-Depends: perl (>= 5.8), libdatetime-locale-perl (>= 1:0.35), libdatetime-timezone-perl (>= 1:0.59), libparams-validate-perl (>= 0.76), yada (>= 0.54)
+Homepage: http://datetime.perl.org/
+Vcs-Browser: http://svn.debian.org/wsvn/cvsdebuild/trunk/debian/dists/libdatetime-perl/
+Vcs-Svn: svn://svn.debian.org/cvsdebuild/trunk/debian/dists/libdatetime-perl
+
+Package: libdatetime-perl
+Architecture: any
+Depends: libdatetime-locale-perl (>= 1:0.35), libdatetime-timezone-perl (>= 1:0.59), libparams-validate-perl (>= 0.76), ${libdatetime-perl:Depends}
+Description: perl DateTime - Reference implementation for Perl DateTime objects
+ The DateTime.pm module aims to provide a complete, correct, and easy
+ to use date/time object implementation.  Currently it handles many
+ date calculations, date math (addition and subtraction), and provides
+ many convenient methods for retrieving portions of a date/time.
+ .
+ This module properly supports the Olson time zone database, meaning
+ that historical time zone information, and more importantly, daylight
+ saving time rules, can be handled transparently, simply by setting the
+ correct time zone.  This is done by using the DateTime::TimeZone
+ module.

Added: trunk/libdatetime-perl/debian/packages
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-perl/debian/packages?rev=25265&op=file
==============================================================================
--- trunk/libdatetime-perl/debian/packages (added)
+++ trunk/libdatetime-perl/debian/packages Wed Sep 17 19:28:08 2008
@@ -1,0 +1,112 @@
+# If the debian/rules or debian/control file is missing, rebuild the file:
+#
+#   $ yada rebuild control
+#   $ yada rebuild rules
+
+
+# Environment variables:
+
+# don't run `make test'
+#   with_no_test=%{with_no_test}
+
+
+%define libdatetime_locale_perl_version 1:0.35
+%define libdatetime_timezone_perl_version 1:0.59
+%define libparams_validate_perl_version 0.76
+
+
+Source: libdatetime-perl
+Section: perl
+Priority: extra
+Maintainer: Piotr Roszatycki <dexter at debian.org>
+Standards-Version: 3.7.3
+Upstream-Source: http://www.cpan.org/modules/by-module/DateTime/
+%if %`dpkg --compare-versions %{YADA_VERSION} ge 0.54 && echo 1`
+Homepage: http://datetime.perl.org/
+Vcs-Browser: http://svn.debian.org/wsvn/cvsdebuild/trunk/debian/dists/libdatetime-perl/
+Vcs-Svn: svn://svn.debian.org/cvsdebuild/trunk/debian/dists/libdatetime-perl
+%endif
+Description: perl DateTime - Reference implementation for Perl DateTime objects
+Copyright: .
+ Copyright (c) 2003-2006 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.
+ .
+ The core implementations for the DateTime.pm and DateTime::Duration
+ modules originally came from Date::ICal and Date::ICal::Duration, both
+ of which were written by Rich Bowen <rbowen at rcbowen.com> with help
+ from the Reefknot team. Nowadays much of this code has been rewritten
+ to the point that it is fundamentally original work.
+ .
+ Parts of the API come from Time::Piece, by Matt Sergeant
+ <matt at sergeant.org>, who had help from Jarkko Hietaniemi <jhi at iki.fi>.
+ That API was originally created by Larry Wall. None of the code is
+ shared.
+ .
+ The DateTime::Locale functionality is based in part on the
+ Date::Language modules that come with Graham Barr's <gbarr at pobox.com>
+ TimeDate module suite.  The strftime method in this module also
+ borrows heavily from Graham's implementation.
+ .
+ The week number and week year algorithms were taken from Steffen
+ Beyer's Date::Calc module, but rewritten in Perl from scratch.
+ .
+ The code for handling nanoseconds and the code for leap seconds were
+ both largely written by Flavio Soibelmann Glock, who also has
+ contributed various other features and fixes.
+ .
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of either:
+ .
+ a) the GNU General Public License as published by the Free Software
+    Foundation; either version 1, or (at your option) any later
+    version, or
+ .
+ b) the "Artistic License" which comes with Perl.
+ .
+ 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'.
+Build-Depends: perl (>= 5.8)
+Build-Depends: libdatetime-locale-perl (>= %{libdatetime_locale_perl_version})
+Build-Depends: libdatetime-timezone-perl (>= %{libdatetime_timezone_perl_version})
+Build-Depends: libparams-validate-perl (>= %{libparams_validate_perl_version})
+Build: sh
+ CC=${CC:-gcc}
+ CFLAGS=${CFLAGS:--Wall -g}
+ if [ "${DEB_BUILD_OPTIONS#*noopt}" != "$DEB_BUILD_OPTIONS" ]; then
+     CFLAGS="$CFLAGS -O0"
+ else
+     CFLAGS="$CFLAGS -O2"
+ fi
+ PERL=${PERL:-/usr/bin/perl}
+ $PERL Makefile.PL INSTALLDIRS=vendor
+ make CC="$CC" LD="$CC" OPTIMIZE="$CFLAGS"
+%if %{without_no_test}
+ make test
+%endif
+Clean: sh
+ test -f Makefile && touch Makefile && make distclean || true
+
+Package: libdatetime-perl
+Architecture: any
+Depends: libdatetime-locale-perl (>= %{libdatetime_locale_perl_version})
+Depends: libdatetime-timezone-perl (>= %{libdatetime_timezone_perl_version})
+Depends: libparams-validate-perl (>= %{libparams_validate_perl_version})
+Depends: []
+Description: perl DateTime - Reference implementation for Perl DateTime objects
+ The DateTime.pm module aims to provide a complete, correct, and easy
+ to use date/time object implementation.  Currently it handles many
+ date calculations, date math (addition and subtraction), and provides
+ many convenient methods for retrieving portions of a date/time.
+ .
+ This module properly supports the Olson time zone database, meaning
+ that historical time zone information, and more importantly, daylight
+ saving time rules, can be handled transparently, simply by setting the
+ correct time zone.  This is done by using the DateTime::TimeZone
+ module.
+Install: sh
+ PERL=${PERL:-/usr/bin/perl}
+ make install PREFIX=$ROOT/usr
+ yada install -doc README
+ yada install -doc -as changelog Changes

Added: trunk/libdatetime-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-perl/debian/rules?rev=25265&op=file
==============================================================================
--- trunk/libdatetime-perl/debian/rules (added)
+++ trunk/libdatetime-perl/debian/rules Wed Sep 17 19:28:08 2008
@@ -1,0 +1,250 @@
+#!/usr/bin/make -f
+# Generated automatically from debian/packages
+# by yada v0.54, of Sun, 28 Oct 2007
+
+DEB_HOST_ARCH        := $(shell dpkg-architecture -qDEB_HOST_ARCH 2>/dev/null)
+DEB_HOST_ARCH_OS     := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
+DEB_HOST_ARCH_CPU    := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU 2>/dev/null)
+DEB_HOST_GNU_CPU     := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU 2>/dev/null)
+DEB_HOST_GNU_TYPE    := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE 2>/dev/null)
+DEB_HOST_GNU_SYSTEM  := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM 2>/dev/null)
+
+DEB_BUILD_ARCH       := $(shell dpkg-architecture -qDEB_BUILD_ARCH 2>/dev/null)
+DEB_BUILD_ARCH_OS    := $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS 2>/dev/null)
+DEB_BUILD_ARCH_CPU   := $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU 2>/dev/null)
+DEB_BUILD_GNU_CPU    := $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU 2>/dev/null)
+DEB_BUILD_GNU_TYPE   := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE 2>/dev/null)
+DEB_BUILD_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM 2>/dev/null)
+
+# Take account of old dpkg-architecture output.
+ifeq ($(DEB_HOST_ARCH_CPU),)
+  DEB_HOST_ARCH_CPU := $(DEB_HOST_GNU_CPU))
+  ifeq ($(DEB_HOST_ARCH_CPU),i486)
+    DEB_HOST_ARCH_OS := i386
+  else
+  ifeq ($(DEB_HOST_ARCH_CPU),x86_64)
+    DEB_HOST_ARCH_OS := amd64
+  endif
+  endif
+endif
+ifeq ($(DEB_HOST_ARCH_OS),)
+  DEB_HOST_ARCH_OS := $(subst -gnu,,$(DEB_HOST_GNU_SYSTEM))
+  ifeq ($(DEB_HOST_ARCH_OS),gnu)
+    DEB_HOST_ARCH_OS := hurd
+  endif
+endif
+ifeq ($(DEB_BUILD_ARCH_CPU),)
+  DEB_BUILD_ARCH_CPU := $(DEB_BUILD_GNU_CPU))
+  ifeq ($(DEB_BUILD_ARCH_CPU),i486)
+    DEB_BUILD_ARCH_OS := i386
+  else
+  ifeq ($(DEB_BUILD_ARCH_CPU),x86_64)
+    DEB_BUILD_ARCH_OS := amd64
+  endif
+  endif
+endif
+ifeq ($(DEB_BUILD_ARCH_OS),)
+  DEB_BUILD_ARCH_OS := $(subst -gnu,,$(DEB_BUILD_GNU_SYSTEM))
+  ifeq ($(DEB_BUILD_ARCH_OS),gnu)
+    DEB_BUILD_ARCH_OS := hurd
+  endif
+endif
+
+LEFT_PARENTHESIS:=(
+VERSION:=$(shell head -n1 debian/changelog | sed -e "s/^[0-9a-zA-Z.-]* $(LEFT_PARENTHESIS)//" -e "s/[^0-9a-zA-Z.:+~-].*//")
+
+SHELL=/bin/bash
+
+.PHONY: default
+default:
+	@echo "Specify a target:"; \
+	echo " build              compile the package"; \
+	echo " build-arch         compile the architecture-dependent package"; \
+	echo " build-indep        compile the architecture-independent package"; \
+	echo " binary             make all binary packages"; \
+	echo " binary-arch        make all architecture-dependent binary packages"; \
+	echo " binary-indep       make all architecture-independent binary packages"; \
+	echo " clean              clean up the source package"; \
+	echo; \
+	echo " clean-install-tree clean up only under debian/"; \
+	echo
+
+# Build the package and prepare the install tree
+
+.PHONY: build-only build
+build-only: debian/build-stamp
+build: build-only
+
+.PHONY: build-arch-only build-arch
+build-arch-only: debian/build-arch-stamp
+build-arch: build-arch-only
+
+.PHONY: build-indep-only build-indep
+build-indep-only: debian/build-indep-stamp
+build-indep: build-indep-only
+
+# Make sure these rules and the control file are up-to-date
+
+.PHONY: rules control templates
+rules: debian/rules
+debian/rules: $(shell which yada) debian/packages-tmp
+	yada rebuild rules
+
+control: debian/control
+debian/control: $(shell which yada) debian/packages-tmp
+	yada rebuild control
+
+templates: debian/templates debian/po/POTFILES.in
+debian/templates: $(shell which yada) debian/packages-tmp
+	yada rebuild templates
+debian/po/POTFILES.in: $(shell which yada) debian/packages-tmp
+	yada rebuild templates
+
+debian/build-stamp: debian/build-arch-stamp debian/build-indep-stamp
+	@[ -f $(shell which yada) -a -f debian/rules ]
+	@umask 022 \
+	  && export pwd="$$(pwd)" \
+	  && export TMPROOT="$$(pwd)/debian/tmp" \
+	  && export SOURCE="libdatetime-perl" \
+	  && export VERSION="$(VERSION)" \
+	  && export DEB_HOST_GNU_CPU="$(DEB_HOST_GNU_CPU)" \
+	  && export DEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \
+	  && export DEB_HOST_GNU_SYSTEM="$(DEB_HOST_GNU_SYSTEM)" \
+	  && export DEB_BUILD_GNU_CPU="$(DEB_BUILD_GNU_CPU)" \
+	  && export DEB_BUILD_GNU_TYPE="$(DEB_BUILD_GNU_TYPE)" \
+	  && export DEB_BUILD_GNU_SYSTEM="$(DEB_BUILD_GNU_SYSTEM)" && (\
+	echo -E 'eval "yada () { perl $$(which yada) \"\$$@\"; }"; set -e; set -v';\
+	echo -E 'CC=$${CC:-gcc}';\
+	echo -E 'CFLAGS=$${CFLAGS:--Wall -g}';\
+	echo -E 'if [ "$${DEB_BUILD_OPTIONS#*noopt}" != "$$DEB_BUILD_OPTIONS" ]; then';\
+	echo -E '    CFLAGS="$$CFLAGS -O0"';\
+	echo -E 'else';\
+	echo -E '    CFLAGS="$$CFLAGS -O2"';\
+	echo -E 'fi';\
+	echo -E 'PERL=$${PERL:-/usr/bin/perl}';\
+	echo -E '$$PERL Makefile.PL INSTALLDIRS=vendor';\
+	echo -E 'make CC="$$CC" LD="$$CC" OPTIMIZE="$$CFLAGS"';\
+	echo -E 'make test') | /bin/sh
+	touch debian/build-stamp
+
+debian/build-arch-stamp:
+	@[ -f $(shell which yada) -a -f debian/rules ]
+	touch debian/build-arch-stamp
+
+debian/build-indep-stamp: debian/build-arch-stamp
+	@[ -f $(shell which yada) -a -f debian/rules ]
+	touch debian/build-indep-stamp
+
+.PHONY: install-tree
+install-tree: install-tree-any
+install-tree-any: \
+	debian/tmp-libdatetime-perl/DEBIAN/control
+
+debian/tmp-libdatetime-perl/DEBIAN/control: debian/build-stamp debian/control
+	rm -rf debian/tmp-libdatetime-perl
+	umask 022 && install -d debian/tmp-libdatetime-perl/DEBIAN
+	install -d debian/tmp-libdatetime-perl/usr/share/doc/libdatetime-perl
+	umask 022; yada generate copyright libdatetime-perl \
+	  > debian/tmp-libdatetime-perl/usr/share/doc/libdatetime-perl/copyright
+	install -m 644 -p debian/changelog \
+	  debian/tmp-libdatetime-perl/usr/share/doc/libdatetime-perl/changelog.Debian
+	@umask 022 \
+	  && export pwd="$$(pwd)" \
+	  && export ROOT="$$(pwd)/debian/tmp-libdatetime-perl" \
+	  && export TMPROOT="$$(pwd)/debian/tmp" \
+	  && export CONTROL="$$(pwd)/debian/tmp-libdatetime-perl/DEBIAN" \
+	  && export PACKAGE="libdatetime-perl" \
+	  && export SOURCE="libdatetime-perl" \
+	  && export VERSION="$(VERSION)" \
+	  && export DEB_HOST_GNU_CPU="$(DEB_HOST_GNU_CPU)" \
+	  && export DEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \
+	  && export DEB_HOST_GNU_SYSTEM="$(DEB_HOST_GNU_SYSTEM)" \
+	  && export DEB_BUILD_GNU_CPU="$(DEB_BUILD_GNU_CPU)" \
+	  && export DEB_BUILD_GNU_TYPE="$(DEB_BUILD_GNU_TYPE)" \
+	  && export DEB_BUILD_GNU_SYSTEM="$(DEB_BUILD_GNU_SYSTEM)" && (\
+	echo -E 'eval "yada () { perl $$(which yada) \"\$$@\"; }"; set -e; set -v';\
+	echo -E 'PERL=$${PERL:-/usr/bin/perl}';\
+	echo -E 'make install PREFIX=$$ROOT/usr';\
+	echo -E 'yada install -doc README';\
+	echo -E 'yada install -doc -as changelog Changes') | /bin/sh
+	@umask 022 \
+	  && export pwd="$$(pwd)" \
+	  && export ROOT="$$(pwd)/debian/tmp-libdatetime-perl" \
+	  && export TMPROOT="$$(pwd)/debian/tmp" \
+	  && export CONTROL="$$(pwd)/debian/tmp-libdatetime-perl/DEBIAN" \
+	  && export PACKAGE="libdatetime-perl" \
+	  && export SOURCE="libdatetime-perl" \
+	  && export VERSION="$(VERSION)" && (\
+	echo -E 'eval "yada () { perl $$(which yada) \"\$$@\"; }"; set -e; set -v';\
+	echo -E 'yada perl';\
+	echo -E 'yada python';\
+	echo -E 'yada strip';\
+	echo -E 'yada shlibdeps') | /bin/sh
+	yada compress libdatetime-perl
+	yada generate maintscripts libdatetime-perl
+	find debian/tmp-libdatetime-perl -type f -print \
+	  | sed -n 's/^debian\/tmp-libdatetime-perl\(\/etc\/.*\)$$/\1/p' \
+	  > debian/tmp-libdatetime-perl/DEBIAN/conffiles
+	test -s debian/tmp-libdatetime-perl/DEBIAN/conffiles || rm -f debian/tmp-libdatetime-perl/DEBIAN/conffiles
+	yada rebuild control
+	yada generate substvars libdatetime-perl
+	umask 022 && dpkg-gencontrol -isp -plibdatetime-perl -Pdebian/tmp-libdatetime-perl
+
+# Build package files
+
+.PHONY: binary binary-arch binary-indep
+binary: binary-arch binary-indep
+binary-arch: binary-arch-any
+
+.PHONY: binary-arch-any
+binary-arch-any: \
+	binary-package-libdatetime-perl
+binary-indep:
+
+.PHONY: binary-package-libdatetime-perl
+binary-package-libdatetime-perl: check-root debian/tmp-libdatetime-perl/DEBIAN/control
+	@[ -f $(shell which yada) -a -f debian/rules ]
+	chown -R 0.0 debian/tmp-libdatetime-perl
+	chmod -R u=rwX,go=rX debian/tmp-libdatetime-perl
+	@if [ -d debian/tmp-libdatetime-perl/usr/doc/libdatetime-perl ]; then \
+	  echo "*** Yada warning: /usr/doc/libdatetime-perl should be /usr/share/doc/libdatetime-perl";\
+	fi
+	dpkg-deb --build debian/tmp-libdatetime-perl ..
+
+.PHONY: check-root
+check-root:
+	@[ `id -u` = 0 ] || (echo "You must be root to do this!"; false)
+
+debian/packages-tmp: debian/packages 
+	yada rebuild packages
+
+## Clean up afterwards
+
+.PHONY: clean clean-install-tree clean-build
+
+clean: clean-install-tree clean-build debian/control debian/rules
+	rm -f debian/packages-tmp debian/packages-tmp-new debian/packages-tmp-include
+
+clean-build:
+	@[ -f $(shell which yada) -a -f debian/rules ]
+	rm -f debian/build-stamp debian/build-arch-stamp debian/build-indep-stamp
+	@umask 022 \
+	  && export pwd="$$(pwd)" \
+	  && export TMPROOT="$$(pwd)/debian/tmp" \
+	  && export SOURCE="libdatetime-perl" \
+	  && export VERSION="$(VERSION)" \
+	  && export DEB_HOST_GNU_CPU="$(DEB_HOST_GNU_CPU)" \
+	  && export DEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \
+	  && export DEB_HOST_GNU_SYSTEM="$(DEB_HOST_GNU_SYSTEM)" \
+	  && export DEB_BUILD_GNU_CPU="$(DEB_BUILD_GNU_CPU)" \
+	  && export DEB_BUILD_GNU_TYPE="$(DEB_BUILD_GNU_TYPE)" \
+	  && export DEB_BUILD_GNU_SYSTEM="$(DEB_BUILD_GNU_SYSTEM)" && (\
+	echo -E 'eval "yada () { perl $$(which yada) \"\$$@\"; }"; set -e; set -v';\
+	echo -E 'test -f Makefile && touch Makefile && make distclean || true') | /bin/sh
+	yada unpatch
+	rm -rf debian/tmp
+
+clean-install-tree: debian/rules
+	@[ -f $(shell which yada) -a -f debian/rules ]
+	rm -f debian/install-tree-stamp
+	rm -rf debian/tmp-* debian/files* debian/substvars debian/shlibs.local debian/ucf

Propchange: trunk/libdatetime-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libdatetime-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-perl/debian/watch?rev=25265&op=file
==============================================================================
--- trunk/libdatetime-perl/debian/watch (added)
+++ trunk/libdatetime-perl/debian/watch Wed Sep 17 19:28:08 2008
@@ -1,0 +1,6 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+
+# upstream version 0.1234 -> debian version 0.12.34
+opts=uversionmangle=s/\.(\d\d)(\d\d)$/.$1.$2/ \
+    http://www.cpan.org/modules/by-module/DateTime/DateTime-([0-9.]+)\.tar.gz




More information about the Pkg-perl-cvs-commits mailing list