3 %bcond_without tests # do not perform "make test"
6 %define pnam Component-SMTP
7 %include /usr/lib/rpm/macros.perl
8 Summary: POE::Filter::SMTP - SMTP protocol filter
9 Summary(pl.UTF-8): POE::Filter::SMTP - filtr dla protokołu SMTP
10 Name: perl-POE-Component-SMTP
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 26c8d3705ef2bb9ac3d6d980ee5da73d
18 URL: http://search.cpan.org/dist/POE-Component-SMTP/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: perl-POE
23 BuildRequires: perl-POE-Session-MultiDispatch
24 BuildRequires: perl-Test-Simple
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 POE::Filter::SMTP filters input and output and splits command and
31 arguments, as well as return codes and return strings. It is a
32 subclass of POE::Filter::Line.
34 %description -l pl.UTF-8
35 POE::Filter::SMTP filtruje wejście i wyjście oraz oddziela polecenia i
36 argumenty, a także zwracane kody i łańcuchy. Jest to podklasa
40 %setup -q -n %{pdir}-%{pnam}-%{version}
43 %{__perl} Makefile.PL \
47 %{?with_tests:%{__make} test}
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
61 %{perl_vendorlib}/%{pdir}/*/*.pm
62 %{perl_vendorlib}/%{pdir}/*/*/*.pm