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

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