%define upstream_name Net-SMTP-TLS %define upstream_version 0.12 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 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(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 rm -rf %buildroot %makeinstall_std %clean rm -rf %buildroot %files %defattr(-,root,root) %doc Changes README META.yml %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.120.0-2.mga3 + Revision: 370865 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Jan 22 2011 jquelin <jquelin> 0.120.0-1.mga1 + Revision: 32269 - mageia rebuild - imported package perl-Net-SMTP-TLS