perl-Email-Address-vl.spec 4.4 KB

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