]> git.pld-linux.org Git - packages/perl-Net-xAP.git/blob - perl-Net-xAP.spec
1efe6356175d7a4d005dc0e8177a01e6049578df
[packages/perl-Net-xAP.git] / perl-Net-xAP.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test" (requires IMAP server)
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Net
7 %define         pnam    xAP
8 Summary:        Net::xAP Perl module - interface to IMAP/ACAP/IMSP/ICAP protocol family
9 Summary(pl.UTF-8):      Moduł Perla Net::xAP - interfejs do rodziny protokołów IMAP/ACAP/IMSP/ICAP
10 Name:           perl-Net-xAP
11 Version:        0.02
12 Release:        4
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}%{pnam}-%{version}.tar.gz
17 # Source0-md5:  df6ddaa8dad8d366784bf9a2a1f8eed1
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  perl-Digest-HMAC
20 BuildRequires:  perl-MIME-Base64 >= 2.11
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 Requires:       perl-Digest-MD5 >= 2.01
23 Requires:       perl-MIME-Base64 >= 2.11
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 This module provides an interface to the protocol family represented
29 by IMAP, IMSP, ACAP, and ICAP. A usable IMAP module is also provide.
30 Warning: this is an alpha release!
31
32 %description -l pl.UTF-8
33 Ten moduł udostępnia interfejs do rodziny protokołów reprezentowanej
34 przez IMAP, IMSP, ACAP i ICAP. Dołączony jest także używalny moduł
35 IMAP. Uwaga: to jest wersja alpha!
36
37 %prep
38 %setup -q -n %{pdir}%{pnam}-%{version}
39
40 %build
41 %{__perl} Makefile.PL \
42         INSTALLDIRS=vendor
43 %{__make}
44
45 %{?with_tests:%{__make} test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53 install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc ANNOUNCE BUGS CREDITS NEWS README TODO
61 %{perl_vendorlib}/Net/*.pm
62 %{_mandir}/man3/*
63 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}
This page took 0.050058 seconds and 2 git commands to generate.