]> git.pld-linux.org Git - packages/perl-Mail-IMAPClient.git/blob - perl-Mail-IMAPClient.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Mail-IMAPClient.git] / perl-Mail-IMAPClient.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test" (currently fails?)
4 #
5 %define         pdir    Mail
6 %define         pnam    IMAPClient
7 Summary:        Mail::IMAPClient - an IMAP Client API
8 Summary(pl.UTF-8):      Mail::IMAPClient - API klienta IMAP
9 Name:           perl-Mail-IMAPClient
10 Version:        3.39
11 Release:        1
12 License:        GPL v1+ or Artistic
13 Group:          Development/Languages/Perl
14 #Source0:       http://www.cpan.org/modules/by-module/Mail/%{pdir}-%{pnam}-%{version}.tar.gz
15 Source0:        http://search.cpan.org/CPAN/authors/id/P/PL/PLOBBES/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  b813cfd79a7cab4e886d9caa94991502
17 URL:            http://search.cpan.org/dist/Mail-IMAPClient/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 Suggests:       perl(Authen::NTLM)
21 Suggests:       perl(Authen::SASL)
22 Suggests:       perl(Digest::HMAC_MD5)
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 This module provides Perl routines that simplify a sockets connection
28 to and an IMAP conversation with an IMAP server.
29
30 %description -l pl.UTF-8
31 Moduł ten udostępnia funkcje Perla upraszczające połączenia z serwerem
32 IMAP za pomocą gniazd oraz konwersację z nim w protokole IMAP.
33
34 %prep
35 %setup -q -n %{pdir}-%{pnam}-%{version}
36
37 %build
38 yes n | %{__perl} Makefile.PL \
39         INSTALLDIRS=vendor
40
41 %{__make}
42
43 %{?with_tests:%{__make} test}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc Changes README
57 %{perl_vendorlib}/Mail/IMAPClient
58 %{perl_vendorlib}/Mail/IMAPClient.pm
59 %{_mandir}/man3/*
This page took 0.073673 seconds and 3 git commands to generate.