Name: perl-TermReadKey Version: 2.38 Release: 23%{?dist} Summary: A perl module for simple terminal control License: TermReadKey AND (GPL-1.0-or-later OR Artistic-1.0-Perl) URL: https://metacpan.org/release/TermReadKey Source0: https://cpan.metacpan.org/authors/id/J/JS/JSTOWE/TermReadKey-%{version}.tar.gz Patch0: perl-TermReadKey-configure-c99.patch # Build BuildRequires: findutils BuildRequires: gcc BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Runtime BuildRequires: perl(Config) BuildRequires: perl(Cwd) BuildRequires: perl(DynaLoader) BuildRequires: perl(Exporter) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Spec) BuildRequires: perl(vars) # Tests only BuildRequires: perl(Fcntl) BuildRequires: perl(Test::More) %{?perl_default_filter} %description Term::ReadKey is a compiled perl module dedicated to providing simple control over terminal driver modes (cbreak, raw, cooked, etc.) support for non-blocking reads, if the architecture allows, and some generalized handy functions for working with terminals. One of the main goals is to have the functions as portable as possible, so you can just plug in "use Term::ReadKey" on any architecture and have a good likelyhood of it working. %package tests Summary: Tests for %{name} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: perl-Test-Harness %description tests Tests from %{name}. Execute them with "%{_libexecdir}/%{name}/test". %prep %autosetup -p1 -n TermReadKey-%{version} # Help generators to recognize Perl scripts for F in t/*.t; do perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" chmod +x "$F" done %build CFLAGS="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} OPTIMIZE="%{optflags}" %install %{make_install} find %{buildroot} -type f -name '*.bs' -a -size 0 -delete %{_fixperms} %{buildroot}/* # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name} cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' #!/bin/sh cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" EOF chmod +x %{buildroot}%{_libexecdir}/%{name}/test %check make test %files %doc Changes example README %{perl_vendorarch}/Term* %{perl_vendorarch}/auto/Term* %{_mandir}/man3/Term::ReadKey* %files tests %{_libexecdir}/%{name} %changelog * Fri Jul 19 2024 Fedora Release Engineering - 2.38-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jun 10 2024 Jitka Plesnikova - 2.38-22 - Perl 5.40 rebuild * Thu Feb 01 2024 Jitka Plesnikova - 2.38-21 - Package tests * Thu Jan 25 2024 Fedora Release Engineering - 2.38-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 2.38-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.38-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 2.38-17 - Perl 5.38 rebuild * Fri Jan 20 2023 Fedora Release Engineering - 2.38-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Nov 25 2022 Florian Weimer - 2.38-15 - Port Configure.pm to C99 * Fri Jul 22 2022 Fedora Release Engineering - 2.38-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 2.38-13 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 2.38-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.38-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 2.38-10 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 2.38-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 2.38-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 2.38-7 - Perl 5.32 rebuild * Thu Feb 06 2020 Tom Stellard - 2.38-6 - Spec file cleanups: Use make_build and make_install macros - https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make - https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMake * Thu Jan 30 2020 Fedora Release Engineering - 2.38-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 2.38-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 2.38-3 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 2.38-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 07 2019 Jitka Plesnikova - 2.38-1 - 2.38 bump * Fri Jul 13 2018 Fedora Release Engineering - 2.37-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 2.37-8 - Perl 5.28 rebuild * Mon Feb 19 2018 Jitka Plesnikova - 2.37-7 - Add build-require gcc * Fri Feb 09 2018 Fedora Release Engineering - 2.37-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 2.37-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.37-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 2.37-3 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.37-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Oct 10 2016 Jitka Plesnikova - 2.37-1 - 2.37 bump * Sat May 14 2016 Jitka Plesnikova - 2.33-5 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 2.33-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 2.33-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Jun 09 2015 Jitka Plesnikova - 2.33-2 - Perl 5.22 rebuild * Fri Jun 05 2015 Petr Šabata - 2.33-1 - 2.33 bump * Wed Jun 03 2015 Jitka Plesnikova - 2.32-6 - Perl 5.22 rebuild * Tue Aug 26 2014 Jitka Plesnikova - 2.32-5 - Perl 5.20 rebuild * Mon Aug 18 2014 Petr Šabata - 2.32-4 - Fix FTBFS * Sun Aug 17 2014 Fedora Release Engineering - 2.32-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 2.32-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon May 26 2014 Petr Šabata - 2.32-1 - 2.32 bump * Sun Aug 04 2013 Fedora Release Engineering - 2.30-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Jul 15 2013 Petr Pisar - 2.30-19 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 2.30-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Aug 21 2012 Petr Pisar - 2.30-17 - Modernize spec file - Specify all dependencies - Change license to "(Copyright only) and (Artistic or GPL+)" because of ppport.h * Fri Jul 20 2012 Fedora Release Engineering - 2.30-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 08 2012 Petr Pisar - 2.30-15 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 2.30-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jun 20 2011 Marcela Mašláňová - 2.30-13 - Perl mass rebuild * Wed Feb 09 2011 Fedora Release Engineering - 2.30-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 22 2010 Marcela Maslanova - 2.30-11 - 661697 rebuild for fixing problems with vendorach/lib * Thu May 06 2010 Marcela Maslanova - 2.30-10 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal - 2.30-9 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 2.30-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 2.30-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 27 2008 Tom "spot" Callaway - 2.30-6 - Rebuild for perl 5.10 (again) * Tue Feb 19 2008 Fedora Release Engineering - 2.30-5 - Autorebuild for GCC 4.3 * Mon Jan 28 2008 Tom "spot" Callaway - 2.36-4 - rebuild for new perl * Thu Oct 25 2007 Robin Norwood - 2.30-3 - fix various issues from package review: - remove extra || : from %%check - add dist tag to release - remove BR: perl - fix tabs and spacing * Tue Oct 16 2007 Tom "spot" Callaway - 2.30-2 - correct license tag - add BR: perl(ExtUtils::MakeMaker) * Wed Jul 12 2006 Jesse Keating - sh: line 0: fg: no job control - rebuild * Fri Feb 10 2006 Jesse Keating - 2.30-1.2.2 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 2.30-1.2.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Feb 03 2006 Jason Vas Dias - 2.30-1.2 - rebuild for new perl-5.8.8 * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcc * Sat Apr 02 2005 Jose Pedro Oliveira - 2.30-1 - Update to 2.30. - spec cleanup (#153200) * Tue Jun 15 2004 Elliot Lee - rebuilt * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Tue Jun 17 2003 Chip Turner 2.20-12 - rebuild * Mon Jan 27 2003 Chip Turner - version bump and rebuild * Wed Nov 20 2002 Chip Turner - rebuild * Tue Sep 10 2002 Chip Turner - remove 'make test' as it seems to open a tty and hang * Tue Aug 6 2002 Chip Turner - automated release bump and build * Tue Aug 6 2002 Chip Turner - update to 2.20 * Wed Jan 30 2002 cturner@redhat.com - Specfile autogenerated