diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..817c049 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/TermReadKey-2.38.tar.gz diff --git a/.perl-TermReadKey.metadata b/.perl-TermReadKey.metadata new file mode 100644 index 0000000..e2e8934 --- /dev/null +++ b/.perl-TermReadKey.metadata @@ -0,0 +1 @@ +e869c13a485e6c56561c34351fd62352bdac793c SOURCES/TermReadKey-2.38.tar.gz diff --git a/SPECS/perl-TermReadKey.spec b/SPECS/perl-TermReadKey.spec new file mode 100644 index 0000000..602fa57 --- /dev/null +++ b/SPECS/perl-TermReadKey.spec @@ -0,0 +1,274 @@ +Name: perl-TermReadKey +Version: 2.38 +Release: 11%{?dist} +Summary: A perl module for simple terminal control +License: (Copyright only) and (Artistic or GPL+) +URL: https://metacpan.org/release/TermReadKey +Source0: https://cpan.metacpan.org/authors/id/J/JS/JSTOWE/TermReadKey-%{version}.tar.gz +# 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) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) + +%{?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. + +%prep +%setup -q -n TermReadKey-%{version} + +%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}/* + +%check +make test + +%files +%doc Changes example README +%{perl_vendorarch}/* +%{perl_vendorarch}/auto/* +%{_mandir}/man3/* + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 2.38-11 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 2.38-10 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* 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 +