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
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