ppisar pushed to perl-Devel-REPL (master). "Sub-package plugins"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Jun 24 13:41:38 UTC 2015
From 135f50ae28444d820770fddde114068d7ec5bded Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Wed, 24 Jun 2015 15:13:14 +0200
Subject: Sub-package plugins
diff --git a/perl-Devel-REPL.spec b/perl-Devel-REPL.spec
index ef0880c..0033bb9 100644
--- a/perl-Devel-REPL.spec
+++ b/perl-Devel-REPL.spec
@@ -48,7 +48,6 @@ BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(version)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
-Requires: perl(App::Nopaste)
Requires: perl(Moose::Meta::Role)
Requires: perl(MooseX::Getopt)
Requires: perl(MooseX::Object::Pluggable)
@@ -60,6 +59,126 @@ 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))
+
+%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 eg. 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.
+
+ Keywords_completion
+
%prep
%setup -q -n Devel-REPL-%{version}
@@ -77,13 +196,103 @@ make test
%files
%license LICENSE
%doc Changes CONTRIBUTING README examples
-%{perl_vendorlib}/*
%{_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
* Wed Jun 24 2015 Petr Pisar <ppisar at redhat.com> - 1.003026-3
- Specify all dependencies
+- Sub-package plugins
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.003026-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Devel-REPL.git/commit/?h=master&id=135f50ae28444d820770fddde114068d7ec5bded
More information about the perl-devel
mailing list