]> git.pld-linux.org Git - packages/perl-Net-SMTP-TLS.git/blob - perl-Net-SMTP-TLS.spec
- rel 3; patches from debian that fix sending using tls
[packages/perl-Net-SMTP-TLS.git] / perl-Net-SMTP-TLS.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    Net
6 %define pnam    SMTP-TLS
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
10 Version:        0.12
11 Release:        3
12 # same as perl
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
22 %if %{with tests}
23 BuildRequires:  perl-Digest-HMAC
24 BuildRequires:  perl-IO-Socket-SSL
25 BuildRequires:  perl-Net-SSLeay
26 %endif
27 BuildArch:      noarch
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
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.
35
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.
41
42 %prep
43 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %patch0 -p1
45 %patch1 -p1
46
47 %build
48 %{__perl} Makefile.PL \
49         INSTALLDIRS=vendor
50 %{__make}
51
52 %{?with_tests:%{__make} test}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc Changes
66 %{perl_vendorlib}/Net/SMTP/*.pm
67 %{_mandir}/man3/*
This page took 0.066779 seconds and 4 git commands to generate.