3 %bcond_without tests # do not perform "make test"
7 Summary: Simple Mail Transfer Protocol Client with AUTHentication
8 Summary(pl.UTF-8): Klient SMTP (Simple Mail Transfer Protocol) z uwierzytelnianiem (SMTP AUTH)
9 Name: perl-Net-SMTP_auth
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: 23a911893c92c7c26ab9a78882691d9c
17 URL: http://search.cpan.org/dist/Net-SMTP_auth/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-Authen-SASL >= 2.03
22 BuildRequires: perl-Digest-HMAC >= 1
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 This module implements a client interface to the SMTP and ESMTP
29 protocol AUTH service extension, enabling a perl5 application to talk
30 to and authenticate against SMTP servers.
32 The Net::SMTP_auth class is a subclass of Net::SMTP, which itself is a
33 subclass of Net::Cmd and IO::Socket::INET.
35 %description -l pl.UTF-8
36 Ten moduł implementuje interfejs kliencki do rozszerzenia AUTH
37 protokołów SMTP i ESMTP, umożliwiając perlowym aplikacjom rozmawianie
38 i uwierzytelnianie względem serwerów SMTP.
40 Klasa Net::SMTP_auth jest podklasą Net::SMTP, która z kolei jest
41 podklasą Net::Cmd i IO::Socket::INET.
44 %setup -q -n %{pdir}-%{pnam}-%{version}
47 %{__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_auth.pm