3 %bcond_without tests # unit tests
6 Summary: Reply - read, eval, print, loop, yay!
7 Summary(pl.UTF-8): Reply - read, eval, print, loop, yay! - przetwarzanie w pętli
12 Group: Development/Languages/Perl
13 Source0: http://www.cpan.org/modules/by-authors/id/D/DO/DOY/Reply-%{version}.tar.gz
14 # Source0-md5: 194495d634db7d8636e42ea49295914a
15 URL: https://metacpan.org/dist/Reply
16 BuildRequires: perl-ExtUtils-MakeMaker
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRequires: rpmbuild(macros) >= 1.745
21 BuildRequires: perl-Config-INI-Reader-Ordered
22 BuildRequires: perl-Devel-LexAlias
23 BuildRequires: perl-Eval-Closure >= 0.11
24 BuildRequires: perl-File-HomeDir
25 BuildRequires: perl-Getopt-Long >= 2.36
26 BuildRequires: perl-Module-Runtime
27 BuildRequires: perl-Package-Stash
28 BuildRequires: perl-PadWalker
29 BuildRequires: perl-Scalar-List-Utils
30 BuildRequires: perl-Term-ANSIColor
31 BuildRequires: perl-Test-Simple >= 0.88
32 BuildRequires: perl-Time-HiRes
33 BuildRequires: perl-Try-Tiny
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 NOTE: This is an early release, and implementation details of this
40 module are still very much in flux.
42 Reply is a lightweight, extensible REPL for Perl. It is plugin-based
43 (Reply::Plugin), and through plugins supports many advanced features
44 such as coloring and pretty printing, readline support, and pluggable
47 %description -l pl.UTF-8
48 UWAGA: to jest wczesne wydanie i szczegóły implementacji modułu często
51 Reply to lekka, rozszerzalna implementacja REPL (Read-Eval-Print-Loop,
52 czyli odczyt-przeliczenie-wypisanie-zapętlenie) dla Perla. Jest oparta
53 na wtyczkach (Reply::Plugin) i poprzez wtyczki obsługuje wiele
54 zaawansowanych funkcji, takich jak kolorowanie czy ładne wypisywanie,
55 obsługa readline i ładowalne polecenia.
58 %setup -q -n %{pdir}-%{version}
61 %{__perl} Makefile.PL \
65 %{?with_tests:%{__make} test}
68 rm -rf $RPM_BUILD_ROOT
70 %{__make} pure_install \
71 DESTDIR=$RPM_BUILD_ROOT
74 rm -rf $RPM_BUILD_ROOT
77 %defattr(644,root,root,755)
79 %attr(755,root,root) %{_bindir}/reply
80 %{perl_vendorlib}/Reply.pm
81 %{perl_vendorlib}/Reply
82 %{_mandir}/man1/reply.1*
83 %{_mandir}/man3/Reply*.3pm*