3 %bcond_without tests # do not perform "make test"
6 %define pnam SMTP-Server
7 Summary: Net::SMTP::Server perl module
8 Summary(cs.UTF-8): Modul Net::SMTP::Server pro Perl
9 Summary(da.UTF-8): Perlmodul Net::SMTP::Server
10 Summary(de.UTF-8): Net::SMTP::Server Perl Modul
11 Summary(es.UTF-8): Módulo de Perl Net::SMTP::Server
12 Summary(fr.UTF-8): Module Perl Net::SMTP::Server
13 Summary(it.UTF-8): Modulo di Perl Net::SMTP::Server
14 Summary(ja.UTF-8): Net::SMTP::Server Perl モジュール
15 Summary(ko.UTF-8): Net::SMTP::Server 펄 모줄
16 Summary(nb.UTF-8): Perlmodul Net::SMTP::Server
17 Summary(pl.UTF-8): Moduł perla Net::SMTP::Server
18 Summary(pt_BR.UTF-8): Módulo Perl Net::SMTP::Server
19 Summary(pt.UTF-8): Módulo de Perl Net::SMTP::Server
20 Summary(ru.UTF-8): Модуль для Perl Net::SMTP::Server
21 Summary(sv.UTF-8): Net::SMTP::Server Perlmodul
22 Summary(uk.UTF-8): Модуль для Perl Net::SMTP::Server
23 Summary(zh_CN.UTF-8): Net::SMTP::Server Perl 模块
24 Name: perl-Net-SMTP-Server
27 License: GPL or Artistic
28 Group: Development/Languages/Perl
29 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
30 # Source0-md5: 29539763294a4cbe88d3e520b3de45c1
31 URL: http://search.cpan.org/dist/Net-SMTP-Server/
32 BuildRequires: perl-devel >= 1:5.8.0
33 BuildRequires: rpm-perlprov >= 4.1-13
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 This module is a complete, RFC 821 compliant, SMTP server
39 implementation written entirely in Perl. It has powerful extensively
40 and customization facilities that allow for a variety of potential
43 %description -l pl.UTF-8
44 Ten moduł oferuje kompletną, zgodną z RFC 821 implementację serwera
45 SMTP, napisaną całkowicie w Perlu. Serwer ma duże możliwości rozbudowy
46 i dostosowania do własnych potrzeb, co umożliwia użycie go w wielu
50 %setup -q -n %{pnam}-%{version}
53 %{__perl} Makefile.PL \
57 %{?with_tests:%{__make} test}
60 rm -rf $RPM_BUILD_ROOT
62 DESTDIR=$RPM_BUILD_ROOT
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
69 %{perl_vendorlib}/Net/SMTP/Server*
70 # empty autosplit.ix files
71 #%%{perl_vendorlib}/auto/Net/SMTP