Initial import

f38
Jitka Plesnikova 9 years ago
parent 18b11d3a53
commit c6ab1e414d

1
.gitignore vendored

@ -0,0 +1 @@
/Pod-Stripper-0.22.tar.gz

@ -0,0 +1,53 @@
Name: perl-Pod-Stripper
Version: 0.22
Release: 1%{?dist}
Summary: Strip all pod, and output what's left
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Pod-Stripper/
Source0: http://www.cpan.org/authors/id/P/PO/PODMASTER/Pod-Stripper-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: sed
# Run-time
BuildRequires: perl(Pod::Parser) >= 1.13
BuildRequires: perl(strict)
BuildRequires: perl(vars)
# Tests
BuildRequires: perl(Test) >= 1.15
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Pod::Parser) >= 1.13
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Pod::Parser\\)\s*$
%description
This be Pod::Stripper, a subclass of Pod::Parser. It parses perl files,
stripping out the pod, and dumping the rest (presumably code) to wherever
you point it to (like you do with Pod::Parser).
%prep
%setup -q -n Pod-Stripper-%{version}
sed -i 's/\r//' Changes README podstrip
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%{_bindir}/*
%{perl_vendorlib}/*
%{_mandir}/man1/*
%{_mandir}/man3/*
%changelog
* Wed Dec 02 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.22-1
- Initial release

@ -0,0 +1 @@
33095c075bcb8f366a3fb3bf2c1d3fc8 Pod-Stripper-0.22.tar.gz
Loading…
Cancel
Save