perl-Mail-SPF/perl-Mail-SPF.spec

128 lines
4.2 KiB
RPMSpec
Raw Normal View History

2007-07-12 18:13:44 +00:00
Name: perl-Mail-SPF
2012-11-20 22:13:21 +00:00
Version: 2.8.0
Release: 3%{?dist}
2007-07-12 18:13:44 +00:00
Summary: Object-oriented implementation of Sender Policy Framework
License: BSD
Group: Development/Libraries
URL: http://search.cpan.org/dist/Mail-SPF/
Source0: http://www.cpan.org/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v%{version}.tar.gz
Patch0: Mail-SPF-v2.8.0-POD.patch
Patch1: Mail-SPF-v2.8.0-testsuite.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
2007-07-12 18:13:44 +00:00
BuildArch: noarch
2012-11-20 22:13:21 +00:00
BuildRequires: perl(base)
BuildRequires: perl(constant)
2007-07-12 18:13:44 +00:00
BuildRequires: perl(Error)
BuildRequires: perl(Module::Build)
BuildRequires: perl(NetAddr::IP) >= 4
2012-11-20 22:13:21 +00:00
BuildRequires: perl(Net::DNS) >= 0.62
BuildRequires: perl(Net::DNS::Resolver)
2007-07-12 18:13:44 +00:00
BuildRequires: perl(Net::DNS::Resolver::Programmable)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(URI) >= 1.13
2012-11-20 22:13:21 +00:00
BuildRequires: perl(URI::Escape)
2007-07-12 18:13:44 +00:00
BuildRequires: perl(version)
2012-11-20 22:13:21 +00:00
Requires: perl(Net::DNS) >= 0.62
2007-07-12 18:13:44 +00:00
Requires: perl(URI) >= 1.13
2012-11-20 22:13:21 +00:00
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
2007-07-12 18:13:44 +00:00
%description
Mail::SPF is an object-oriented implementation of Sender Policy Framework
(SPF). See http://www.openspf.org for more information about SPF.
%prep
%setup -q -n Mail-SPF-v%{version}
# Fix broken POD (CPAN RT#86060)
%patch0
# Work around test suite failures with Net::DNS ≥ 0.68 (CPAN RT#78214)
%patch1
2007-07-12 18:13:44 +00:00
chmod -x bin/* sbin/*
%build
2012-11-20 22:13:21 +00:00
perl Build.PL installdirs=vendor
2007-07-12 18:13:44 +00:00
./Build
%install
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
# Don't include the spfd and spfquery scripts in _bindir.
rm -f $RPM_BUILD_ROOT%{_bindir}/spfquery $RPM_BUILD_ROOT%{_sbindir}/spfd
rm -rf $RPM_BUILD_ROOT%{_mandir}/man1
%check
./Build test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc CHANGES LICENSE README TODO bin/ sbin/
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Jun 28 2013 Paul Howarth <paul@city-fan.org> - 2.8.0-3
- Fix broken POD (CPAN RT#86060)
- Work around test suite failures with Net::DNS 0.68 (CPAN RT#78214)
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-11-20 22:13:21 +00:00
* Tue Nov 20 2012 Petr Šabata <contyk@redhat.com> - 2.8.0-1
- 2.8.0 bump
- Fix dependencies
- Drop command macros
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.007-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-06-13 19:18:57 +00:00
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 2.007-5
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.007-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-07-19 20:37:58 +00:00
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 2.007-3
- Perl mass rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.007-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-12-06 03:15:11 +00:00
* Sun Dec 5 2010 Nick Bebout <nb@fedoraproject.org> - 2.007-1
- Update to 2.007
2010-05-03 02:43:30 +00:00
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.006-5
- Mass rebuild with perl-5.12.0
2009-12-07 04:29:53 +00:00
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 2.006-4
- rebuild against perl 5.10.1
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.006-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.006-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-12-15 19:38:23 +00:00
* Fri Dec 12 2008 Steven Pritchard <steve@kspei.com> 2.006-1
- Update to 2.006.
2008-03-07 02:09:31 +00:00
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.005-2
2008-12-15 19:38:23 +00:00
- Rebuild for new perl
2008-03-07 02:09:31 +00:00
2007-07-12 18:13:44 +00:00
* Mon Jul 09 2007 Steven Pritchard <steve@kspei.com> 2.005-1
- Specfile autogenerated by cpanspec 1.71.
- Add the "v" before version numbers to handle broken upstream packaging.
- Remove redundant perl build dependency.
- Drop bogus version number from Net::DNS::Resolver::Programmable dependency.
- Drop redundant explicit dependencies.
- BR Test::More and Test::Pod.
- Include the spfd and spfquery scripts as %%doc