%define upstream_version 2.38 Summary: Term::ReadKey Perl module Name: perl-Term-ReadKey Version: %perl_convert_version %{upstream_version} Release: 1 License: GPLv2 Group: Development/Perl Url: https://metacpan.org/pod/Term::ReadKey Source0: https://cpan.metacpan.org/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