perl-TermReadKey-vl.spec 4.2 KB

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