[packages/perl-Reply] - initial

arekm arekm at pld-linux.org
Sat Feb 28 13:43:02 CET 2015


commit 5ced07dcefe5e22c33e5e656f9bb6a900af8120b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Feb 28 13:42:47 2015 +0100

    - initial

 perl-Reply.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)
---
diff --git a/perl-Reply.spec b/perl-Reply.spec
new file mode 100644
index 0000000..1e2ee87
--- /dev/null
+++ b/perl-Reply.spec
@@ -0,0 +1,66 @@
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	Reply
+%include	/usr/lib/rpm/macros.perl
+Summary:	Reply - read, eval, print, loop, yay!
+Name:		perl-Reply
+Version:	0.37
+Release:	1
+License:	mit
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/D/DO/DOY/Reply-%{version}.tar.gz
+# Source0-md5:	a66c01fead3a02b0dd9ad835b9b8b422
+URL:		http://search.cpan.org/dist/Reply/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl(Config::INI::Reader::Ordered)
+BuildRequires:	perl(Devel::LexAlias)
+BuildRequires:	perl(File::HomeDir)
+BuildRequires:	perl(PadWalker)
+BuildRequires:	perl-Eval-Closure >= 0.11
+BuildRequires:	perl-Module-Runtime
+BuildRequires:	perl-Package-Stash
+BuildRequires:	perl-Try-Tiny
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+NOTE: This is an early release, and implementation details of this
+module are still very much in flux. Feedback is welcome!
+
+Reply is a lightweight, extensible REPL for Perl. It is plugin-based
+(see Reply::Plugin), and through plugins supports many advanced
+features such as coloring and pretty printing, readline support, and
+pluggable commands.
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%attr(755,root,root) %{_bindir}/reply
+%{perl_vendorlib}/*.pm
+%{perl_vendorlib}/Reply/
+%{_mandir}/man1/reply.1*
+%{_mandir}/man3/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Reply.git/commitdiff/5ced07dcefe5e22c33e5e656f9bb6a900af8120b



More information about the pld-cvs-commit mailing list