263effc
Name:           perl-Test-Spelling
263effc
Version:        0.11
8a92e8b
Release:        3%{?dist}
263effc
Summary:        Check for spelling errors in POD files
263effc
263effc
Group:          Development/Libraries
e39ba36
License:        GPL+ or Artistic
263effc
URL:            http://search.cpan.org/dist/Test-Spelling/
263effc
Source0:        http://www.cpan.org/authors/id/I/IT/ITUB/Test-Spelling-%{version}.tar.gz
263effc
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
263effc
263effc
BuildArch:      noarch
263effc
BuildRequires:  perl(Pod::Spell) >= 1.01
263effc
BuildRequires:  perl(Test::Pod)
263effc
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
263effc
Requires:       aspell
263effc
263effc
%description
263effc
"Test::Spelling" lets you check the spelling of a POD file, and report
263effc
its results in standard "Test::Simple" fashion. This module requires the
263effc
spell program.
263effc
263effc
263effc
%prep
263effc
%setup -q -n Test-Spelling-%{version}
263effc
263effc
263effc
%build
263effc
%{__perl} Makefile.PL INSTALLDIRS=vendor
263effc
make %{?_smp_mflags}
263effc
263effc
263effc
%install
263effc
rm -rf $RPM_BUILD_ROOT
263effc
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
263effc
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
263effc
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
263effc
chmod -R u+w $RPM_BUILD_ROOT/*
263effc
263effc
263effc
%check
263effc
make test
263effc
263effc
263effc
%clean
263effc
rm -rf $RPM_BUILD_ROOT
263effc
263effc
263effc
%files
263effc
%defattr(-,root,root,-)
263effc
%doc Changes README
263effc
%{perl_vendorlib}/Test/
263effc
%{_mandir}/man3/*.3pm*
263effc
263effc
263effc
%changelog
8a92e8b
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.11-3
8a92e8b
- Rebuild for perl 5.10 (again)
8a92e8b
731f285
* Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.11-2
731f285
- rebuild for new perl
731f285
263effc
* Tue Dec 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.11-1
263effc
- First build.