]> git.pld-linux.org Git - packages/perl-Email-LocalDelivery.git/blob - perl-Email-LocalDelivery.spec
d51f58582e028a0163d97f4cbfd8a79f72e95c3b
[packages/perl-Email-LocalDelivery.git] / perl-Email-LocalDelivery.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Email
7 %define         pnam    LocalDelivery
8 Summary:        Email::LocalDelivery - deliver a piece of email - simply
9 Summary(pl):    Email::LocalDelivery - po prostu dostarczanie poczty
10 Name:           perl-Email-LocalDelivery
11 Version:        0.21
12 Release:        1
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  687fcefdf7684b481d1401a04e32e375
18 URL:            http://search.cpan.org/dist/Email-LocalDelivery/
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 %if %{with tests}
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.4
27 BuildRequires:  perl-File-Path-Expand
28 BuildRequires:  perl-Test-Simple
29 %endif
30 BuildArch:      noarch
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
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.
37
38 %description -l pl
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.
42
43 %prep
44 %setup -q -n %{pdir}-%{pnam}-%{version}
45
46 %build
47 %{__perl} Makefile.PL \
48         INSTALLDIRS=vendor
49 %{__make}
50
51 %{?with_tests:%{__make} test}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc Changes
65 %{perl_vendorlib}/%{pdir}/*.pm
66 %{perl_vendorlib}/%{pdir}/%{pnam}
67 %{_mandir}/man3/*
This page took 0.029957 seconds and 2 git commands to generate.