perl-Email-Address-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. Name: perl-Email-Address
  2. Version: 1.912
  3. Release: 1%{?_dist_release}
  4. Summary: RFC 2822 Address Parsing and Creation
  5. Group: Development/Libraries
  6. License: Artistic or GPL+
  7. URL: http://search.cpan.org/dist/Email-Address/
  8. Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Email-Address-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(Test::More)
  13. BuildRequires: perl(Test::Pod)
  14. BuildRequires: perl(Test::Pod::Coverage)
  15. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: shaolin
  19. %description
  20. This class implements a complete RFC 2822 parser that locates email
  21. addresses in strings and returns a list of "Email::Address" objects
  22. found. Alternatley you may construct objects manually. The goal of this
  23. software is to be correct, and very very fast.
  24. %prep
  25. %setup -q -n Email-Address-%{version}
  26. %{__perl} -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' bench/ea-vs-ma.pl
  27. %build
  28. %{__perl} Makefile.PL
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf ${RPM_BUILD_ROOT}
  32. make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT}
  33. find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} ';'
  34. find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null ';'
  35. chmod -R u+w ${RPM_BUILD_ROOT}/*
  36. %check
  37. make test
  38. %clean
  39. rm -rf ${RPM_BUILD_ROOT}
  40. %files
  41. %defattr(-,root,root,-)
  42. %license LICENSE
  43. %doc Changes README bench/
  44. %{perl_sitelib}/Email/
  45. %{_mandir}/man3/*.3pm*
  46. %changelog
  47. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.912-1
  48. - new upstream release.
  49. - rebuilt with perl-5.26.
  50. * Fri Nov 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.905-1
  51. - updated to 1.905
  52. - built with perl 5.16.3
  53. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.889-2
  54. - rebuild
  55. * Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.889-1
  56. - initial build for Vine Linux
  57. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.889-9
  58. - Perl mass rebuild
  59. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.889-8
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  61. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.889-7
  62. - 661697 rebuild for fixing problems with vendorach/lib
  63. * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.889-6
  64. - Mass rebuild with perl-5.12.0
  65. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.889-5
  66. - Mass rebuild with perl-5.12.0
  67. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.889-4
  68. - rebuild against perl 5.10.1
  69. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.889-3
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  71. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.889-2
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  73. * Thu Feb 12 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.889-1
  74. - Upstream update.
  75. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.888-3
  76. - Rebuild for perl 5.10 (again)
  77. * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.888-2
  78. - rebuild for new perl
  79. * Sat Jun 23 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.888-1
  80. - Update to 1.888.
  81. * Thu Apr 5 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.887-1
  82. - Update to 1.887.
  83. * Sun Mar 18 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.886-1
  84. - Update to 1.886.
  85. * Tue Dec 12 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.884-1
  86. - Update to 1.884.
  87. * Sat Nov 25 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.883-1
  88. - Update to 1.883.
  89. * Wed Nov 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.882-1
  90. - Update to 1.882.
  91. * Sat Nov 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.880-1
  92. - Update to 1.880.
  93. * Fri Oct 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.871-1
  94. - Update to 1.871.
  95. * Sat Aug 12 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.870-1
  96. - Update to 1.870.
  97. * Sat Jul 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.86-1
  98. - Update to 1.86.
  99. * Tue Jul 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.85-1
  100. - Update to 1.85.
  101. * Thu Sep 08 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.80-1
  102. - First build.