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

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