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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. Name: perl-DateTime-Calendar-Mayan
  2. Version: 0.0601
  3. Release: 1%{?_dist_release}
  4. License: GPL+ or Artistic
  5. Group: Development/Libraries
  6. Summary: Mayan Long Count Calendar
  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-%(id -nu)
  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. * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.0601-1
  43. - initial build for Vine Linux
  44. * Mon Jan 23 2012 Paul Howarth <paul@city-fan.org> - 0.0601-10
  45. - Spec clean-up:
  46. - Drop redundant buildreq perl(Class::ISA)
  47. - Make %%files list more explicit
  48. - Don't use macros for commands
  49. - Use tabs
  50. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0601-9
  51. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  52. * Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 0.0601-8
  53. - Perl mass rebuild
  54. * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.0601-7
  55. - Perl mass rebuild
  56. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0601-6
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  58. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.0601-5
  59. - Rebuild to fix problems with vendorarch/lib (#661697)
  60. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.0601-4
  61. - Mass rebuild with perl-5.12.0
  62. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.0601-3
  63. - Rebuild against perl 5.10.1
  64. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0601-2
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  66. * Mon May 18 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.0601-1
  67. - Submission
  68. * Mon May 18 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.0601-0
  69. - Initial RPM packaging
  70. - Generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)