]> git.pld-linux.org Git - packages/perl-Mail-POP3Client.git/blobdiff - perl-Mail-POP3Client.spec
- rel.2.
[packages/perl-Mail-POP3Client.git] / perl-Mail-POP3Client.spec
index c141e288a427101b10541222e403edc2e9ed031e..32e7b7429810a8e51ef87bd07e8c1b4c834d5c05 100644 (file)
@@ -1,53 +1,45 @@
-%define                perl_sitelib    %(eval "`perl -V:installsitelib`"; echo $installsitelib)
+%include       /usr/lib/rpm/macros.perl
 Summary:       Mail-POP3Client perl module
 Summary(pl):   Modu³ perla Mail-POP3Client
 Name:          perl-Mail-POP3Client
-Version:       2.0
-Release:       3
-Copyright:     GPL
+Version:       2.9
+Release:       2
+License:       GPL
 Group:         Development/Languages/Perl
-Group(pl):     Programowanie/Jêzyki/Perl
-Source:                ftp://ftp.perl.org/pub/CPAN/modules/by-module/Mail/POP3Client-%{version}.tar.gz
-BuildRequires: perl >= 5.005_03-10
-%requires_eq   perl
-Requires:      %{perl_sitearch}
-BuildRoot:     /tmp/%{name}-%{version}-root
+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
+BuildRequires: perl-Digest-MD5
+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.
 
 %prep
 %setup -q -n POP3Client-%{version}
+%patch0 -p1
 
 %build
 perl Makefile.PL
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
 
-(
-  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Mail/POP3Client
-  sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
-  mv .packlist.new .packlist
-)
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
-        Changes README
+gzip -9nf Changes README
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {Changes,README}.gz
-
+%doc *.gz
 %{perl_sitelib}/Mail/POP3Client.pm
-%{perl_sitelib}/auto/Mail/POP3Client
-%{perl_sitearch}/auto/Mail/POP3Client
-
 %{_mandir}/man3/*
This page took 0.053783 seconds and 4 git commands to generate.