diff --git a/.perl-CPANPLUS.metadata b/.perl-CPANPLUS.metadata new file mode 100644 index 0000000..4eec941 --- /dev/null +++ b/.perl-CPANPLUS.metadata @@ -0,0 +1 @@ +2803a1b9c6d3e17f1aba54ec3e8f6f48e38cfc5e SOURCES/CPANPLUS-0.9138.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-CPANPLUS.spec b/SPECS/perl-CPANPLUS.spec new file mode 100644 index 0000000..d61f55a --- /dev/null +++ b/SPECS/perl-CPANPLUS.spec @@ -0,0 +1,136 @@ +%global cpan_version 0.9138 +Name: perl-CPANPLUS +# Keep 2-digit major varion to compete with perl.spec for history +Version: %(echo '%{cpan_version}' | sed 's/\(\...\)/\1./') +Release: 2%{?dist} +Summary: Ameliorated interface to the Comprehensive Perl Archive Network +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/CPANPLUS/ +Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/CPANPLUS-%{cpan_version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Config) +BuildRequires: perl(constant) +BuildRequires: perl(File::Copy) +BuildRequires: perl(File::Spec) +BuildRequires: perl(FindBin) +BuildRequires: perl(Getopt::Long) +%if %{defined perl_bootstrap} +BuildRequires: perl(ExtUtils::MakeMaker) +# ExtUtils::Manifest not used +BuildRequires: perl(ExtUtils::MM_Unix) +# Module::Build not used +# YAML not used +%else +BuildRequires: perl(inc::Module::Install) +%endif +BuildRequires: perl(lib) +BuildRequires: perl(Locale::Maketext::Simple) +BuildRequires: perl(Module::Loaded) +# Run-time: +BuildRequires: perl(Archive::Extract) +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Cwd) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(DBD::SQLite) +BuildRequires: perl(DBIx::Simple) +BuildRequires: perl(Exporter) +BuildRequires: perl(IPC::Cmd) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Fetch) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Glob) +BuildRequires: perl(FileHandle) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec::Unix) +BuildRequires: perl(File::stat) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Log::Message) +BuildRequires: perl(Module::CoreList) >= 2.22 +BuildRequires: perl(Module::Load) +BuildRequires: perl(Module::Load::Conditional) +BuildRequires: perl(Module::Pluggable) +BuildRequires: perl(Object::Accessor) +BuildRequires: perl(overload) +BuildRequires: perl(Package::Constants) +BuildRequires: perl(Params::Check) +BuildRequires: perl(Parse::CPAN::Meta) +BuildRequires: perl(strict) +BuildRequires: perl(Term::ReadLine) +BuildRequires: perl(Term::UI) +BuildRequires: perl(Tie::Hash) +BuildRequires: perl(Time::Local) +BuildRequires: perl(vars) +BuildRequires: perl(version) +BuildRequires: perl(warnings) +# Tests: +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +# lib/CPANPLUS/Internals.pm:465 +Requires: perl(File::Glob) +# lib/CPANPLUS/Internals/Utils.pm:68 +Requires: perl(File::Path) +# lib/CPANPLUS/Internals/Utils.pm:323 +Requires: perl(File::stat) +# bin/cpanp-boxed:10 +Requires: perl(FindBin) +# lib/CPANPLUS/Module.pm:477 +Requires: perl(Module::CoreList) >= 2.22 +# lib/CPANPLUS/Configure.pm:181 +Requires: perl(Module::Pluggable) + +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Your::Module::Here|Test)\\) + +%description +The CPANPLUS library is an API to the CPAN mirrors and a collection of +interactive shells, command line programs, etc., that use this API. + +%prep +%setup -q -n CPANPLUS-%{cpan_version} +# Remove bundled modules +%if !%{defined perl_bootstrap} +rm -rf inc +sed -i -e '/^inc\//d' MANIFEST +%else +rm -rf inc/bundle +sed -i -e '/^inc\/bundle\//d' MANIFEST +%endif +# Fix shebangs +sed -i -e '1i#!%{__perl}' bin/cpanp-run-perl + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc ChangeLog README +%{_bindir}/* +%{perl_vendorlib}/* +%{_mandir}/man1/* +%{_mandir}/man3/* + +%changelog +* Fri Jul 12 2013 Petr Pisar - 0.91.38-2 +- Specify all dependencies + +* Tue May 21 2013 Petr Pisar - 0.91.38-1 +- 0.9138 bump + +* Mon Apr 29 2013 Petr Pisar - 0.91.36-1 +- 0.9136 bump + +* Thu Apr 04 2013 Petr Pisar - 0.91.34-2 +- Keep bundled inc::Module::Install modules at boot-strap (bug #947489) + +* Thu Jan 24 2013 Petr Pisar 0.91.34-1 +- Specfile autogenerated by cpanspec 1.78.