Blame SPECS/perl-Pod-Simple.spec

8b478a
%{?scl:%scl_package perl-Pod-Simple}
8b478a
%{!?scl:%global pkg_name %{name}}
8b478a
8b478a
Name:           %{?scl_prefix}perl-Pod-Simple
8b478a
# Epoch to compete with perl.spec
8b478a
Epoch:          1
8b478a
Version:        3.28
8b478a
Release:        293%{?dist}
8b478a
Summary:        Framework for parsing POD documentation
8b478a
License:        GPL+ or Artistic
8b478a
Group:          Development/Libraries
8b478a
URL:            http://search.cpan.org/dist/Pod-Simple/
8b478a
Source0:        http://www.cpan.org/authors/id/D/DW/DWHEELER/Pod-Simple-%{version}.tar.gz
8b478a
BuildArch:      noarch
8b478a
BuildRequires:  %{?scl_prefix}perl
8b478a
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker)
8b478a
BuildRequires:  %{?scl_prefix}perl(strict)
8b478a
# Run-time:
8b478a
BuildRequires:  %{?scl_prefix}perl(Carp)
8b478a
BuildRequires:  %{?scl_prefix}perl(Config)
8b478a
BuildRequires:  %{?scl_prefix}perl(Cwd)
8b478a
BuildRequires:  %{?scl_prefix}perl(Encode)
8b478a
BuildRequires:  %{?scl_prefix}perl(File::Basename)
8b478a
BuildRequires:  %{?scl_prefix}perl(File::Spec)
8b478a
BuildRequires:  %{?scl_prefix}perl(Getopt::Long)
8b478a
BuildRequires:  %{?scl_prefix}perl(integer)
8b478a
BuildRequires:  %{?scl_prefix}perl(overload)
8b478a
BuildRequires:  %{?scl_prefix}perl(Pod::Escapes) >= 1.04
8b478a
BuildRequires:  %{?scl_prefix}perl(Symbol)
8b478a
BuildRequires:  %{?scl_prefix}perl(Text::Wrap) >= 98.112902
8b478a
BuildRequires:  %{?scl_prefix}perl(vars)
8b478a
# Tests:
8b478a
BuildRequires:  %{?scl_prefix}perl(base)
8b478a
BuildRequires:  %{?scl_prefix}perl(Data::Dumper)
8b478a
BuildRequires:  %{?scl_prefix}perl(File::Find)
8b478a
BuildRequires:  %{?scl_prefix}perl(File::Path)
8b478a
BuildRequires:  %{?scl_prefix}perl(lib)
8b478a
BuildRequires:  %{?scl_prefix}perl(Test) >= 1.25
8b478a
BuildRequires:  %{?scl_prefix}perl(Test::More)
8b478a
BuildRequires:  %{?scl_prefix}perl(warnings)
8b478a
%{?scl:%global perl_version %(scl enable %{scl} 'eval "`perl -V:version`"; echo $version')}
8b478a
%{!?scl:%global perl_version %(eval "`perl -V:version`"; echo $version)}
8b478a
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%{perl_version})
8b478a
8b478a
# Filter under-specified dependencies
8b478a
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^%{?scl_prefix}perl\\(Text::Wrap\\)$
8b478a
8b478a
%if ( 0%{?rhel} && 0%{?rhel} < 7 )
8b478a
%filter_from_requires /perl(Text::Wrap)$/d
8b478a
%filter_setup
8b478a
%endif
8b478a
8b478a
%description
8b478a
Pod::Simple is a Perl library for parsing text in the Pod ("plain old
8b478a
documentation") markup language that is typically used for writing
8b478a
documentation for Perl and for Perl modules.
8b478a
8b478a
%prep
8b478a
%setup -q -n Pod-Simple-%{version}
8b478a
8b478a
%build
8b478a
%{?scl:scl enable %{scl} "}
8b478a
perl Makefile.PL INSTALLDIRS=vendor
8b478a
%{?scl:"}
8b478a
%{?scl:scl enable %{scl} "}
8b478a
make %{?_smp_mflags}
8b478a
%{?scl:"}
8b478a
8b478a
%install
8b478a
%{?scl:scl enable %{scl} "}
8b478a
make pure_install DESTDIR=$RPM_BUILD_ROOT
8b478a
%{?scl:"}
8b478a
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
8b478a
%{_fixperms} $RPM_BUILD_ROOT/*
8b478a
8b478a
%check
8b478a
%{?scl:scl enable %{scl} "}
8b478a
make test
8b478a
%{?scl:"}
8b478a
8b478a
%files
8b478a
%doc ChangeLog README
8b478a
%{perl_vendorlib}/*
8b478a
%{_mandir}/man3/*
8b478a
8b478a
%changelog
8b478a
* Wed Nov 20 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.28-293
8b478a
- Rebuilt for SCL
8b478a
8b478a
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.28-292
8b478a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8b478a
8b478a
* Wed Jul 31 2013 Petr Pisar <ppisar@redhat.com> - 1:3.28-291
8b478a
- Specify all dependencies
8b478a
8b478a
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1:3.28-290
8b478a
- Increase release to favour standalone package
8b478a
8b478a
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:3.28-3
8b478a
- Link minimal build-root packages against libperl.so explicitly
8b478a
8b478a
* Thu May 23 2013 Petr Pisar <ppisar@redhat.com> - 1:3.28-2
8b478a
- Specify all dependencies
8b478a
8b478a
* Mon May 06 2013 Petr Pisar <ppisar@redhat.com> - 1:3.28-1
8b478a
- 3.28 bump
8b478a
8b478a
* Mon Mar 18 2013 Petr Pisar <ppisar@redhat.com> 1:3.26-1
8b478a
- Specfile autogenerated by cpanspec 1.78.