perl-Email-Date-Format-vl.spec 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. Name: perl-Email-Date-Format
  2. Version: 1.005
  3. Release: 1%{?_dist_release}
  4. Summary: Produce RFC 2822 date strings
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Email-Date-Format/
  8. Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Date-Format-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More), perl(Time::Local)
  11. BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage)
  12. BuildArch: noarch
  13. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. This module can be used to emit RFC 2822 style date strings.
  18. %prep
  19. %setup -q -n Email-Date-Format-%{version}
  20. %build
  21. sed -i '/LICENSE/ d' Makefile.PL
  22. %{__perl} Makefile.PL INSTALLDIRS=vendor
  23. make
  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} -depth -type d -exec rmdir {} 2>/dev/null ';'
  29. chmod -R u+w %{buildroot}/*
  30. %check
  31. make test
  32. %clean
  33. rm -rf %{buildroot}
  34. %files
  35. %defattr(-,root,root,-)
  36. %license LICENSE
  37. %doc README
  38. %{perl_vendorlib}/Email/
  39. %{_mandir}/man3/*.3*
  40. %changelog
  41. * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.005-1
  42. - new upstream release.
  43. - rebuilt with perl-5.26.
  44. * Mon Jun 30 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.002-2
  45. - rebuild with perl-5.16
  46. * Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.002-1
  47. - initial build for Vine Linux
  48. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002-11
  49. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  50. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.002-10
  51. - Perl mass rebuild
  52. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002-9
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  54. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.002-8
  55. - 661697 rebuild for fixing problems with vendorach/lib
  56. * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.002-7
  57. - Mass rebuild with perl-5.12.0
  58. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.002-6
  59. - Mass rebuild with perl-5.12.0
  60. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.002-5
  61. - rebuild against perl 5.10.1
  62. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002-4
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  64. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002-3
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  66. * Sat Feb 2 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.002-2
  67. - rebuild for new perl
  68. * Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.002-1
  69. - Initial package for Fedora