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.93.01
Release: alt1
Summary: Download and build Perl modules from CPAN sites
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-1.9301.tar
Patch: %name-%version-%release.patch
Requires: /etc/perl5
BuildArch: noarch
# Automatically added by buildreq on Sat Dec 20 2008
BuildRequires: perl-Archive-Tar perl-Archive-Zip perl-Digest-SHA perl-Module-Build perl-Test-Pod perl-libwww
%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-1.9301
%patch -p1
rm -rv inc
%build
%perl_vendor_build
%install
%perl_vendor_install
install -pD -m644 /dev/null %buildroot/etc/perl5/CPAN/Config.pm
%files
%doc Changes README
%doc PAUSE2007.pub
%_bindir/cpan
%dir /etc/perl5/CPAN
%config(noreplace) %ghost /etc/perl5/CPAN/Config.pm
%dir %perl_vendor_privlib/CPAN
%perl_vendor_privlib/CPAN.pm
%perl_vendor_privlib/CPAN/*.pm
%dir %perl_vendor_privlib/CPAN/API
%doc %perl_vendor_privlib/CPAN/API/HOWTO.pod
%dir %perl_vendor_privlib/CPAN/Kwalify
%perl_vendor_privlib/CPAN/Kwalify/*.*
%changelog
…
Full changelog you can see here
Name: perl-%dist
Version: 1.93.01
Release: alt1
Summary: Download and build Perl modules from CPAN sites
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-1.9301.tar
Patch: %name-%version-%release.patch
Requires: /etc/perl5
BuildArch: noarch
# Automatically added by buildreq on Sat Dec 20 2008
BuildRequires: perl-Archive-Tar perl-Archive-Zip perl-Digest-SHA perl-Module-Build perl-Test-Pod perl-libwww
%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-1.9301
%patch -p1
rm -rv inc
%build
%perl_vendor_build
%install
%perl_vendor_install
install -pD -m644 /dev/null %buildroot/etc/perl5/CPAN/Config.pm
%files
%doc Changes README
%doc PAUSE2007.pub
%_bindir/cpan
%dir /etc/perl5/CPAN
%config(noreplace) %ghost /etc/perl5/CPAN/Config.pm
%dir %perl_vendor_privlib/CPAN
%perl_vendor_privlib/CPAN.pm
%perl_vendor_privlib/CPAN/*.pm
%dir %perl_vendor_privlib/CPAN/API
%doc %perl_vendor_privlib/CPAN/API/HOWTO.pod
%dir %perl_vendor_privlib/CPAN/Kwalify
%perl_vendor_privlib/CPAN/Kwalify/*.*
%changelog
…
Full changelog you can see here