465384
# Optional features
465384
# Run Tk tests
465384
%bcond_without perl_Pod_Perldoc_enables_tk_test
465384
# Support for groff
465384
%bcond_without perl_enables_groff
465384
465384
Name:           perl-Pod-Perldoc
465384
# let's overwrite the module from perl.srpm
465384
Version:        3.28
465384
Release:        397%{?dist}
465384
Summary:        Look up Perl documentation in Pod format
465384
License:        GPL+ or Artistic
465384
Group:          Development/Libraries
465384
URL:            http://search.cpan.org/dist/Pod-Perldoc/
465384
Source0:        http://www.cpan.org/authors/id/M/MA/MALLEN/Pod-Perldoc-%{version}.tar.gz
465384
BuildArch:      noarch
465384
BuildRequires:  findutils
465384
BuildRequires:  make
465384
BuildRequires:  perl-interpreter
465384
BuildRequires:  perl-generators
465384
BuildRequires:  perl(ExtUtils::MakeMaker)
465384
BuildRequires:  perl(strict)
465384
BuildRequires:  perl(warnings)
465384
# Run-time:
465384
%if %{with perl_enables_groff}
465384
# Pod::Perldoc::ToMan executes roff
465384
BuildRequires:  groff-base
465384
%endif
465384
BuildRequires:  perl(Carp)
465384
BuildRequires:  perl(Config)
465384
BuildRequires:  perl(Encode)
465384
BuildRequires:  perl(Fcntl)
465384
BuildRequires:  perl(File::Basename)
465384
BuildRequires:  perl(File::Spec::Functions)
465384
# File::Temp 0.22 not used by tests
465384
# HTTP::Tiny not used by tests
465384
# IO::Handle not used by tests
465384
BuildRequires:  perl(IO::Select)
465384
# IPC::Open3 not used by tests
465384
BuildRequires:  perl(parent)
465384
# POD2::Base is optional
465384
# Pod::Checker is not needed if Pod::Simple::Checker is available
465384
BuildRequires:  perl(Pod::Man) >= 2.18
465384
BuildRequires:  perl(Pod::Simple::Checker)
465384
BuildRequires:  perl(Pod::Simple::RTF) >= 3.16
465384
BuildRequires:  perl(Pod::Simple::XMLOutStream) >= 3.16
465384
BuildRequires:  perl(Pod::Text)
465384
BuildRequires:  perl(Pod::Text::Color)
465384
BuildRequires:  perl(Pod::Text::Termcap)
465384
# Symbol not used by tests
465384
# Text::ParseWords not used by tests
465384
BuildRequires:  perl(vars)
465384
# Tests:
465384
BuildRequires:  perl(Test::More)
465384
# Optional tests:
465384
%if !%{defined perl_bootstrap}
465384
%if !( 0%{?rhel} >= 7 )
465384
%if %{with perl_Pod_Perldoc_enables_tk_test}
465384
BuildRequires:  perl(Tk)
465384
# Tk::FcyEntry is optional
465384
BuildRequires:  perl(Tk::Pod)
465384
%endif
465384
%endif
465384
%endif
465384
%if %{with perl_enables_groff}
465384
# Pod::Perldoc::ToMan executes roff
465384
Requires:       groff-base
465384
%endif
465384
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
465384
Requires:       perl(File::Temp) >= 0.22
465384
Requires:       perl(HTTP::Tiny)
465384
Requires:       perl(IO::Handle)
465384
Requires:       perl(IPC::Open3)
465384
# POD2::Base is optional
465384
# Pod::Checker is not needed if Pod::Simple::Checker is available
465384
Requires:       perl(Pod::Simple::Checker)
465384
Requires:       perl(Pod::Simple::RTF) >= 3.16
465384
Requires:       perl(Pod::Simple::XMLOutStream) >= 3.16
465384
Requires:       perl(Text::ParseWords)
465384
# Tk is optional
465384
Requires:       perl(Symbol)
465384
465384
# Remove underspecified dependencies
465384
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Pod::Man|Pod::Simple::XMLOutStream|Pod::Simple::RTF)\\)$
465384
465384
%description
465384
perldoc looks up a piece of documentation in .pod format that is embedded
465384
in the perl installation tree or in a perl script, and displays it via
465384
"groff -man | $PAGER". This is primarily used for the documentation for
465384
the perl library modules.
465384
465384
%prep
465384
%setup -q -n Pod-Perldoc-%{version}
465384
465384
%build
465384
perl Makefile.PL INSTALLDIRS=vendor
465384
make %{?_smp_mflags}
465384
465384
%install
465384
make pure_install DESTDIR=$RPM_BUILD_ROOT
465384
find $RPM_BUILD_ROOT -type f -name .packlist -delete
465384
%{_fixperms} $RPM_BUILD_ROOT/*
465384
465384
%check
465384
make test
465384
465384
%files
465384
%doc Changes README
465384
%{_bindir}/perldoc
465384
%{perl_vendorlib}/*
465384
%{_mandir}/man1/*
465384
%{_mandir}/man3/*
465384
465384
%changelog
465384
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 3.28-397
465384
- Rebuild with enable hardening (bug #1636329)
465384
465384
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28-396
465384
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
465384
465384
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.28-395
465384
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
465384
465384
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.28-394
465384
- Perl 5.26 re-rebuild of bootstrapped packages
465384
465384
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.28-393
465384
- Perl 5.26 rebuild
465384
465384
* Mon Apr 03 2017 Petr Pisar <ppisar@redhat.com> - 3.28-2
465384
- Introduce a build-condition on groff
465384
- Rename a _without_tk build-condition to
465384
  _without_perl_Pod_Perldoc_enables_tk_test
465384
465384
* Thu Mar 16 2017 Petr Pisar <ppisar@redhat.com> - 3.28-1
465384
- 3.28 bump
465384
465384
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.27-2
465384
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
465384
465384
* Tue Aug 09 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.27-1
465384
- 3.27 bump
465384
465384
* Fri Jul 29 2016 Petr Pisar <ppisar@redhat.com> - 3.26-1
465384
- 3.26 bump
465384
465384
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.25-366
465384
- Perl 5.24 re-rebuild of bootstrapped packages
465384
465384
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.25-365
465384
- Increase release to favour standalone package
465384
465384
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.25-349
465384
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
465384
465384
* Mon Sep 21 2015 Petr Pisar <ppisar@redhat.com> - 3.25-348
465384
- Current generator detects dependency on Encode and Pod::Man properly
465384
465384
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.25-347
465384
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
465384
465384
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.25-346
465384
- Perl 5.22 re-rebuild of bootstrapped packages
465384
465384
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.25-345
465384
- Increase release to favour standalone package
465384
465384
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.25-2
465384
- Perl 5.22 rebuild
465384
465384
* Fri Feb 13 2015 Petr Pisar <ppisar@redhat.com> - 3.25-1
465384
- 3.25 bump
465384
465384
* Mon Sep 15 2014 Petr Pisar <ppisar@redhat.com> - 3.24-4
465384
- Enable perl(Tk) tests
465384
465384
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.24-3
465384
- Perl 5.20 re-rebuild of bootstrapped packages
465384
- Disable Perl(Tk) tests temporarily until Perl-Tk works with perl-5.20
465384
465384
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.24-2
465384
- Perl 5.20 rebuild
465384
465384
* Fri Aug 22 2014 Petr Pisar <ppisar@redhat.com> - 3.24-1
465384
- 3.24 bump
465384
465384
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.23-2
465384
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
465384
465384
* Tue Feb 25 2014 Petr Pisar <ppisar@redhat.com> - 3.23-1
465384
- 3.23 bump
465384
465384
* Mon Jan 06 2014 Petr Pisar <ppisar@redhat.com> - 3.21-1
465384
- 3.21 bump
465384
465384
* Mon Oct 07 2013 Petr Pisar <ppisar@redhat.com> - 3.20-7
465384
- Correct perldoc.pod location (bug #1010057)
465384
465384
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 3.20-6
465384
- Perl 5.18 re-rebuild of bootstrapped packages
465384
465384
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.20-5
465384
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
465384
465384
* Wed Jul 31 2013 Petr Pisar <ppisar@redhat.com> - 3.20-4
465384
- Specify all dependencies
465384
465384
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 3.20-3
465384
- Link minimal build-root packages against libperl.so explicitly
465384
465384
* Thu May 23 2013 Petr Pisar <ppisar@redhat.com> - 3.20-2
465384
- Specify all dependencies
465384
465384
* Mon Apr 29 2013 Petr Pisar <ppisar@redhat.com> - 3.20-1
465384
- 3.20 bump
465384
465384
* Tue Jan 29 2013 Petr Pisar <ppisar@redhat.com> - 3.19.01-1
465384
- 3.19_01 bump
465384
465384
* Mon Jan 28 2013 Petr Pisar <ppisar@redhat.com> - 3.19.00-1
465384
- 3.19 bump
465384
465384
* Wed Aug 15 2012 Petr Pisar <ppisar@redhat.com> - 3.17.00-241
465384
- Do not build-require perl(Tk) on RHEL >= 7
465384
- Depend on perl(HTTP::Tiny)
465384
465384
* Mon Aug 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 3.17.00-240
465384
- Bump release to override sub-package from perl.spec
465384
465384
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.17-9
465384
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
465384
465384
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 3.17-8
465384
- Perl 5.16 re-rebuild of bootstrapped packages
465384
465384
* Wed Jun 27 2012 Petr Pisar <ppisar@redhat.com> - 3.17-7
465384
- Perl 5.16 rebuild
465384
465384
* Wed Jun 27 2012 Petr Pisar <ppisar@redhat.com> - 3.17-6
465384
- Require groff-base because Pod::Perldoc::ToMan executes roff
465384
465384
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 3.17-5
465384
- Perl 5.16 rebuild
465384
465384
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 3.17-4
465384
- Omit optional Tk tests on bootstrap
465384
465384
* Wed May 30 2012 Marcela Mašláňová <mmaslano@redhat.com> - 3.17-3
465384
- conditionalize optional BR tests
465384
465384
* Tue May 15 2012 Petr Pisar <ppisar@redhat.com> - 3.17-2
465384
- Fix perldoc synopsis (bug #821632)
465384
465384
* Mon Mar 19 2012 Petr Pisar <ppisar@redhat.com> - 3.17-1
465384
- 3.17 bump
465384
- Fix displaying long POD in groff
465384
465384
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.15.10-2
465384
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
465384
465384
* Mon Nov 21 2011 Petr Pisar <ppisar@redhat.com> 3.15-1
465384
- Specfile autogenerated by cpanspec 1.78.
465384
- Remove BuildRoot and defattr from spec code.
465384
- perl(Config) BR removed
465384
- Source URL fixed to point to BDFOY author
465384
- Do not require unversioned perl(Pod::Simple::RTF)