1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
|
# $Id: /local/debian/dists/libdatetime-perl/debian/packages 2 2005-11-23T13:58:03.728179Z svm $
# 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}
Source: libdatetime-perl
Section: perl
Priority: extra
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.6.2
Upstream-Source: <URL:http://www.cpan.org/modules/by-module/DateTime/DateTime-([0-9]*\.[3-9][0-9]*)\.tar.gz>
Description: perl DateTime - Reference implementation for Perl DateTime objects
Copyright: .
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.
.
Copyright 1989-2001, Larry Wall All rights reserved.
.
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)
%if %{without_no_test}
Build-Depends: libclass-factory-util-perl
Build-Depends: libdatetime-timezone-perl (>= 0.38)
Build-Depends: libparams-validate-perl (>= 0.69)
Build-Depends: libdatetime-locale-perl (>= 0.21)
%endif
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" 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: libclass-factory-util-perl
Depends: libdatetime-timezone-perl (>= 0.38)
Depends: libparams-validate-perl (>= 0.69)
Depends: libdatetime-locale-perl (>= 0.21), []
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
|