perl-DateTime-Format-HTTP-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. Name: perl-DateTime-Format-HTTP
  2. Version: 0.42
  3. Release: 1%{?_dist_release}
  4. Summary: HTTP protocol date conversion routines
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/DateTime-Format-HTTP
  8. Source0: http://search.cpan.org/CPAN/authors/id/C/CK/CKRAS/DateTime-Format-HTTP-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(Class::ISA)
  12. BuildRequires: perl(DateTime) >= 0.17
  13. BuildRequires: perl(HTTP::Date) => 1.44
  14. BuildRequires: perl(Test::More) >= 0.47
  15. BuildRequires: perl(Module::Build) >= 0.38
  16. BuildRequires: perl(File::Find::Rule)
  17. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  18. %description
  19. This module provides functions that deal with the date formats used by the
  20. HTTP protocol (and then some).
  21. %prep
  22. %setup -q -n DateTime-Format-HTTP-%{version}
  23. # fix up crlf
  24. sed -i -e 's/\r//' LICENSE README Changes CREDITS
  25. %build
  26. %{__perl} Makefile.PL INSTALLDIRS=vendor
  27. make %{?_smp_mflags}
  28. %install
  29. make pure_install DESTDIR=%{buildroot}
  30. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  31. find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
  32. %{_fixperms} %{buildroot}/*
  33. %check
  34. # These will be VERY noisy. Don't Panic.
  35. make test
  36. %files
  37. %defattr(-,root,root,-)
  38. %doc LICENSE Changes CREDITS README
  39. %{perl_vendorlib}/*
  40. %{_mandir}/man3/*.3*
  41. %changelog
  42. * Fri Dec 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.42-1
  43. - updated to 0.42
  44. - built with perl 5.16.3
  45. * Sun Jan 6 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.40-1
  46. - initial build based on Fedora development package
  47. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.40-7
  48. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  49. * Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 0.40-6
  50. - Perl 5.16 rebuild
  51. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.40-5
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  53. * Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 0.40-4
  54. - Perl mass rebuild
  55. * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.40-3
  56. - Perl mass rebuild
  57. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.40-2
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  59. * Sat Dec 18 2010 Iain Arnell <iarnell@gmail.com> 0.40-1
  60. - update to latest upstream version
  61. - clean up spec for modern rpmbuild
  62. - PERL_INSTALL_ROOT -> DESTDIR
  63. - fix up crlf in docs
  64. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.38-6
  65. - 661697 rebuild for fixing problems with vendorach/lib
  66. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.38-5
  67. - Mass rebuild with perl-5.12.0
  68. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.38-4
  69. - rebuild against perl 5.10.1
  70. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.38-3
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  72. * Sun May 17 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.38-2
  73. - rearrange the files in doc as the tarball has changed contents
  74. * Sun May 17 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.38-1
  75. - auto-update to 0.38 (by cpan-spec-update 0.01)
  76. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.37-4
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  78. * Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.37-3
  79. - rebuild for new perl
  80. * Thu Aug 31 2006 Chris Weyl <cweyl.drew.edu> 0.37-2
  81. - bump for mass rebuild
  82. * Wed Aug 09 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.37-1
  83. - update to 0.37
  84. - nix the SIGNATURE checking bits of the spec file as the author has dropped
  85. it from this version
  86. * Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.36-3
  87. - bump for build & release
  88. * Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.36-2
  89. - add missing buildrequires: perl(File::Find::Rule)
  90. * Fri Aug 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.36-1
  91. - Initial spec file for F-E