commit 993e921c9a3f4d8ff83a3847342b6b5af448cc3a Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Dec 11 14:13:15 2014 +0100 0.36 bump .gitignore | 1 + perl-PDF-Reuse.spec | 69 ++++++++++++++++++++++++-------------------------- sources | 2 +- 3 files changed, 35 insertions(+), 37 deletions(-) --- diff --git a/.gitignore b/.gitignore index 981e015..9276c5e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ PDF-Reuse-0.35.tar.gz +/PDF-Reuse-0.36.tar.gz diff --git a/perl-PDF-Reuse.spec b/perl-PDF-Reuse.spec index 1db6837..7e24b8b 100644 --- a/perl-PDF-Reuse.spec +++ b/perl-PDF-Reuse.spec @@ -1,31 +1,32 @@ Name: perl-PDF-Reuse -Version: 0.35 -Release: 14%{?dist} +Version: 0.36 +Release: 1%{?dist} # Reuse.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: Reuse and mass produce PDF documents -Source: http://search.cpan.org/CPAN/authors/id/L/LA/LARSLUND/PDF-Reuse-%{version}.tar.gz +Source: http://search.cpan.org/CPAN/authors/id/C/CN/CNIGHS/PDF-Reuse-%{version}.tar.gz Url: http://search.cpan.org/dist/PDF-Reuse -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch - -BuildRequires: perl(AutoLoader) -BuildRequires: perl(Carp) -BuildRequires: perl(Compress::Zlib) -BuildRequires: perl(Data::Dumper) -BuildRequires: perl(Digest::MD5) -BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Font::TTF) -BuildRequires: perl(Text::PDF::TTFont0) - -# until we get the filtering framework in... -%global _use_internal_dependency_generator 0 -%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u -%global __find_provides /bin/sh -c "%{__grep} -v '%_docdir' | %{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P} | %{__sed} -e '/^perl(PDF::Reuse)$/d'" -%global __find_requires /bin/sh -c "%{__grep} -v '%_docdir' | %{__deploop R}" +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(AutoLoader) +BuildRequires: perl(autouse) +BuildRequires: perl(Compress::Zlib) +BuildRequires: perl(constant) +BuildRequires: perl(Digest::MD5) +BuildRequires: perl(Exporter) +BuildRequires: perl(strict) +BuildRequires: perl(Text::PDF::TTFont0) +BuildRequires: perl(warnings) +# Tests: +BuildRequires: perl(Carp) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Font::TTF) +BuildRequires: perl(Test) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Text::PDF::TTFont0) %description This module allows you to reuse PDF-files. You can use pages, images, @@ -41,37 +42,33 @@ production. %prep %setup -q -n PDF-Reuse-%{version} - -find . -type f -exec sed -i 's/\r//' {} ';' -cat Util/reuseComponent_pl | iconv -f iso8859-1 -t utf8 > foo -mv foo Util/reuseComponent_pl +for F in Util/reuseComponent_pl; do + iconv -f iso8859-1 -t utf8 < "$F" > "${F}.utf8" + touch -r "$F" "${F}.utf8" + mv "${F}.utf8" "$F" +done %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf %{buildroot} - -make pure_install PERL_INSTALL_ROOT=%{buildroot} +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' - %{_fixperms} %{buildroot}/* %check make test -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) -%doc Changes README Util/ +%doc Changes README Util %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Thu Dec 11 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 0.36-1 +- 0.36 bump + * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.35-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/sources b/sources index a233b69..250507e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1e2541eacaf8df4f4012312f6c353688 PDF-Reuse-0.35.tar.gz +75cef01776f4bb802a5dc2e9e3de0eba PDF-Reuse-0.36.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