1 |
%define upstream_name Devel-REPL |
2 |
%define upstream_version 1.003012 |
3 |
|
4 |
Name: perl-%{upstream_name} |
5 |
Version: %perl_convert_version %{upstream_version} |
6 |
Release: %mkrel 1 |
7 |
Epoch: 1 |
8 |
|
9 |
Summary: a modern perl interactive shell |
10 |
License: GPL+ or Artistic |
11 |
Group: Development/Perl |
12 |
Url: http://search.cpan.org/dist/%{upstream_name} |
13 |
Source0: http://www.cpan.org/modules/by-module/Devel/%{upstream_name}-%{upstream_version}.tar.gz |
14 |
|
15 |
BuildRequires: perl(B::Keywords) |
16 |
BuildRequires: perl(Data::Dump::Streamer) |
17 |
BuildRequires: perl(File::HomeDir) |
18 |
BuildRequires: perl(File::Spec) |
19 |
BuildRequires: perl(Lexical::Persistence) |
20 |
BuildRequires: perl(Moose) |
21 |
BuildRequires: perl(MooseX::Getopt) |
22 |
BuildRequires: perl(MooseX::AttributeHelpers) |
23 |
BuildRequires: perl(MooseX::Object::Pluggable) |
24 |
BuildRequires: perl(PPI) |
25 |
BuildRequires: perl(Sys::SigAction) |
26 |
BuildRequires: perl(Task::Weaken) |
27 |
BuildRequires: perl(Term::ANSIColor) |
28 |
BuildRequires: perl(Term::ReadLine) |
29 |
BuildRequires: perl(Test::More) |
30 |
BuildRequires: perl(namespace::clean) |
31 |
|
32 |
BuildArch: noarch |
33 |
|
34 |
|
35 |
%description |
36 |
This is an interactive shell for Perl, commonly known as a REPL - Read, |
37 |
Evaluate, Print, Loop. The shell provides for rapid development or |
38 |
testing of code without the need to create a temporary source code file. |
39 |
|
40 |
Through a plugin system, many features are available on demand. You can |
41 |
also tailor the environment through the use of profiles and run control |
42 |
files, for example to pre-load certain Perl modules when working on a |
43 |
particular project. |
44 |
|
45 |
%prep |
46 |
%setup -q -n %{upstream_name}-%{upstream_version} |
47 |
|
48 |
%build |
49 |
%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps |
50 |
%make |
51 |
|
52 |
%check |
53 |
%make test |
54 |
|
55 |
%install |
56 |
rm -rf %buildroot |
57 |
%makeinstall_std |
58 |
|
59 |
%clean |
60 |
rm -rf %buildroot |
61 |
|
62 |
%files |
63 |
%defattr(-,root,root) |
64 |
%doc Changes META.yml |
65 |
%{_mandir}/man3/* |
66 |
%{perl_vendorlib}/* |
67 |
%{_bindir}/re.pl |