0e48eb
Name:           perl-Mail-DKIM
0e48eb
Version:        0.39
230d2c
Release:        8%{?dist}
0e48eb
Summary:        Sign and verify Internet mail with DKIM/DomainKey signatures
0e48eb
Group:          Development/Libraries
0e48eb
License:        (GPL+ or Artistic) and GPL and Copyright Only
0e48eb
URL:            http://dkimproxy.sourceforge.net/
0e48eb
Source0:        http://search.cpan.org/CPAN/authors/id/J/JA/JASLONG/Mail-DKIM-%{version}.tar.gz
0e48eb
BuildArch:      noarch
0e48eb
BuildRequires:  perl
0e48eb
BuildRequires:  perl(base)
0e48eb
BuildRequires:  perl(Carp)
0e48eb
BuildRequires:  perl(Crypt::OpenSSL::RSA)
0e48eb
BuildRequires:  perl(Digest::SHA)
0e48eb
BuildRequires:  perl(ExtUtils::MakeMaker)
0e48eb
BuildRequires:  perl(Mail::Address)
0e48eb
BuildRequires:  perl(MIME::Base64)
0e48eb
BuildRequires:  perl(Net::DNS)
0e48eb
BuildRequires:  perl(strict)
0e48eb
BuildRequires:  perl(Test::More)
0e48eb
BuildRequires:  perl(Test::Simple)
0e48eb
BuildRequires:  perl(warnings)
0e48eb
Requires:  perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
0e48eb
0e48eb
%description
0e48eb
This module implements the various components of the DKIM and DomainKeys
0e48eb
message-signing and verifying standards for Internet mail. It currently
0e48eb
tries to implement RFC 4871 (for DKIM) and RFC 4870 (DomainKeys).
0e48eb
0e48eb
It is required if you wish to enable DKIM checking in SpamAssassin via the
0e48eb
Mail::SpamAssassin::Plugin::DKIM plugin.
0e48eb
0e48eb
%prep
0e48eb
%setup -q -n Mail-DKIM-%{version}
0e48eb
# Make the example scripts non-executable
0e48eb
chmod -x scripts/*.pl sample_mime_lite.pl
0e48eb
0e48eb
%build
0e48eb
perl Makefile.PL INSTALLDIRS=vendor
0e48eb
make %{?_smp_mflags}
0e48eb
0e48eb
%install
0e48eb
make pure_install DESTDIR=%{buildroot}
0e48eb
find %{buildroot} -type f -name .packlist -exec rm -f {} +
0e48eb
chmod -R u+w %{buildroot}/*
0e48eb
0e48eb
%check
0e48eb
# Conditionally disable tests that require DNS lookups
0e48eb
%{?!_with_network_tests: rm t/policy.t t/public_key.t }
0e48eb
make test
0e48eb
0e48eb
%files
0e48eb
%doc ChangeLog Changes HACKING.DKIM README TODO scripts sample_mime_lite.pl
0e48eb
%{perl_vendorlib}/*
0e48eb
%{_mandir}/man3/*.3*
0e48eb
0e48eb
%changelog
230d2c
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.39-8
230d2c
- Mass rebuild 2013-12-27
230d2c
0e48eb
* Wed Aug 07 2013 Petr Šabata <contyk@redhat.com> - 0.39-7.1
0e48eb
- Add a few more missing build-time deps
0e48eb
- Correct the licence tag
0e48eb
- Modernize the spec a bit
0e48eb
- Package the example scripts in their directory
0e48eb
0e48eb
* Wed Nov 21 2012 Petr Šabata <contyk@redhat.com> - 0.39-7
0e48eb
- Add missing build dependencies
0e48eb
- Drop command macros
0e48eb
0e48eb
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-6
0e48eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0e48eb
0e48eb
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 0.39-5
0e48eb
- Perl 5.16 rebuild
0e48eb
0e48eb
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-4
0e48eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0e48eb
0e48eb
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.39-3
0e48eb
- Perl mass rebuild
0e48eb
0e48eb
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.39-2
0e48eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0e48eb
0e48eb
* Sun Dec 5 2010 Nick Bebout <nb@fedoraproject.org> - 0.39-1
0e48eb
- Update to 0.39 to fix bug # 659003
0e48eb
0e48eb
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.37-3
0e48eb
- Mass rebuild with perl-5.12.0
0e48eb
0e48eb
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.37-2
0e48eb
- rebuild against perl 5.10.1
0e48eb
0e48eb
* Wed Sep 9 2009 Warren Togami <wtogami@redhat.com> - 0.37-1
0e48eb
- 0.37
0e48eb
0e48eb
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-3
0e48eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0e48eb
0e48eb
* Wed Jun 10 2009 Kyle VanderBeek <kylev@kylev.com> - 0.33-2
0e48eb
- Revise network-driven testing exclusions.
0e48eb
0e48eb
* Wed Jun 10 2009 Kyle VanderBeek <kylev@kylev.com> - 0.33-1
0e48eb
- Update to 0.33
0e48eb
0e48eb
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-4
0e48eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0e48eb
0e48eb
* Mon Jun 23 2008 Kyle VanderBeek <kylev@kylev.com> - 0.32-3
0e48eb
- Disable some tests that require network access and fail inside koji
0e48eb
0e48eb
* Wed Jun 18 2008 Kyle VanderBeek <kylev@kylev.com> - 0.32-2
0e48eb
- Make example scripts non-executable to avoid dep detection bloat.
0e48eb
0e48eb
* Tue Jun 17 2008 Kyle VanderBeek <kylev@kylev.com> - 0.32-1
0e48eb
- Initial version.
0e48eb