source: projects/specs/trunk/p/perl-Test-Spelling/perl-Test-Spelling-vl.spec @ 9142

Revision 9142, 4.9 KB checked in by inagaki, 9 years ago (diff)

2014-12-09 Ryoichi INAGAKI <ryo1@…>

  • perl-Config-{Any, General, IniFiles?}, perl-Log-Dispatch-{Config, Configurator-Any}, perl-Log-Dump, perl-Path-Extended, perl-Sort-Naturally perl-Test-{Output, Spelling}: updated
  • perl-ExtUtils?-MakeMaker?-CPANfile, perl-IO-Capture, perl-Module-CPANfile: NEW


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