Name: perl-PDF-Haru Version: 1.00 Release: 38%{?dist} Summary: Perl interface to Haru Free PDF Library License: GPL+ or Artistic URL: https://metacpan.org/release/PDF-Haru Source0: https://cpan.metacpan.org/authors/id/B/BU/BUTILW/PDF-Haru-%{version}.tar.gz BuildRequires: make BuildRequires: gcc BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(Exporter) BuildRequires: perl(AutoLoader) BuildRequires: perl(XSLoader) BuildRequires: perl(constant) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: libharu-devel Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description Perl interface to Haru Free PDF Library. It supports the following features: 1. Generating PDF files with lines, text, images. 2. Outline, text annotation, link annotation. 3. Compressing document with deflate-decode. 4. Embedding PNG, Jpeg images. 5. Embedding Type1 font and TrueType font. 6. Creating encrypted PDF files. 7. Using various character sets (ISO8859-1~16, MSCP1250~8, KOI8-R). 8. Supporting CJK fonts and encodings. %prep %setup -q -n PDF-Haru-%{version} chmod -x examples/*.pl %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes README examples/ %{perl_vendorarch}/PDF/ %{perl_vendorarch}/auto/PDF/ %{_mandir}/man3/*.3* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.00-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 1.00-37 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.00-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.00-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.00-34 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.00-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.00-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 1.00-31 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.00-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.00-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 1.00-28 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.00-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.00-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 1.00-25 - Perl 5.28 rebuild * Sat Mar 10 2018 Robin Lee - 1.00-24 - BR gcc for http://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot * Thu Feb 08 2018 Fedora Release Engineering - 1.00-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.00-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.00-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 1.00-20 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.00-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat May 14 2016 Jitka Plesnikova - 1.00-18 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.00-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.00-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 1.00-15 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 1.00-14 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 1.00-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.00-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.00-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 1.00-10 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.00-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Jul 31 2012 Tom Callaway - 1.00-8 - rebuild for new libharu * Fri Jul 20 2012 Fedora Release Engineering - 1.00-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 1.00-6 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.00-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jun 20 2011 Marcela Mašláňová - 1.00-4 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.00-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Nov 19 2010 Robin Lee - 1.00-2 - BR: perl(Exporter), perl(AutoLoader), perl(XSLoader) and perl(constant) added - Removed executable bits from examples/*.pl scripts * Sun Nov 7 2010 Robin Lee - 1.00-1 - Initial packaging