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