%define upstream_version 2.37 Summary: Term::ReadKey Perl module Name: perl-Term-ReadKey Version: %perl_convert_version %{upstream_version} Release: 3 License: GPLv2 Group: Development/Perl Url: http://search.cpan.org/dist/TermReadKey/ Source0: http://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/TermReadKey-%{upstream_version}.tar.gz BuildRequires: perl-devel BuildRequires: perl-List-MoreUtils %description This module, ReadKey, provides ioctl control for terminals so the input modes can be changed (thus allowing reads of a single character at a time), and also provides non-blocking reads of stdin, as well as several other terminal related features, including retrieval/modification of the screen size, and retrieval/modification of the control characters. %prep %setup -qn TermReadKey-%{upstream_version} %build perl Makefile.PL INSTALLDIRS=vendor