[perl-PDF-API2] - v 2.016

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit ab066871da00cbd4a92ad9efa293f2cbf5cce125
Author: Bernard Johnson <bjohnson@xxxxxxxxxxxx>
Date:   Sun Jan 30 18:00:10 2011 -0700

    - v 2.016

 .gitignore          |    1 +
 font-location.patch |   26 +++++++++++++-------------
 perl-PDF-API2.spec  |   30 ++++++++++++++----------------
 sources             |    2 +-
 4 files changed, 29 insertions(+), 30 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f44bdc3..d602b44 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 PDF-API2-0.73.tar.gz
+/PDF-API2-2.016.tar.gz
diff --git a/font-location.patch b/font-location.patch
index c00be9f..c2ccdd2 100644
--- a/font-location.patch
+++ b/font-location.patch
@@ -1,13 +1,13 @@
-diff -up PDF-API2-0.73/lib/PDF/API2.pm.font PDF-API2-0.73/lib/PDF/API2.pm
---- PDF-API2-0.73/lib/PDF/API2.pm.font	2008-01-18 01:11:38.000000000 +0100
-+++ PDF-API2-0.73/lib/PDF/API2.pm	2010-12-21 18:42:03.704817432 +0100
-@@ -39,8 +39,7 @@ BEGIN {
- 
-     ($VERSION) = sprintf '%i.%03i', split(/\./,('$Revision: 2.15 $' =~ /Revision: (\S+)\s/)[0]);  # $Date: 2008/01/18 00:11:38 $
- 
--    @FontDirs = ( (map { "$_/PDF/API2/fonts" } @INC), 
--        qw[ /usr/share/fonts /usr/local/share/fonts c:/windows/fonts c:/winnt/fonts ] );
-+    @FontDirs = ( qw[ /usr/share/fonts/dejavu /usr/share/fonts ] );
- 
-     $seq="AA";
- 
+diff -Naur PDF-API2-2.016-pristine/lib/PDF/API2.pm PDF-API2-2.016/lib/PDF/API2.pm
+--- PDF-API2-2.016-pristine/lib/PDF/API2.pm	2011-01-24 08:41:31.000000000 -0700
++++ PDF-API2-2.016/lib/PDF/API2.pm	2011-01-30 15:45:59.300804559 -0700
+@@ -53,8 +53,7 @@
+ 
+ no warnings qw[ deprecated recursion uninitialized ];
+ 
+-our @FontDirs = ( (map { "$_/PDF/API2/fonts" } @INC), 
+-                  qw[ /usr/share/fonts /usr/local/share/fonts c:/windows/fonts c:/winnt/fonts ] );
++our @FontDirs = ( qw[ /usr/share/fonts/dejavu /usr/share/fonts ] );
+ 
+ =head1 NAME
+ 
diff --git a/perl-PDF-API2.spec b/perl-PDF-API2.spec
index ad2904b..143dc37 100644
--- a/perl-PDF-API2.spec
+++ b/perl-PDF-API2.spec
@@ -1,23 +1,23 @@
 Name:           perl-PDF-API2
-Version:        0.73
-Release:        5%{?dist}
+Version:        2.016
+Release:        1%{?dist}
 Summary:        Perl module for creation and modification of PDF files
 
 Group:          System Environment/Libraries
 License:        LGPLv2+
 URL:            http://search.cpan.org/dist/PDF-API2/ 
-Source0:        http://search.cpan.org/CPAN/authors/id/A/AR/AREIBENS/PDF-API2-%{version}.tar.gz 
+Source0:        http://search.cpan.org/CPAN/authors/id/S/SS/SSIMMS/PDF-API2-%{version}.tar.gz 
 Patch1:         font-location.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::More)
-BuildRequires:  perl(Compress::Zlib), perl(XML::Parser::Expat)
+BuildRequires:  perl(Compress::Zlib), perl(XML::Parser::Expat), perl(Font::TTF)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:       dejavu-sans-fonts, dejavu-sans-mono-fonts, dejavu-serif-fonts
 
 %description
-A Perl Module Chain to faciliate the Creation and Modification of High-Quality
+A Perl Module Chain to facilitate the Creation and Modification of High-Quality
 "Portable Document Format (aka. PDF)" Files.
 
 
@@ -29,12 +29,6 @@ A Perl Module Chain to faciliate the Creation and Modification of High-Quality
 # remove patch backup file so that it doesn't get installed (bz #427762)
 rm -f lib/PDF/API2.pm.orig
 
-# fix eol encoding of some text files
-for file in COPYING TODO CONTACT README LICENSE examples/* contrib/* \
-    lib/PDF/API2/Resource/*txt; do
-  sed -i 's/\r//' $file
-done
-
 # fix interpreter in example files
 for file in contrib/pdf-{de,}optimize.pl; do
   sed -i 's/usr\/local/usr/' $file
@@ -48,9 +42,9 @@ sed -i '/examples\/027_winfont/d' MANIFEST
 # rpmlint warning and additional auto-requires
 chmod a-x contrib/* examples/*
 
-# recode TODO as UTF-8
-iconv -f iso-8859-1 -t utf-8 < TODO > TODO.utf8
-mv -f TODO.utf8 TODO
+# recode Changes as UTF-8
+iconv -f iso-8859-1 -t utf-8 < Changes > Changes.utf8
+mv -f Changes.utf8 Changes
 
 # Filter unwanted Requires:
 %global reqfilt /bin/sh -c "%{__perl_requires} | sed -e '/perl(the)/d'"
@@ -83,15 +77,19 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS CONTACT COPYING LICENSE README TODO
+%doc Changes CONTACT HACKING LICENSE PATENTS README
 %doc contrib examples
 %{perl_vendorlib}/PDF/
+%{_datadir}/man/man3/*
 # files that are not relevent to this OS
-%exclude %{perl_vendorlib}/PDF/API2/Basic/TTF/Win32.pm
 %exclude %{perl_vendorlib}/PDF/API2/Win32.pm
 
 
 %changelog
+* Sun Jan 30 2011 Bernard Johnson <bjohnson@xxxxxxxxxxxx> - 2.016-1
+- v 2.016 (bz #672666)
+- rebased font location patch
+
 * Tue Dec 21 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.73-5
 - 661697 rebuild for fixing problems with vendorach/lib
 
diff --git a/sources b/sources
index 7e95d61..360e9c3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-848fb727323390128cac85cc11f52de1  PDF-API2-0.73.tar.gz
+68ae025b5338022eebe2d6386c9e8df0  PDF-API2-2.016.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


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux