]> git.pld-linux.org Git - packages/perl-Net-IMAP-Simple-SSL.git/blame - perl-Net-IMAP-Simple-SSL.spec
- generic URL
[packages/perl-Net-IMAP-Simple-SSL.git] / perl-Net-IMAP-Simple-SSL.spec
CommitLineData
2e650ba8
AG
1#
2# Conditional build:
9e50ae7e 3%bcond_without tests # do not perform "make test"
2e650ba8
AG
4#
5%include /usr/lib/rpm/macros.perl
2135198d 6%define pdir Net
7%define pnam IMAP-Simple-SSL
2e650ba8 8Summary: Net::IMAP::Simple::SSL - SSL support for Net::IMAP::Simple
cd4552f7 9Summary(pl.UTF-8): Net::IMAP::Simple::SSL - obsługa SSL dla Net::IMAP::Simple
2e650ba8
AG
10Name: perl-Net-IMAP-Simple-SSL
11Version: 1.3
32a96778 12Release: 2
2e650ba8
AG
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
0edab009 16Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
2e650ba8 17# Source0-md5: 86f5e996ff9adadbc849aadc351eca81
0edab009 18URL: http://search.cpan.org/dist/Net-IMAP-Simple-SSL/
2e650ba8
AG
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
32a96778 22BuildRequires: perl(Test::More)
95d1e148
JB
23BuildRequires: perl-IO-Socket-SSL
24BuildRequires: perl-Net-IMAP-Simple >= 0.95
2e650ba8
AG
25%endif
26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30This module is a subclass of Net::IMAP::SImple that includes SSL
31support. The interface is identical.
32
aefdb09a 33%description -l pl.UTF-8
32a96778
ER
34Ten moduł jest podklasą Net::IMAP::Simple dodającą obsługę protokołu
35SSL. Interfejs w obu klasach jest identyczny.
2e650ba8
AG
36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
43%{__make}
44
45%{?with_tests:%{__make} test}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc Changes README
32a96778 59%dir %{perl_vendorlib}/Net/IMAP/Simple
2e650ba8
AG
60%{perl_vendorlib}/Net/IMAP/Simple/SSL.pm
61%{_mandir}/man3/*
This page took 0.959071 seconds and 4 git commands to generate.