2011-08-16 15:21:51 +00:00
|
|
|
Name: perl-Date-ISO8601
|
|
|
|
Version: 0.004
|
2014-06-07 03:04:23 +00:00
|
|
|
Release: 9%{?dist}
|
2011-08-16 15:21:51 +00:00
|
|
|
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: perl(Carp)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(integer)
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
BuildRequires: perl(parent)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
Requires: perl(Exporter)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%{?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
|
|
|
|
%{__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
|
2014-06-07 03:04:23 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.004-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 19:41:26 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.004-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-20 13:21:32 +00:00
|
|
|
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 0.004-7
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-02-14 11:47:21 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.004-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 14:26:56 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.004-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-12 16:09:37 +00:00
|
|
|
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.004-4
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-01-13 13:21:11 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.004-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-08-16 15:22:16 +00:00
|
|
|
* Tue Aug 16 2011 Iain Arnell <iarnell@gmail.com> 0.004-2
|
|
|
|
- drop explicit BR perl >= 0:5.006
|
|
|
|
|
2011-08-16 15:21:51 +00:00
|
|
|
* Thu Aug 11 2011 Iain Arnell <iarnell@gmail.com> 0.004-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|