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