]> git.pld-linux.org Git - packages/perl-Mail-POP3Client.git/blob - perl-Mail-POP3Client.spec
- more %%{__make} macros.
[packages/perl-Mail-POP3Client.git] / perl-Mail-POP3Client.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Mail-POP3Client perl module
3 Summary(pl):    Modu³ perla Mail-POP3Client
4 Name:           perl-Mail-POP3Client
5 Version:        2.5
6 Release:        1
7 License:        GPL
8 Group:          Development/Languages/Perl
9 Group(pl):      Programowanie/Jêzyki/Perl
10 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/Mail/POP3Client-%{version}.tar.gz
11 BuildRequires:  rpm-perlprov >= 3.0.3-16
12 BuildRequires:  perl >= 5.005_03-14
13 BuildRequires:  perl-Digest-MD5
14 %requires_eq    perl
15 Requires:       %{perl_sitearch}
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Mail-POP3Client - Perl POP3 client.
20
21 %description -l pl
22 Mail-POP3Client - klient POP3 dla perla.
23
24 %prep
25 %setup -q -n POP3Client-%{version}
26
27 %build
28 perl Makefile.PL
29 %{__make}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 %{__make} install DESTDIR=$RPM_BUILD_ROOT
34
35 (
36   cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Mail/POP3Client
37   sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
38   mv .packlist.new .packlist
39 )
40
41 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
42         Changes README
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc {Changes,README}.gz
50
51 %{perl_sitelib}/Mail/POP3Client.pm
52 %{perl_sitelib}/auto/Mail/POP3Client
53 %{perl_sitearch}/auto/Mail/POP3Client
54
55 %{_mandir}/man3/*
This page took 0.143391 seconds and 4 git commands to generate.