perl-Test-Spelling-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. Name: perl-Test-Spelling
  2. Version: 0.20
  3. Release: 1%{?_dist_release}
  4. Summary: Check for spelling errors in POD files
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Test-Spelling/
  8. Source0: http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/Test-Spelling-%{version}.tar.gz
  9. Patch0: Test-Spelling-0.20-hunspell.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildArch: noarch
  12. BuildRequires: hunspell-en
  13. BuildRequires: perl(IPC::Open3)
  14. BuildRequires: perl(IPC::Run3)
  15. BuildRequires: perl(Pod::Spell) >= 1.01
  16. BuildRequires: perl(Test::Pod)
  17. BuildRequires: perl(Test::Tester)
  18. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  19. Requires: hunspell
  20. %description
  21. "Test::Spelling" lets you check the spelling of a POD file, and report
  22. its results in standard "Test::Simple" fashion. This module requires the
  23. hunspell program.
  24. %prep
  25. %setup -q -n Test-Spelling-%{version}
  26. # Promote hunspell over spell/aspell to avoid surprises if aspell is installed
  27. %patch0 -p1
  28. # Force the author test to run too
  29. mkdir inc/.author
  30. %build
  31. perl Makefile.PL INSTALLDIRS=vendor
  32. make %{?_smp_mflags}
  33. %install
  34. rm -rf %{buildroot}
  35. make pure_install DESTDIR=%{buildroot}
  36. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  37. find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
  38. %{_fixperms} %{buildroot}
  39. %check
  40. make test
  41. %clean
  42. rm -rf %{buildroot}
  43. %files
  44. %defattr(-,root,root,-)
  45. %doc Changes README
  46. %{perl_vendorlib}/Test/
  47. %{_mandir}/man3/Test::Spelling.3pm*
  48. %changelog
  49. * Tue Dec 9 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.20-1
  50. - updated to 0.20
  51. - updated Patch0
  52. - built with perl 5.16.3
  53. - added BR: perl(IPC::Run3)
  54. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.15-1
  55. - initial build for Vine Linux
  56. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-2
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  58. * Tue Aug 23 2011 Paul Howarth <paul@city-fan.org> - 0.15-1
  59. - Update to 0.15:
  60. - Begin adding actual tests (hilariously, adding the suggested t/pod-spell.t
  61. to this dist to test itself found a typo: "stopwards")
  62. - BR: perl(Test::Tester) and hunspell-en
  63. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.14-2
  64. - Perl mass rebuild
  65. * Fri May 27 2011 Paul Howarth <paul@city-fan.org> - 0.14-1
  66. - Update to 0.14:
  67. - Fix an error when using add_stopwords("constant","strings") (CPAN RT#68471)
  68. * Wed Apr 27 2011 Paul Howarth <paul@city-fan.org> - 0.13-1
  69. - Update to 0.13:
  70. - Make alternatives checking more robust by reading the spellchecker's STDERR
  71. * Tue Apr 26 2011 Paul Howarth <paul@city-fan.org> - 0.12-1
  72. - Update to 0.12:
  73. - Best Practical has taken over maintainership of this module
  74. - Try various spellcheck programs instead of hardcoding the ancient `spell`
  75. (CPAN RT#56483)
  76. - Remove temporary files more aggressively (CPAN RT#41586)
  77. - Fixed by not creating them at all - instead we now use IPC::Open3
  78. - Remove suggestion to use broken `aspell -l` (CPAN RT#28967)
  79. - Add set_pod_file_filter for skipping translations, etc. (CPAN RT#63755)
  80. - Skip tests in all_pod_files_spelling_ok if there is no working spellchecker
  81. - Provide a has_working_spellchecker so you can skip your own tests if
  82. there's no working spellchecker
  83. - Switch to Module::Install
  84. - Rewrite and modernize a lot of the documentation
  85. - Decruftify code, such as by using Exporter and lexical filehandles
  86. - Support .plx files
  87. - This release by SARTAK -> update source URL
  88. - Rewrite hunspell patch to just favour hunspell over aspell
  89. - BR: perl(IPC::Open3)
  90. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-11
  91. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  92. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.11-10
  93. - Rebuild to fix problems with vendorarch/lib (#661697)
  94. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.11-9
  95. - Mass rebuild with perl-5.12.0
  96. * Fri Jan 29 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 0.11-8
  97. - actually apply patch. :P
  98. * Wed Jan 20 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 0.11-7
  99. - use hunspell instead of aspell (bz 508643)
  100. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.11-6
  101. - rebuild against perl 5.10.1
  102. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-5
  103. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  104. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-4
  105. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  106. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.11-3
  107. - Rebuild for perl 5.10 (again)
  108. * Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.11-2
  109. - rebuild for new perl
  110. * Tue Dec 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.11-1
  111. - First build.