diff --git a/README.md b/README.md index d77ee74..090f6f9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # perl-Pod-Spell +Pod::Spell is a Pod formatter whose output is good for spellchecking. +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 "$thing" or "Foo::Bar" or "hashref"). + diff --git a/perl-Pod-Spell.spec b/perl-Pod-Spell.spec new file mode 100644 index 0000000..32051e4 --- /dev/null +++ b/perl-Pod-Spell.spec @@ -0,0 +1,55 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Pod-Spell +Version: 1.01 +Release: 1mamba +Summary: Pod::Spell -- a formatter for spellchecking Pod +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: gil +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/Pod-Spell-%{version}.tar.gz +License: GPL, Artistic +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Pod::Escapes) +BuildRequires: perl-devel +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Pod::Spell is a Pod formatter whose output is good for spellchecking. +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 "$thing" or "Foo::Bar" or "hashref"). + +%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 +%{perl_vendorlib}/Pod/ +%{_mandir}/man3/*.3pm.gz +%doc ChangeLog README + +%changelog +* Fri Feb 18 2011 gil 1.01-1mamba +- package created by autospec