|
|
7a33583 |
%global cpan_version 0.9152
|
|
|
2c6fbd3 |
Name: perl-CPANPLUS
|
|
|
2c6fbd3 |
# Keep 2-digit major varion to compete with perl.spec for history
|
|
|
2c6fbd3 |
Version: %(echo '%{cpan_version}' | sed 's/\(\...\)/\1./')
|
|
|
d88682c |
Release: 7%{?dist}
|
|
|
2c6fbd3 |
Summary: Ameliorated interface to the Comprehensive Perl Archive Network
|
|
|
2c6fbd3 |
License: GPL+ or Artistic
|
|
|
2c6fbd3 |
Group: Development/Libraries
|
|
|
2c6fbd3 |
URL: http://search.cpan.org/dist/CPANPLUS/
|
|
|
2c6fbd3 |
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/CPANPLUS-%{cpan_version}.tar.gz
|
|
|
2c6fbd3 |
BuildArch: noarch
|
|
|
c7df086 |
BuildRequires: perl
|
|
|
2c6fbd3 |
BuildRequires: perl(Config)
|
|
|
2c6fbd3 |
BuildRequires: perl(constant)
|
|
|
2c6fbd3 |
BuildRequires: perl(File::Copy)
|
|
|
2c6fbd3 |
BuildRequires: perl(File::Spec)
|
|
|
2c6fbd3 |
BuildRequires: perl(FindBin)
|
|
|
2c6fbd3 |
BuildRequires: perl(Getopt::Long)
|
|
|
6f0c8a7 |
%if %{defined perl_bootstrap}
|
|
|
6f0c8a7 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
6f0c8a7 |
# ExtUtils::Manifest not used
|
|
|
6f0c8a7 |
BuildRequires: perl(ExtUtils::MM_Unix)
|
|
|
6f0c8a7 |
# Module::Build not used
|
|
|
6f0c8a7 |
# YAML not used
|
|
|
6f0c8a7 |
%else
|
|
|
2c6fbd3 |
BuildRequires: perl(inc::Module::Install)
|
|
|
6f0c8a7 |
%endif
|
|
|
2c6fbd3 |
BuildRequires: perl(lib)
|
|
|
2c6fbd3 |
BuildRequires: perl(Locale::Maketext::Simple)
|
|
|
2c6fbd3 |
BuildRequires: perl(Module::Loaded)
|
|
|
2c6fbd3 |
# Run-time:
|
|
|
2c6fbd3 |
BuildRequires: perl(Archive::Extract)
|
|
|
2c6fbd3 |
BuildRequires: perl(base)
|
|
|
2c6fbd3 |
BuildRequires: perl(Carp)
|
|
|
2c6fbd3 |
BuildRequires: perl(Cwd)
|
|
|
2c6fbd3 |
BuildRequires: perl(Data::Dumper)
|
|
|
2c6fbd3 |
BuildRequires: perl(DBD::SQLite)
|
|
|
2c6fbd3 |
BuildRequires: perl(DBIx::Simple)
|
|
|
2c6fbd3 |
BuildRequires: perl(Exporter)
|
|
|
2c6fbd3 |
BuildRequires: perl(IPC::Cmd)
|
|
|
2c6fbd3 |
BuildRequires: perl(File::Basename)
|
|
|
2c6fbd3 |
BuildRequires: perl(File::Fetch)
|
|
|
2c6fbd3 |
BuildRequires: perl(File::Find)
|
|
|
2c6fbd3 |
BuildRequires: perl(File::Glob)
|
|
|
2c6fbd3 |
BuildRequires: perl(FileHandle)
|
|
|
2c6fbd3 |
BuildRequires: perl(File::Path)
|
|
|
2c6fbd3 |
BuildRequires: perl(File::Spec::Unix)
|
|
|
2c6fbd3 |
BuildRequires: perl(File::stat)
|
|
|
2c6fbd3 |
BuildRequires: perl(File::Temp)
|
|
|
2c6fbd3 |
BuildRequires: perl(Log::Message)
|
|
|
c7df086 |
BuildRequires: perl(Module::CoreList) >= 2.22
|
|
|
2c6fbd3 |
BuildRequires: perl(Module::Load)
|
|
|
2c6fbd3 |
BuildRequires: perl(Module::Load::Conditional)
|
|
|
91506cd |
BuildRequires: perl(Module::Pluggable)
|
|
|
2c6fbd3 |
BuildRequires: perl(Object::Accessor)
|
|
|
2c6fbd3 |
BuildRequires: perl(overload)
|
|
|
2c6fbd3 |
BuildRequires: perl(Package::Constants)
|
|
|
2c6fbd3 |
BuildRequires: perl(Params::Check)
|
|
|
2c6fbd3 |
BuildRequires: perl(Parse::CPAN::Meta)
|
|
|
2c6fbd3 |
BuildRequires: perl(strict)
|
|
|
2c6fbd3 |
BuildRequires: perl(Term::ReadLine)
|
|
|
2c6fbd3 |
BuildRequires: perl(Term::UI)
|
|
|
2c6fbd3 |
BuildRequires: perl(Tie::Hash)
|
|
|
2c6fbd3 |
BuildRequires: perl(Time::Local)
|
|
|
2c6fbd3 |
BuildRequires: perl(vars)
|
|
|
2c6fbd3 |
BuildRequires: perl(version)
|
|
|
2c6fbd3 |
BuildRequires: perl(warnings)
|
|
|
2c6fbd3 |
# Tests:
|
|
|
2c6fbd3 |
BuildRequires: perl(Test::More)
|
|
|
2c6fbd3 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
2c6fbd3 |
# lib/CPANPLUS/Internals.pm:465
|
|
|
2c6fbd3 |
Requires: perl(File::Glob)
|
|
|
2c6fbd3 |
# lib/CPANPLUS/Internals/Utils.pm:68
|
|
|
2c6fbd3 |
Requires: perl(File::Path)
|
|
|
2c6fbd3 |
# lib/CPANPLUS/Internals/Utils.pm:323
|
|
|
2c6fbd3 |
Requires: perl(File::stat)
|
|
|
2c6fbd3 |
# bin/cpanp-boxed:10
|
|
|
2c6fbd3 |
Requires: perl(FindBin)
|
|
|
c7df086 |
# lib/CPANPLUS/Module.pm:477
|
|
|
c7df086 |
Requires: perl(Module::CoreList) >= 2.22
|
|
|
91506cd |
# lib/CPANPLUS/Configure.pm:181
|
|
|
91506cd |
Requires: perl(Module::Pluggable)
|
|
|
2c6fbd3 |
|
|
|
2c6fbd3 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Your::Module::Here|Test)\\)
|
|
|
2c6fbd3 |
|
|
|
2c6fbd3 |
%description
|
|
|
2c6fbd3 |
The CPANPLUS library is an API to the CPAN mirrors and a collection of
|
|
|
2c6fbd3 |
interactive shells, command line programs, etc., that use this API.
|
|
|
2c6fbd3 |
|
|
|
2c6fbd3 |
%prep
|
|
|
2c6fbd3 |
%setup -q -n CPANPLUS-%{cpan_version}
|
|
|
2c6fbd3 |
# Remove bundled modules
|
|
|
6f0c8a7 |
%if !%{defined perl_bootstrap}
|
|
|
2c6fbd3 |
rm -rf inc
|
|
|
2c6fbd3 |
sed -i -e '/^inc\//d' MANIFEST
|
|
|
6f0c8a7 |
%else
|
|
|
6f0c8a7 |
rm -rf inc/bundle
|
|
|
6f0c8a7 |
sed -i -e '/^inc\/bundle\//d' MANIFEST
|
|
|
6f0c8a7 |
%endif
|
|
|
2c6fbd3 |
# Fix shebangs
|
|
|
2c6fbd3 |
sed -i -e '1i#!%{__perl}' bin/cpanp-run-perl
|
|
|
2c6fbd3 |
|
|
|
2c6fbd3 |
%build
|
|
|
2c6fbd3 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
2c6fbd3 |
make %{?_smp_mflags}
|
|
|
2c6fbd3 |
|
|
|
2c6fbd3 |
%install
|
|
|
2c6fbd3 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
2c6fbd3 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
2c6fbd3 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
2c6fbd3 |
|
|
|
2c6fbd3 |
%check
|
|
|
4d5b104 |
make test %{?_smp_mflags}
|
|
|
2c6fbd3 |
|
|
|
2c6fbd3 |
%files
|
|
|
2c6fbd3 |
%doc ChangeLog README
|
|
|
2c6fbd3 |
%{_bindir}/*
|
|
|
2c6fbd3 |
%{perl_vendorlib}/*
|
|
|
2c6fbd3 |
%{_mandir}/man1/*
|
|
|
2c6fbd3 |
%{_mandir}/man3/*
|
|
|
2c6fbd3 |
|
|
|
2c6fbd3 |
%changelog
|
|
|
d88682c |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91.52-7
|
|
|
d88682c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
d88682c |
|
|
|
9e5f676 |
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.91.52-6
|
|
|
9e5f676 |
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
9e5f676 |
|
|
|
f92033f |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.91.52-5
|
|
|
f92033f |
- Perl 5.22 rebuild
|
|
|
f92033f |
|
|
|
543a6cc |
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.91.52-4
|
|
|
543a6cc |
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
543a6cc |
|
|
|
bfd26e2 |
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.91.52-3
|
|
|
bfd26e2 |
- Perl 5.20 rebuild
|
|
|
bfd26e2 |
|
|
|
7a33583 |
* Thu Jun 12 2014 Petr Pisar <ppisar@redhat.com> - 0.91.52-2
|
|
|
7a33583 |
- 0.9152 bump
|
|
|
7a33583 |
|
|
|
2ea981e |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91.48-2
|
|
|
2ea981e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
2ea981e |
|
|
|
fadcade |
* Tue Feb 04 2014 Petr Pisar <ppisar@redhat.com> - 0.91.48-1
|
|
|
fadcade |
- 0.9148 bump
|
|
|
fadcade |
|
|
|
4d5b104 |
* Mon Feb 03 2014 Petr Pisar <ppisar@redhat.com> - 0.91.46-1
|
|
|
4d5b104 |
- 0.9146 bump
|
|
|
4d5b104 |
- Run tests in parallel
|
|
|
4d5b104 |
|
|
|
cafae43 |
* Wed Dec 11 2013 Petr Pisar <ppisar@redhat.com> - 0.91.44-1
|
|
|
cafae43 |
- 0.9144 bump
|
|
|
cafae43 |
|
|
|
1412790 |
* Mon Aug 26 2013 Petr Pisar <ppisar@redhat.com> - 0.91.42-1
|
|
|
1412790 |
- 0.9142 bump
|
|
|
1412790 |
|
|
|
b9d9fcd |
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.91.40-2
|
|
|
b9d9fcd |
- Perl 5.18 re-rebuild of bootstrapped packages
|
|
|
b9d9fcd |
|
|
|
a6dbae8 |
* Mon Aug 05 2013 Petr Pisar <ppisar@redhat.com> - 0.91.40-1
|
|
|
a6dbae8 |
- 0.9140 bump
|
|
|
a6dbae8 |
|
|
|
414f5c4 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91.38-3
|
|
|
414f5c4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
414f5c4 |
|
|
|
ba6628e |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 0.91.38-2
|
|
|
ba6628e |
- Perl 5.18 rebuild
|
|
|
c7df086 |
- Specify all dependencies
|
|
|
ba6628e |
|
|
|
d89534d |
* Tue May 21 2013 Petr Pisar <ppisar@redhat.com> - 0.91.38-1
|
|
|
d89534d |
- 0.9138 bump
|
|
|
d89534d |
|
|
|
b98e557 |
* Mon Apr 29 2013 Petr Pisar <ppisar@redhat.com> - 0.91.36-1
|
|
|
b98e557 |
- 0.9136 bump
|
|
|
b98e557 |
|
|
|
6f0c8a7 |
* Thu Apr 04 2013 Petr Pisar <ppisar@redhat.com> - 0.91.34-2
|
|
|
6f0c8a7 |
- Keep bundled inc::Module::Install modules at boot-strap (bug #947489)
|
|
|
6f0c8a7 |
|
|
|
2c6fbd3 |
* Thu Jan 24 2013 Petr Pisar <ppisar@redhat.com> 0.91.34-1
|
|
|
2c6fbd3 |
- Specfile autogenerated by cpanspec 1.78.
|