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