]> git.pld-linux.org Git - packages/perl-POE-Component-SMTP.git/blame - perl-POE-Component-SMTP.spec
use generic url
[packages/perl-POE-Component-SMTP.git] / perl-POE-Component-SMTP.spec
CommitLineData
a879f36a 1#
2# Conditional build:
5fb1da82 3%bcond_without tests # do not perform "make test"
3bcb03ae 4
72e75dd5 5%define pdir POE
6%define pnam Component-SMTP
3bcb03ae 7%include /usr/lib/rpm/macros.perl
6d0d7cdc 8Summary: POE::Filter::SMTP - SMTP protocol filter
d1908f46 9Summary(pl.UTF-8): POE::Filter::SMTP - filtr dla protokołu SMTP
a879f36a 10Name: perl-POE-Component-SMTP
29f60c8f 11Version: 1.6
a879f36a 12Release: 1
13# same as perl
b7923d79 14License: GPL v1+ or Artistic
a879f36a 15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
29f60c8f 17# Source0-md5: 26c8d3705ef2bb9ac3d6d980ee5da73d
3bcb03ae 18URL: http://search.cpan.org/dist/POE-Component-SMTP/
762892f1 19BuildRequires: perl-devel >= 1:5.8.0
a879f36a 20BuildRequires: rpm-perlprov >= 4.1-13
3bcb03ae 21%if %{with tests}
a879f36a 22BuildRequires: perl-POE
23BuildRequires: perl-POE-Session-MultiDispatch
24BuildRequires: perl-Test-Simple
25%endif
26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
b7923d79
JB
30POE::Filter::SMTP filters input and output and splits command and
31arguments, as well as return codes and return strings. It is a
32subclass of POE::Filter::Line.
33
77e60e38 34%description -l pl.UTF-8
3bcb03ae
ER
35POE::Filter::SMTP filtruje wejście i wyjście oraz oddziela polecenia i
36argumenty, a także zwracane kody i łańcuchy. Jest to podklasa
b7923d79 37POE::Filter::Line.
a879f36a 38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
43%{__perl} Makefile.PL \
44 INSTALLDIRS=vendor
45%{__make}
46
5fb1da82 47%{?with_tests:%{__make} test}
a879f36a 48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc Changes
61%{perl_vendorlib}/%{pdir}/*/*.pm
62%{perl_vendorlib}/%{pdir}/*/*/*.pm
63%{_mandir}/man3/*
This page took 0.058183 seconds and 4 git commands to generate.