]> git.pld-linux.org Git - packages/perl-Email-LocalDelivery.git/blame - perl-Email-LocalDelivery.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Email-LocalDelivery.git] / perl-Email-LocalDelivery.spec
CommitLineData
f4c843f9 1#
2# Conditional build:
eb175b15 3%bcond_without tests # do not perform "make test"
f4c843f9 4#
62c77445 5%define pdir Email
6%define pnam LocalDelivery
183d7e7c 7Summary: Email::LocalDelivery - deliver a piece of email - simply
07e59b5f 8Summary(pl.UTF-8): Email::LocalDelivery - po prostu dostarczanie poczty
f4c843f9 9Name: perl-Email-LocalDelivery
ead1ed09 10Version: 1.200
f8fa1a1e 11Release: 1
f4c843f9 12# same as perl
59687419 13License: GPL v1+ or Artistic
f4c843f9 14Group: Development/Languages/Perl
bd68a4fa 15Source0: http://www.cpan.org/modules/by-module/Email/%{pdir}-%{pnam}-%{version}.tar.gz
ead1ed09 16# Source0-md5: 6218c960f8f426b5c20a64b3fb7a6bf4
f8fa1a1e 17URL: http://search.cpan.org/dist/Email-LocalDelivery/
b8b4f49e 18BuildRequires: perl-devel >= 1:5.8.0
f4c843f9 19BuildRequires: rpm-perlprov >= 4.1-13
eb175b15 20%if %{with tests}
f4c843f9 21# the issue of different interpretation of version numbers between perl
22# and rpm comes back again... Here should be ">= 0.11", but the newest
23# perl-Email-Foldertype is 0.5.
24BuildRequires: perl-Email-FolderType
bd68a4fa 25BuildRequires: perl-Email-Simple >= 1:1.998
96aeb2f0 26BuildRequires: perl-File-Path-Expand
27BuildRequires: perl-Test-Simple
f4c843f9 28%endif
29BuildArch: noarch
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
c9e35d2c
JB
33This is the second module produced by the "Perl Email Project", a
34reaction against the complexity and increasing bugginess of the
35Mail::* modules. It delivers an email to a list of mailboxes.
f4c843f9 36
45047fdd
JR
37%description -l pl.UTF-8
38To jest drugi moduł wyprodukowany przez "Perl Email Project", będący
39reakcją na złożoność i rosnący współczynnik zapluskwienia modułów
40Mail::*. Moduł dostarcza pocztę do listy skrzynek.
f4c843f9 41
42%prep
43%setup -q -n %{pdir}-%{pnam}-%{version}
44
45%build
46%{__perl} Makefile.PL \
47 INSTALLDIRS=vendor
48%{__make}
49
eb175b15 50%{?with_tests:%{__make} test}
f4c843f9 51
52%install
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
63%doc Changes
64%{perl_vendorlib}/%{pdir}/*.pm
65%{perl_vendorlib}/%{pdir}/%{pnam}
66%{_mandir}/man3/*
This page took 0.096258 seconds and 4 git commands to generate.