Name: perl-TermReadKey Version: 2.30 Release: 4%{?dist}.art Summary: A perl module for simple terminal control Group: Development/Libraries License: Copyright only URL: http://search.cpan.org/dist/TermReadKey/ Source0: http://www.cpan.org/authors/id/J/JS/JSTOWE/TermReadKey-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Term::ReadKey is a compiled perl module dedicated to providing simple control over terminal driver modes (cbreak, raw, cooked, etc.) support for non-blocking reads, if the architecture allows, and some generalized handy functions for working with terminals. One of the main goals is to have the functions as portable as possible, so you can just plug in "use Term::ReadKey" on any architecture and have a good likelyhood of it working. %prep %setup -q -n TermReadKey-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README %{perl_vendorarch}/Term/ %{perl_vendorarch}/auto/Term/ %{_mandir}/man3/*.3* %changelog * Wed Jan 30 2008 Robin Norwood - 2.30-4 - Backport changes from F8/F9 specfile - Fix old changelog entry - Rebuild for EL5 * Thu Oct 25 2007 Robin Norwood - 2.30-3 - fix various issues from package review: - remove extra || : from %%check - add dist tag to release - remove BR: perl - fix tabs and spacing * Tue Oct 16 2007 Tom "spot" Callaway - 2.30-2 - correct license tag - add BR: perl(ExtUtils::MakeMaker) * Wed Jul 12 2006 Jesse Keating - 2.30-1.2.2.1 - rebuild * Fri Feb 10 2006 Jesse Keating - 2.30-1.2.2 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 2.30-1.2.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Feb 03 2006 Jason Vas Dias - 2.30-1.2 - rebuild for new perl-5.8.8 * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcc * Sat Apr 02 2005 Jose Pedro Oliveira - 2.30-1 - Update to 2.30. - spec cleanup (#153200) * Tue Jun 15 2004 Elliot Lee - rebuilt * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Tue Jun 17 2003 Chip Turner 2.20-12 - rebuild * Mon Jan 27 2003 Chip Turner - version bump and rebuild * Wed Nov 20 2002 Chip Turner - rebuild * Tue Sep 10 2002 Chip Turner - remove 'make test' as it seems to open a tty and hang * Tue Aug 6 2002 Chip Turner - automated release bump and build * Tue Aug 6 2002 Chip Turner - update to 2.20 * Wed Jan 30 2002 cturner@redhat.com - Specfile autogenerated