Skip to content
Snippets Groups Projects
Verified Commit 3bf18a91 authored by Kiryuu Sakuya's avatar Kiryuu Sakuya :musical_note:
Browse files

Init Package

parents
No related branches found
No related tags found
No related merge requests found
File added
Name: perl-Pod-Spell
Version: 1.20
Release: 1
Summary: A formatter for spell-checking POD
License: Artistic 2.0
URL: https://metacpan.org/release/Pod-Spell
Source0: https://cpan.metacpan.org/modules/by-module/Pod/Pod-Spell-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::ShareDir::Install) >= 0.06
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: sed
# Run-time:
BuildRequires: perl(Carp)
BuildRequires: perl(Class::Tiny)
BuildRequires: perl(constant)
BuildRequires: perl(File::ShareDir)
BuildRequires: perl(Lingua::EN::Inflect)
BuildRequires: perl(locale)
BuildRequires: perl(parent)
BuildRequires: perl(Path::Tiny)
BuildRequires: perl(Pod::Escapes)
BuildRequires: perl(Pod::Parser)
BuildRequires: perl(Text::Wrap)
# Optional run-time:
# I18N::Langinfo not used at tests
# POSIX not used at tests
# Tests:
BuildRequires: perl(blib)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp) >= 0.17
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(utf8)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(File::ShareDir)
Recommends: perl(I18N::Langinfo)
Recommends: perl(POSIX)
%description
Pod::Spell is a Pod formatter whose output is good for spell-checking.
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 spell-checking program won't
complain about mystery words like "$thing" or "Foo::Bar" or "hashref").
%prep
%setup -q -n Pod-Spell-%{version}
sed -i -e '/^#!/ c #!%{__perl}' bin/podspell
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
make test
%files
%license LICENSE
%doc Changes CONTRIBUTING README
%{_bindir}/podspell
%{perl_vendorlib}/Pod/
%{perl_vendorlib}/auto/share/dist/Pod-Spell/
%{_mandir}/man1/podspell.1*
%{_mandir}/man3/Pod::Spell.3*
%{_mandir}/man3/Pod::Wordlist.3*
%changelog
* Wed Jul 06 2022 misaka00251 <misaka00251@misakanet.cn> - 1.20-1
- Package init (SPEC file by fedora)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment