|
|
|
@ -1,12 +1,13 @@
|
|
|
|
|
Name: perl-Pod-Spell
|
|
|
|
|
Version: 1.04
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 1.05
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A formatter for spell-checking POD
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: Artistic 2.0
|
|
|
|
|
URL: http://search.cpan.org/dist/Pod-Spell/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/X/XE/XENO/Pod-Spell-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
@ -19,6 +20,7 @@ BuildRequires: perl(Pod::Escapes)
|
|
|
|
|
BuildRequires: perl(Pod::Parser)
|
|
|
|
|
BuildRequires: perl(Text::Wrap)
|
|
|
|
|
# Tests:
|
|
|
|
|
BuildRequires: perl(English)
|
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
|
BuildRequires: perl(Test::Deep)
|
|
|
|
@ -44,11 +46,10 @@ done
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
|
|
|
|
chmod -R u+w %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
@ -61,6 +62,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jul 10 2013 Petr Šabata <contyk@redhat.com> - 1.05-1
|
|
|
|
|
- 1.05 bump
|
|
|
|
|
|
|
|
|
|
* Tue Jun 25 2013 Petr Pisar <ppisar@redhat.com> - 1.04-2
|
|
|
|
|
- Specify all dependencies
|
|
|
|
|
|
|
|
|
|