perl-DateTime-vl.spec 10 KB

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