3 %bcond_without tests # do not perform "make test"
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
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
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
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 This software adds POP3 functionality to Email::Folder. Its interface
32 is identical to the other Email::Folder::Reader subclasses.
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.
39 %setup -q -n %{pdir}-%{pnam}-%{version}
42 %{__perl} Makefile.PL \
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %{perl_vendorlib}/Email/Folder/POP3.pm