]> git.pld-linux.org Git - packages/perl-Mail-POP3Client.git/blobdiff - perl-Mail-POP3Client.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Mail-POP3Client.git] / perl-Mail-POP3Client.spec
index b33cc3bb2a83037f3855a3d8fc9af7d1b5a71d55..d7386cd09d63014de52657c58db342f31b20b2fc 100644 (file)
@@ -1,45 +1,47 @@
-%include       /usr/lib/rpm/macros.perl
-Summary:       Mail-POP3Client perl module
-Summary(pl):   Modu³ perla Mail-POP3Client
+%define                pdir    Mail
+%define                pnam    POP3Client
+Summary:       Mail::POP3Client - Perl POP3 client
+Summary(pl.UTF-8):     Mail::POP3Client - klient POP3 dla Perla
 Name:          perl-Mail-POP3Client
-Version:       2.9
+Version:       2.19
 Release:       1
-License:       GPL
+# same as perl
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/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.1
+Source0:       http://www.cpan.org/modules/by-module/Mail/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 8ee509c9118fdd65a6d777b3f5f1c835
+URL:           http://search.cpan.org/dist/Mail-POP3Client/
 BuildRequires: perl-Digest-MD5
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Mail-POP3Client - Perl POP3 client.
+Mail::POP3Client - Perl POP3 client.
 
-%description -l pl
-Mail-POP3Client - klient POP3 dla perla.
+%description -l pl.UTF-8
+Mail::POP3Client - klient POP3 dla Perla.
 
 %prep
-%setup -q -n POP3Client-%{version}
-%patch0 -p1
+%setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-perl Makefile.PL
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-gzip -9nf Changes README
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
-%{perl_sitelib}/Mail/POP3Client.pm
+%doc Changes README
+%{perl_vendorlib}/Mail/POP3Client.pm
 %{_mandir}/man3/*
This page took 0.133046 seconds and 4 git commands to generate.