Name: perl-PDF-Create Version: 1.04 Release: 1%{?dist} Summary: Create PDF files License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/PDF-Create/ Source0: http://www.cpan.org/authors/id/M/MA/MARKUSB/PDF-Create-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module allows you to create PDF documents using a large number of primitives, and emit the result as a PDF file or stream. PDF stands for Portable Document Format. Documents can have several pages, a table of content, an information section and many other PDF elements. More functionalities will be added as needs arise. Documents are constructed on the fly so the memory footprint is not tied to the size of the pages but only to their number. %prep %setup -q -n PDF-Create-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT 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 \; chmod -x pdf-logo.gif pdf-logo.jpg %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CHANGES pdf-logo.gif pdf-logo.jpg README TODO %{perl_vendorlib}/PDF %{_mandir}/man3/*.3* %changelog * Fri Nov 27 2009 Lucian Langa - 1.04-1 - Specfile autogenerated by cpanspec 1.78.