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