Search
j0ke.net Open Build Service
>
Projects
>
vhcs
>
perl-Term-ReadKey
> perl-Term-ReadKey.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File perl-Term-ReadKey.spec of Package perl-Term-ReadKey (Revision 4)
Currently displaying revision
4
,
show latest
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define real_name TermReadKey Summary: Module for simple terminal control Name: perl-Term-ReadKey Version: 2.30 Release: 1 License: Artistic Group: Applications/CPAN URL: http://search.cpan.org/dist/TermReadKey/ Source: http://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/TermReadKey-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: perl %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 -n %{real_name}-%{version} %build perl Makefile.PL %__make %makeinstall DESTDIR=$RPM_BUILD_ROOT %if 0%{?suse_version} %perl_process_packlist %else find $RPM_BUILD_ROOT -name perllocal.pod -exec rm {} \; >/dev/null %endif install -m 755 -d $RPM_BUILD_ROOT/usr/share/doc/packages/%{name} cp README $RPM_BUILD_ROOT/usr/share/doc/packages/%{name} cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} %clean rm -rf $RPM_BUILD_ROOT/* rm -rf $RPM_BUILD_DIR/%{name}* rm -rf ../file.list.%{name} %files -f ../file.list.%{name} %doc README %changelog * Sun Apr 02 2006 VHCS Packager <vhcs@j0ke.net> - initial release