perl-Mail-SPF-vl.spec 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Name: perl-Mail-SPF
  2. Version: 2.007
  3. Release: 1%{?_dist_release}
  4. Summary: Object-oriented implementation of Sender Policy Framework
  5. License: BSD
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Mail-SPF/
  8. Source0: http://www.cpan.org/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildArch: noarch
  11. BuildRequires: perl(Error)
  12. BuildRequires: perl(Module::Build)
  13. BuildRequires: perl(NetAddr::IP) >= 4
  14. BuildRequires: perl(Net::DNS) >= 0.58
  15. BuildRequires: perl(Net::DNS::Resolver::Programmable)
  16. BuildRequires: perl(Test::More)
  17. BuildRequires: perl(Test::Pod)
  18. BuildRequires: perl(URI) >= 1.13
  19. BuildRequires: perl(version)
  20. Requires: perl(Net::DNS) >= 0.58
  21. Requires: perl(URI) >= 1.13
  22. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  23. %description
  24. Mail::SPF is an object-oriented implementation of Sender Policy Framework
  25. (SPF). See http://www.openspf.org for more information about SPF.
  26. %prep
  27. %setup -q -n Mail-SPF-v%{version}
  28. chmod -x bin/* sbin/*
  29. %build
  30. %{__perl} Build.PL installdirs=vendor
  31. ./Build
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
  35. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  36. %{_fixperms} $RPM_BUILD_ROOT/*
  37. # Don't include the spfd and spfquery scripts in _bindir.
  38. rm -f $RPM_BUILD_ROOT%{_bindir}/spfquery $RPM_BUILD_ROOT%{_sbindir}/spfd
  39. rm -rf $RPM_BUILD_ROOT%{_mandir}/man1
  40. %check
  41. ./Build test
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %files
  45. %defattr(-,root,root,-)
  46. %doc CHANGES LICENSE README TODO bin/ sbin/
  47. %{perl_vendorlib}/*
  48. %{_mandir}/man3/*
  49. %changelog
  50. * Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.007-1
  51. - initial build for Vine Linux
  52. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.007-2
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  54. * Sun Dec 5 2010 Nick Bebout <nb@fedoraproject.org> - 2.007-1
  55. - Update to 2.007
  56. * Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.006-5
  57. - Mass rebuild with perl-5.12.0
  58. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 2.006-4
  59. - rebuild against perl 5.10.1
  60. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.006-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> - 2.006-2
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  64. * Fri Dec 12 2008 Steven Pritchard <steve@kspei.com> 2.006-1
  65. - Update to 2.006.
  66. * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.005-2
  67. - Rebuild for new perl
  68. * Mon Jul 09 2007 Steven Pritchard <steve@kspei.com> 2.005-1
  69. - Specfile autogenerated by cpanspec 1.71.
  70. - Add the "v" before version numbers to handle broken upstream packaging.
  71. - Remove redundant perl build dependency.
  72. - Drop bogus version number from Net::DNS::Resolver::Programmable dependency.
  73. - Drop redundant explicit dependencies.
  74. - BR Test::More and Test::Pod.
  75. - Include the spfd and spfquery scripts as %%doc