3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
7 %define pnam LocalDelivery
8 Summary: Email::LocalDelivery - deliver a piece of email - simply
9 Summary(pl.UTF-8): Email::LocalDelivery - po prostu dostarczanie poczty
10 Name: perl-Email-LocalDelivery
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/Email/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 6218c960f8f426b5c20a64b3fb7a6bf4
18 URL: http://search.cpan.org/dist/Email-LocalDelivery/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 # the issue of different interpretation of version numbers between perl
23 # and rpm comes back again... Here should be ">= 0.11", but the newest
24 # perl-Email-Foldertype is 0.5.
25 BuildRequires: perl-Email-FolderType
26 BuildRequires: perl-Email-Simple >= 1:1.998
27 BuildRequires: perl-File-Path-Expand
28 BuildRequires: perl-Test-Simple
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 This is the second module produced by the "Perl Email Project", a
35 reaction against the complexity and increasing bugginess of the
36 Mail::* modules. It delivers an email to a list of mailboxes.
38 %description -l pl.UTF-8
39 To jest drugi moduł wyprodukowany przez "Perl Email Project", będący
40 reakcją na złożoność i rosnący współczynnik zapluskwienia modułów
41 Mail::*. Moduł dostarcza pocztę do listy skrzynek.
44 %setup -q -n %{pdir}-%{pnam}-%{version}
47 %{__perl} Makefile.PL \
51 %{?with_tests:%{__make} test}
54 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
65 %{perl_vendorlib}/%{pdir}/*.pm
66 %{perl_vendorlib}/%{pdir}/%{pnam}