This commit is contained in:
Petr Písař 2012-10-31 08:15:55 +01:00
parent 1d49edca90
commit ff14269bd1
3 changed files with 60 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/podlators-2.4.2.tar.gz

58
perl-podlators.spec Normal file
View File

@ -0,0 +1,58 @@
Name: perl-podlators
Version: 2.4.2
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: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec) >= 0.8
# Run-time:
BuildRequires: perl(Carp)
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
BuildRequires: perl(Pod::Simple) >= 3.06
BuildRequires: perl(Term::ANSIColor)
BuildRequires: perl(Term::Cap)
# Tests:
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(File::Spec) >= 0.8
Requires: perl(Pod::Simple) >= 3.06
Requires: perl(Pod::Text::Color)
Requires: perl(Pod::Text::Overstrike)
Requires: perl(Pod::Text::Termcap)
%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 PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc ChangeLog NOTES README THANKS TODO
%{_bindir}/*
%{perl_vendorlib}/*
%{_mandir}/man1/*
%{_mandir}/man3/*
%changelog
* Wed Sep 12 2012 Petr Pisar <ppisar@redhat.com> 2.4.2-1
- Specfile autogenerated by cpanspec 1.78.

View File

@ -0,0 +1 @@
6fc141b0ab668b7d52aa48c26909d604 podlators-2.4.2.tar.gz