Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37543135
en ru br
ALT Linux repos
S:1.26-alt1
5.0: 1.01-alt1.1
4.1: 1.01-alt1

Group :: Development/Perl
RPM: perl-Pod-Spell

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
#
#   - Pod::Spell -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       Pod::Spell
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module Pod-Spell
%define m_distro Pod-Spell
%define m_name Pod::Spell
%define m_author_id SBURKE
%define _enable_test 1

Name: perl-Pod-Spell
Version: 1.23
Release: alt1

Summary: A formatter for spellchecking Pod

License: Artistic
Group: Development/Perl
Url: http://search.cpan.org/dist/Pod-Spell/

Packager: Michael Bochkaryov <misha at altlinux.ru>

BuildArch: noarch
Source0: http://www.cpan.org/authors/id/H/HA/HAARG/%{module}-%{version}.tar.gz

# Automatically added by buildreq on Wed Apr 09 2008

BuildRequires: perl-Pod-Escapes perl-devel
BuildRequires: perl-Pod-Parser perl(Test/Deep.pm) perl(File/ShareDir/Install.pm) perl(File/Slurp.pm) perl(Lingua/EN/Inflect.pm) perl(File/ShareDir/ProjectDistDir.pm) perl(Class/Tiny.pm)

%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").

This class provides no new public methods.  All methods of interest are
inherited from Pod::Parser (which see).  The especially
interesting ones are "parse_from_filehandle" (which without arguments
takes from STDIN and sends to STDOUT) and "parse_from_file".  But you
can probably just make do with the examples in the synopsis though.

This class works by filtering out words that look like Perl or any
form of computerese (like "$thing" or ""N>7"" or
"" at {$foo}{'bar','baz'}"", anything in C<...> or F<...>
codes, anything in verbatim paragraphs (codeblocks), and anything
in the stopword list.  The default stopword list for a document starts
out from the stopword list defined by Pod::Wordlist,
and can be supplemented (on a per-document basis) by having
"=for stopwords" / "=for :stopwords" region(s) in a document.

%prep
%setup -q -n %{module}-%{version}
%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc CONTRIBUTING Changes LICENSE README
%perl_vendor_privlib/*
%exclude %perl_vendor_archlib
%_bindir/podspell
%_man1dir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin