]> git.pld-linux.org Git - packages/perl-Mail-IMAPClient.git/blob - perl-Mail-IMAPClient.spec
b39092496b413ec5aaccd10cb9c8f457b5f22fa9
[packages/perl-Mail-IMAPClient.git] / perl-Mail-IMAPClient.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test" (currently fails?)
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Mail
7 %define         pnam    IMAPClient
8 Summary:        Mail::IMAPClient - an IMAP Client API
9 Summary(pl.UTF-8):      Mail::IMAPClient - API klienta IMAP
10 Name:           perl-Mail-IMAPClient
11 Version:        3.39
12 Release:        1
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 #Source0:       http://www.cpan.org/modules/by-module/Mail/%{pdir}-%{pnam}-%{version}.tar.gz
16 Source0:        http://search.cpan.org/CPAN/authors/id/P/PL/PLOBBES/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  b813cfd79a7cab4e886d9caa94991502
18 URL:            http://search.cpan.org/dist/Mail-IMAPClient/
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 Suggests:       perl(Authen::NTLM)
22 Suggests:       perl(Authen::SASL)
23 Suggests:       perl(Digest::HMAC_MD5)
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 This module provides Perl routines that simplify a sockets connection
29 to and an IMAP conversation with an IMAP server.
30
31 %description -l pl.UTF-8
32 Moduł ten udostępnia funkcje Perla upraszczające połączenia z serwerem
33 IMAP za pomocą gniazd oraz konwersację z nim w protokole IMAP.
34
35 %prep
36 %setup -q -n %{pdir}-%{pnam}-%{version}
37
38 %build
39 yes n | %{__perl} Makefile.PL \
40         INSTALLDIRS=vendor
41
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 %{perl_vendorlib}/Mail/IMAPClient
59 %{perl_vendorlib}/Mail/IMAPClient.pm
60 %{_mandir}/man3/*
This page took 0.059511 seconds and 2 git commands to generate.