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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. Name: perl-DateTime-Format-W3CDTF
  2. Version: 0.06
  3. Release: 2%{?_dist_release}
  4. Summary: Parse and format W3CDTF datetime strings
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/DateTime-Format-W3CDTF/
  8. Source0: http://search.cpan.org/CPAN/authors/id/G/GW/GWILLIAMS/DateTime-Format-W3CDTF-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(DateTime)
  12. BuildRequires: perl(DateTime::TimeZone)
  13. BuildRequires: perl(Test::More)
  14. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  15. %description
  16. This module understands the W3CDTF date/time format, an ISO 8601 profile,
  17. defined at http://www.w3.org/TR/NOTE-datetime. This format as the native
  18. date format of RSS 1.0.
  19. %prep
  20. %setup -q -n DateTime-Format-W3CDTF-%{version}
  21. %build
  22. %{__perl} Makefile.PL INSTALLDIRS=vendor
  23. make %{?_smp_mflags}
  24. %install
  25. rm -rf %{buildroot}
  26. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  27. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  28. find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
  29. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  30. %{_fixperms} %{buildroot}/*
  31. %check
  32. make test
  33. %clean
  34. rm -rf %{buildroot}
  35. %files
  36. %doc Changes LICENSE README
  37. %{perl_vendorlib}/*
  38. %{_mandir}/man3/*
  39. %changelog
  40. * Fri Dec 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.06-2
  41. - rebuilt with perl 5.16.3
  42. * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.06-1
  43. - initial build for Vine Linux
  44. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-2
  45. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  46. * Tue Jan 03 2012 Petr Šabata <contyk@redhat.com> - 0.06-1
  47. - 0.06 bump (#770260)
  48. - Source updated
  49. - Removed now obsolete Buildroot and defattr
  50. * Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 0.05-6
  51. - Perl mass rebuild
  52. * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.05-5
  53. - Perl mass rebuild
  54. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-4
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  56. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-3
  57. - 661697 rebuild for fixing problems with vendorach/lib
  58. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-2
  59. - Mass rebuild with perl-5.12.0
  60. * Sat Feb 13 2010 Steven Pritchard <steve@kspei.com> 0.05-1
  61. - Update to 0.05.
  62. - Update Source0 URL.
  63. - Build with Module::Build.
  64. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.04-8
  65. - rebuild against perl 5.10.1
  66. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-7
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  68. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-6
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  70. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.04-5
  71. - Rebuild for perl 5.10 (again)
  72. * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.04-4
  73. - rebuild for new perl
  74. * Thu Jan 03 2008 Ralf Corsépius <rc040203@freenet.de> 0.04-3
  75. - Adjust License-tag.
  76. - BR: perl(Test::More) (BZ 419631).
  77. * Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 0.04-2
  78. - Use fixperms macro instead of our own chmod incantation.
  79. - BR ExtUtils::MakeMaker.
  80. * Sat Aug 26 2006 Steven Pritchard <steve@kspei.com> 0.04-1
  81. - Specfile autogenerated by cpanspec 1.68.
  82. - Fix License tag.