Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37412147
en ru br
ALT Linux repos
S:2.36-alt1
5.0: 1.93.01-alt1
4.1: 1.76-alt2
4.0: 1.76-alt2
3.0: 1.76-alt2

Group :: Development/Perl
RPM: perl-CPAN

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define dist CPAN
Name: perl-%dist
Version: 1.76
Release: alt2

Summary: Download and build Perl modules from CPAN sites
License: GPL or Artistic
Group: Development/Perl

Url: %CPAN %dist
Source: %dist-%version.tar.bz2
Patch0: %name-1.70-alt-deb-etc-perl5.patch

BuildArch: noarch

# support for /etc/perl5

Requires: perl-base >= 1:5.8.1
Requires: perl-Term-ReadLine-Gnu

# Automatically added by buildreq on Wed Dec 15 2004

BuildRequires: perl-devel

%description
The CPAN (Comprehensive Perl Archive Network) module is designed
to automate the make and install of perl modules and extensions.
It includes some searching capabilities and knows how to fetch
the raw data from the net.

%prep
%setup -q -n %dist-%version
%__rm -rfv BUNDLE
%patch0 -p1

%build
%perl_vendor_build

%install
%perl_vendor_install
%__install -pD -m644 /dev/null %buildroot%_sysconfdir/perl5/CPAN/Config.pm

%files
%doc Todo ChangeLog
%_bindir/cpan
%dir %_sysconfdir/perl5/CPAN
%config(noreplace) %ghost %_sysconfdir/perl5/CPAN/Config.pm
%dir %perl_vendor_privlib/CPAN
%perl_vendor_privlib/CPAN.pm
%perl_vendor_privlib/CPAN/*.pm
%dir %perl_vendor_privlib/Bundle
%perl_vendor_privlib/Bundle/CPAN.pm

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin