344579
Name:           perl-podlators
344579
Version:        4.09
769b6e
Release:        4%{?dist}
344579
Summary:        Format POD source into various output formats
344579
# pod/perlpodstyle:         MIT
344579
# other files:              GPL+ or Artistic
344579
## Not in the binary package
344579
# t/docs/pod.t:             MIT
344579
# t/docs/pod-spelling.t:    MIT
344579
# t/docs/synopsis.t:        MIT
344579
License:        (GPL+ or Artistic) and MIT
344579
Group:          Development/Libraries
344579
URL:            http://search.cpan.org/dist/podlators/
344579
Source0:        http://www.cpan.org/authors/id/R/RR/RRA/podlators-%{version}.tar.gz
344579
# Fix pod2man and pod2text error messages when standard input is empty,
344579
# <https://github.com/rra/podlators/issues/5>, fixed in 4.10
344579
Patch0:         podlators-4.09-Properly-diagnose-empty-input-to-pod2man-and-pod2tex.patch
344579
# Fix layers detection on output file handle, CPAN RT#122521, fixed in 4.10
344579
Patch1:         podlators-4.09-Coerce-file-handle-to-glob-for-PerlIO-get_layers.patch
344579
BuildArch:      noarch
344579
BuildRequires:  findutils
344579
BuildRequires:  make
344579
BuildRequires:  perl
344579
BuildRequires:  perl-generators
344579
BuildRequires:  perl(Config)
344579
# Cwd run by PL script in scripts directory
344579
BuildRequires:  perl(Cwd)
344579
BuildRequires:  perl(ExtUtils::MakeMaker)
344579
# File::Basename run by PL script in scripts directory
344579
BuildRequires:  perl(File::Basename)
344579
# File::Spec version declared in lib/Pod/Man.pm comment
344579
BuildRequires:  perl(File::Spec) >= 0.8
344579
BuildRequires:  perl(strict)
344579
BuildRequires:  perl(warnings)
344579
# Run-time:
344579
BuildRequires:  perl(Carp)
344579
BuildRequires:  perl(Encode)
344579
BuildRequires:  perl(Exporter)
344579
# Getopt::Long not used at tests
344579
BuildRequires:  perl(Pod::Simple) >= 3.06
344579
# Pod::Usage not used at tests
344579
BuildRequires:  perl(POSIX)
344579
BuildRequires:  perl(subs)
344579
BuildRequires:  perl(Term::ANSIColor)
344579
BuildRequires:  perl(Term::Cap)
344579
BuildRequires:  perl(vars)
344579
# Tests:
344579
BuildRequires:  perl(File::Find)
344579
BuildRequires:  perl(Getopt::Long)
344579
BuildRequires:  perl(IO::File)
344579
BuildRequires:  perl(lib)
344579
BuildRequires:  perl(Test::More)
344579
# Optional tests:
344579
# JSON::PP not used
344579
# Perl::Critic::Utils not used
344579
# Perl6::Slurp not used
344579
BuildRequires:  perl(PerlIO::encoding)
344579
# Test::MinimumVersion not used
344579
# Test::Pod not used
344579
# Test::Spelling not used
344579
# Test::Strict not used
344579
# Test::Synopsis not used
344579
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
344579
Requires:       perl(File::Basename)
344579
# File::Spec version declared in lib/Pod/Man.pm comment
344579
Requires:       perl(File::Spec) >= 0.8
344579
Requires:       perl(Pod::Simple) >= 3.06
344579
Conflicts:      perl < 4:5.16.1-234
344579
344579
# Filter under-specified dependencies
344579
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Simple\\)$
344579
344579
%description
344579
This package contains Pod::Man and Pod::Text modules which convert POD input
344579
to *roff source output, suitable for man pages, or plain text.  It also
344579
includes several sub-classes of Pod::Text for formatted output to terminals
344579
with various capabilities.
344579
344579
%prep
344579
%setup -q -n podlators-%{version}
344579
%patch0 -p1
344579
%patch1 -p1
344579
344579
%build
344579
perl Makefile.PL INSTALLDIRS=vendor
344579
make %{?_smp_mflags}
344579
344579
%install
344579
make pure_install DESTDIR=$RPM_BUILD_ROOT
344579
find $RPM_BUILD_ROOT -type f -name .packlist -delete
344579
%{_fixperms} $RPM_BUILD_ROOT/*
344579
344579
%check
344579
make test
344579
344579
%files
344579
%license LICENSE
344579
%doc Changes NOTES README THANKS TODO
344579
%{_bindir}/*
344579
%{perl_vendorlib}/*
344579
%{_mandir}/man1/*
344579
%{_mandir}/man3/*
344579
344579
%changelog
769b6e
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4.09-4
769b6e
- Rebuild with enable hardening (bug #1636329)
769b6e
344579
* Tue Jan 02 2018 Petr Pisar <ppisar@redhat.com> - 4.09-3
344579
- Fix pod2man and pod2text error messages when standard input is empty
344579
- Fix layers detection on output file handle (CPAN RT#122521)
344579
344579
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.09-2
344579
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
344579
344579
* Tue Nov 08 2016 Petr Pisar <ppisar@redhat.com> - 4.09-1
344579
- 4.09 bump
344579
344579
* Mon Sep 26 2016 Petr Pisar <ppisar@redhat.com> - 4.08-1
344579
- 4.08 bump
344579
344579
* Tue Sep 20 2016 Petr Pisar <ppisar@redhat.com> - 4.07-366
344579
- License declaration corrected to "(GPL+ or Artistic) and MIT"
344579
344579
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.07-365
344579
- Increase release to favour standalone package
344579
344579
* Mon Mar 21 2016 Petr Pisar <ppisar@redhat.com> - 4.07-1
344579
- 4.07 bump
344579
344579
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.06-2
344579
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
344579
344579
* Mon Feb 01 2016 Petr Pisar <ppisar@redhat.com> - 4.06-1
344579
- 4.06 bump
344579
344579
* Mon Jan 18 2016 Petr Pisar <ppisar@redhat.com> - 4.05-1
344579
- 4.05 bump
344579
344579
* Mon Jan 04 2016 Petr Pisar <ppisar@redhat.com> - 4.04-1
344579
- 4.04 bump
344579
344579
* Mon Dec 07 2015 Petr Pisar <ppisar@redhat.com> - 4.03-1
344579
- 4.03 bump
344579
344579
* Thu Dec 03 2015 Petr Pisar <ppisar@redhat.com> - 4.02-1
344579
- 4.02 bump
344579
344579
* Wed Dec 02 2015 Petr Pisar <ppisar@redhat.com> - 4.01-1
344579
- 4.01 bump
344579
344579
* Tue Dec 01 2015 Petr Pisar <ppisar@redhat.com> - 4.00-1
344579
- 4.00 bump
344579
344579
* Wed Jul 15 2015 Petr Pisar <ppisar@redhat.com> - 2.5.3-347
344579
- Adapt tests to Term-Cap-1.16
344579
344579
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-346
344579
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
344579
344579
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.5.3-345
344579
- Increase release to favour standalone package
344579
344579
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.5.3-4
344579
- Perl 5.22 rebuild
344579
344579
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.5.3-3
344579
- Perl 5.20 rebuild
344579
344579
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-2
344579
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
344579
344579
* Tue Oct 08 2013 Petr Pisar <ppisar@redhat.com> - 2.5.3-1
344579
- 2.5.3 bump
344579
344579
* Mon Sep 23 2013 Petr Pisar <ppisar@redhat.com> - 2.5.2-1
344579
- 2.5.2 bump
344579
344579
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-291
344579
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
344579
344579
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 2.5.1-290
344579
- Increase release to favour standalone package
344579
344579
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 2.5.1-3
344579
- Link minimal build-root packages against libperl.so explicitly
344579
344579
* Tue Jun 25 2013 Petr Pisar <ppisar@redhat.com> - 2.5.1-2
344579
- Specify all dependencies
344579
344579
* Thu Feb 28 2013 Petr Pisar <ppisar@redhat.com> - 2.5.1-1
344579
- 2.5.1 bump
344579
344579
* Thu Feb 07 2013 Petr Pisar <ppisar@redhat.com> - 2.5.0-2
344579
- Correct dependencies
344579
344579
* Fri Jan 04 2013 Petr Pisar <ppisar@redhat.com> - 2.5.0-1
344579
- 2.5.0 bump
344579
- This version makes pod2* tools failing if POD syntax error is encountered
344579
344579
* Thu Nov 01 2012 Petr Pisar <ppisar@redhat.com> - 2.4.2-3
344579
- Do not export under-specified dependencies
344579
344579
* Wed Oct 31 2012 Petr Pisar <ppisar@redhat.com> - 2.4.2-2
344579
- Conflict perl-podlators with perl before sub-packaging
344579
344579
* Wed Sep 12 2012 Petr Pisar <ppisar@redhat.com> 2.4.2-1
344579
- Specfile autogenerated by cpanspec 1.78.