]> git.pld-linux.org Git - packages/perl-POE-Component-SMTP.git/blobdiff - perl-POE-Component-SMTP.spec
use generic url
[packages/perl-POE-Component-SMTP.git] / perl-POE-Component-SMTP.spec
index 48e149c6c50ed53b047fdd2a34a60eed81848aae..70d88a8bc3426eb70bc81b4a74bb84a3c6199abe 100644 (file)
@@ -1,23 +1,24 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
-#
+%bcond_without tests   # do not perform "make test"
+
+%define                pdir    POE
+%define                pnam    Component-SMTP
 %include       /usr/lib/rpm/macros.perl
-%define        pdir    POE
-%define        pnam    Component-SMTP
-Summary:       POE::Filter::SMTP - SMTP Protocol Filter
-#Summary(pl):  
+Summary:       POE::Filter::SMTP - SMTP protocol filter
+Summary(pl.UTF-8):     POE::Filter::SMTP - filtr dla protokołu SMTP
 Name:          perl-POE-Component-SMTP
-Version:       1.4
+Version:       1.6
 Release:       1
 # same as perl
-License:       GPL/Artistic
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: a8b1906a4ec0f99b5cb57498dc7a80c9
-BuildRequires: perl-devel >= 5.6
+# Source0-md5: 26c8d3705ef2bb9ac3d6d980ee5da73d
+URL:           http://search.cpan.org/dist/POE-Component-SMTP/
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-%if %{!?_without_tests:1}0
+%if %{with tests}
 BuildRequires: perl-POE
 BuildRequires: perl-POE-Session-MultiDispatch
 BuildRequires: perl-Test-Simple
@@ -26,12 +27,14 @@ BuildArch:  noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-POE::Fitler::SMTP fitlers input and output and splits command and
-arguments, as well as return codes and return strings.  It is a subclass
-of POE::Filter::Line.
+POE::Filter::SMTP filters input and output and splits command and
+arguments, as well as return codes and return strings. It is a
+subclass of POE::Filter::Line.
 
-# %description -l pl
-# TODO
+%description -l pl.UTF-8
+POE::Filter::SMTP filtruje wejście i wyjście oraz oddziela polecenia i
+argumenty, a także zwracane kody i łańcuchy. Jest to podklasa
+POE::Filter::Line.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -41,7 +44,7 @@ of POE::Filter::Line.
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.031144 seconds and 4 git commands to generate.