X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=perl-Email-LocalDelivery.spec;h=aa67836b3f4a724f74cfa96b84a11f1fafe0571e;hb=HEAD;hp=02a8290df30dbb1210b5b00de0b8eddeb42409f2;hpb=f4c843f9d9e7f41cf08d233a9a7e8a532e9f3798;p=packages%2Fperl-Email-LocalDelivery.git diff --git a/perl-Email-LocalDelivery.spec b/perl-Email-LocalDelivery.spec index 02a8290..aa67836 100644 --- a/perl-Email-LocalDelivery.spec +++ b/perl-Email-LocalDelivery.spec @@ -1,39 +1,43 @@ # # Conditional build: -# _without_tests - do not perform "make test" +%bcond_without tests # do not perform "make test" # -%include /usr/lib/rpm/macros.perl -%define pdir Email -%define pnam LocalDelivery -Summary: Email::LocalDelivery - Deliver a piece of email - simply -#Summary(pl): +%define pdir Email +%define pnam LocalDelivery +Summary: Email::LocalDelivery - deliver a piece of email - simply +Summary(pl.UTF-8): Email::LocalDelivery - po prostu dostarczanie poczty Name: perl-Email-LocalDelivery -Version: 0.04 +Version: 1.200 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: dfe905201ea81b13ed974918536e56fb -BuildRequires: perl-devel >= 5.6 +Source0: http://www.cpan.org/modules/by-module/Email/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 6218c960f8f426b5c20a64b3fb7a6bf4 +URL: http://search.cpan.org/dist/Email-LocalDelivery/ +BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 -%if %{!?_without_tests:1}0 +%if %{with tests} # the issue of different interpretation of version numbers between perl # and rpm comes back again... Here should be ">= 0.11", but the newest # perl-Email-Foldertype is 0.5. BuildRequires: perl-Email-FolderType -BuildRequires: perl-Email-Simple >= 1.4 +BuildRequires: perl-Email-Simple >= 1:1.998 +BuildRequires: perl-File-Path-Expand +BuildRequires: perl-Test-Simple %endif BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -This is the second module produced by the "Perl Email Project", -a reaction against the complexity and increasing bugginess of the -C modules. It delivers an email to a list of mailboxes. +This is the second module produced by the "Perl Email Project", a +reaction against the complexity and increasing bugginess of the +Mail::* modules. It delivers an email to a list of mailboxes. -# %description -l pl -# TODO +%description -l pl.UTF-8 +To jest drugi moduł wyprodukowany przez "Perl Email Project", będący +reakcją na złożoność i rosnący współczynnik zapluskwienia modułów +Mail::*. Moduł dostarcza pocztę do listy skrzynek. %prep %setup -q -n %{pdir}-%{pnam}-%{version} @@ -43,7 +47,7 @@ C modules. It delivers an email to a list of mailboxes. INSTALLDIRS=vendor %{__make} -%{!?_without_tests:%{__make} test} +%{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT