]> git.pld-linux.org Git - packages/perl-Term-ReadKey.git/blame - perl-Term-ReadKey.spec
- tabs in preamble
[packages/perl-Term-ReadKey.git] / perl-Term-ReadKey.spec
CommitLineData
51148474 1#
2# Conditional build:
4f82d50b 3%bcond_with tests # perform "make test"
04acdc9a 4 # requires terminal
51148474 5#
52cfc731 6%include /usr/lib/rpm/macros.perl
7c72ccb6 7%define pdir Term
8%define pnam ReadKey
51148474 9Summary: Term::ReadKey Perl module
31a6b9fa
ER
10Summary(cs.UTF-8): Modul Term::ReadKey pro Perl
11Summary(da.UTF-8): Perlmodul Term::ReadKey
12Summary(de.UTF-8): Term::ReadKey Perl Modul
13Summary(es.UTF-8): Módulo de Perl Term::ReadKey
14Summary(fr.UTF-8): Module Perl Term::ReadKey
15Summary(it.UTF-8): Modulo di Perl Term::ReadKey
16Summary(ja.UTF-8): Term::ReadKey Perl モジュール
17Summary(ko.UTF-8): Term::ReadKey 펄 모줄
18Summary(nb.UTF-8): Perlmodul Term::ReadKey
19Summary(pl.UTF-8): Moduł Perla Term::ReadKey
20Summary(pt.UTF-8): Módulo de Perl Term::ReadKey
21Summary(pt_BR.UTF-8): Módulo Perl Term::ReadKey
22Summary(ru.UTF-8): Модуль для Perl Term::ReadKey
23Summary(sv.UTF-8): Term::ReadKey Perlmodul
24Summary(uk.UTF-8): Модуль для Perl Term::ReadKey
25Summary(zh_CN.UTF-8): Term::ReadKey Perl 模块
52cfc731 26Name: perl-Term-ReadKey
c5b30b13 27Version: 2.30
28Release: 1
04acdc9a 29License: BSD-like
52cfc731 30Group: Development/Languages/Perl
9d33104e 31Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}%{pnam}-%{version}.tar.gz
c5b30b13 32# Source0-md5: f0ef2cea8acfbcc58d865c05b0c7e1ff
dbbdf548 33BuildRequires: perl-devel >= 1:5.8.0
83dcdbd2 34BuildRequires: rpm-perlprov >= 4.1-13
51148474 35Obsoletes: perl-%{pdir}%{pnam}
4f82d50b 36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52cfc731 37
38%description
09a4a2d7 39This module, ReadKey, provides ioctl control for terminals so the
40input modes can be changed (thus allowing reads of a single character
41at a time), and also provides non-blocking reads of stdin, as well as
42several other terminal related features, including
43retrieval/modification of the screen size, and retrieval/modification
44of the control characters.
52cfc731 45
c6195809
JR
46%description -l pl.UTF-8
47Moduł Perla Term::ReadKey. Moduł ten daje obsługę ioctl dla terminali,
48umożliwiając zmianę trybu wejścia (co pozwala na czytanie po jednym
49znaku) oraz nieblokujący odczyt z wejścia, a także inne funkcje
50związane z terminalem, w tym odczytywanie i modyfikowanie rozmiaru
51ekranu oraz odczytywanie i modyfikowanie znaków kontrolnych.
52cfc731 52
c6195809
JR
53%description -l pt_BR.UTF-8
54Este módulo fornece controle via ioctl para terminais, de tal forma
09a4a2d7 55que seus modos de entrada possam ser modificados (desta forma
c6195809
JR
56permitindo a leitura de um caracter somente por vez) e também fornece
57leitura não bloqueantes da entrada padrão (stdin), bem como várias
58outras características relacionadas a terminais, entre elas a
59recuperação/modificação do tamanho da tela e dos caracteres de
09a4a2d7 60controle.
61
52cfc731 62%prep
63%setup -q -n TermReadKey-%{version}
64
65%build
83dcdbd2 66%{__perl} Makefile.PL \
08d8b9f1 67 INSTALLDIRS=vendor
2d67d248 68%{__make} \
69 OPTIMIZE="%{rpmcflags}"
52cfc731 70
4f82d50b 71%{?with_tests:%{__make} test}
51148474 72
52cfc731 73%install
74rm -rf $RPM_BUILD_ROOT
52cfc731 75
2d67d248 76%{__make} install \
77 DESTDIR=$RPM_BUILD_ROOT
52cfc731 78
52cfc731 79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%files
83%defattr(644,root,root,755)
7b36bdfc 84%doc README
83dcdbd2 85%{perl_vendorarch}/Term/ReadKey.pm
86%dir %{perl_vendorarch}/auto/Term/ReadKey
51148474 87# empty autosplit.ix
83dcdbd2 88#%%{perl_vendorarch}/auto/Term/ReadKey/autosplit.ix
89%{perl_vendorarch}/auto/Term/ReadKey/ReadKey.bs
90%attr(755,root,root) %{perl_vendorarch}/auto/Term/ReadKey/ReadKey.so
52cfc731 91%{_mandir}/man3/*
This page took 0.144492 seconds and 4 git commands to generate.