perl-Curses-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. Name: perl-Curses
  2. Version: 1.36
  3. Release: 1%{?_dist_release}
  4. Summary: Perl bindings for ncurses
  5. Summary(ja): Ncurses の Perl バインディング
  6. Group: Development/Libraries
  7. License: GPL+ or Artistic
  8. URL: http://search.cpan.org/dist/Curses/
  9. Source0: http://search.cpan.org/CPAN/authors/id/G/GI/GIRAFFED/Curses-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. BuildRequires: ncurses-devel
  14. BuildRequires: libxcrypt-devel
  15. BuildRequires: perl(Test::More)
  16. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. %description
  18. Perl bindings for ncurses, bringing terminal-independent character
  19. handling capabilities to Perl.
  20. %prep
  21. %setup -q -n Curses-%{version}
  22. test -f hints/c-linux.ncursesw.h || cp hints/c-linux.ncurses.h hints/c-linux.ncursesw.h
  23. sed -i -e 's|/usr/local/bin/perl|%{__perl}|' demo*
  24. sed -i -e 's|/usr//bin/perl|%{__perl}|' demo*
  25. %build
  26. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" \
  27. PANELS MENUS FORMS
  28. make %{?_smp_mflags}
  29. # A note about the following alarming output...
  30. #
  31. # WARNING: Your Curses form.h file appears to be in the default
  32. # system search path, which will not work for us because of
  33. # the conflicting Perl form.h file. This means your 'make' will
  34. # probably fail unless you fix this, as described in the INSTALL
  35. # file.
  36. #
  37. #... can be ignored because /usr/include/form.h is a symlink to
  38. #/usr/include/ncurses/form.h, which the Makefile.PL finds and
  39. #uses quite happily.
  40. %install
  41. rm -rf %{buildroot}
  42. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  43. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  44. find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
  45. find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
  46. chmod -R u+w %{buildroot}/*
  47. #Remove exec perm for file aimed to be bundled as %%doc
  48. chmod -x demo*
  49. %check
  50. make test
  51. %clean
  52. rm -rf %{buildroot}
  53. %files
  54. %defattr(-,root,root,-)
  55. %license Copying Artistic
  56. %doc README demo*
  57. %{perl_vendorarch}/auto/*
  58. %{perl_vendorarch}/Curses.pm
  59. %{_mandir}/man3/*.3*
  60. %changelog
  61. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.36-1
  62. - new upstream release.
  63. - rebuilt with perl-5.26.
  64. - added BR:libxcrypt-devel.
  65. * Thu Apr 16 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.32-1
  66. - new upstream release
  67. * Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.28-2
  68. - build with Perl 5.16
  69. * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.28-1
  70. - initial build for Vine Linux
  71. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-5
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  73. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.28-4
  74. - Perl mass rebuild
  75. * Tue Jun 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.28-3
  76. - Perl mass rebuild
  77. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-2
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  79. * Sun Feb 6 2011 Steve Traylen <steve.traylen@cern.ch> - 1.28-1
  80. - Upstream to 1.28
  81. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.27-5
  82. - 661697 rebuild for fixing problems with vendorach/lib
  83. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.27-4
  84. - Mass rebuild with perl-5.12.0
  85. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.27-3
  86. - rebuild against perl 5.10.1
  87. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-2
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  89. * Thu Jul 16 2009 kwizart < kwizart at gmail.com > - 1.27-1
  90. - Update to 1.27
  91. - Remove exec perm for demo* provided as %%doc - Fix #510186
  92. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-4
  93. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  94. * Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.20-3
  95. - rebuild for new perl
  96. * Thu Feb 14 2008 Garrick Staples <garrick@usc.edu> 1.20-2
  97. - forgot to update tarball, building
  98. * Thu Feb 14 2008 Garrick Staples <garrick@usc.edu> 1.20-1
  99. - bump to 1.20
  100. * Fri Aug 17 2007 Garrick Staples <garrick@usc.edu> 1.16-4
  101. - fix /usr//bin/perl, bz#253336
  102. * Thu Aug 16 2007 Garrick Staples <garrick@usc.edu> 1.16-3
  103. - need BR: perl(Test::More)
  104. * Thu Aug 16 2007 Garrick Staples <garrick@usc.edu> 1.16-2
  105. - rebuild
  106. * Thu Aug 16 2007 Garrick Staples <garrick@usc.edu> 1.16-1
  107. - bump to 1.16
  108. - correct License: tag
  109. - need BR: perl-devel
  110. * Sun Aug 27 2006 Garrick Staples <garrick@usc.edu> 1.15-1
  111. - bump to 1.15
  112. * Sun Aug 27 2006 Garrick Staples <garrick@usc.edu> 1.14-2
  113. - rebuild
  114. * Sun Aug 27 2006 Garrick Staples <garrick@usc.edu> 1.14-1
  115. - bump to 1.14
  116. - FC6 mass rebuild
  117. * Fri Apr 21 2006 Garrick Staples <garrick@usc.edu> 1.13-3
  118. - add a note about the falsely alarming warning
  119. - don't remove execute bit from demos
  120. * Thu Apr 20 2006 Garrick Staples <garrick@usc.edu> 1.13-2
  121. - spec cleanups
  122. - add doc files
  123. * Wed Apr 19 2006 Garrick Staples <garrick@usc.edu> 1.13-1
  124. - Initial spec file