]> git.pld-linux.org Git - packages/perl-Net-SMTP-TLS-ButMaintained.git/blame - perl-Net-SMTP-TLS-ButMaintained.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Net-SMTP-TLS-ButMaintained.git] / perl-Net-SMTP-TLS-ButMaintained.spec
CommitLineData
52db42a5
SP
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir Net
6%define pnam SMTP-TLS-ButMaintained
52db42a5
SP
7Summary: Net::SMTP::TLS::ButMaintained - An SMTP client supporting TLS and AUTH
8Name: perl-Net-SMTP-TLS-ButMaintained
9Version: 0.20
541e2c35 10Release: 1
52db42a5
SP
11License: GPL v1+ or Artistic
12Group: Development/Languages/Perl
13Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
14# Source0-md5: c23283a44d355bab1d70722a43cf27eb
15URL: http://search.cpan.org/dist/Net-SMTP-TLS-ButMaintained/
16BuildRequires: perl-devel >= 1:5.8.0
17BuildRequires: rpm-perlprov >= 4.1-13
18%if %{with tests}
19BuildRequires: perl-Digest-HMAC
20BuildRequires: perl-IO-Socket-SSL >= 1.76
21BuildRequires: perl-Net-SSLeay
22%endif
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27Net::SMTP::TLS::ButMaintained is forked from Net::SMTP::TLS. blame
28Evan Carroll for the idea. :)
29
30Net::SMTP::TLS::ButMaintained is a TLS and AUTH capable SMTP client
31which offers an interface that users will find familiar from
32Net::SMTP. Net::SMTP::TLS::ButMaintained implements a subset of the
33methods provided by that module, but certainly not (yet) a complete
34mirror image of that API.
35
36The methods supported by Net::SMTP::TLS::ButMaintained are used in the
37above example. Though self explanatory for the most part, please see
38the perldoc for Net::SMTP if you are unclear.
39
40The differences in the methods provided are as follows:
41
42%prep
43%setup -q -n %{pdir}-%{pnam}-%{version}
44
45%build
46%{__perl} Makefile.PL \
47 INSTALLDIRS=vendor
48%{__make}
49
50%{?with_tests:%{__make} test}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} pure_install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
63%doc Changes README
64%dir %{perl_vendorlib}/Net/SMTP/TLS
65%{perl_vendorlib}/Net/SMTP/TLS/*.pm
66%{_mandir}/man3/*
This page took 0.11811 seconds and 4 git commands to generate.