File: packages

package info (click to toggle)
libdatetime-timezone-perl 1%3A0.77.01-1%2B2008c
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 4,208 kB
  • ctags: 2,636
  • sloc: perl: 3,691; sh: 56
file content (92 lines) | stat: -rw-r--r-- 3,470 bytes parent folder | download
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
87
88
89
90
91
92
# 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-timezone-perl
Section: perl
Priority: extra
Maintainer: Piotr Roszatycki <dexter@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/libdatetime-timezone-perl/
Vcs-Svn: svn://svn.debian.org/cvsdebuild/libdatetime-timezone-perl
%endif
Description: perl DateTime::TimeZone - Time zone object base class and factory
Copyright: .
 Copyright (c) 2003-2007 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.
 .
 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'.
 .
 .
 The Perl library is based on Olson Database, the public domain database which
 is a collaborative compilation of information about the world's time zones.
 .
 The Olson Database was downloaded from ftp://elsie.nci.nih.gov/pub/
Build-Depends-Indep: perl (>= 5.8), libmodule-build-perl
Build-Depends-Indep: libfile-find-rule-perl, libdatetime-perl
%if %{without_no_test}
Build-Depends-Indep: libclass-singleton-perl, libparams-validate-perl
%endif
Build-Indep: sh
 PERL=${PERL:-/usr/bin/perl}
 .
 # Rebuild database - the db version is after last dot in package version.
 chmod -R u+w .
 test -d lib.bak || cp -a lib lib.bak
 test -f MANIFEST.bak || cp -a MANIFEST MANIFEST.bak
 dbversion=${VERSION##*+}
 $PERL -Ilib.bak tools/parse_olson --dir debian/tzdata --version $dbversion --clean
 .
 $PERL Build.PL installdirs=vendor
 $PERL Build
%if %{without_no_test}
 $PERL Build test
%endif
Clean: sh
 PERL=${PERL:-/usr/bin/perl}
 test -f Build && $PERL Build distclean || true
 test -d lib.bak && { rm -rf lib && mv -f lib.bak lib; } || true
 test -f MANIFEST.bak && { rm -f MANIFEST && mv -f MANIFEST.bak MANIFEST; } || true

Package: libdatetime-timezone-perl
Architecture: all
Depends: libclass-singleton-perl, libparams-validate-perl
Description: perl DateTime::TimeZone - Time zone object base class and factory
 The DateTime::TimeZone modules provide a Perl interface to the Olson
 time zone database.  Rather than using the database directly, the library
 provides a set of modules, one for each time zone defined.  This allows for
 various optimizations in doing time zone calculations.
 .
 The Olson time zone database is the best available source for world
 wide time zone information.  It is available from
 ftp://elsie.nci.nih.gov/pub/.  A good starting point for information
 on the database, and time zones in general, is
 http://www.twinsun.com/tz/tz-link.htm.
Install: sh
 PERL=${PERL:-/usr/bin/perl}
 $PERL Build install destdir=$ROOT
 yada install -doc README
 yada install -doc -as changelog Changes