%include /usr/lib/rpm/macros.perl Summary: Mail-POP3Client perl module Summary(pl): Moduł perla Mail-POP3Client Name: perl-Mail-POP3Client Version: 2.7 Release: 2 License: GPL Group: Development/Languages/Perl Group(de): Entwicklung/Sprachen/Perl Group(pl): Programowanie/Języki/Perl Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Mail/POP3Client-%{version}.tar.gz Patch0: %{name}-Digest-MD5.patch BuildRequires: rpm-perlprov >= 3.0.3-16 BuildRequires: perl >= 5.6 BuildRequires: perl-Digest-MD5 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Mail-POP3Client - Perl POP3 client. %description -l pl Mail-POP3Client - klient POP3 dla perla. %prep %setup -q -n POP3Client-%{version} %patch0 -p1 %build perl Makefile.PL %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT gzip -9nf Changes README %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc *.gz %{perl_sitelib}/Mail/POP3Client.pm %{perl_sitelib}/auto/Mail/POP3Client %{_mandir}/man3/*