3 %bcond_without tests # do not perform "make test"
6 %define pnam SMTP-TLS-ButMaintained
7 Summary: Net::SMTP::TLS::ButMaintained - An SMTP client supporting TLS and AUTH
8 Name: perl-Net-SMTP-TLS-ButMaintained
11 License: GPL v1+ or Artistic
12 Group: Development/Languages/Perl
13 Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
14 # Source0-md5: c23283a44d355bab1d70722a43cf27eb
15 URL: http://search.cpan.org/dist/Net-SMTP-TLS-ButMaintained/
16 BuildRequires: perl-devel >= 1:5.8.0
17 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRequires: perl-Digest-HMAC
20 BuildRequires: perl-IO-Socket-SSL >= 1.76
21 BuildRequires: perl-Net-SSLeay
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Net::SMTP::TLS::ButMaintained is forked from Net::SMTP::TLS. blame
28 Evan Carroll for the idea. :)
30 Net::SMTP::TLS::ButMaintained is a TLS and AUTH capable SMTP client
31 which offers an interface that users will find familiar from
32 Net::SMTP. Net::SMTP::TLS::ButMaintained implements a subset of the
33 methods provided by that module, but certainly not (yet) a complete
34 mirror image of that API.
36 The methods supported by Net::SMTP::TLS::ButMaintained are used in the
37 above example. Though self explanatory for the most part, please see
38 the perldoc for Net::SMTP if you are unclear.
40 The differences in the methods provided are as follows:
43 %setup -q -n %{pdir}-%{pnam}-%{version}
46 %{__perl} Makefile.PL \
50 %{?with_tests:%{__make} test}
53 rm -rf $RPM_BUILD_ROOT
55 %{__make} pure_install \
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %dir %{perl_vendorlib}/Net/SMTP/TLS
65 %{perl_vendorlib}/Net/SMTP/TLS/*.pm