]> git.pld-linux.org Git - packages/perl-Term-ReadKey.git/blob - perl-Term-ReadKey.spec
- 2.19, STBR
[packages/perl-Term-ReadKey.git] / perl-Term-ReadKey.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Term-ReadKey perl module
3 Summary(pl):    Modu³ perla Term-ReadKey
4 Name:           perl-Term-ReadKey
5 Version:        2.19
6 Release:        1
7 License:        GPL
8 Group:          Development/Languages/Perl
9 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Term/TermReadKey-%{version}.tar.gz
10 BuildRequires:  rpm-perlprov >= 3.0.3-16
11 BuildRequires:  perl >= 5.6.1
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 Obsoletes:      perl-TermReadKey
14
15 %description
16 This module, ReadKey, provides ioctl control for terminals so the
17 input modes can be changed (thus allowing reads of a single character
18 at a time), and also provides non-blocking reads of stdin, as well as
19 several other terminal related features, including
20 retrieval/modification of the screen size, and retrieval/modification
21 of the control characters.
22
23 %description -l pl
24 Modu³ perla Term-ReadKey.
25
26 %description -l pt_BR
27 Este módulo fornece controle via ioctl para terminais, de tal forma
28 que seus modos de entrada possam ser modificados (desta forma
29 permitindo a leitura de um caracter somente por vez) e também fornece
30 leitura não bloqueantes da entrada padrão (stdin), bem como várias
31 outras características relacionadas a terminais, entre elas a
32 recuperação/modificação do tamanho da tela e dos caracteres de
33 controle.
34
35 %prep
36 %setup -q -n TermReadKey-%{version}
37
38 %build
39 perl Makefile.PL
40 %{__make} OPTIMIZE="%{rpmcflags}"
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install DESTDIR=$RPM_BUILD_ROOT
46
47 gzip -9nf README
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc *.gz
55 %{perl_sitearch}/Term/ReadKey.pm
56 %dir %{perl_sitearch}/auto/Term/ReadKey
57 %{perl_sitearch}/auto/Term/ReadKey/autosplit.ix
58 %{perl_sitearch}/auto/Term/ReadKey/ReadKey.bs
59 %attr(755,root,root) %{perl_sitearch}/auto/Term/ReadKey/ReadKey.so
60 %{_mandir}/man3/*
This page took 0.380375 seconds and 4 git commands to generate.