]> git.pld-linux.org Git - packages/perl-Net-IMAP-Simple-SSL.git/blob - perl-Net-IMAP-Simple-SSL.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Net-IMAP-Simple-SSL.git] / perl-Net-IMAP-Simple-SSL.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Net
6 %define         pnam    IMAP-Simple-SSL
7 Summary:        Net::IMAP::Simple::SSL - SSL support for Net::IMAP::Simple
8 Summary(pl.UTF-8):      Net::IMAP::Simple::SSL - obsługa SSL dla Net::IMAP::Simple
9 Name:           perl-Net-IMAP-Simple-SSL
10 Version:        1.3
11 Release:        2
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  86f5e996ff9adadbc849aadc351eca81
17 URL:            http://search.cpan.org/dist/Net-IMAP-Simple-SSL/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl(Test::More)
22 BuildRequires:  perl-IO-Socket-SSL
23 BuildRequires:  perl-Net-IMAP-Simple >= 0.95
24 %endif
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 This module is a subclass of Net::IMAP::SImple that includes SSL
30 support. The interface is identical.
31
32 %description -l pl.UTF-8
33 Ten moduł jest podklasą Net::IMAP::Simple dodającą obsługę protokołu
34 SSL. Interfejs w obu klasach jest identyczny.
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
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc Changes README
58 %dir %{perl_vendorlib}/Net/IMAP/Simple
59 %{perl_vendorlib}/Net/IMAP/Simple/SSL.pm
60 %{_mandir}/man3/*
This page took 0.094252 seconds and 4 git commands to generate.