Blame SPECS/perl-Pod-Parser.spec

848ec1
%{?scl:%scl_package perl-Pod-Parser}
848ec1
848ec1
# Run optional test
848ec1
%bcond_without perl_Pod_Parser_enables_optional_test
848ec1
848ec1
Name:           %{?scl_prefix}perl-Pod-Parser
848ec1
Version:        1.63
848ec1
Release:        396%{?dist}
848ec1
Summary:        Basic perl modules for handling Plain Old Documentation (POD)
848ec1
License:        GPL+ or Artistic
848ec1
Group:          Development/Libraries
848ec1
URL:            http://search.cpan.org/dist/Pod-Parser/
848ec1
Source0:        http://www.cpan.org/authors/id/M/MA/MAREKR/Pod-Parser-%{version}.tar.gz
848ec1
BuildArch:      noarch
848ec1
BuildRequires:  %{?scl_prefix}perl-interpreter
848ec1
BuildRequires:  %{?scl_prefix}perl-generators
848ec1
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker)
848ec1
BuildRequires:  %{?scl_prefix}perl(File::Spec) >= 0.82
848ec1
# Run-time:
848ec1
BuildRequires:  %{?scl_prefix}perl(Carp)
848ec1
BuildRequires:  %{?scl_prefix}perl(Config)
848ec1
BuildRequires:  %{?scl_prefix}perl(Cwd)
848ec1
BuildRequires:  %{?scl_prefix}perl(Exporter)
848ec1
BuildRequires:  %{?scl_prefix}perl(File::Find)
848ec1
# Getopt::Long not used for tests
848ec1
# Pod::Usage not used for tests
848ec1
BuildRequires:  %{?scl_prefix}perl(strict)
848ec1
# Symbol not used since perl 5.6
848ec1
BuildRequires:  %{?scl_prefix}perl(vars)
848ec1
# Tests:
848ec1
BuildRequires:  %{?scl_prefix}perl(File::Basename)
848ec1
BuildRequires:  %{?scl_prefix}perl(FileHandle)
848ec1
BuildRequires:  %{?scl_prefix}perl(Test)
848ec1
BuildRequires:  %{?scl_prefix}perl(Test::More) >= 0.6
848ec1
# Circular dependency Pod::Checker <-> Pod::Parser
848ec1
BuildRequires:  %{?scl_prefix}perl(Pod::Checker) >= 1.40
848ec1
# VMS::Filespec not used
848ec1
%if %{with perl_Pod_Parser_enables_optional_test} && !%{defined perl_bootstrap}
848ec1
# Optional tests:
848ec1
BuildRequires:  %{?scl_prefix}perl(IO::String)
848ec1
%endif
848ec1
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
848ec1
Requires:       %{?scl_prefix}perl(Config)
848ec1
# Circular dependency Pod::Usage <-> Pod::Select
848ec1
848ec1
%description
848ec1
This software distribution contains the packages for using Perl5 POD (Plain
848ec1
Old Documentation). See the "perlpod" and "perlsyn" manual pages from your
848ec1
Perl5 distribution for more information about POD.
848ec1
848ec1
%prep
848ec1
%setup -q -n Pod-Parser-%{version}
848ec1
find -type f -exec chmod -x {} +
848ec1
chmod +x scripts/*
848ec1
for F in ANNOUNCE CHANGES README TODO; do
848ec1
    tr -d '\r' < "$F" > "${F}.unix"
848ec1
    touch -r "$F" "${F}.unix"
848ec1
    mv "${F}.unix" "$F"
848ec1
done
848ec1
848ec1
%build
848ec1
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
848ec1
848ec1
%install
848ec1
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
848ec1
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
848ec1
%{_fixperms} $RPM_BUILD_ROOT/*
848ec1
848ec1
%check
848ec1
%{?scl:scl enable %{scl} '}make test%{?scl:'}
848ec1
848ec1
%files
848ec1
%doc ANNOUNCE CHANGES README TODO
848ec1
%{_bindir}/podselect
848ec1
%{perl_vendorlib}/*
848ec1
%{_mandir}/man1/*
848ec1
%{_mandir}/man3/*
848ec1
848ec1
%changelog
848ec1
* Mon Dec 18 2017 Petr Pisar <ppisar@redhat.com> - 1.63-396
848ec1
- SCL
848ec1
848ec1
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.63-395
848ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
848ec1
848ec1
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.63-394
848ec1
- Perl 5.26 re-rebuild of bootstrapped packages
848ec1
848ec1
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.63-393
848ec1
- Perl 5.26 rebuild
848ec1
848ec1
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.63-367
848ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
848ec1
848ec1
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.63-366
848ec1
- Perl 5.24 re-rebuild of bootstrapped packages
848ec1
848ec1
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.63-365
848ec1
- Increase release to favour standalone package
848ec1
848ec1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.63-348
848ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
848ec1
848ec1
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.63-347
848ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
848ec1
848ec1
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.63-346
848ec1
- Perl 5.22 re-rebuild of bootstrapped packages
848ec1
848ec1
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.63-345
848ec1
- Increase release to favour standalone package
848ec1
848ec1
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.63-2
848ec1
- Perl 5.22 rebuild
848ec1
848ec1
* Wed Feb 11 2015 Petr Pisar <ppisar@redhat.com> - 1.63-1
848ec1
- 1.63 bump
848ec1
848ec1
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.62-311
848ec1
- Perl 5.20 re-rebuild of bootstrapped packages
848ec1
848ec1
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.62-310
848ec1
- Increase release to favour standalone package
848ec1
848ec1
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.62-3
848ec1
- Perl 5.20 rebuild
848ec1
848ec1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.62-2
848ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
848ec1
848ec1
* Tue Feb 04 2014 Petr Pisar <ppisar@redhat.com> - 1.62-1
848ec1
- 1.62 bump
848ec1
848ec1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.61-3
848ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
848ec1
848ec1
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1.61-2
848ec1
- Perl 5.18 rebuild
848ec1
848ec1
* Tue Jun 04 2013 Petr Pisar <ppisar@redhat.com> - 1.61-1
848ec1
- 1.61 bump
848ec1
848ec1
* Mon Feb 11 2013 Petr Pisar <ppisar@redhat.com> - 1.60-3
848ec1
- Correct dependencies
848ec1
848ec1
* Fri Feb 08 2013 Petr Pisar <ppisar@redhat.com> - 1.60-2
848ec1
- Remove bootstrap conditions
848ec1
848ec1
* Tue Feb 05 2013 Petr Pisar <ppisar@redhat.com> - 1.60-1
848ec1
- 1.60 bump
848ec1
848ec1
* Mon Feb 04 2013 Petr Pisar <ppisar@redhat.com> - 1.51-248
848ec1
- Sub-package Pod-Usage
848ec1
- Sub-package Pod-Checker
848ec1
848ec1
* Wed Jan 16 2013 Petr Pisar <ppisar@redhat.com> - 1.51-247
848ec1
- Increase release to supersede perl sub-package
848ec1
848ec1
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.51-3
848ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
848ec1
848ec1
* Mon Jul 02 2012 Petr Pisar <ppisar@redhat.com> - 1.51-2
848ec1
- Perl 5.16 rebuild
848ec1
848ec1
* Mon Jun 25 2012 Petr Pisar <ppisar@redhat.com> 1.51-1
848ec1
- Specfile autogenerated by cpanspec 1.78.