|
|
6483dfc |
Name: perl-Date-ISO8601
|
|
|
6483dfc |
Version: 0.004
|
|
|
479ddca |
Release: 4%{?dist}
|
|
|
6483dfc |
Summary: Three ISO 8601 numerical calendars
|
|
|
6483dfc |
License: GPL+ or Artistic
|
|
|
6483dfc |
Group: Development/Libraries
|
|
|
6483dfc |
URL: http://search.cpan.org/dist/Date-ISO8601/
|
|
|
6483dfc |
Source0: http://www.cpan.org/modules/by-module/Date/Date-ISO8601-%{version}.tar.gz
|
|
|
6483dfc |
BuildArch: noarch
|
|
|
6483dfc |
BuildRequires: perl(Carp)
|
|
|
6483dfc |
BuildRequires: perl(constant)
|
|
|
6483dfc |
BuildRequires: perl(Exporter)
|
|
|
6483dfc |
BuildRequires: perl(integer)
|
|
|
6483dfc |
BuildRequires: perl(Module::Build)
|
|
|
6483dfc |
BuildRequires: perl(parent)
|
|
|
6483dfc |
BuildRequires: perl(strict)
|
|
|
6483dfc |
BuildRequires: perl(Test::More)
|
|
|
6483dfc |
BuildRequires: perl(Test::Pod)
|
|
|
6483dfc |
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
6483dfc |
BuildRequires: perl(warnings)
|
|
|
6483dfc |
Requires: perl(Exporter)
|
|
|
6483dfc |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
6483dfc |
|
|
|
6483dfc |
%{?perl_default_filter}
|
|
|
6483dfc |
|
|
|
6483dfc |
%description
|
|
|
6483dfc |
The international standard ISO 8601 "Data elements and interchange formats
|
|
|
6483dfc |
- Information interchange - Representation of dates and times" defines
|
|
|
6483dfc |
three distinct calendars by which days can be labeled. It also defines
|
|
|
6483dfc |
textual formats for the representation of dates in these calendars. This
|
|
|
6483dfc |
module provides functions to convert dates between these three calendars
|
|
|
6483dfc |
and Chronological Julian Day Numbers, which is a suitable format to do
|
|
|
6483dfc |
arithmetic with. It also supplies functions that describe the shape of
|
|
|
6483dfc |
these calendars, to assist in calendrical calculations. It also supplies
|
|
|
6483dfc |
functions to represent dates textually in the ISO 8601 formats. ISO 8601
|
|
|
6483dfc |
also covers time of day and time periods, but this module does nothing
|
|
|
6483dfc |
relating to those parts of the standard; this is only about labeling days.
|
|
|
6483dfc |
|
|
|
6483dfc |
%prep
|
|
|
6483dfc |
%setup -q -n Date-ISO8601-%{version}
|
|
|
6483dfc |
|
|
|
6483dfc |
%build
|
|
|
6483dfc |
%{__perl} Build.PL installdirs=vendor
|
|
|
6483dfc |
./Build
|
|
|
6483dfc |
|
|
|
6483dfc |
%install
|
|
|
6483dfc |
./Build install destdir=%{buildroot} create_packlist=0
|
|
|
6483dfc |
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
6483dfc |
|
|
|
6483dfc |
%{_fixperms} %{buildroot}/*
|
|
|
6483dfc |
|
|
|
6483dfc |
%check
|
|
|
6483dfc |
./Build test
|
|
|
6483dfc |
|
|
|
6483dfc |
%files
|
|
|
6483dfc |
%doc Changes README
|
|
|
6483dfc |
%{perl_vendorlib}/*
|
|
|
6483dfc |
%{_mandir}/man3/*
|
|
|
6483dfc |
|
|
|
6483dfc |
%changelog
|
|
|
479ddca |
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.004-4
|
|
|
479ddca |
- Perl 5.16 rebuild
|
|
|
479ddca |
|
|
|
fd5b95d |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.004-3
|
|
|
fd5b95d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
fd5b95d |
|
|
|
875b02b |
* Tue Aug 16 2011 Iain Arnell <iarnell@gmail.com> 0.004-2
|
|
|
875b02b |
- drop explicit BR perl >= 0:5.006
|
|
|
875b02b |
|
|
|
6483dfc |
* Thu Aug 11 2011 Iain Arnell <iarnell@gmail.com> 0.004-1
|
|
|
6483dfc |
- Specfile autogenerated by cpanspec 1.78.
|