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