]> git.pld-linux.org Git - SPECS.git/blob - perl-Email-Folder-POP3.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / perl-Email-Folder-POP3.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    Email
6 %define pnam    Folder-POP3
7 Summary:        Email::Folder::POP3 - Email::Folder access to POP3 folders
8 Summary(pl.UTF-8):      Email::Folder::POP3 - dostęp do katalogów POP3 z poziomu Email::Folder
9 Name:           perl-Email-Folder-POP3
10 Version:        1.013
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Email/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  cdd6956824c72350be95ce6ca648e027
17 URL:            http://search.cpan.org/dist/Email-Folder-POP3/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-Email-Folder >= 0.84
22 BuildRequires:  perl-Email-FolderType-Net >= 1.02
23 BuildRequires:  perl(Net::POP3) >= 2.28
24 BuildRequires:  perl(Test::More) >= 0.47
25 BuildRequires:  perl-URI >= 1.35
26 %endif
27 BuildArch:      noarch
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 This software adds POP3 functionality to Email::Folder. Its interface
32 is identical to the other Email::Folder::Reader subclasses.
33
34 %description -l pl.UTF-8
35 Ten moduł rozszerza Email::Folder o funkcjonalność POP3. Interfejs
36 jest identyczny z innymi podklasami Email::Folder::Reader.
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44 %{__make}
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc Changes README
60 %{perl_vendorlib}/Email/Folder/POP3.pm
61 %{_mandir}/man3/*
This page took 0.369296 seconds and 3 git commands to generate.