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.
58 lines
1.5 KiB
58 lines
1.5 KiB
9 years ago
|
Name: perl-Pod-Wrap
|
||
|
Version: 0.01
|
||
|
Release: 1%{?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(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
|
||
|
* Fri Nov 27 2015 Jitka Plesnikova <jplesnik@redhat.com> 0.01-1
|
||
|
- Initial release
|