perl-DateTime-Calendar-Mayan-vl.spec 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. Name: perl-DateTime-Calendar-Mayan
  2. Version: 0.0601
  3. Release: 2%{?_dist_release}
  4. Summary: Mayan Long Count Calendar
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/DateTime-Calendar-Mayan
  8. Source: http://search.cpan.org/CPAN/authors/id/J/JH/JHOBLITT/DateTime-Calendar-Mayan-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(DateTime) >= 0.15
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(Module::Build::Compat)
  14. BuildRequires: perl(Params::Validate) >= 0.64
  15. BuildRequires: perl(Test::More)
  16. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  17. %description
  18. An implementation of the Mayan Long Count, Haab, and Tzolkin calendars
  19. as defined in "Calendrical Calculations The Millennium Edition".
  20. Supplemented by "Frequently Asked Questions about Calendars".
  21. %prep
  22. %setup -q -n DateTime-Calendar-Mayan-%{version}
  23. %build
  24. perl Makefile.PL INSTALLDIRS=vendor
  25. make %{?_smp_mflags}
  26. %install
  27. rm -rf %{buildroot}
  28. make pure_install DESTDIR=%{buildroot}
  29. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  30. find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
  31. %{_fixperms} %{buildroot}
  32. %check
  33. make test
  34. %clean
  35. rm -rf %{buildroot}
  36. %files
  37. %defattr(-,root,root,-)
  38. %doc README Changes LICENSE Todo
  39. %{perl_vendorlib}/DateTime/
  40. %{_mandir}/man3/DateTime::Calendar::Mayan.3pm*
  41. %changelog
  42. * Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.0601-2
  43. - rebuilt with perl 5.16.3
  44. * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.0601-1
  45. - initial build for Vine Linux
  46. * Mon Jan 23 2012 Paul Howarth <paul@city-fan.org> - 0.0601-10
  47. - Spec clean-up:
  48. - Drop redundant buildreq perl(Class::ISA)
  49. - Make %%files list more explicit
  50. - Don't use macros for commands
  51. - Use tabs
  52. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0601-9
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  54. * Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 0.0601-8
  55. - Perl mass rebuild
  56. * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.0601-7
  57. - Perl mass rebuild
  58. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0601-6
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  60. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.0601-5
  61. - Rebuild to fix problems with vendorarch/lib (#661697)
  62. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.0601-4
  63. - Mass rebuild with perl-5.12.0
  64. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.0601-3
  65. - Rebuild against perl 5.10.1
  66. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0601-2
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  68. * Mon May 18 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.0601-1
  69. - Submission
  70. * Mon May 18 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.0601-0
  71. - Initial RPM packaging
  72. - Generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)