]> git.pld-linux.org Git - packages/perl-Mail-IMAPClient.git/blob - perl-Mail-IMAPClient.spec
- use vendordirs, added tests (disabled - fail for me)
[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):    Mail::IMAPClient - API klienta IMAP
10 Name:           perl-Mail-IMAPClient
11 Version:        2.2.8
12 Release:        1
13 License:        Artistic or GPL
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  d8a02891cf82901a7c96e2b50ccc23bb
17 URL:            http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.readme
18 BuildRequires:  perl-devel >= 5.8
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This module provides Perl routines that simplify a sockets connection
25 to and an IMAP conversation with an IMAP server.
26
27 %description
28 Modu³ ten udostêpnia funkcje Perla upraszczaj±ce po³±czenia z serwerem
29 IMAP za pomoc± gniazd oraz konwersacjê z nim w protokole IMAP.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 yes n | %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37
38 %{__make}
39
40 %{?with_tests:%{__make} test}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc Changes README Todo
54 %{perl_vendorlib}/Mail/IMAPClient
55 %{perl_vendorlib}/Mail/IMAPClient.pm
56 %{_mandir}/man3/*
This page took 0.06103 seconds and 4 git commands to generate.