/[packages]/cauldron/perl-DateTime-TimeZone/current/SPECS/perl-DateTime-TimeZone.spec
ViewVC logotype

Contents of /cauldron/perl-DateTime-TimeZone/current/SPECS/perl-DateTime-TimeZone.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 638663 - (show annotations) (download)
Sun Jun 22 12:44:45 2014 UTC (10 years ago) by sander85
File size: 2267 byte(s)
update to 1.71
1 %define upstream_name DateTime-TimeZone
2 %define upstream_version 1.71
3
4 # circular dependency
5 %define _requires_exceptions perl(DateTime)\\|perl(DateTime::Duration)
6
7 Name: perl-%{upstream_name}
8 Version: %perl_convert_version %{upstream_version}
9 Release: %mkrel 1
10 Epoch: 1
11
12 Summary: Time zone object base class and factory
13 License: GPL+ or Artistic
14 Group: Development/Perl
15 Url: http://search.cpan.org/dist/%{upstream_name}
16 Source0: http://www.cpan.org/modules/by-module/DateTime/%{upstream_name}-%{upstream_version}.tar.gz
17
18 BuildRequires: perl(Class::Load)
19 BuildRequires: perl(Class::Singleton) >= 1.30.0
20 BuildRequires: perl(Cwd) >= 3.0.0
21 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.300.0
22 BuildRequires: perl(File::Basename)
23 BuildRequires: perl(File::Compare)
24 BuildRequires: perl(File::Copy)
25 BuildRequires: perl(File::Find)
26 BuildRequires: perl(File::Path)
27 BuildRequires: perl(File::Spec)
28 BuildRequires: perl(File::Spec::Functions)
29 BuildRequires: perl(File::Temp)
30 BuildRequires: perl(List::Util)
31 BuildRequires: perl(Params::Validate) >= 0.720.0
32 BuildRequires: perl(Storable)
33 BuildRequires: perl(Sys::Hostname)
34 BuildRequires: perl(Test::Fatal)
35 BuildRequires: perl(Test::More) >= 0.880.0
36 BuildRequires: perl(Test::Output)
37 BuildRequires: perl(Test::Requires)
38 BuildRequires: perl(base)
39 BuildRequires: perl(constant)
40 BuildRequires: perl(lib)
41 BuildRequires: perl(overload)
42 BuildRequires: perl(parent)
43 BuildRequires: perl(strict)
44 BuildRequires: perl(vars)
45 BuildRequires: perl(warnings)
46 BuildArch: noarch
47
48 Provides: perl(DateTime::TimeZoneCatalog)
49
50 %description
51 This perl module defines the base class for all time zone objects. A time zone
52 is represented internally as a set of observances, each of which describes the
53 offset from GMT for a given time period.
54
55 Note that without the DateTime.pm module, this module does not do much. Its
56 primary interface is through a DateTime object, and most users will not need to
57 directly use DateTime::TimeZone methods.
58
59 %prep
60 %setup -q -n %{upstream_name}-%{upstream_version}
61
62 %build
63 %{__perl} Makefile.PL INSTALLDIRS=vendor
64 %make
65
66 %check
67 %make test
68
69 %install
70 %makeinstall_std
71
72 %files
73 %doc Changes INSTALL LICENSE META.json META.yml MYMETA.yml README
74 %{perl_vendorlib}/DateTime
75 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.30