diff --git a/README.md b/README.md index d4aaf5c..63645fe 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Mail-DKIM +Signs/verifies Internet mail with DKIM/DomainKey signatures. + diff --git a/perl-Mail-DKIM.spec b/perl-Mail-DKIM.spec new file mode 100644 index 0000000..feaa9e4 --- /dev/null +++ b/perl-Mail-DKIM.spec @@ -0,0 +1,86 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Mail-DKIM +Version: 0.40 +Release: 1mamba +Summary: Mail::DKIM - Signs/verifies Internet mail with DKIM/DomainKey signatures +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/J/JA/JASLONG/Mail-DKIM-%{version}.tar.gz +License: GPL, Artistic +Requires: perl >= %perl_major_ver +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-Crypt-OpenSSL-RSA +BuildRequires: perl-devel +BuildRequires: perl-Mail-Tools +BuildRequires: perl-Net-DNS +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Signs/verifies Internet mail with DKIM/DomainKey signatures. + +%prep +%setup -q -n Mail-DKIM-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Thu Feb 21 2013 Automatic Build System 0.40-1mamba +- automatic version update by autodist + +* Mon Nov 12 2012 Silvan Calarco 0.39-2mamba +- perl 5.16 mass rebuild + +* Tue Nov 16 2010 Automatic Build System 0.39-1mamba +- automatic update by autodist + +* Sun Jun 27 2010 Automatic Build System 0.38_7-1mamba +- automatic update by autodist + +* Tue May 11 2010 Automatic Build System 0.38-1mamba +- automatic update by autodist + +* Thu Jan 14 2010 Automatic Build System 0.37_5-1mamba +- automatic update by autodist + +* Thu Sep 17 2009 Automatic Build System 0.37-1mamba +- automatic update by autodist + +* Sat Jul 11 2009 Automatic Build System 0.36_5-1mamba +- automatic update by autodist + +* Mon Apr 27 2009 Silvan Calarco 0.33-1mamba +- update to 0.33 + +* Thu Nov 06 2008 Silvan Calarco 0.28-2mamba +- automatic rebuild by autodist + +* Thu Nov 08 2007 Silvan Calarco 0.28-1mamba +- package created by autospec