]> git.pld-linux.org Git - packages/perl-CPAN.git/blobdiff - perl-CPAN.spec
- should be ready for perl-5.8.0; release++
[packages/perl-CPAN.git] / perl-CPAN.spec
index beab0002866312bb63f13feed28c792685256948..ff03c330383214c60577313cee19864f78886c56 100644 (file)
@@ -4,18 +4,19 @@
 #
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    CPAN
-Summary:       CPAN - query, download and build perl modules from CPAN sites
-#Summary(pl):  
+Summary:       CPAN Perl module - query, download and build Perl modules from CPAN sites
+Summary(pl):   Modu³ Perla CPAN - odpytywanie, ¶ci±ganie i budowanie modu³ów Perla z serwisów CPAN
 Name:          perl-CPAN
-Version:       1.63
-Release:       1
+Version:       1.65
+Release:       2
 License:       ?
 Group:         Development/Languages/Perl
-Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
 %if %{?_without_tests:0}%{!?_without_tests:1}
 BuildRequires: perl(File::Spec)
 BuildRequires: perl-Test-Simple
 %endif
+BuildRequires: rpm-perlprov
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -25,14 +26,18 @@ modules and extensions. It includes some searching capabilities and
 knows how to use Net::FTP or LWP (or lynx or an external ftp client)
 to fetch the raw data from the net.
 
-# %description -l pl
-# TODO
+%description -l pl
+Modu³ CPAN s³u¿y do automatyzacji procesu budowania i instalowania
+modu³ów i rozszerzeñ Perla. Ma mo¿liwo¶æ wyszukiwania i u¿ywania
+Net::FTP lub LWP (albo lynksa czy zewnêtrznego klienta ftp) do
+¶ci±gania danych z sieci.
 
 %prep
 %setup -q -n %{pdir}-%{version}
 
 %build
-perl Makefile.PL
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor 
 %{__make}
 
 %{!?_without_tests:%{__make} test}
@@ -49,7 +54,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc ChangeLog Todo
 %attr(755,root,root) %{_bindir}/cpan
-%{perl_privlib}/*.pm
-%{perl_privlib}/%{pdir}/*.pm
+%{perl_vendorlib}/*.pm
+%{perl_vendorlib}/%{pdir}/*.pm
 %{_mandir}/man1/*
 %{_mandir}/man3/C*
This page took 0.058035 seconds and 4 git commands to generate.