2010-07-14 14:58:41 +00:00
|
|
|
#
|
2013-02-27 13:44:14 +00:00
|
|
|
# spec file for package perl-Pod-Spell
|
2010-07-14 14:58:41 +00:00
|
|
|
#
|
2025-01-09 16:23:51 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2010-07-14 14:58:41 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-10-28 15:15:06 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-07-14 14:58:41 +00:00
|
|
|
#
|
|
|
|
|
2010-12-28 23:30:14 +00:00
|
|
|
|
2022-09-27 15:33:14 +00:00
|
|
|
%define cpan_name Pod-Spell
|
2010-07-14 14:58:41 +00:00
|
|
|
Name: perl-Pod-Spell
|
2025-01-09 16:23:51 +00:00
|
|
|
Version: 1.270.0
|
2013-06-10 10:55:58 +00:00
|
|
|
Release: 0
|
2025-01-09 16:23:51 +00:00
|
|
|
# 1.27 -> normalize -> 1.270.0
|
|
|
|
%define cpan_version 1.27
|
2013-06-10 10:55:58 +00:00
|
|
|
License: Artistic-2.0
|
2022-09-27 15:33:14 +00:00
|
|
|
Summary: Formatter for spellchecking Pod
|
2020-10-28 15:15:06 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2025-01-09 16:23:51 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{cpan_version}.tar.gz
|
2016-02-08 06:23:16 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:16:37 +02:00
|
|
|
Source100: README.md
|
2010-07-14 14:58:41 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2013-10-04 14:56:16 +00:00
|
|
|
BuildRequires: perl(Class::Tiny)
|
2016-05-10 09:09:01 +00:00
|
|
|
BuildRequires: perl(File::ShareDir)
|
2015-04-15 04:56:02 +00:00
|
|
|
BuildRequires: perl(File::ShareDir::Install) >= 0.06
|
2013-10-04 14:56:16 +00:00
|
|
|
BuildRequires: perl(Lingua::EN::Inflect)
|
2013-06-10 10:55:58 +00:00
|
|
|
BuildRequires: perl(Pod::Escapes)
|
2022-09-27 15:33:14 +00:00
|
|
|
BuildRequires: perl(Pod::Simple) >= 3.27
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
2016-02-21 12:28:13 +00:00
|
|
|
BuildRequires: perl(parent)
|
2013-10-04 14:56:16 +00:00
|
|
|
Requires: perl(Class::Tiny)
|
2016-05-10 09:09:01 +00:00
|
|
|
Requires: perl(File::ShareDir)
|
2013-10-04 14:56:16 +00:00
|
|
|
Requires: perl(Lingua::EN::Inflect)
|
2013-06-10 10:55:58 +00:00
|
|
|
Requires: perl(Pod::Escapes)
|
2022-09-27 15:33:14 +00:00
|
|
|
Requires: perl(Pod::Simple) >= 3.27
|
2016-02-21 12:28:13 +00:00
|
|
|
Requires: perl(parent)
|
2025-01-09 16:23:51 +00:00
|
|
|
Provides: perl(Pod::Spell) = %{version}
|
|
|
|
Provides: perl(Pod::Wordlist) = %{version}
|
|
|
|
%undefine __perllib_provides
|
2013-06-10 10:55:58 +00:00
|
|
|
%{perl_requires}
|
2010-07-14 14:58:41 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Pod::Spell is a Pod formatter whose output is good for spellchecking.
|
2022-09-27 15:33:14 +00:00
|
|
|
Pod::Spell is rather like Pod::Text, except that it doesn't put much effort
|
2010-07-14 14:58:41 +00:00
|
|
|
into actual formatting, and it suppresses things that look like Perl
|
|
|
|
symbols or Perl jargon (so that your spellchecking program won't complain
|
2013-06-10 10:55:58 +00:00
|
|
|
about mystery words like "'$thing'" or "'Foo::Bar'" or "hashref").
|
2010-07-14 14:58:41 +00:00
|
|
|
|
2013-06-10 10:55:58 +00:00
|
|
|
This class works by filtering out words that look like Perl or any form of
|
|
|
|
computerese (like "'$thing'" or "'N>7'" or "'@{$foo}{'bar','baz'}'",
|
|
|
|
anything in C<...> or F<...> codes, anything in verbatim paragraphs (code
|
|
|
|
blocks), 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.
|
2010-07-14 14:58:41 +00:00
|
|
|
|
|
|
|
%prep
|
2025-01-09 16:23:51 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2010-07-14 14:58:41 +00:00
|
|
|
|
|
|
|
%build
|
2020-10-28 15:15:06 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2022-09-27 15:33:14 +00:00
|
|
|
%make_build
|
2010-07-14 14:58:41 +00:00
|
|
|
|
|
|
|
%check
|
2020-10-28 15:15:06 +00:00
|
|
|
make test
|
2010-07-14 14:58:41 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
2013-06-10 10:55:58 +00:00
|
|
|
%perl_process_packlist
|
2010-07-14 14:58:41 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2020-10-28 15:15:06 +00:00
|
|
|
%doc Changes CONTRIBUTING README
|
|
|
|
%license LICENSE
|
2010-07-14 14:58:41 +00:00
|
|
|
|
|
|
|
%changelog
|