]> git.pld-linux.org Git - packages/perl-Net-SMTP-TLS.git/blob - perl-Net-SMTP-TLS.spec
- release 2
[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 %include        /usr/lib/rpm/macros.perl
6 %define pdir    Net
7 %define pnam    SMTP-TLS
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
11 Version:        0.12
12 Release:        2
13 # same as perl
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
21 %if %{with tests}
22 BuildRequires:  perl-Digest-HMAC
23 BuildRequires:  perl-IO-Socket-SSL
24 BuildRequires:  perl-Net-SSLeay
25 %endif
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
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.
34
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.
40
41 %prep
42 %setup -q -n %{pdir}-%{pnam}-%{version}
43
44 %build
45 %{__perl} Makefile.PL \
46         INSTALLDIRS=vendor
47 %{__make}
48
49 %{?with_tests:%{__make} test}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc Changes
63 %{perl_vendorlib}/Net/SMTP/*.pm
64 %{_mandir}/man3/*
This page took 0.059771 seconds and 4 git commands to generate.