]> git.pld-linux.org Git - packages/perl-Reply.git/blame - perl-Reply.spec
- pl, updated URL and dependencies
[packages/perl-Reply.git] / perl-Reply.spec
CommitLineData
5ced07dc
AM
1#
2# Conditional build:
e1756c8f 3%bcond_without tests # unit tests
5ced07dc
AM
4#
5%define pdir Reply
5ced07dc 6Summary: Reply - read, eval, print, loop, yay!
e1756c8f 7Summary(pl.UTF-8): Reply - read, eval, print, loop, yay! - przetwarzanie w pętli
5ced07dc 8Name: perl-Reply
35bf60b2
AM
9Version: 0.42
10Release: 1
e1756c8f 11License: MIT
5ced07dc
AM
12Group: Development/Languages/Perl
13Source0: http://www.cpan.org/modules/by-authors/id/D/DO/DOY/Reply-%{version}.tar.gz
35bf60b2 14# Source0-md5: 194495d634db7d8636e42ea49295914a
e1756c8f
JB
15URL: https://metacpan.org/dist/Reply
16BuildRequires: perl-ExtUtils-MakeMaker
5ced07dc
AM
17BuildRequires: perl-devel >= 1:5.8.0
18BuildRequires: rpm-perlprov >= 4.1-13
e1756c8f 19BuildRequires: rpmbuild(macros) >= 1.745
5ced07dc 20%if %{with tests}
e1756c8f
JB
21BuildRequires: perl-Config-INI-Reader-Ordered
22BuildRequires: perl-Devel-LexAlias
5ced07dc 23BuildRequires: perl-Eval-Closure >= 0.11
e1756c8f
JB
24BuildRequires: perl-File-HomeDir
25BuildRequires: perl-Getopt-Long >= 2.36
5ced07dc
AM
26BuildRequires: perl-Module-Runtime
27BuildRequires: perl-Package-Stash
e1756c8f
JB
28BuildRequires: perl-PadWalker
29BuildRequires: perl-Scalar-List-Utils
30BuildRequires: perl-Term-ANSIColor
31BuildRequires: perl-Test-Simple >= 0.88
32BuildRequires: perl-Time-HiRes
5ced07dc
AM
33BuildRequires: perl-Try-Tiny
34%endif
35BuildArch: noarch
36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38%description
39NOTE: This is an early release, and implementation details of this
e1756c8f 40module are still very much in flux.
5ced07dc
AM
41
42Reply is a lightweight, extensible REPL for Perl. It is plugin-based
e1756c8f
JB
43(Reply::Plugin), and through plugins supports many advanced features
44such as coloring and pretty printing, readline support, and pluggable
45commands.
46
47%description -l pl.UTF-8
48UWAGA: to jest wczesne wydanie i szczegóły implementacji modułu często
49się zmieniają.
50
51Reply to lekka, rozszerzalna implementacja REPL (Read-Eval-Print-Loop,
52czyli odczyt-przeliczenie-wypisanie-zapętlenie) dla Perla. Jest oparta
53na wtyczkach (Reply::Plugin) i poprzez wtyczki obsługuje wiele
54zaawansowanych funkcji, takich jak kolorowanie czy ładne wypisywanie,
55obsługa readline i ładowalne polecenia.
5ced07dc
AM
56
57%prep
58%setup -q -n %{pdir}-%{version}
59
60%build
61%{__perl} Makefile.PL \
62 INSTALLDIRS=vendor
63%{__make}
64
65%{?with_tests:%{__make} test}
66
67%install
68rm -rf $RPM_BUILD_ROOT
69
70%{__make} pure_install \
71 DESTDIR=$RPM_BUILD_ROOT
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%files
77%defattr(644,root,root,755)
78%doc Changes README
79%attr(755,root,root) %{_bindir}/reply
e1756c8f
JB
80%{perl_vendorlib}/Reply.pm
81%{perl_vendorlib}/Reply
5ced07dc 82%{_mandir}/man1/reply.1*
e1756c8f 83%{_mandir}/man3/Reply*.3pm*
This page took 0.051522 seconds and 4 git commands to generate.