- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Mail-POP3Client.git] / perl-Mail-POP3Client.spec
1 %define         pdir    Mail
2 %define         pnam    POP3Client
3 Summary:        Mail::POP3Client - Perl POP3 client
4 Summary(pl.UTF-8):      Mail::POP3Client - klient POP3 dla Perla
5 Name:           perl-Mail-POP3Client
6 Version:        2.19
7 Release:        1
8 # same as perl
9 License:        GPL v1+ or Artistic
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/Mail/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5:  8ee509c9118fdd65a6d777b3f5f1c835
13 URL:            http://search.cpan.org/dist/Mail-POP3Client/
14 BuildRequires:  perl-Digest-MD5
15 BuildRequires:  perl-devel >= 1:5.8.0
16 BuildRequires:  rpm-perlprov >= 4.1-13
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Mail::POP3Client - Perl POP3 client.
22
23 %description -l pl.UTF-8
24 Mail::POP3Client - klient POP3 dla Perla.
25
26 %prep
27 %setup -q -n %{pdir}-%{pnam}-%{version}
28
29 %build
30 %{__perl} Makefile.PL \
31         INSTALLDIRS=vendor
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 %{__make} install \
38         DESTDIR=$RPM_BUILD_ROOT
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc Changes README
46 %{perl_vendorlib}/Mail/POP3Client.pm
47 %{_mandir}/man3/*
This page took 0.192454 seconds and 4 git commands to generate.