%define pkg_name TermReadKey %define pkg_version 2.30 %define rpm_pkg_version 2.30 %define rpm_pkg_release 5.n0i.10 Summary: Read keystrokes and change terminal modes Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/J/JS/JSTOWE/%{pkg_name}-%{pkg_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools %description This module, ReadKey, provides ioctl control for terminals and Win32 consoles 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 -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %changelog * Tue May 22 2007 Marius Feraru - 2.30-5.n0i.10 - rebuild * Sat Mar 04 2006 Marius Feraru - 2.30-4.n0i.9 - automatic rebuild (perl 5.8.8) * Sat Jul 23 2005 Marius Feraru 2.30-3.n0i.8 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:2.30-2.n0i.7 - automatic rebuild (perl 5.8.6) * Thu Jan 13 2005 Marius Feraru 0:2.30-1.n0i.6 - version 2.30 * Mon Nov 29 2004 Marius FERARU 0:2.21-2.n0i.5 - rebuild (perl 5.8.6) * Wed May 05 2004 Marius Feraru 0:2.21-1.n0i.4 - spec file (re?)created using N0i::CPAN::RPMizer/2004050401 - rebuild (perl 5.8.4) * Fri Jan 23 2004 Marius FERARU 0:2.21-0.n0i.3 - automatic rebuild (perl v.5.8.3) * Tue Dec 30 2003 Marius FERARU 0:2.21-0.n0i.2 - rebuilt on perl 5.8.2 / Fedora 1 Devel (tobe FC2) * Mon Nov 03 2003 Marius FERARU 0:2.21-0.n0i.1 - version 2.21 - spec file (re?)created using N0i::CPAN::RPMizer/2003102001