perl-TermReadKey-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. Name: perl-TermReadKey
  2. Version: 2.38
  3. Release: 3%{?_dist_release}
  4. Summary: A perl module for simple terminal control
  5. Group: programming
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: Copyright only
  9. URL: https://metacpan.org/pod/Term::ReadKey
  10. Source0: https://cpan.metacpan.org/authors/id/J/JS/JSTOWE/TermReadKey-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildRequires: libxcrypt-devel
  13. BuildRequires: perl(ExtUtils::MakeMaker)
  14. Requires: perl(:MODULE_COMPAT_%perl_abi_version)
  15. %description
  16. Term::ReadKey is a compiled perl module dedicated to providing simple
  17. control over terminal driver modes (cbreak, raw, cooked, etc.)
  18. support for non-blocking reads, if the architecture allows, and some
  19. generalized handy functions for working with terminals. One of the
  20. main goals is to have the functions as portable as possible, so you
  21. can just plug in "use Term::ReadKey" on any architecture and have a
  22. good likelyhood of it working.
  23. %debug_package
  24. %prep
  25. %setup -q -n TermReadKey-%{version}
  26. %build
  27. CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
  28. make %{?_smp_mflags} OPTIMIZE="%{optflags}"
  29. %install
  30. rm -rf %{buildroot}
  31. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  32. find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
  33. find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
  34. %{_fixperms} %{buildroot}/*
  35. %check
  36. make test
  37. %files
  38. %doc README
  39. %{perl_vendorarch}/Term/
  40. %{perl_vendorarch}/auto/Term/
  41. %{_mandir}/man3/*.3*
  42. %changelog
  43. * Sat Jun 14 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.38-3
  44. - rebuilt with perl-5.40.
  45. * Thu Nov 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.38-2
  46. - rebuilt with perl-5.34.0.
  47. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.38-1
  48. - new upstream release.
  49. - rebuilt with perl-5.26.
  50. - added BR:libxcrypt-devel.
  51. * Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.30-5
  52. - build with Perl 5.16
  53. * Tue Mar 13 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.30-4
  54. - rebuild
  55. * Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 2.30-3vl6
  56. - build with perl 5.12.3
  57. * Thu Jan 29 2009 IWAI, Masaharu <iwai@alib.jp> - 2.30-2
  58. - do not require perl(:MODULE_COMPAT_x.y.z) on Vine Linux 4.x
  59. * Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.30-1
  60. - initial build for Vine Linux
  61. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.30-6
  62. - Rebuild for perl 5.10 (again)
  63. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.30-5
  64. - Autorebuild for GCC 4.3
  65. * Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.36-4
  66. - rebuild for new perl
  67. * Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 2.30-3
  68. - fix various issues from package review:
  69. - remove extra || : from %%check
  70. - add dist tag to release
  71. - remove BR: perl
  72. - fix tabs and spacing
  73. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.30-2
  74. - correct license tag
  75. - add BR: perl(ExtUtils::MakeMaker)
  76. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
  77. - rebuild
  78. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.30-1.2.2
  79. - bump again for double-long bug on ppc(64)
  80. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.30-1.2.1
  81. - rebuilt for new gcc4.1 snapshot and glibc changes
  82. * Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 2.30-1.2
  83. - rebuild for new perl-5.8.8
  84. * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
  85. - rebuilt for new gcc
  86. * Sat Apr 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.30-1
  87. - Update to 2.30.
  88. - spec cleanup (#153200)
  89. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  90. - rebuilt
  91. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  92. - rebuilt
  93. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  94. - rebuilt
  95. * Tue Jun 17 2003 Chip Turner <cturner@redhat.com> 2.20-12
  96. - rebuild
  97. * Mon Jan 27 2003 Chip Turner <cturner@redhat.com>
  98. - version bump and rebuild
  99. * Wed Nov 20 2002 Chip Turner <cturner@redhat.com>
  100. - rebuild
  101. * Tue Sep 10 2002 Chip Turner <cturner@redhat.com>
  102. - remove 'make test' as it seems to open a tty and hang
  103. * Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
  104. - automated release bump and build
  105. * Tue Aug 6 2002 Chip Turner <cturner@localhost.localdomain>
  106. - update to 2.20
  107. * Wed Jan 30 2002 cturner@redhat.com
  108. - Specfile autogenerated