commit ff14269bd1ed63e676e2a43eeecb754becefa9a2 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed Oct 31 08:15:55 2012 +0100 Import .gitignore | 1 + perl-podlators.spec | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 60 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..9fe6995 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/podlators-2.4.2.tar.gz diff --git a/perl-podlators.spec b/perl-podlators.spec new file mode 100644 index 0000000..317d5c6 --- /dev/null +++ b/perl-podlators.spec @@ -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@xxxxxxxxxx> 2.4.2-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..b10d9a4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6fc141b0ab668b7d52aa48c26909d604 podlators-2.4.2.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel