OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 08-Aug-2007 10:41:04
Branch: HEAD Handle: 2007080809410300
Modified files:
openpkg-src/perl-gfx perl-gfx.spec
Log:
add PDF::API2 and friends for the excellent PDF generation API in Perl
Summary:
Revision Changes Path
1.71 +34 -3 openpkg-src/perl-gfx/perl-gfx.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/perl-gfx/perl-gfx.spec
============================================================================
$ cvs diff -u -r1.70 -r1.71 perl-gfx.spec
--- openpkg-src/perl-gfx/perl-gfx.spec 23 Jul 2007 05:51:26 -0000
1.70
+++ openpkg-src/perl-gfx/perl-gfx.spec 8 Aug 2007 08:41:03 -0000
1.71
@@ -31,6 +31,9 @@
%define V_postscript_simple_table 1.02
%define V_graph_easy 0.56
%define V_graph_easy_as_svg 0.21
+%define V_pdf_api2 0.62
+%define V_pdf_api2_simple 1.1.2
+%define V_pdf_extract 3.01
# package information
Name: perl-gfx
@@ -43,7 +46,7 @@
Group: Perl
License: GPL/Artistic
Version: %{V_perl}
-Release: 20070723
+Release: 20070808
# list of sources
Source0:
http://www.cpan.org/modules/by-module/Image/Image-Info-%{V_image_info}.tar.gz
@@ -53,6 +56,9 @@
Source4:
http://www.cpan.org/modules/by-module/PostScript/PostScript-Simple-Table-%{V_postscript_simple_table}.tar.gz
Source5:
http://www.cpan.org/modules/by-module/Graph/Graph-Easy-%{V_graph_easy}.tar.gz
Source6:
http://www.cpan.org/modules/by-module/Graph/Graph-Easy-As_svg-%{V_graph_easy_as_svg}.tar.gz
+Source7:
http://www.cpan.org/modules/by-module/PDF/PDF-API2-%{V_pdf_api2}.tar.gz
+Source8:
http://www.cpan.org/modules/by-module/PDF/PDF-API2-Simple-%{V_pdf_api2_simple}.tar.gz
+Source9:
http://www.cpan.org/modules/by-module/PDF/PDF-Extract-%{V_pdf_extract}.tar.gz
Patch0: perl-gfx.patch
# build information
@@ -60,8 +66,8 @@
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg
>= %{V_perl}-20040126
PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}
-BuildPreReq: perl-ds
-PreReq: perl-ds
+BuildPreReq: perl-ds, perl-comp
+PreReq: perl-ds, perl-comp
AutoReq: no
AutoReqProv: no
@@ -74,6 +80,9 @@
- Postscript::Simple::Table (%{V_postscript_simple_table})
- Graph::Easy (%{V_graph_easy})
- Graph::Easy::As_svg (%{V_graph_easy_as_svg})
+ - PDF::API2 (%{V_pdf_api2})
+ - PDF::API2::Simple (%{V_pdf_api2_simple})
+ - PDF::Extract (%{V_pdf_extract})
%track
prog perl-gfx:Image-Info = {
@@ -111,6 +120,21 @@
url = http://www.cpan.org/modules/by-module/Graph/
regex = Graph-Easy-As_svg-(__VER__)\.tar\.gz
}
+ prog perl-gfx:PDF-API2 = {
+ version = %{V_pdf_api2}
+ url = http://www.cpan.org/modules/by-module/PDF/
+ regex = PDF-API2-(__VER__)\.tar\.gz
+ }
+ prog perl-gfx:PDF-API2-Simple = {
+ version = %{V_pdf_api2_simple}
+ url = http://www.cpan.org/modules/by-module/PDF/
+ regex = PDF-API2-Simple-(__VER__)\.tar\.gz
+ }
+ prog perl-gfx:PDF-Extract = {
+ version = %{V_pdf_extract}
+ url = http://www.cpan.org/modules/by-module/PDF/
+ regex = PDF-Extract-(__VER__)\.tar\.gz
+ }
%prep
%setup -q -c
@@ -120,11 +144,15 @@
%setup -q -T -D -a 4
%setup -q -T -D -a 5
%setup -q -T -D -a 6
+ %setup -q -T -D -a 7
+ %setup -q -T -D -a 8
+ %setup -q -T -D -a 9
%patch -p0
%{l_shtool} subst \
-e 's;/usr/bin/perl;%{l_prefix}/bin/perl;' \
PostScript-Simple-%{V_postscript_simple}/lib/PostScript/Simple.pm \
PostScript-Simple-%{V_postscript_simple}/lib/PostScript/Simple/EPS.pm
+ cp -rp Image-Info-*/inc PDF-API2-Simple-*/
%build
@@ -138,6 +166,9 @@
%{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat
perl-openpkg-files`
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]