perl-DateTime-vl.spec 10.0 KB

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