]> git.pld-linux.org Git - packages/perl-Email-LocalDelivery.git/blob - perl-Email-LocalDelivery.spec
354e33fd57509e4d981898223ecbb5bebef7f27b
[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.09
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:  74cc1bbf18f036dace59b7bd9da869a2
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
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.
24 BuildRequires:  perl-Email-FolderType
25 BuildRequires:  perl-Email-Simple >= 1:1.4
26 BuildRequires:  perl-File-Path-Expand
27 BuildRequires:  perl-Test-Simple
28 %endif
29 BuildArch:      noarch
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 This is the second module produced by the "Perl Email Project", a
34 reaction against the complexity and increasing bugginess of the
35 Mail::* modules. It delivers an email to a list of mailboxes.
36
37 %description -l pl
38 To jest drugi modu³ wyprodukowany przez "Perl Email Project", bêd±cy
39 reakcj± na z³o¿ono¶æ i rosn±cy wspó³czynnik zapluskwienia modu³ów
40 Mail::*. Modu³ dostarcza pocztê do listy skrzynek.
41
42 %prep
43 %setup -q -n %{pdir}-%{pnam}-%{version}
44
45 %build
46 %{__perl} Makefile.PL \
47         INSTALLDIRS=vendor
48 %{__make}
49
50 %{?with_tests:%{__make} test}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -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.12591 seconds and 3 git commands to generate.