2024-01-06 09:32:13 +01:00
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name : perl-Pod-Spell
2024-01-06 09:32:13 +01:00
Version : 1.26
2024-01-06 09:32:13 +01:00
Release : 1mamba
Summary : Pod::Spell -- a formatter for spellchecking Pod
Group : System/Libraries/Perl
Vendor : openmamba
Distribution : openmamba
2024-01-06 09:32:13 +01:00
Packager : Silvan Calarco <silvan.calarco@mambasoft.it>
URL : https://www.cpan.org/
Source : https://cpan.metacpan.org/authors/id/H/HA/HAARG/Pod-Spell-%{version} .tar.gz
2024-01-06 09:32:13 +01:00
License : GPL, Artistic
2024-01-06 09:32:13 +01:00
## AUTOBUILDREQ-BEGIN
BuildRequires : libperl
BuildRequires : perl-Class-Tiny
BuildRequires : perl-Lingua-EN-Inflect
BuildRequires : perl-devel
## AUTOBUILDREQ-END
2024-01-06 09:32:13 +01:00
BuildRequires : perl(ExtUtils::MakeMaker)
BuildRequires : perl(Pod::Escapes)
Requires : perl >= %perl_major_ver
%description
Pod::Spell is a Pod formatter whose output is good for spellchecking.
2024-01-06 09:32:13 +01:00
Pod::Spell rather like Pod::Text, except that it doesn't put much effort into actual formatting, and it suppresses things that look like Perl symbols or Perl jargon (so that your spellchecking program won' t complain about mystery words like " $ t h i n g " or " F o o : : B a r " or " h a s h r e f " ).
2024-01-06 09:32:13 +01:00
%prep
%setup -q -n Pod-Spell-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
%makeinstall _perl
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot} /*
%clean
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
%files
%defattr (-,root,root)
%{_bindir} /podspell
2024-01-06 09:32:13 +01:00
%dir %{perl_vendorlib} /Pod
%{perl_vendorlib} /Pod/*
%{perl_vendorlib} /auto/share/dist/Pod-Spell/wordlist
%{_mandir} /man1/podspell.1*
%{_mandir} /man3/*.3pm.*
%doc LICENSE
2024-01-06 09:32:13 +01:00
%changelog
2024-01-06 09:32:13 +01:00
* Sat Oct 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26-1mamba
- update to 1.26
2024-01-06 09:32:13 +01:00
* Fri Feb 18 2011 gil <puntogil@libero.it> 1.01-1mamba
- package created by autospec