auto-import perl-TermReadKey-2.17-22 from perl-TermReadKey-2.17-22.src.rpm
This commit is contained in:
parent
e54a022dd0
commit
2015a420ad
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user