]> git.pld-linux.org Git - packages/perl-Net-IMAP-Simple.git/blob - perl-Net-IMAP-Simple.spec
- BR: perl-devel; do not BR: perl
[packages/perl-Net-IMAP-Simple.git] / perl-Net-IMAP-Simple.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 %include        /usr/lib/rpm/macros.perl
5 %define         pdir    Net
6 %define         pnam    IMAP-Simple
7 Summary:        Net::IMAP::Simple Perl module - simple IMAP account handling
8 Summary(pl):    Modu³ Perla Net::IMAP::Simple - prosta obs³uga kont IMAP
9 Name:           perl-Net-IMAP-Simple
10 Version:        0.93
11 Release:        2
12 License:        Artistic or GPL
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 BuildRequires:  perl-devel >= 5.6
16 BuildRequires:  rpm-perlprov >= 4.1-13
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 This module is a simple way to access IMAP accounts. The API is mostly
22 equivalent to the Net::POP3 one, with some aditional methods for
23 mailbox handling.
24
25 %description -l pl
26 Ten modu³ pozwala na ³atwy dostêp do kont IMAP. API w wiêkszo¶ci
27 odpowiada temu z modu³u Net::POP3, z paroma dodatkowymi metodami do
28 obs³ugi skrzynek.
29
30 %prep
31 %setup -q -n %{pdir}-%{pnam}-%{version}
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor 
36 %{__make}
37
38 %{!?_without_tests:%{__make} test}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc Changes
52 %dir %{perl_vendorlib}/Net/IMAP
53 %{perl_vendorlib}/Net/IMAP/Simple.pm
54 %{_mandir}/man3/*
This page took 0.077635 seconds and 4 git commands to generate.