perl-Test-Spelling-vl.spec 4.6 KB

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