File perl-Mail-DKIM.spec of Package perl-Mail-DKIM

#
# spec file for package perl-Mail-DKIM (Version 0.32)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Summary:        Signs/verifies Internet mail with DKIM/DomainKey signatures

Name:           perl-Mail-DKIM
Version:        0.32
Release:        1
License:        GPL v2 or later
Group:          Productivity/Networking/Email/Utilities
Url:            http://dkimproxy.sourceforge.net/
Source:         Mail-DKIM-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
BuildRequires:  perl
Requires:       perl-Crypt-OpenSSL-RSA	
%define real_name Mail-DKIM

%description
Mail-DKIM is a Perl module that implements the new Domain Keys
Identified Mail (DKIM) standard, and the older Yahoo! DomainKeys
standard, both of which sign and verify emails using digital signatures
and DNS records. Mail-DKIM can be used by any Perl program that wants
to provide support for DKIM and/or DomainKeys.



Authors:
--------
    Jason Long, <jlong@messiah.edu>

%prep
%setup -n %{real_name}-%{version}
# ---------------------------------------------------------------------------

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}
# ---------------------------------------------------------------------------

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install
# ---------------------------------------------------------------------------
### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}
# ---------------------------------------------------------------------------

%files
%defattr(-, root, root, 0755)
%doc ChangeLog Changes HACKING.DKIM MANIFEST META.yml README TODO
%doc %{_mandir}/man3/Mail::DKIM.3pm*
%doc %{_mandir}/man3/Mail::DKIM::*.3pm*
%dir %{perl_vendorlib}/Mail/
%{perl_vendorlib}/Mail/DKIM/
%{perl_vendorlib}/Mail/DKIM.pm
# ---------------------------------------------------------------------------

%changelog
* Tue Oct 28 2008 varkoly@suse.de
- nwe version 0.32
  * removed requirement for Digest::SHA1 (issue #1832549).
  We now use the more capable Digest::SHA module for SHA-1 and SHA-256.
  * bugfixes:
  * granularity checking should be case-sensitive (issue #1938112).
  * identity tag now uses quoted-printable encoding (issue #1839015).
  * API improvement:
  * implemented identity_source() for DkSignature objects
* Thu Jul 17 2008 varkoly@suse.de
- Initial version of perl-Mail-DKIM
openSUSE Build Service is sponsored by