perl-DateTime-Format-IBeat-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. Name: perl-DateTime-Format-IBeat
  2. Version: 0.161
  3. Release: 2%{?_dist_release}
  4. Summary: Format times in .beat notation
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/DateTime-Format-IBeat
  8. Source0: http://search.cpan.org/CPAN/authors/id/E/EM/EMARTIN/DateTime-Format-IBeat-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(Class::ISA)
  12. BuildRequires: perl(DateTime) >= 0.18
  13. BuildRequires: perl(Test::More) >= 0.47
  14. BuildRequires: perl(Test::Pod) >= 1.05
  15. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  16. %description
  17. No Time Zones, No Geographical Borders
  18. How long is a Swatch .beat? In short, we have divided up the virtual and real
  19. day into 1000 beats. One Swatch beat is the equivalent of 1 minute 26.4
  20. seconds. That means that 12 noon in the old time system is the equivalent of
  21. 500 Swatch .beats.
  22. %prep
  23. %setup -q -n DateTime-Format-IBeat-%{version}
  24. %build
  25. %{__perl} Makefile.PL INSTALLDIRS=vendor
  26. make %{?_smp_mflags}
  27. # American English...
  28. mv LICENCE LICENSE
  29. %install
  30. rm -rf %{buildroot}
  31. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  32. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  33. find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
  34. chmod -R u+w %{buildroot}/*
  35. %check
  36. make test
  37. %clean
  38. rm -rf %{buildroot}
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc Artistic COPYING LICENSE Changes README
  42. %{perl_vendorlib}/*
  43. %{_mandir}/man3/*.3*
  44. %changelog
  45. * Fri Dec 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.161-2
  46. - rebuilt with perl 5.16.3
  47. * Sun Jan 6 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.161-1
  48. - initial build based on Fedora development package
  49. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.161-15
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  51. * Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 0.161-14
  52. - Perl 5.16 rebuild
  53. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.161-13
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  55. * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.161-12
  56. - Perl mass rebuild
  57. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.161-11
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  59. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.161-10
  60. - 661697 rebuild for fixing problems with vendorach/lib
  61. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.161-9
  62. - Mass rebuild with perl-5.12.0
  63. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.161-8
  64. - rebuild against perl 5.10.1
  65. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.161-7
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  67. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.161-6
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  69. * Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.161-5
  70. - rebuild for new perl
  71. * Thu Aug 31 2006 Chris Weyl <cweyl.drew.edu> 0.161-4
  72. - bump for mass rebuild
  73. * Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.161-3
  74. - add br for test phase: perl(Test::Pod)
  75. * Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.161-2
  76. - bump for build & release
  77. - dropped extra template bits not needed for noarch packages
  78. * Fri Aug 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.161-1
  79. - Initial spec file for F-E