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