commit 4e48ba4beb7f48fc8d4c695c592172fe5ee85040 Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Wed Jun 27 15:18:55 2012 +0200 Initial import .gitignore | 1 + perl-pod2pdf.spec | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 64 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..dc1d97e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pod2pdf-0.42.tar.gz diff --git a/perl-pod2pdf.spec b/perl-pod2pdf.spec new file mode 100644 index 0000000..b645b39 --- /dev/null +++ b/perl-pod2pdf.spec @@ -0,0 +1,62 @@ +Name: perl-pod2pdf +Version: 0.42 +Release: 1%{?dist} +Summary: Converts Pod to PDF format +License: Artistic 2.0 +Group: Development/Libraries +URL: http://search.cpan.org/dist/pod2pdf/ +Source0: http://www.cpan.org/authors/id/J/JO/JONALLEN/pod2pdf-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Type) +BuildRequires: perl(Getopt::ArgvFile) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(Image::Size) +BuildRequires: perl(Paper::Specs) >= 0.10 +BuildRequires: perl(PDF::API2) >= 0.6 +BuildRequires: perl(Pod::Escapes) +BuildRequires: perl(Pod::ParseLink) +BuildRequires: perl(Pod::Parser) +BuildRequires: perl(List::Util) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) >= 1.00 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(File::Type) +Requires: perl(Image::Size) +Requires: perl(Paper::Specs) >= 0.10 + +%description +pod2pdf converts documents written in Perl's POD (Plain Old Documentation) +format to PDF files. + +%prep +%setup -q -n pod2pdf-%{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 {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + + +%check +make test + +%files +%doc artistic-2_0.txt Changes README +%{perl_vendorlib}/* +%{_mandir}/man1/* +%{_bindir}/* + +%changelog +* Mon Jun 25 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> 0.42-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..85e5420 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8338b8a9ee16eedc295045af300801d9 pod2pdf-0.42.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