%include /usr/lib/rpm/macros.perl
%define pdir Term
%define pnam ReadKey
-Summary: Term::ReadKey Perl module
-Summary(cs.UTF-8): Modul Term::ReadKey pro Perl
-Summary(da.UTF-8): Perlmodul Term::ReadKey
-Summary(de.UTF-8): Term::ReadKey Perl Modul
-Summary(es.UTF-8): Módulo de Perl Term::ReadKey
-Summary(fr.UTF-8): Module Perl Term::ReadKey
-Summary(it.UTF-8): Modulo di Perl Term::ReadKey
-Summary(ja.UTF-8): Term::ReadKey Perl モジュール
-Summary(ko.UTF-8): Term::ReadKey 펄 모줄
-Summary(nb.UTF-8): Perlmodul Term::ReadKey
-Summary(pl.UTF-8): Moduł Perla Term::ReadKey
-Summary(pt.UTF-8): Módulo de Perl Term::ReadKey
-Summary(pt_BR.UTF-8): Módulo Perl Term::ReadKey
-Summary(ru.UTF-8): Модуль для Perl Term::ReadKey
-Summary(sv.UTF-8): Term::ReadKey Perlmodul
-Summary(uk.UTF-8): Модуль для Perl Term::ReadKey
-Summary(zh_CN.UTF-8): Term::ReadKey Perl 模块
+Summary: Term::ReadKey - Perl module for simple terminal control
+Summary(pl.UTF-8): Term::ReadKey - moduł Perla do prostego sterowania terminalem
Name: perl-Term-ReadKey
-Version: 2.30
-Release: 2
+Version: 2.33
+Release: 1
License: BSD-like
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}%{pnam}-%{version}.tar.gz
-# Source0-md5: f0ef2cea8acfbcc58d865c05b0c7e1ff
+Source0: http://www.cpan.org/modules/by-module/Term/%{pdir}%{pnam}-%{version}.tar.gz
+# Source0-md5: 1b60aa12b05b5c59d09061fa03087fdb
+URL: http://search.cpan.org/dist/TermReadKey/
+BuildRequires: perl-ExtUtils-MakeMaker >= 3.5
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
-Obsoletes: perl-%{pdir}%{pnam}
+Obsoletes: perl-TermReadKey
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-This module, ReadKey, provides ioctl control for terminals 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
+This module, Term::ReadKey, provides ioctl control for terminals 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.
%description -l pl.UTF-8
-Moduł Perla Term::ReadKey. Moduł ten daje obsługę ioctl dla terminali,
+Moduł Perla Term::ReadKey udostępnia obsługę ioctl dla terminali,
umożliwiając zmianę trybu wejścia (co pozwala na czytanie po jednym
znaku) oraz nieblokujący odczyt z wejścia, a także inne funkcje
związane z terminalem, w tym odczytywanie i modyfikowanie rozmiaru
%dir %{perl_vendorarch}/auto/Term/ReadKey
# empty autosplit.ix
#%%{perl_vendorarch}/auto/Term/ReadKey/autosplit.ix
-%{perl_vendorarch}/auto/Term/ReadKey/ReadKey.bs
%attr(755,root,root) %{perl_vendorarch}/auto/Term/ReadKey/ReadKey.so
-%{_mandir}/man3/*
+%{_mandir}/man3/Term::ReadKey.3pm*