%define upstream_name Net-SMTP-TLS %define upstream_version 0.12 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: 5 Summary: TLS and AUTH enabled mail client License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Net/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl-devel BuildRequires: perl(Digest::HMAC_MD5) BuildRequires: perl(IO::Socket::INET) BuildRequires: perl(IO::Socket::SSL) BuildRequires: perl(MIME::Base64) BuildRequires: perl(Net::SSLeay) BuildRequires: perl(Test::More) BuildArch: noarch %description *Net::SMTP::TLS* is a TLS and AUTH capable SMTP client which offers an interface that users will find familiar from the Net::SMTP manpage. *Net::SMTP::TLS* implements a subset of the methods provided by that module, but certainly not (yet) a complete mirror image of that API. The methods supported by *Net::SMTP::TLS* are used in the above example. Though self explanatory for the most part, please see the perldoc for the Net::SMTP manpage if you are unclear. The differences in the methods provided are as follows: %prep %setup -q -n %{upstream_name}-%{upstream_version} %build perl Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes README %{_mandir}/man3/* %{perl_vendorlib}/* %changelog * Sat Apr 23 2011 Funda Wang 0.120.0-2mdv2011.0 + Revision: 657805 - rebuild for updated spec-helper * Fri Dec 24 2010 Shlomi Fish 0.120.0-1mdv2011.0 + Revision: 624630 - import perl-Net-SMTP-TLS