perl-Mail-SPF-vl.spec 3.0 KB

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