From 1d6aaaa274d54aa0c31079e107fe194dd752aa8f Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 7 Dec 2015 09:33:10 +0100 Subject: [PATCH] Initial import --- .gitignore | 1 + perl-Pod-Wrap.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 59 insertions(+) create mode 100644 perl-Pod-Wrap.spec diff --git a/.gitignore b/.gitignore index e69de29..ce6bb1c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Pod-Wrap-0.01.tar.gz diff --git a/perl-Pod-Wrap.spec b/perl-Pod-Wrap.spec new file mode 100644 index 0000000..ed9a972 --- /dev/null +++ b/perl-Pod-Wrap.spec @@ -0,0 +1,57 @@ +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 0.01-1 +- Initial release diff --git a/sources b/sources index e69de29..27ee55c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +afff957e890f9e56930d0e9b0a365ae7 Pod-Wrap-0.01.tar.gz