initial import (rhbz#751809)
This commit is contained in:
parent
f7906e0b8f
commit
472fe1b2e9
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
|||||||
|
/DateTime-TimeZone-Tzfile-0.006.tar.gz
|
62
perl-DateTime-TimeZone-Tzfile.spec
Normal file
62
perl-DateTime-TimeZone-Tzfile.spec
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
Name: perl-DateTime-TimeZone-Tzfile
|
||||||
|
Version: 0.006
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Tzfile (zoneinfo) timezone files
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
Group: Development/Libraries
|
||||||
|
URL: http://search.cpan.org/dist/DateTime-TimeZone-Tzfile/
|
||||||
|
Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/DateTime-TimeZone-Tzfile-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(constant)
|
||||||
|
BuildRequires: perl(Date::ISO8601)
|
||||||
|
BuildRequires: perl(Date::JD) >= 0.005
|
||||||
|
BuildRequires: perl(DateTime::TimeZone::SystemV) >= 0.002
|
||||||
|
BuildRequires: perl(integer)
|
||||||
|
BuildRequires: perl(IO::File) >= 1.13
|
||||||
|
BuildRequires: perl(IO::Handle) >= 1.08
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
BuildRequires: perl(Params::Classify)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(Test::Pod)
|
||||||
|
BuildRequires: perl(Test::Pod::Coverage)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
Requires: perl(DateTime::TimeZone::SystemV) >= 0.002
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%{?perl_default_filter}
|
||||||
|
|
||||||
|
%description
|
||||||
|
An instance of this class represents a timezone that was encoded in a file
|
||||||
|
in the tzfile(5) format. These can express arbitrary patterns of offsets
|
||||||
|
from Universal Time, changing over time. Offsets and change times are
|
||||||
|
limited to a resolution of one second.
|
||||||
|
|
||||||
|
This class implements the DateTime::TimeZone interface, so that its instances
|
||||||
|
can be used with DateTime objects.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n DateTime-TimeZone-Tzfile-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Build.PL installdirs=vendor
|
||||||
|
./Build
|
||||||
|
|
||||||
|
%install
|
||||||
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
|
|
||||||
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
./Build test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc Changes README
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Oct 27 2011 Iain Arnell <iarnell@gmail.com> 0.006-1
|
||||||
|
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in New Issue
Block a user