]> git.pld-linux.org Git - packages/perl-Term-ReadKey.git/blame_incremental - perl-Term-ReadKey.spec
Up to 2.37
[packages/perl-Term-ReadKey.git] / perl-Term-ReadKey.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_with tests # perform "make test"
4 # requires terminal
5#
6%include /usr/lib/rpm/macros.perl
7%define pdir Term
8%define pnam ReadKey
9Summary: Term::ReadKey - Perl module for simple terminal control
10Summary(pl.UTF-8): Term::ReadKey - moduł Perla do prostego sterowania terminalem
11Name: perl-Term-ReadKey
12Version: 2.37
13Release: 1
14License: BSD-like
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/Term/%{pdir}%{pnam}-%{version}.tar.gz
17# Source0-md5: e8ea15c16333ac4f8d146d702e83cc0c
18URL: http://search.cpan.org/dist/TermReadKey/
19BuildRequires: perl-ExtUtils-MakeMaker >= 3.5
20BuildRequires: perl-devel >= 1:5.8.0
21BuildRequires: rpm-perlprov >= 4.1-13
22Obsoletes: perl-TermReadKey
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26This module, Term::ReadKey, provides ioctl control for terminals so
27the input modes can be changed (thus allowing reads of a single
28character at a time), and also provides non-blocking reads of stdin,
29as well as several other terminal related features, including
30retrieval/modification of the screen size, and retrieval/modification
31of the control characters.
32
33%description -l pl.UTF-8
34Moduł Perla Term::ReadKey udostępnia obsługę ioctl dla terminali,
35umożliwiając zmianę trybu wejścia (co pozwala na czytanie po jednym
36znaku) oraz nieblokujący odczyt z wejścia, a także inne funkcje
37związane z terminalem, w tym odczytywanie i modyfikowanie rozmiaru
38ekranu oraz odczytywanie i modyfikowanie znaków kontrolnych.
39
40%description -l pt_BR.UTF-8
41Este módulo fornece controle via ioctl para terminais, de tal forma
42que seus modos de entrada possam ser modificados (desta forma
43permitindo a leitura de um caracter somente por vez) e também fornece
44leitura não bloqueantes da entrada padrão (stdin), bem como várias
45outras características relacionadas a terminais, entre elas a
46recuperação/modificação do tamanho da tela e dos caracteres de
47controle.
48
49%prep
50%setup -q -n TermReadKey-%{version}
51
52%build
53%{__perl} Makefile.PL \
54 INSTALLDIRS=vendor
55%{__make} \
56 CC="%{__cc}" \
57 OPTIMIZE="%{rpmcflags}"
58
59%{?with_tests:%{__make} test}
60
61%install
62rm -rf $RPM_BUILD_ROOT
63
64%{__make} install \
65 DESTDIR=$RPM_BUILD_ROOT
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files
71%defattr(644,root,root,755)
72%doc README
73%{perl_vendorarch}/Term/ReadKey.pm
74%dir %{perl_vendorarch}/auto/Term/ReadKey
75# empty autosplit.ix
76#%%{perl_vendorarch}/auto/Term/ReadKey/autosplit.ix
77%attr(755,root,root) %{perl_vendorarch}/auto/Term/ReadKey/ReadKey.so
78%{_mandir}/man3/Term::ReadKey.3pm*
This page took 0.044643 seconds and 4 git commands to generate.