2005-09-16 20:15:06 +00:00
|
|
|
Name: perl-DateTime
|
2011-08-18 15:19:00 +00:00
|
|
|
Epoch: 2
|
2012-10-18 09:58:30 +00:00
|
|
|
Version: 0.77
|
|
|
|
Release: 1%{?dist}
|
2011-08-18 15:19:00 +00:00
|
|
|
Summary: Date and time object
|
|
|
|
License: Artistic 2.0
|
2005-09-16 20:15:06 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/DateTime/
|
2011-08-18 15:19:00 +00:00
|
|
|
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz
|
2012-10-18 09:58:30 +00:00
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
# Run-time:
|
2011-08-18 15:21:16 +00:00
|
|
|
BuildRequires: perl(base)
|
2012-10-18 09:58:30 +00:00
|
|
|
BuildRequires: perl(Carp)
|
2011-08-18 15:21:16 +00:00
|
|
|
BuildRequires: perl(constant)
|
2011-08-18 15:19:00 +00:00
|
|
|
BuildRequires: perl(DateTime::Locale) >= 0.41
|
|
|
|
BuildRequires: perl(DateTime::TimeZone) >= 1.09
|
2011-05-04 14:42:12 +00:00
|
|
|
BuildRequires: perl(Math::Round)
|
2011-08-18 15:19:00 +00:00
|
|
|
BuildRequires: perl(Params::Validate) >= 0.76
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
2011-08-18 15:21:16 +00:00
|
|
|
BuildRequires: perl(XSLoader)
|
2012-10-18 09:58:30 +00:00
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
# Optional tests:
|
|
|
|
# circular dependency - perl(DateTime::Format::Strptime) >= 1.2000
|
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
BuildRequires: perl(Test::Fatal)
|
2005-09-16 20:15:06 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
2012-10-18 09:58:30 +00:00
|
|
|
Requires: perl(XSLoader)
|
2005-09-16 20:15:06 +00:00
|
|
|
|
2011-08-18 15:19:00 +00:00
|
|
|
# not automatically detected
|
|
|
|
Provides: perl(DateTimePP) = %{version}
|
|
|
|
Provides: perl(DateTimePPExtra) = %{version}
|
2007-04-02 15:37:36 +00:00
|
|
|
|
2011-08-18 15:19:00 +00:00
|
|
|
%{?perl_default_filter}
|
2012-10-18 09:58:30 +00:00
|
|
|
# Filter under-specified dependencies
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((DateTime::TimeZone|Params::Validate)\\)$
|
2011-07-04 04:28:14 +00:00
|
|
|
|
2005-09-16 20:15:06 +00:00
|
|
|
%description
|
2011-08-18 15:19:00 +00:00
|
|
|
DateTime is a class for the representation of date/time combinations. It
|
|
|
|
represents the Gregorian calendar, extended backwards in time before its
|
|
|
|
creation (in 1582). This is sometimes known as the "proleptic Gregorian
|
|
|
|
calendar". In this calendar, the first day of the calendar (the epoch), is the
|
|
|
|
first day of year 1, which corresponds to the date which was (incorrectly)
|
|
|
|
believed to be the birth of Jesus Christ.
|
2005-09-16 20:15:06 +00:00
|
|
|
|
|
|
|
%prep
|
2011-08-18 15:19:00 +00:00
|
|
|
%setup -q -n DateTime-%{version}
|
2005-09-16 20:15:06 +00:00
|
|
|
|
|
|
|
%build
|
2011-08-18 15:19:00 +00:00
|
|
|
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
|
2010-01-15 19:27:57 +00:00
|
|
|
./Build
|
2005-09-16 20:15:06 +00:00
|
|
|
|
|
|
|
%install
|
2011-08-18 15:19:00 +00:00
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
|
|
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
|
|
%{_fixperms} %{buildroot}/*
|
2005-09-16 20:15:06 +00:00
|
|
|
|
|
|
|
%check
|
2012-10-18 09:58:30 +00:00
|
|
|
./Build test
|
2005-09-16 20:15:06 +00:00
|
|
|
|
|
|
|
%files
|
2011-08-18 15:19:00 +00:00
|
|
|
%doc Changes CREDITS LICENSE README TODO
|
2005-09-16 20:15:06 +00:00
|
|
|
%{perl_vendorarch}/auto/*
|
2011-08-18 15:19:00 +00:00
|
|
|
%{perl_vendorarch}/DateTime*
|
|
|
|
%{_mandir}/man3/*
|
2005-09-16 20:15:06 +00:00
|
|
|
|
|
|
|
%changelog
|
2012-10-18 09:58:30 +00:00
|
|
|
* Thu Oct 18 2012 Petr Pisar <ppisar@redhat.com> - 2:0.77-1
|
|
|
|
- 0.77 bump
|
|
|
|
|
2012-07-20 14:29:19 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.70-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-20 06:46:49 +00:00
|
|
|
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 2:0.70-4
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-01-13 13:22:12 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.70-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-08-18 15:21:16 +00:00
|
|
|
* Thu Aug 18 2011 Iain Arnell <iarnell@gmail.com> 2:0.70-2
|
|
|
|
- Additional (Build)Requires from unofficial review
|
|
|
|
|
2011-08-18 15:19:00 +00:00
|
|
|
* Mon Aug 15 2011 Iain Arnell <iarnell@gmail.com> 2:0.70-1
|
|
|
|
- Unbundle DateTime::TimeZone and DateTime::Locale
|
|
|
|
- Bump epoch and revert to upstream versioning
|
|
|
|
- Specfile regenerated by cpanspec 1.78.
|
|
|
|
- Update description
|
|
|
|
|
2011-07-20 01:44:12 +00:00
|
|
|
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1:0.7000-3
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-07-04 04:26:59 +00:00
|
|
|
* Mon Jul 04 2011 Iain Arnell <iarnell@gmail.com> 1:0.7000-2
|
|
|
|
- update DateTime::TimeZone to 1.35 (Olson 2011h)
|
2011-07-04 04:28:14 +00:00
|
|
|
- add rpm 4.9 filtering macros
|
2011-07-04 04:26:59 +00:00
|
|
|
|
2011-05-13 14:06:42 +00:00
|
|
|
* Fri May 13 2011 Iain Arnell <iarnell@gmail.com> 1:0.7000-1
|
|
|
|
- update DateTime to 0.70
|
|
|
|
|
2011-05-04 14:42:12 +00:00
|
|
|
* Wed May 04 2011 Iain Arnell <iarnell@gmail.com> 1:0.6900-1
|
|
|
|
- update DateTime to 0.69
|
2011-05-04 14:43:09 +00:00
|
|
|
- update DateTime::TimeZone to 1.34 (Olson 2011g)
|
2011-05-04 14:42:12 +00:00
|
|
|
|
2011-04-24 09:39:29 +00:00
|
|
|
* Sun Apr 24 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-6
|
|
|
|
- fix the testing for loop
|
|
|
|
|
2011-04-24 09:27:27 +00:00
|
|
|
* Sun Apr 24 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-5
|
2011-04-24 09:15:03 +00:00
|
|
|
- update DateTime::TimeZone to 1.33 (Olson 2011f)
|
|
|
|
|
2011-04-06 04:34:19 +00:00
|
|
|
* Wed Apr 06 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-4
|
|
|
|
- update DateTime::TimeZone to 1.32 (Olson 2011e)
|
|
|
|
|
2011-03-26 09:24:25 +00:00
|
|
|
* Sat Mar 26 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-3
|
|
|
|
- update DateTime::TimeZone to 1.31
|
|
|
|
- DateTime::TimeZone no longer has Build.PL; use Makefile.PL
|
|
|
|
- whitespace cleanup
|
2011-03-26 09:55:51 +00:00
|
|
|
- clean up .packlist
|
2011-03-26 09:24:25 +00:00
|
|
|
|
2011-02-08 20:52:21 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.6600-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-12-21 17:32:08 +00:00
|
|
|
* Sun Dec 12 2010 Steven Pritchard <steve@kspei.com> 1:0.6600-1
|
|
|
|
- Update DateTime to 0.66.
|
|
|
|
- Update DateTime::TimeZone to 1.26.
|
|
|
|
- Update URL for FAQ in description.
|
|
|
|
- BR Class::Load and parent.
|
|
|
|
|
2010-10-09 07:50:25 +00:00
|
|
|
* Sat Oct 09 2010 Iain Arnell <iarnell@gmail.com> 1:0.6300-1
|
|
|
|
- Update DateTime to 0.63
|
|
|
|
- Update DateTime::TimeZone to 1.22
|
|
|
|
- DateTime license changed from "GPL+ or Artistic" to "Artistic 2.0"
|
|
|
|
- Fix DTLocale/Changelog encoding
|
|
|
|
|
2010-06-15 07:38:34 +00:00
|
|
|
* Mon Jun 14 2010 Petr Sabata <psabata@redhat.com> - 1:0.5300-4
|
|
|
|
- perl-DateTime-Locale-0.45 update
|
|
|
|
|
2010-04-30 13:47:06 +00:00
|
|
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.5300-3
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2010-01-27 19:36:22 +00:00
|
|
|
* Wed Jan 27 2010 Stepan Kasal <skasal@redhat.com> - 1:0.5300-2
|
|
|
|
- new upstream version of DateTime-TimeZone
|
|
|
|
|
2010-01-15 19:27:57 +00:00
|
|
|
* Fri Jan 15 2010 Stepan Kasal <skasal@redhat.com> - 1:0.5300-1
|
|
|
|
- new upstream version
|
|
|
|
- use Build.PL as Makefile.PL no longer exists
|
|
|
|
- use iconv to recode to utf-8, not a patch
|
|
|
|
- update BuildRequires
|
|
|
|
- drop Provides: perl(DateTime::TimeZoneCatalog), it is no longer there
|
|
|
|
- use filtering macros
|
|
|
|
|
2009-12-07 13:08:15 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1:0.4501-4
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-07-26 05:33:52 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.4501-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 14:43:47 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.4501-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-12-09 21:37:15 +00:00
|
|
|
* Tue Dec 09 2008 Steven Pritchard <steve@kspei.com> 1:0.4501-1
|
|
|
|
- Update to DateTime 0.4501.
|
|
|
|
|
|
|
|
* Mon Nov 10 2008 Steven Pritchard <steve@kspei.com> 1:0.4401-1
|
|
|
|
- Update to DateTime 0.4401.
|
|
|
|
- Update to DateTime::Locale 0.42.
|
|
|
|
- Update to DateTime::TimeZone 0.8301.
|
|
|
|
|
2008-09-08 16:56:54 +00:00
|
|
|
* Mon Sep 08 2008 Steven Pritchard <steve@kspei.com> 1:0.4304-2
|
|
|
|
- Update to DateTime::TimeZone 0.7904.
|
|
|
|
|
2008-07-15 20:38:00 +00:00
|
|
|
* Tue Jul 15 2008 Steven Pritchard <steve@kspei.com> 1:0.4304-1
|
2008-09-08 16:56:54 +00:00
|
|
|
- Update to DateTime 0.4304.
|
2008-07-15 20:38:00 +00:00
|
|
|
- Update to DateTime::TimeZone 0.78.
|
|
|
|
- Update to DateTime::Locale 0.41.
|
|
|
|
|
2008-07-08 16:51:53 +00:00
|
|
|
* Tue Jul 08 2008 Steven Pritchard <steve@kspei.com> 1:0.4302-2
|
|
|
|
- Update to DateTime::TimeZone 0.7701.
|
|
|
|
|
2008-05-31 18:29:05 +00:00
|
|
|
* Sat May 31 2008 Steven Pritchard <steve@kspei.com> 1:0.4302-1
|
|
|
|
- Update to DateTime 0.4302.
|
|
|
|
- Update to DateTime::TimeZone 0.77.
|
|
|
|
- Update to DateTime::Locale 0.4001.
|
|
|
|
- BR List::MoreUtils.
|
|
|
|
- Define IS_MAINTAINER so we run the pod tests.
|
|
|
|
|
2008-05-15 18:35:13 +00:00
|
|
|
* Thu May 15 2008 Steven Pritchard <steve@kspei.com> 1:0.42-1
|
|
|
|
- Update to DateTime 0.42.
|
|
|
|
- Update to DateTime::TimeZone 0.75.
|
|
|
|
- Update FAQ URL in description.
|
|
|
|
|
2008-02-28 13:13:29 +00:00
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0.41-5
|
|
|
|
- Rebuild for perl 5.10 (again)
|
|
|
|
|
2008-02-20 02:53:28 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:0.41-4
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2008-01-25 00:48:15 +00:00
|
|
|
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:0.41-3
|
|
|
|
- rebuild for new perl
|
|
|
|
|
2007-12-11 15:32:13 +00:00
|
|
|
* Tue Dec 11 2007 Steven Pritchard <steve@kspei.com> 1:0.41-2
|
|
|
|
- Update License tag.
|
|
|
|
- Update to DateTime::TimeZone 0.70.
|
|
|
|
|
2007-09-18 14:02:57 +00:00
|
|
|
* Mon Sep 17 2007 Steven Pritchard <steve@kspei.com> 1:0.41-1
|
|
|
|
- Update to DateTime 0.41.
|
|
|
|
- Update to DateTime::Locale 0.35.
|
|
|
|
- Update to DateTime::TimeZone 0.67.
|
|
|
|
|
2007-08-29 05:51:03 +00:00
|
|
|
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1:0.39-2
|
|
|
|
- Rebuild for selinux ppc32 issue.
|
|
|
|
|
2007-07-22 19:38:54 +00:00
|
|
|
* Sun Jul 22 2007 Steven Pritchard <steve@kspei.com> 1:0.39-1
|
2007-09-18 14:02:57 +00:00
|
|
|
- Update to DateTime 0.39.
|
2007-07-22 19:38:54 +00:00
|
|
|
- Update to DateTime::TimeZone 0.6603.
|
|
|
|
|
2007-07-05 15:33:24 +00:00
|
|
|
* Thu Jul 05 2007 Steven Pritchard <steve@kspei.com> 1:0.38-2
|
|
|
|
- BR Test::Output.
|
|
|
|
|
2007-07-02 21:34:08 +00:00
|
|
|
* Mon Jul 02 2007 Steven Pritchard <steve@kspei.com> 1:0.38-1
|
|
|
|
- Update to DateTime 0.38.
|
|
|
|
- Update to DateTime::TimeZone 0.6602.
|
|
|
|
- BR Test::Pod::Coverage.
|
|
|
|
|
2007-04-02 20:35:47 +00:00
|
|
|
* Mon Apr 02 2007 Steven Pritchard <steve@kspei.com> 1:0.37-3
|
|
|
|
- Drop BR DateTime::Format::* to avoid circular build deps.
|
|
|
|
|
2007-04-02 15:37:36 +00:00
|
|
|
* Mon Apr 02 2007 Steven Pritchard <steve@kspei.com> 1:0.37-2
|
|
|
|
- Filter Win32::TieRegistry dependency.
|
|
|
|
- Do the provides filter like we do in cpanspec.
|
|
|
|
- Drop some macro usage.
|
|
|
|
|
2007-03-31 21:44:53 +00:00
|
|
|
* Sat Mar 31 2007 Steven Pritchard <steve@kspei.com> 1:0.37-1
|
|
|
|
- Update to DateTime 0.37.
|
|
|
|
- Update to DateTime::TimeZone 0.63.
|
|
|
|
|
2007-03-13 21:58:27 +00:00
|
|
|
* Tue Mar 13 2007 Steven Pritchard <steve@kspei.com> 1:0.36-2
|
|
|
|
- Update to DateTime::Locale 0.34.
|
|
|
|
- Update to DateTime::TimeZone 0.62.
|
|
|
|
|
2007-01-22 18:14:35 +00:00
|
|
|
* Mon Jan 22 2007 Steven Pritchard <steve@kspei.com> 1:0.36-1
|
|
|
|
- Update to Date::Time 0.36.
|
|
|
|
- Update to DateTime::Locale 0.33.
|
|
|
|
- Update to DateTime::TimeZone 0.59.
|
|
|
|
|
2006-11-03 22:13:14 +00:00
|
|
|
* Fri Nov 03 2006 Steven Pritchard <steve@kspei.com> 1:0.35-1
|
|
|
|
- Update to DateTime 0.35.
|
|
|
|
- Update to DateTime::Locale 0.3101.
|
|
|
|
- LICENSE.icu seems to have been renamed LICENSE.cldr.
|
|
|
|
- Update to DateTime::TimeZone 0.54.
|
|
|
|
- Use fixperms macro instead of our own chmod incantation.
|
|
|
|
- Convert DateTime::LeapSecond to UTF-8 to avoid a rpmlint warning.
|
|
|
|
|
2006-08-29 23:23:54 +00:00
|
|
|
* Tue Aug 29 2006 Steven Pritchard <steve@kspei.com> 1:0.34-3
|
|
|
|
- Update to DateTime::TimeZone 0.48.
|
|
|
|
|
2006-08-28 22:03:23 +00:00
|
|
|
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 1:0.34-2
|
|
|
|
- Update to DateTime::TimeZone 0.47.
|
|
|
|
|
2006-08-15 00:49:24 +00:00
|
|
|
* Mon Aug 14 2006 Steven Pritchard <steve@kspei.com> 1:0.34-1
|
|
|
|
- Update to DateTime 0.34.
|
|
|
|
|
2006-07-29 19:20:57 +00:00
|
|
|
* Fri Jul 28 2006 Steven Pritchard <steve@kspei.com> 1:0.32-1
|
|
|
|
- Update to DateTime 0.32.
|
|
|
|
- Improve Summary, description, and source URLs.
|
|
|
|
- Fix find option order.
|
|
|
|
|
2006-07-13 20:54:01 +00:00
|
|
|
* Thu Jul 13 2006 Steven Pritchard <steve@kspei.com> 1:0.31-2
|
|
|
|
- BR DateTime::Format::ICal and DateTime::Format::Strptime for better
|
|
|
|
test coverage.
|
|
|
|
|
2006-05-24 23:34:41 +00:00
|
|
|
* Wed May 24 2006 Steven Pritchard <steve@kspei.com> 1:0.31-1
|
|
|
|
- Update DateTime to 0.31.
|
|
|
|
- Update DateTime::TimeZone to 0.46.
|
|
|
|
|
2006-02-27 16:49:48 +00:00
|
|
|
* Mon Feb 27 2006 Steven Pritchard <steve@kspei.com> 1:0.30-3
|
|
|
|
- Bump Epoch (argh, 0.2901 > 0.30 to rpm)
|
|
|
|
- Update DateTime::TimeZone to 0.42
|
|
|
|
|
2006-02-19 00:12:45 +00:00
|
|
|
* Sat Feb 18 2006 Steven Pritchard <steve@kspei.com> 0.30-2
|
|
|
|
- Update DateTime::TimeZone to 0.41
|
|
|
|
|
2006-01-11 02:47:43 +00:00
|
|
|
* Tue Jan 10 2006 Steven Pritchard <steve@kspei.com> 0.30-1
|
|
|
|
- Update DateTime to 0.30
|
|
|
|
- Update DateTime::TimeZone to 0.40
|
|
|
|
|
2005-09-16 20:15:06 +00:00
|
|
|
* Fri Sep 16 2005 Paul Howarth <paul@city-fan.org> 0.2901-2
|
|
|
|
- Unpack each tarball only once
|
|
|
|
- Use Module::Build's build script where available
|
|
|
|
- Help each module find the others when needed
|
|
|
|
- Clean up files list
|
|
|
|
- Include additional documentation from DT::Locale & DT::TimeZone
|
|
|
|
- Add BR: perl(File::Find::Rule) & perl(Test::Pod) to improve test coverage
|
|
|
|
- Remove unversioned provides of perl(DateTime) & perl(DateTime::TimeZone)
|
|
|
|
|
|
|
|
* Wed Aug 31 2005 Steven Pritchard <steve@kspei.com> 0.2901-1
|
|
|
|
- Specfile autogenerated.
|