Blame SPECS/perl-podlators.spec

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