|
|
367428 |
%{?scl:%scl_package perl-podlators}
|
|
|
367428 |
%{!?scl:%global pkg_name %{name}}
|
|
|
367428 |
|
|
|
367428 |
Name: %{?scl_prefix}perl-podlators
|
|
|
367428 |
Version: 2.5.3
|
|
|
367428 |
Release: 2%{?dist}
|
|
|
367428 |
Summary: Format POD source into various output formats
|
|
|
367428 |
License: GPL+ or Artistic
|
|
|
367428 |
Group: Development/Libraries
|
|
|
367428 |
URL: http://search.cpan.org/dist/podlators/
|
|
|
367428 |
Source0: http://www.cpan.org/authors/id/R/RR/RRA/podlators-%{version}.tar.gz
|
|
|
367428 |
BuildArch: noarch
|
|
|
367428 |
BuildRequires: %{?scl_prefix}perl
|
|
|
367428 |
BuildRequires: %{?scl_prefix}perl(Config)
|
|
|
367428 |
BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker)
|
|
|
367428 |
BuildRequires: %{?scl_prefix}perl(File::Spec) >= 0.8
|
|
|
367428 |
# Run-time:
|
|
|
367428 |
BuildRequires: %{?scl_prefix}perl(Carp)
|
|
|
367428 |
BuildRequires: %{?scl_prefix}perl(Encode)
|
|
|
367428 |
BuildRequires: %{?scl_prefix}perl(Exporter)
|
|
|
367428 |
BuildRequires: %{?scl_prefix}perl(File::Basename)
|
|
|
367428 |
BuildRequires: %{?scl_prefix}perl(Pod::Simple) >= 3.06
|
|
|
367428 |
BuildRequires: %{?scl_prefix}perl(POSIX)
|
|
|
367428 |
BuildRequires: %{?scl_prefix}perl(strict)
|
|
|
367428 |
BuildRequires: %{?scl_prefix}perl(subs)
|
|
|
367428 |
BuildRequires: %{?scl_prefix}perl(Term::ANSIColor)
|
|
|
367428 |
BuildRequires: %{?scl_prefix}perl(Term::Cap)
|
|
|
367428 |
BuildRequires: %{?scl_prefix}perl(vars)
|
|
|
367428 |
# Tests:
|
|
|
367428 |
BuildRequires: %{?scl_prefix}perl(Test::More)
|
|
|
367428 |
# Optional tests:
|
|
|
367428 |
BuildRequires: %{?scl_prefix}perl(PerlIO::encoding)
|
|
|
367428 |
%{?scl:%global perl_version %(scl enable %{scl} 'eval "`perl -V:version`"; echo $version')}
|
|
|
367428 |
%{!?scl:%global perl_version %(eval "`perl -V:version`"; echo $version)}
|
|
|
367428 |
Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%{perl_version})
|
|
|
367428 |
Requires: %{?scl_prefix}perl(File::Basename)
|
|
|
367428 |
Requires: %{?scl_prefix}perl(File::Spec) >= 0.8
|
|
|
367428 |
Requires: %{?scl_prefix}perl(Pod::Simple) >= 3.06
|
|
|
367428 |
Conflicts: %{?scl_prefix}perl < 4:5.16.2-2
|
|
|
367428 |
|
|
|
367428 |
# Filter under-specified dependencies
|
|
|
367428 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^%{?scl_prefix}perl\\(Pod::Simple\\)$
|
|
|
367428 |
|
|
|
367428 |
%if ( 0%{?rhel} && 0%{?rhel} < 7 )
|
|
|
367428 |
%filter_from_requires /perl(Pod::Simple)\s*$/d
|
|
|
367428 |
%filter_setup
|
|
|
367428 |
%endif
|
|
|
367428 |
|
|
|
367428 |
%description
|
|
|
367428 |
This package contains Pod::Man and Pod::Text modules which convert POD input
|
|
|
367428 |
to *roff source output, suitable for man pages, or plain text. It also
|
|
|
367428 |
includes several sub-classes of Pod::Text for formatted output to terminals
|
|
|
367428 |
with various capabilities.
|
|
|
367428 |
|
|
|
367428 |
%prep
|
|
|
367428 |
%setup -q -n podlators-%{version}
|
|
|
367428 |
|
|
|
367428 |
%build
|
|
|
367428 |
%{?scl:scl enable %{scl} "}
|
|
|
367428 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
367428 |
%{?scl:"}
|
|
|
367428 |
%{?scl:scl enable %{scl} "}
|
|
|
367428 |
make %{?_smp_mflags}
|
|
|
367428 |
%{?scl:"}
|
|
|
367428 |
|
|
|
367428 |
%install
|
|
|
367428 |
%{?scl:scl enable %{scl} "}
|
|
|
367428 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
367428 |
%{?scl:"}
|
|
|
367428 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
367428 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
367428 |
|
|
|
367428 |
%check
|
|
|
367428 |
%{?scl:scl enable %{scl} "}
|
|
|
367428 |
make test
|
|
|
367428 |
%{?scl:"}
|
|
|
367428 |
|
|
|
367428 |
%files
|
|
|
367428 |
%doc ChangeLog NOTES README THANKS TODO
|
|
|
367428 |
%{_bindir}/*
|
|
|
367428 |
%{perl_vendorlib}/*
|
|
|
367428 |
%{_mandir}/man1/*
|
|
|
367428 |
%{_mandir}/man3/*
|
|
|
367428 |
|
|
|
367428 |
%changelog
|
|
|
367428 |
* Mon Jan 06 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.5.3-2
|
|
|
367428 |
- Update filters
|
|
|
367428 |
- Resolves: rhbz#1047918
|
|
|
367428 |
|
|
|
367428 |
* Mon Nov 18 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2.5.3-1
|
|
|
367428 |
- 2.5.3 bump
|
|
|
367428 |
|
|
|
367428 |
* Tue May 21 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2.5.1-1
|
|
|
367428 |
- 2.5.1 bump
|
|
|
367428 |
|
|
|
367428 |
* Wed Feb 13 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2.5.0-1
|
|
|
367428 |
- SCL package - initial import
|