From 2015a420adddf0dda502442f697f9284cb9f83ad Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 10:16:57 +0000 Subject: [PATCH] auto-import perl-TermReadKey-2.17-22 from perl-TermReadKey-2.17-22.src.rpm --- perl-TermReadKey.spec | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/perl-TermReadKey.spec b/perl-TermReadKey.spec index 3b91e5c..5af4501 100644 --- a/perl-TermReadKey.spec +++ b/perl-TermReadKey.spec @@ -1,7 +1,7 @@ Name: perl-TermReadKey Version: 2.17 -Release: 14 -Summary: TermReadKey Perl module +Release: 22 +Summary: A perl module for simple terminal control. License: distributable Group: Development/Libraries URL: http://search.cpan.org/search?mode=module&query=TermReadKey @@ -10,12 +10,16 @@ BuildRequires: perl >= 0:5.00503 Source0: TermReadKey-2.17.tar.gz %description -TermReadKey Perl module +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 and some generalized handy functions +for working with terminals. + %prep %setup -q -n TermReadKey-%{version} %build -CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor make @@ -24,9 +28,7 @@ rm -rf $RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT -eval `perl '-V:installarchlib'` -mkdir -p $RPM_BUILD_ROOT/$installarchlib -make PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor install +make install [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress