%{?scl:%scl_package perl-Date-ISO8601} Name: %{?scl_prefix}perl-Date-ISO8601 Version: 0.004 Release: 11%{?dist} Summary: Three ISO 8601 numerical calendars License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Date-ISO8601/ Source0: http://www.cpan.org/modules/by-module/Date/Date-ISO8601-%{version}.tar.gz BuildArch: noarch BuildRequires: %{?scl_prefix}perl(Carp) BuildRequires: %{?scl_prefix}perl(constant) BuildRequires: %{?scl_prefix}perl(Exporter) BuildRequires: %{?scl_prefix}perl(integer) BuildRequires: %{?scl_prefix}perl(Module::Build) BuildRequires: %{?scl_prefix}perl(parent) BuildRequires: %{?scl_prefix}perl(strict) BuildRequires: %{?scl_prefix}perl(Test::More) %if !%{defined perl_small} BuildRequires: %{?scl_prefix}perl(Test::Pod) BuildRequires: %{?scl_prefix}perl(Test::Pod::Coverage) %endif BuildRequires: %{?scl_prefix}perl(warnings) Requires: %{?scl_prefix}perl(Exporter) Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'})) %{?perl_default_filter} %description The international standard ISO 8601 "Data elements and interchange formats - Information interchange - Representation of dates and times" defines three distinct calendars by which days can be labeled. It also defines textual formats for the representation of dates in these calendars. This module provides functions to convert dates between these three calendars and Chronological Julian Day Numbers, which is a suitable format to do arithmetic with. It also supplies functions that describe the shape of these calendars, to assist in calendrical calculations. It also supplies functions to represent dates textually in the ISO 8601 formats. ISO 8601 also covers time of day and time periods, but this module does nothing relating to those parts of the standard; this is only about labeling days. %prep %setup -q -n Date-ISO8601-%{version} %build %{?scl:scl enable %{scl} '}perl Build.PL installdirs=vendor && ./Build%{?scl:'} %install %{?scl:scl enable %{scl} '}./Build install destdir=%{buildroot} create_packlist=0%{?scl:'} find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check %{?scl:scl enable %{scl} '}./Build test%{?scl:'} %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Jan 14 2015 Petr Pisar - 0.004-11 - Disable optional tests for small build root * Wed Aug 27 2014 Jitka Plesnikova - 0.004-10 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.004-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.004-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Jul 20 2013 Petr Pisar - 0.004-7 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.004-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.004-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 12 2012 Petr Pisar - 0.004-4 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.004-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Aug 16 2011 Iain Arnell 0.004-2 - drop explicit BR perl >= 0:5.006 * Thu Aug 11 2011 Iain Arnell 0.004-1 - Specfile autogenerated by cpanspec 1.78.