diff --git a/.cvsignore b/.cvsignore index e69de29..726ebd3 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Mail-DKIM-0.32.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..3f1d875 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Mail-DKIM-0_32-2_fc8:HEAD:perl-Mail-DKIM-0.32-2.fc8.src.rpm:1214243932 diff --git a/perl-Mail-DKIM.spec b/perl-Mail-DKIM.spec new file mode 100644 index 0000000..cf5c357 --- /dev/null +++ b/perl-Mail-DKIM.spec @@ -0,0 +1,65 @@ +Name: perl-Mail-DKIM +Version: 0.32 +Release: 2%{?dist} +Summary: Sign and verify Internet mail with DKIM/DomainKey signatures + +Group: Development/Libraries +License: GPL+ or Artistic +URL: http://dkimproxy.sourceforge.net/ +Source0: http://search.cpan.org/CPAN/authors/id/J/JA/JASLONG/Mail-DKIM-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::Simple) perl(Net::DNS) perl(Mail::Address) +BuildRequires: perl(Crypt::OpenSSL::RSA) perl(Digest::SHA) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module implements the various components of the DKIM and DomainKeys +message-signing and verifying standards for Internet mail. It currently +tries to implement RFC4871 (for DKIM) and RFC4870 (DomainKeys). + +It is required if you wish to enable DKIM checking in SpamAssassin via the +Mail::SpamAssassin::Plugin::DKIM plugin. + +%prep +%setup -q -n Mail-DKIM-%{version} +# Make the example scripts non-executable +%{__chmod} -x scripts/*.pl + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc ChangeLog Changes HACKING.DKIM README TODO scripts/*.pl +%{perl_vendorlib}/* +%{_mandir}/man3/*.3* + + +%changelog +* Wed Jun 18 2008 Kyle VanderBeek - 0.32-2 +- Make example scripts non-executable to avoid dep detection bloat. + +* Tue Jun 17 2008 Kyle VanderBeek - 0.32-1 +- Initial version. + diff --git a/sources b/sources index e69de29..430dde7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +05592f264e0fbc758b93a4aa37bd7fd5 Mail-DKIM-0.32.tar.gz