]> git.pld-linux.org Git - packages/perl-Email-LocalDelivery.git/blobdiff - perl-Email-LocalDelivery.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Email-LocalDelivery.git] / perl-Email-LocalDelivery.spec
index 02a8290df30dbb1210b5b00de0b8eddeb42409f2..aa67836b3f4a724f74cfa96b84a11f1fafe0571e 100644 (file)
@@ -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",
-reaction against the complexity and increasing bugginess of the
-C<Mail::*> 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<Mail::*> 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
This page took 0.24783 seconds and 4 git commands to generate.