From e75c9ceb60063fe73dc539d53e0f3c2d2eab476c363eba1498a319d0c56895e8 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Wed, 28 Sep 2011 16:27:04 +0000 Subject: [PATCH] 2.30 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Term-ReadKey?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + TermReadKey-2.30.tar.gz | 3 ++ perl-Term-ReadKey.changes | 5 +++ perl-Term-ReadKey.spec | 68 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 100 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 TermReadKey-2.30.tar.gz create mode 100644 perl-Term-ReadKey.changes create mode 100644 perl-Term-ReadKey.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/TermReadKey-2.30.tar.gz b/TermReadKey-2.30.tar.gz new file mode 100644 index 0000000..536d79b --- /dev/null +++ b/TermReadKey-2.30.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c4c70bf487f2e432046dce07cf4b77ff181667d0905f9cb1203ff95ff5dd5ff +size 37006 diff --git a/perl-Term-ReadKey.changes b/perl-Term-ReadKey.changes new file mode 100644 index 0000000..4d5082c --- /dev/null +++ b/perl-Term-ReadKey.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Sep 28 16:25:45 CET 2011 - pascal.bleser@opensuse.org + +- initial version (2.30) + diff --git a/perl-Term-ReadKey.spec b/perl-Term-ReadKey.spec new file mode 100644 index 0000000..9f63b23 --- /dev/null +++ b/perl-Term-ReadKey.spec @@ -0,0 +1,68 @@ +# +# spec file for package perl-Term-ReadKey +# +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + + +Name: perl-Term-ReadKey +Version: 2.30 +Release: 0 +Summary: Module for Simple Terminal Control +Source: http://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/TermReadKey-%{version}.tar.gz +Url: http://search.cpan.org/dist/Term-ReadKey +Group: Development/Libraries/Perl +License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic) +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} +BuildRequires: perl-macros +BuildRequires: make +BuildRequires: perl(ExtUtils::MakeMaker) + +%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 -q -n "TermReadKey-%{version}" +%__sed -i '/^auto_install/d' Makefile.PL + +%build +%__perl Makefile.PL PREFIX="%{_prefix}" +%__make %{?_smp_flags} + +%install +%perl_make_install +%perl_process_packlist + +%check +%__make test + +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} + +%files +%defattr(-,root,root) +%doc README +%dir %{perl_vendorarch}/Term +%{perl_vendorarch}/Term/ReadKey.pm +%dir %{perl_vendorarch}/auto/Term +%{perl_vendorarch}/auto/Term/ReadKey +%doc %{perl_man3dir}/Term::ReadKey.%{perl_man3ext}%{ext_man} + +%changelog