Name: perl-Devel-REPL
Version: 1.003028
Release: 3%{?dist}
Summary: Modern perl interactive shell
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Devel-REPL/
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Devel-REPL-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-generators
BuildRequires: perl(:VERSION) >= 5.8.1
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120620
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Module::Metadata)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Runtime
BuildRequires: perl(App::Nopaste)
BuildRequires: perl(B::Concise) >= 0.62
BuildRequires: perl(B::Keywords)
BuildRequires: perl(Data::Dump::Streamer) >= 2.39
BuildRequires: perl(Data::Dumper::Concise)
BuildRequires: perl(Devel::Peek)
BuildRequires: perl(File::HomeDir)
BuildRequires: perl(File::Next)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Lexical::Persistence)
BuildRequires: perl(Module::Refresh)
BuildRequires: perl(Module::Runtime)
BuildRequires: perl(Moose) >= 0.93
BuildRequires: perl(Moose::Meta::Role)
BuildRequires: perl(Moose::Role)
BuildRequires: perl(Moose::Util::TypeConstraints)
BuildRequires: perl(MooseX::Getopt) >= 0.18
BuildRequires: perl(MooseX::Object::Pluggable) >= 0.0009
BuildRequires: perl(namespace::autoclean)
BuildRequires: perl(PPI)
BuildRequires: perl(PPI::Dumper)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Sys::SigAction)
BuildRequires: perl(Term::ANSIColor)
BuildRequires: perl(Term::ReadLine)
BuildRequires: perl(Time::HiRes)
# Tests only
BuildRequires: perl(blib)
BuildRequires: perl(if)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.94
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(Moose) >= 0.93
Requires: perl(Moose::Meta::Role)
Requires: perl(MooseX::Getopt) >= 0.18
Requires: perl(MooseX::Object::Pluggable) >= 0.0009
# Require plugins used by default, see Devel::REPL::Profile::Minimal
Requires: perl(Devel::REPL::Plugin::Commands)
Requires: perl(Devel::REPL::Plugin::DDS)
Requires: perl(Devel::REPL::Plugin::History)
Requires: perl(Devel::REPL::Plugin::LexEnv)
Requires: perl(Devel::REPL::Plugin::MultiLine::PPI)
Requires: perl(Devel::REPL::Plugin::Packages)
%{?perl_default_filter}
# Remove under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Data::Dump::Streamer|Moose)\\)$
%description
This is an interactive shell for Perl, commonly known as a REPL - Read,
Evaluate, Print, Loop. The shell provides for rapid development or testing
of code without the need to create a temporary source code file.
Through a plugin system, many features are available on demand. These plugins
are available:
Completion
CompletionDriver::INC
CompletionDriver::Keywords
DDC
DDS
Interrupt
LexEnv
MultiLine::PPI
Nopaste
PPI
Refresh
The plugins are available in standalone RPM packages. For example the
MultiLine::PPI plugin is delivered within %{name}-MultiLine-PPI package.
%package Plugin-Completion
Summary: Devel-REPL plugin for tab completion
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description Plugin-Completion
This Perl interactive shell plugin provides extensible tab completion. By
default, the Completion plugin explicitly does not use the GNU Readline or
Term::ReadLine::Perl fallback file name completion.
%package Plugin-CompletionDriver-INC
Summary: Devel-REPL plugin for completing module names
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description Plugin-CompletionDriver-INC
This Perl interactive shell plugin provides module names completion.
%package Plugin-CompletionDriver-Keywords
Summary: Devel-REPL plugin for completing keywords and operators
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description Plugin-CompletionDriver-Keywords
This Perl interactive shell plugin provides keyword and operator names
completion.
%package Plugin-DDC
Summary: Devel-REPL plugin for formatting results with Data::Dumper::Concise
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description Plugin-DDC
This Perl interactive shell plugin formats results with Data::Dumper::Concise.
%package Plugin-DDS
Summary: Devel-REPL plugin for formatting results with Data::Dump::Streamer
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(Data::Dump::Streamer) >= 2.39
%description Plugin-DDS
This Perl interactive shell plugin formats results with Data::Dump::Streamer.
%package Plugin-Interrupt
Summary: Devel-REPL plugin for trapping INT signal
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description Plugin-Interrupt
By default Devel::REPL exits on SIGINT (usually Ctrl-C). If you load this
module, SIGINT will be trapped and used to kill long-running commands
(statements) and also to kill the line being edited (like e.g. BASH do).
(You can still use Ctrl-D to exit.)
%package Plugin-LexEnv
Summary: Devel-REPL plugin for lexical environments
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description Plugin-LexEnv
This Perl interactive shell plugin provides environments for lexical variables.
%package Plugin-MultiLine-PPI
Summary: Devel-REPL plugin for multi-line blocks
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description Plugin-MultiLine-PPI
This Perl interactive shell plugin will collect lines until you have no
unfinished structures. This lets you write subroutines, "if" statements,
loops, etc. more naturally.
%package Plugin-Nopaste
Summary: Devel-REPL plugin for uploading data to a nopaste site
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(App::Nopaste)
%description Plugin-Nopaste
This Perl interactive shell plugin allows you to upload session's input and
output to a nopaste site.
%package Plugin-PPI
Summary: Devel-REPL plugin for dumping Perl code
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description Plugin-PPI
This Perl interactive shell plugin provides a "ppi" command that uses
PPI::Dumper to dump PPI-parsed Perl documents.
%package Plugin-Refresh
Summary: Devel-REPL plugin for reloading libraries
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description Plugin-Refresh
This Perl interactive shell plugin allows you to reload Perl libraries with
Module::Refresh module.
%prep
%setup -q -n Devel-REPL-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
make test
%files
%license LICENCE
%doc Changes CONTRIBUTING README examples
%{_bindir}/*
%{perl_vendorlib}/*
%{_mandir}/man3/*
# Plugin-Completion
%exclude %{perl_vendorlib}/Devel/REPL/Plugin/Completion.pm
%exclude %{_mandir}/man3/Devel::REPL::Plugin::Completion.*
# Plugin-CompletionDriver-INC
%exclude %{perl_vendorlib}/Devel/REPL/Plugin/CompletionDriver/INC.pm
%exclude %{_mandir}/man3/Devel::REPL::Plugin::CompletionDriver::INC.*
# Plugin-CompletionDriver-Keywords
%exclude %{perl_vendorlib}/Devel/REPL/Plugin/CompletionDriver/Keywords.pm
%exclude %{_mandir}/man3/Devel::REPL::Plugin::CompletionDriver::Keywords.*
# Plugin-DDC
%exclude %{perl_vendorlib}/Devel/REPL/Plugin/DDC.pm
%exclude %{_mandir}/man3/Devel::REPL::Plugin::DDC.*
# Plugin-DDS
%exclude %{perl_vendorlib}/Devel/REPL/Plugin/DDS.pm
%exclude %{_mandir}/man3/Devel::REPL::Plugin::DDS.*
# Plugin-Interrupt
%exclude %{perl_vendorlib}/Devel/REPL/Plugin/Interrupt.pm
%exclude %{_mandir}/man3/Devel::REPL::Plugin::Interrupt.*
# Plugin-LexEnv
%exclude %{perl_vendorlib}/Devel/REPL/Plugin/LexEnv.pm
%exclude %{_mandir}/man3/Devel::REPL::Plugin::LexEnv.*
# Plugin-MultiLine-PPI
%exclude %{perl_vendorlib}/Devel/REPL/Plugin/MultiLine
%exclude %{_mandir}/man3/Devel::REPL::Plugin::MultiLine::*
# Plugin-Nopaste
%exclude %{perl_vendorlib}/Devel/REPL/Plugin/Nopaste.pm
%exclude %{_mandir}/man3/Devel::REPL::Plugin::Nopaste.*
# Plugin-PPI
%exclude %{perl_vendorlib}/Devel/REPL/Plugin/PPI.pm
%exclude %{_mandir}/man3/Devel::REPL::Plugin::PPI.*
# Plugin-Refresh
%exclude %{perl_vendorlib}/Devel/REPL/Plugin/Refresh.pm
%exclude %{_mandir}/man3/Devel::REPL::Plugin::Refresh.*
%files Plugin-Completion
%{perl_vendorlib}/Devel/REPL/Plugin/Completion.pm
%{_mandir}/man3/Devel::REPL::Plugin::Completion.*
%files Plugin-CompletionDriver-INC
%{perl_vendorlib}/Devel/REPL/Plugin/CompletionDriver/INC.pm
%{_mandir}/man3/Devel::REPL::Plugin::CompletionDriver::INC.*
%files Plugin-CompletionDriver-Keywords
%{perl_vendorlib}/Devel/REPL/Plugin/CompletionDriver/Keywords.pm
%{_mandir}/man3/Devel::REPL::Plugin::CompletionDriver::Keywords.*
%files Plugin-DDC
%{perl_vendorlib}/Devel/REPL/Plugin/DDC.pm
%{_mandir}/man3/Devel::REPL::Plugin::DDC.*
%files Plugin-DDS
%{perl_vendorlib}/Devel/REPL/Plugin/DDS.pm
%{_mandir}/man3/Devel::REPL::Plugin::DDS.*
%files Plugin-Interrupt
%{perl_vendorlib}/Devel/REPL/Plugin/Interrupt.pm
%{_mandir}/man3/Devel::REPL::Plugin::Interrupt.*
%files Plugin-LexEnv
%{perl_vendorlib}/Devel/REPL/Plugin/LexEnv.pm
%{_mandir}/man3/Devel::REPL::Plugin::LexEnv.*
%files Plugin-MultiLine-PPI
%{perl_vendorlib}/Devel/REPL/Plugin/MultiLine
%{_mandir}/man3/Devel::REPL::Plugin::MultiLine::*
%files Plugin-Nopaste
%{perl_vendorlib}/Devel/REPL/Plugin/Nopaste.pm
%{_mandir}/man3/Devel::REPL::Plugin::Nopaste.*
%files Plugin-PPI
%{perl_vendorlib}/Devel/REPL/Plugin/PPI.pm
%{_mandir}/man3/Devel::REPL::Plugin::PPI.*
%files Plugin-Refresh
%{perl_vendorlib}/Devel/REPL/Plugin/Refresh.pm
%{_mandir}/man3/Devel::REPL::Plugin::Refresh.*
%changelog
* Thu Jun 29 2017 Petr Pisar <ppisar@redhat.com> - 1.003028-3
- Require default plugins and reenable building of the DDS plugin (bug #1466106)
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.003028-2
- Perl 5.24 rebuild
* Wed Feb 17 2016 Petr Šabata <contyk@redhat.com> - 1.003028-1
- 1.003028 bump
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.003027-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Aug 17 2015 Petr Šabata <contyk@redhat.com> - 1.003027-1
- 1.003027 bump
* Wed Jun 24 2015 Petr Pisar <ppisar@redhat.com> - 1.003026-3
- Specify all dependencies
- Sub-package plugins
- Disable DDS plugin (bug #1231285)
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003026-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu Nov 20 2014 Petr Šabata <contyk@redhat.com> - 1.003026-1
- 1.003026 bump
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.003015-5
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003015-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Mon Aug 05 2013 Petr Pisar <ppisar@redhat.com> - 1.003015-3
- Perl 5.18 rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003015-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Mar 08 2013 Iain Arnell <iarnell@gmail.com> 1.003015-1
- update to latest upstream version
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003014-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jan 04 2013 Iain Arnell <iarnell@gmail.com> 1.003014-1
- update to latest upstream version
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003013-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jun 23 2012 Petr Pisar <ppisar@redhat.com> - 1.003013-2
- Perl 5.16 rebuild
* Sun May 20 2012 Iain Arnell <iarnell@gmail.com> 1.003013-1
- update to latest upstream version
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003012-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.003012-3
- Perl mass rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003012-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sun Oct 03 2010 Iain Arnell <iarnell@gmail.com> 1.003012-1
- update to latest upstream
- clean up spec for modern rpmbuild
* Wed Jun 16 2010 Iain Arnell <iarnell@gmail.com> 1.003011-1
- update to latest upstream
* Fri May 28 2010 Iain Arnell <iarnell@gmail.com> 1.003010-1
- update to latest upstream version
- use perl_default_filter and DESTDIR
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.003009-3
- Mass rebuild with perl-5.12.0
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.003009-2
- Mass rebuild with perl-5.12.0
* Tue Mar 09 2010 Iain Arnell <iarnell@gmail.com> 1.003009-1
- update to latest upstream version
- br perl(Data::Dumper::Concise)
- br perl(Sys::SigAction)
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.003007-4
- rebuild against perl 5.10.1
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003007-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Tue Jul 07 2009 Iain Arnell <iarnell@gmail.com> 1.003007-2
- BR perl(CPAN)
* Tue Jul 07 2009 Iain Arnell <iarnell@gmail.com> 1.003007-1
- update to latest version (fixes rt#44919)
* Sat May 02 2009 Iain Arnell <iarnell@gmail.com> 1.003006-2
- remove BR perl
* Sun Apr 19 2009 Iain Arnell <iarnell@gmail.com> 1.003006-1
- Specfile autogenerated by cpanspec 1.77.
- add requires for optional modules