]>
Commit | Line | Data |
---|---|---|
9ce4ae9c | 1 | # |
2 | # Conditional build: | |
ab1f6074 | 3 | %bcond_without tests # do not perform "make test" |
9c80b06a | 4 | |
3f18a171 | 5 | %define pdir Net |
6 | %define pnam SMTP-Server | |
9c80b06a | 7 | %include /usr/lib/rpm/macros.perl |
383f6068 | 8 | Summary: Net::SMTP::Server perl module |
76386e11 ER |
9 | Summary(cs.UTF-8): Modul Net::SMTP::Server pro Perl |
10 | Summary(da.UTF-8): Perlmodul Net::SMTP::Server | |
11 | Summary(de.UTF-8): Net::SMTP::Server Perl Modul | |
12 | Summary(es.UTF-8): Módulo de Perl Net::SMTP::Server | |
13 | Summary(fr.UTF-8): Module Perl Net::SMTP::Server | |
14 | Summary(it.UTF-8): Modulo di Perl Net::SMTP::Server | |
15 | Summary(ja.UTF-8): Net::SMTP::Server Perl モジュール | |
16 | Summary(ko.UTF-8): Net::SMTP::Server 펄 모줄 | |
17 | Summary(nb.UTF-8): Perlmodul Net::SMTP::Server | |
18 | Summary(pl.UTF-8): Moduł perla Net::SMTP::Server | |
19 | Summary(pt_BR.UTF-8): Módulo Perl Net::SMTP::Server | |
20 | Summary(pt.UTF-8): Módulo de Perl Net::SMTP::Server | |
21 | Summary(ru.UTF-8): Модуль для Perl Net::SMTP::Server | |
22 | Summary(sv.UTF-8): Net::SMTP::Server Perlmodul | |
23 | Summary(uk.UTF-8): Модуль для Perl Net::SMTP::Server | |
24 | Summary(zh_CN.UTF-8): Net::SMTP::Server Perl 模块 | |
383f6068 | 25 | Name: perl-Net-SMTP-Server |
26 | Version: 1.1 | |
63442683 | 27 | Release: 7 |
137518ae | 28 | License: GPL or Artistic |
383f6068 | 29 | Group: Development/Languages/Perl |
f8fe9896 | 30 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz |
b5437b1d | 31 | # Source0-md5: 29539763294a4cbe88d3e520b3de45c1 |
9c80b06a | 32 | URL: http://search.cpan.org/dist/Net-SMTP-Server/ |
9cf2cae2 | 33 | BuildRequires: perl-devel >= 1:5.8.0 |
eaac24cc | 34 | BuildRequires: rpm-perlprov >= 4.1-13 |
383f6068 | 35 | BuildArch: noarch |
36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
37 | ||
38 | %description | |
9c80b06a ER |
39 | This module is a complete, RFC 821 compliant, SMTP server |
40 | implementation written entirely in Perl. It has powerful extensively | |
41 | and customization facilities that allow for a variety of potential | |
42 | uses. | |
383f6068 | 43 | |
0c5804b4 JR |
44 | %description -l pl.UTF-8 |
45 | Ten moduł oferuje kompletną, zgodną z RFC 821 implementację serwera | |
9c80b06a | 46 | SMTP, napisaną całkowicie w Perlu. Serwer ma duże możliwości rozbudowy |
0c5804b4 | 47 | i dostosowania do własnych potrzeb, co umożliwia użycie go w wielu |
383f6068 | 48 | zastosowaniach. |
49 | ||
50 | %prep | |
51 | %setup -q -n %{pnam}-%{version} | |
52 | ||
53 | %build | |
eaac24cc | 54 | %{__perl} Makefile.PL \ |
2548334c | 55 | INSTALLDIRS=vendor |
383f6068 | 56 | %{__make} |
ab1f6074 | 57 | |
58 | %{?with_tests:%{__make} test} | |
383f6068 | 59 | |
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
137518ae | 62 | %{__make} install \ |
63 | DESTDIR=$RPM_BUILD_ROOT | |
383f6068 | 64 | |
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %files | |
69 | %defattr(644,root,root,755) | |
eaac24cc | 70 | %{perl_vendorlib}/Net/SMTP/Server* |
61979795 | 71 | # empty autosplit.ix files |
eaac24cc | 72 | #%%{perl_vendorlib}/auto/Net/SMTP |
383f6068 | 73 | %{_mandir}/man3/* |