[5858] | 1 | Name: perl-DateTime |
---|
| 2 | Epoch: 2 |
---|
[9165] | 3 | Version: 1.12 |
---|
[5858] | 4 | Release: 1%{?_dist_release} |
---|
| 5 | Summary: Date and time object |
---|
| 6 | License: Artistic 2.0 |
---|
| 7 | Group: Development/Libraries |
---|
| 8 | URL: http://search.cpan.org/dist/DateTime/ |
---|
| 9 | Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz |
---|
[9165] | 10 | |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[5858] | 12 | # circular dependency - only used for one test |
---|
| 13 | #BuildRequires: perl(DateTime::Format::Strptime) >= 1.2000 |
---|
| 14 | BuildRequires: perl(base) |
---|
[9165] | 15 | BuildRequires: perl(Carp) |
---|
[5858] | 16 | BuildRequires: perl(DateTime::Locale) >= 0.41 |
---|
[9165] | 17 | BuildRequires: perl(DateTime::TimeZone) >= 1.74 |
---|
| 18 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 19 | BuildRequires: perl(File::Spec) |
---|
[5858] | 20 | BuildRequires: perl(Math::Round) |
---|
[9165] | 21 | BuildRequires: perl(Module::Build) >= 0.28 |
---|
[5858] | 22 | BuildRequires: perl(Params::Validate) >= 0.76 |
---|
| 23 | BuildRequires: perl(Scalar::Util) |
---|
[9165] | 24 | BuildRequires: perl(Test::Fatal) |
---|
[5858] | 25 | BuildRequires: perl(Test::More) >= 0.88 |
---|
[9165] | 26 | BuildRequires: perl(Test::Warnings) >= 0.005 |
---|
| 27 | BuildRequires: perl(Try::Tiny) |
---|
[5858] | 28 | BuildRequires: perl(XSLoader) |
---|
| 29 | Requires: perl(DateTime::Locale) >= 0.41 |
---|
| 30 | Requires: perl(DateTime::TimeZone) >= 1.09 |
---|
| 31 | Requires: perl(XSLoader) |
---|
| 32 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 33 | |
---|
| 34 | # not automatically detected |
---|
| 35 | Provides: perl(DateTimePP) = %{version} |
---|
| 36 | Provides: perl(DateTimePPExtra) = %{version} |
---|
| 37 | |
---|
| 38 | %{?perl_default_filter} |
---|
| 39 | |
---|
| 40 | %description |
---|
| 41 | DateTime is a class for the representation of date/time combinations. It |
---|
| 42 | represents the Gregorian calendar, extended backwards in time before its |
---|
| 43 | creation (in 1582). This is sometimes known as the "proleptic Gregorian |
---|
| 44 | calendar". In this calendar, the first day of the calendar (the epoch), is the |
---|
| 45 | first day of year 1, which corresponds to the date which was (incorrectly) |
---|
| 46 | believed to be the birth of Jesus Christ. |
---|
| 47 | |
---|
| 48 | %prep |
---|
| 49 | %setup -q -n DateTime-%{version} |
---|
| 50 | |
---|
| 51 | %build |
---|
| 52 | %{__perl} Build.PL installdirs=vendor optimize="%{optflags}" |
---|
| 53 | ./Build |
---|
| 54 | |
---|
| 55 | %install |
---|
[9165] | 56 | rm -rf %{buildroot} |
---|
[5858] | 57 | ./Build install destdir=%{buildroot} create_packlist=0 |
---|
| 58 | find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; |
---|
| 59 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
| 60 | |
---|
| 61 | %{_fixperms} %{buildroot}/* |
---|
| 62 | |
---|
| 63 | %check |
---|
[9165] | 64 | LANG=C ./Build test |
---|
[5858] | 65 | |
---|
[9165] | 66 | %clean |
---|
| 67 | rm -rf %{buildroot} |
---|
| 68 | |
---|
[5858] | 69 | %files |
---|
[9165] | 70 | %doc Changes CREDITS LICENSE README.md TODO |
---|
[5858] | 71 | %{perl_vendorarch}/auto/* |
---|
| 72 | %{perl_vendorarch}/DateTime* |
---|
| 73 | %{_mandir}/man3/* |
---|
| 74 | |
---|
| 75 | %changelog |
---|
[9165] | 76 | * Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2:1.12-1 |
---|
| 77 | - updated to 1.12 |
---|
| 78 | - built with perl 5.16.3 |
---|
| 79 | |
---|
[5858] | 80 | * Tue Mar 06 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2:0.70-1 |
---|
| 81 | - initial build for Vine Linux |
---|
| 82 | |
---|
| 83 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.70-3 |
---|
| 84 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 85 | |
---|
| 86 | * Thu Aug 18 2011 Iain Arnell <iarnell@gmail.com> 2:0.70-2 |
---|
| 87 | - Additional (Build)Requires from unofficial review |
---|
| 88 | |
---|
| 89 | * Mon Aug 15 2011 Iain Arnell <iarnell@gmail.com> 2:0.70-1 |
---|
| 90 | - Unbundle DateTime::TimeZone and DateTime::Locale |
---|
| 91 | - Bump epoch and revert to upstream versioning |
---|
| 92 | - Specfile regenerated by cpanspec 1.78. |
---|
| 93 | - Update description |
---|
| 94 | |
---|
| 95 | * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1:0.7000-3 |
---|
| 96 | - Perl mass rebuild |
---|
| 97 | |
---|
| 98 | * Mon Jul 04 2011 Iain Arnell <iarnell@gmail.com> 1:0.7000-2 |
---|
| 99 | - update DateTime::TimeZone to 1.35 (Olson 2011h) |
---|
| 100 | - add rpm 4.9 filtering macros |
---|
| 101 | |
---|
| 102 | * Fri May 13 2011 Iain Arnell <iarnell@gmail.com> 1:0.7000-1 |
---|
| 103 | - update DateTime to 0.70 |
---|
| 104 | |
---|
| 105 | * Wed May 04 2011 Iain Arnell <iarnell@gmail.com> 1:0.6900-1 |
---|
| 106 | - update DateTime to 0.69 |
---|
| 107 | - update DateTime::TimeZone to 1.34 (Olson 2011g) |
---|
| 108 | |
---|
| 109 | * Sun Apr 24 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-6 |
---|
| 110 | - fix the testing for loop |
---|
| 111 | |
---|
| 112 | * Sun Apr 24 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-5 |
---|
| 113 | - update DateTime::TimeZone to 1.33 (Olson 2011f) |
---|
| 114 | |
---|
| 115 | * Wed Apr 06 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-4 |
---|
| 116 | - update DateTime::TimeZone to 1.32 (Olson 2011e) |
---|
| 117 | |
---|
| 118 | * Sat Mar 26 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-3 |
---|
| 119 | - update DateTime::TimeZone to 1.31 |
---|
| 120 | - DateTime::TimeZone no longer has Build.PL; use Makefile.PL |
---|
| 121 | - whitespace cleanup |
---|
| 122 | - clean up .packlist |
---|
| 123 | |
---|
| 124 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.6600-2 |
---|
| 125 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 126 | |
---|
| 127 | * Sun Dec 12 2010 Steven Pritchard <steve@kspei.com> 1:0.6600-1 |
---|
| 128 | - Update DateTime to 0.66. |
---|
| 129 | - Update DateTime::TimeZone to 1.26. |
---|
| 130 | - Update URL for FAQ in description. |
---|
| 131 | - BR Class::Load and parent. |
---|
| 132 | |
---|
| 133 | * Sat Oct 09 2010 Iain Arnell <iarnell@gmail.com> 1:0.6300-1 |
---|
| 134 | - Update DateTime to 0.63 |
---|
| 135 | - Update DateTime::TimeZone to 1.22 |
---|
| 136 | - DateTime license changed from "GPL+ or Artistic" to "Artistic 2.0" |
---|
| 137 | - Fix DTLocale/Changelog encoding |
---|
| 138 | |
---|
| 139 | * Mon Jun 14 2010 Petr Sabata <psabata@redhat.com> - 1:0.5300-4 |
---|
| 140 | - perl-DateTime-Locale-0.45 update |
---|
| 141 | |
---|
| 142 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.5300-3 |
---|
| 143 | - Mass rebuild with perl-5.12.0 |
---|
| 144 | |
---|
| 145 | * Wed Jan 27 2010 Stepan Kasal <skasal@redhat.com> - 1:0.5300-2 |
---|
| 146 | - new upstream version of DateTime-TimeZone |
---|
| 147 | |
---|
| 148 | * Fri Jan 15 2010 Stepan Kasal <skasal@redhat.com> - 1:0.5300-1 |
---|
| 149 | - new upstream version |
---|
| 150 | - use Build.PL as Makefile.PL no longer exists |
---|
| 151 | - use iconv to recode to utf-8, not a patch |
---|
| 152 | - update BuildRequires |
---|
| 153 | - drop Provides: perl(DateTime::TimeZoneCatalog), it is no longer there |
---|
| 154 | - use filtering macros |
---|
| 155 | |
---|
| 156 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1:0.4501-4 |
---|
| 157 | - rebuild against perl 5.10.1 |
---|
| 158 | |
---|
| 159 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.4501-3 |
---|
| 160 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 161 | |
---|
| 162 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.4501-2 |
---|
| 163 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 164 | |
---|
| 165 | * Tue Dec 09 2008 Steven Pritchard <steve@kspei.com> 1:0.4501-1 |
---|
| 166 | - Update to DateTime 0.4501. |
---|
| 167 | |
---|
| 168 | * Mon Nov 10 2008 Steven Pritchard <steve@kspei.com> 1:0.4401-1 |
---|
| 169 | - Update to DateTime 0.4401. |
---|
| 170 | - Update to DateTime::Locale 0.42. |
---|
| 171 | - Update to DateTime::TimeZone 0.8301. |
---|
| 172 | |
---|
| 173 | * Mon Sep 08 2008 Steven Pritchard <steve@kspei.com> 1:0.4304-2 |
---|
| 174 | - Update to DateTime::TimeZone 0.7904. |
---|
| 175 | |
---|
| 176 | * Tue Jul 15 2008 Steven Pritchard <steve@kspei.com> 1:0.4304-1 |
---|
| 177 | - Update to DateTime 0.4304. |
---|
| 178 | - Update to DateTime::TimeZone 0.78. |
---|
| 179 | - Update to DateTime::Locale 0.41. |
---|
| 180 | |
---|
| 181 | * Tue Jul 08 2008 Steven Pritchard <steve@kspei.com> 1:0.4302-2 |
---|
| 182 | - Update to DateTime::TimeZone 0.7701. |
---|
| 183 | |
---|
| 184 | * Sat May 31 2008 Steven Pritchard <steve@kspei.com> 1:0.4302-1 |
---|
| 185 | - Update to DateTime 0.4302. |
---|
| 186 | - Update to DateTime::TimeZone 0.77. |
---|
| 187 | - Update to DateTime::Locale 0.4001. |
---|
| 188 | - BR List::MoreUtils. |
---|
| 189 | - Define IS_MAINTAINER so we run the pod tests. |
---|
| 190 | |
---|
| 191 | * Thu May 15 2008 Steven Pritchard <steve@kspei.com> 1:0.42-1 |
---|
| 192 | - Update to DateTime 0.42. |
---|
| 193 | - Update to DateTime::TimeZone 0.75. |
---|
| 194 | - Update FAQ URL in description. |
---|
| 195 | |
---|
| 196 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0.41-5 |
---|
| 197 | - Rebuild for perl 5.10 (again) |
---|
| 198 | |
---|
| 199 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:0.41-4 |
---|
| 200 | - Autorebuild for GCC 4.3 |
---|
| 201 | |
---|
| 202 | * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:0.41-3 |
---|
| 203 | - rebuild for new perl |
---|
| 204 | |
---|
| 205 | * Tue Dec 11 2007 Steven Pritchard <steve@kspei.com> 1:0.41-2 |
---|
| 206 | - Update License tag. |
---|
| 207 | - Update to DateTime::TimeZone 0.70. |
---|
| 208 | |
---|
| 209 | * Mon Sep 17 2007 Steven Pritchard <steve@kspei.com> 1:0.41-1 |
---|
| 210 | - Update to DateTime 0.41. |
---|
| 211 | - Update to DateTime::Locale 0.35. |
---|
| 212 | - Update to DateTime::TimeZone 0.67. |
---|
| 213 | |
---|
| 214 | * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1:0.39-2 |
---|
| 215 | - Rebuild for selinux ppc32 issue. |
---|
| 216 | |
---|
| 217 | * Sun Jul 22 2007 Steven Pritchard <steve@kspei.com> 1:0.39-1 |
---|
| 218 | - Update to DateTime 0.39. |
---|
| 219 | - Update to DateTime::TimeZone 0.6603. |
---|
| 220 | |
---|
| 221 | * Thu Jul 05 2007 Steven Pritchard <steve@kspei.com> 1:0.38-2 |
---|
| 222 | - BR Test::Output. |
---|
| 223 | |
---|
| 224 | * Mon Jul 02 2007 Steven Pritchard <steve@kspei.com> 1:0.38-1 |
---|
| 225 | - Update to DateTime 0.38. |
---|
| 226 | - Update to DateTime::TimeZone 0.6602. |
---|
| 227 | - BR Test::Pod::Coverage. |
---|
| 228 | |
---|
| 229 | * Mon Apr 02 2007 Steven Pritchard <steve@kspei.com> 1:0.37-3 |
---|
| 230 | - Drop BR DateTime::Format::* to avoid circular build deps. |
---|
| 231 | |
---|
| 232 | * Mon Apr 02 2007 Steven Pritchard <steve@kspei.com> 1:0.37-2 |
---|
| 233 | - Filter Win32::TieRegistry dependency. |
---|
| 234 | - Do the provides filter like we do in cpanspec. |
---|
| 235 | - Drop some macro usage. |
---|
| 236 | |
---|
| 237 | * Sat Mar 31 2007 Steven Pritchard <steve@kspei.com> 1:0.37-1 |
---|
| 238 | - Update to DateTime 0.37. |
---|
| 239 | - Update to DateTime::TimeZone 0.63. |
---|
| 240 | |
---|
| 241 | * Tue Mar 13 2007 Steven Pritchard <steve@kspei.com> 1:0.36-2 |
---|
| 242 | - Update to DateTime::Locale 0.34. |
---|
| 243 | - Update to DateTime::TimeZone 0.62. |
---|
| 244 | |
---|
| 245 | * Mon Jan 22 2007 Steven Pritchard <steve@kspei.com> 1:0.36-1 |
---|
| 246 | - Update to Date::Time 0.36. |
---|
| 247 | - Update to DateTime::Locale 0.33. |
---|
| 248 | - Update to DateTime::TimeZone 0.59. |
---|
| 249 | |
---|
| 250 | * Fri Nov 03 2006 Steven Pritchard <steve@kspei.com> 1:0.35-1 |
---|
| 251 | - Update to DateTime 0.35. |
---|
| 252 | - Update to DateTime::Locale 0.3101. |
---|
| 253 | - LICENSE.icu seems to have been renamed LICENSE.cldr. |
---|
| 254 | - Update to DateTime::TimeZone 0.54. |
---|
| 255 | - Use fixperms macro instead of our own chmod incantation. |
---|
| 256 | - Convert DateTime::LeapSecond to UTF-8 to avoid a rpmlint warning. |
---|
| 257 | |
---|
| 258 | * Tue Aug 29 2006 Steven Pritchard <steve@kspei.com> 1:0.34-3 |
---|
| 259 | - Update to DateTime::TimeZone 0.48. |
---|
| 260 | |
---|
| 261 | * Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 1:0.34-2 |
---|
| 262 | - Update to DateTime::TimeZone 0.47. |
---|
| 263 | |
---|
| 264 | * Mon Aug 14 2006 Steven Pritchard <steve@kspei.com> 1:0.34-1 |
---|
| 265 | - Update to DateTime 0.34. |
---|
| 266 | |
---|
| 267 | * Fri Jul 28 2006 Steven Pritchard <steve@kspei.com> 1:0.32-1 |
---|
| 268 | - Update to DateTime 0.32. |
---|
| 269 | - Improve Summary, description, and source URLs. |
---|
| 270 | - Fix find option order. |
---|
| 271 | |
---|
| 272 | * Thu Jul 13 2006 Steven Pritchard <steve@kspei.com> 1:0.31-2 |
---|
| 273 | - BR DateTime::Format::ICal and DateTime::Format::Strptime for better |
---|
| 274 | test coverage. |
---|
| 275 | |
---|
| 276 | * Wed May 24 2006 Steven Pritchard <steve@kspei.com> 1:0.31-1 |
---|
| 277 | - Update DateTime to 0.31. |
---|
| 278 | - Update DateTime::TimeZone to 0.46. |
---|
| 279 | |
---|
| 280 | * Mon Feb 27 2006 Steven Pritchard <steve@kspei.com> 1:0.30-3 |
---|
| 281 | - Bump Epoch (argh, 0.2901 > 0.30 to rpm) |
---|
| 282 | - Update DateTime::TimeZone to 0.42 |
---|
| 283 | |
---|
| 284 | * Sat Feb 18 2006 Steven Pritchard <steve@kspei.com> 0.30-2 |
---|
| 285 | - Update DateTime::TimeZone to 0.41 |
---|
| 286 | |
---|
| 287 | * Tue Jan 10 2006 Steven Pritchard <steve@kspei.com> 0.30-1 |
---|
| 288 | - Update DateTime to 0.30 |
---|
| 289 | - Update DateTime::TimeZone to 0.40 |
---|
| 290 | |
---|
| 291 | * Fri Sep 16 2005 Paul Howarth <paul@city-fan.org> 0.2901-2 |
---|
| 292 | - Unpack each tarball only once |
---|
| 293 | - Use Module::Build's build script where available |
---|
| 294 | - Help each module find the others when needed |
---|
| 295 | - Clean up files list |
---|
| 296 | - Include additional documentation from DT::Locale & DT::TimeZone |
---|
| 297 | - Add BR: perl(File::Find::Rule) & perl(Test::Pod) to improve test coverage |
---|
| 298 | - Remove unversioned provides of perl(DateTime) & perl(DateTime::TimeZone) |
---|
| 299 | |
---|
| 300 | * Wed Aug 31 2005 Steven Pritchard <steve@kspei.com> 0.2901-1 |
---|
| 301 | - Specfile autogenerated. |
---|