perl-Email-Address-vl.spec 4.0 KB

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