3 %bcond_without tests # do not perform "make test"
7 Summary: Net::SMTP::TLS - An SMTP client supporting TLS and AUTH
8 Summary(pl.UTF-8): Net::SMTP::TLS - klient SMTP obsługujący TLS i AUTH
9 Name: perl-Net-SMTP-TLS
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: a845eba3670e56a197ecd37f571d153a
17 Patch0: io-socket-ssl.patch
18 Patch1: multiple-attachments.patch
19 URL: http://search.cpan.org/dist/Net-SMTP-TLS/
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: rpm-perlprov >= 4.1-13
23 BuildRequires: perl-Digest-HMAC
24 BuildRequires: perl-IO-Socket-SSL
25 BuildRequires: perl-Net-SSLeay
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Net::SMTP::TLS is a TLS and AUTH capable SMTP client which offers an
32 interface that users will find familiar from Net::SMTP. Net::SMTP::TLS
33 implements a subset of the methods provided by that module, but
34 certainly not (yet) a complete mirror image of that API.
36 %description -l pl.UTF-8
37 Net::SMTP::TLS to klient SMTP obsługujący TLS i AUTH, oferujący
38 użytkownikom interfejs zbliżony do Net::SMTP. Net::SMTP::TLS
39 implementuje podzbiór metod udostępnianych przez tamten moduł, ale
40 (jeszcze) nie pełne odzwierciedlenie tamtego API.
43 %setup -q -n %{pdir}-%{pnam}-%{version}
48 %{__perl} Makefile.PL \
52 %{?with_tests:%{__make} test}
55 rm -rf $RPM_BUILD_ROOT
58 DESTDIR=$RPM_BUILD_ROOT
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
66 %{perl_vendorlib}/Net/SMTP/*.pm