You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.8 KiB
65 lines
1.8 KiB
Name: perl-Pod-Wrap
|
|
Version: 0.01
|
|
Release: 3%{?dist}
|
|
Summary: Wrap pod paragraphs, leaving verbatim text and code alone
|
|
License: GPL+ or Artistic
|
|
URL: http://search.cpan.org/dist/Pod-Wrap/
|
|
Source0: http://www.cpan.org/authors/id/N/NU/NUFFIN/Pod-Wrap-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-generators
|
|
BuildRequires: perl(Module::Build)
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(warnings)
|
|
# Run-time
|
|
BuildRequires: perl(base)
|
|
BuildRequires: perl(Pod::Parser)
|
|
BuildRequires: perl(Text::Wrap)
|
|
# Tests
|
|
BuildRequires: perl(B::Deparse)
|
|
BuildRequires: perl(Fcntl)
|
|
BuildRequires: perl(IO::Select)
|
|
BuildRequires: perl(IPC::Open3)
|
|
BuildRequires: perl(Pod::Stripper)
|
|
BuildRequires: perl(Test::More)
|
|
BuildRequires: perl(Text::Diff)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
%description
|
|
This is a Pod::Parser subclass, based on Pod::Stripper. It parses perl
|
|
files, wrapping pod text, and leaving everything else intact. It prints
|
|
it's output to wherever you point it to (like you do with Pod::Parser (and
|
|
Pod::Stripper)).
|
|
|
|
%prep
|
|
%setup -q -n Pod-Wrap-%{version}
|
|
|
|
%build
|
|
perl Build.PL installdirs=vendor
|
|
./Build
|
|
|
|
%install
|
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%files
|
|
%license Artistic COPYING
|
|
%doc README
|
|
%{_bindir}/*
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man1/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.01-3
|
|
- Perl 5.24 rebuild
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.01-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Fri Nov 27 2015 Jitka Plesnikova <jplesnik@redhat.com> 0.01-1
|
|
- Initial release
|