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: 14-Aug-2006 11:41:18
Branch: HEAD Handle: 2006081410411800
Modified files:
openpkg-src/perl-gfx perl-gfx.spec
Log:
allow Graph::Easy to generate SVG output
Summary:
Revision Changes Path
1.54 +11 -0 openpkg-src/perl-gfx/perl-gfx.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/perl-gfx/perl-gfx.spec
============================================================================
$ cvs diff -u -r1.53 -r1.54 perl-gfx.spec
--- openpkg-src/perl-gfx/perl-gfx.spec 14 Aug 2006 09:24:55 -0000
1.53
+++ openpkg-src/perl-gfx/perl-gfx.spec 14 Aug 2006 09:41:18 -0000
1.54
@@ -30,6 +30,7 @@
%define V_postscript_simple 0.07
%define V_postscript_simple_table 1.02
%define V_graph_easy 0.46
+%define V_graph_easy_as_svg 0.18
# package information
Name: perl-gfx
@@ -51,6 +52,7 @@
Source3:
http://www.cpan.org/modules/by-module/PostScript/PostScript-Simple-%{V_postscript_simple}.tar.gz
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
Patch0: perl-gfx.patch
# build information
@@ -71,6 +73,7 @@
- Postscript::Simple (%{V_postscript_simple})
- Postscript::Simple::Table (%{V_postscript_simple_table})
- Graph::Easy (%{V_graph_easy})
+ - Graph::Easy::As_svg (%{V_graph_easy_as_svg})
%track
prog perl-gfx:Image-Info = {
@@ -103,6 +106,11 @@
url = http://www.cpan.org/modules/by-module/Graph/
regex = Graph-Easy-(__VER__)\.tar\.gz
}
+ prog perl-gfx:Graph-Easy-As-SVG = {
+ version = %{V_graph_easy_as_svg}
+ url = http://www.cpan.org/modules/by-module/Graph/
+ regex = Graph-Easy-As_svg-(__VER__)\.tar\.gz
+ }
%prep
%setup -q -c
@@ -111,6 +119,7 @@
%setup -q -T -D -a 3
%setup -q -T -D -a 4
%setup -q -T -D -a 5
+ %setup -q -T -D -a 6
%patch -p0
%{l_shtool} subst \
-e 's;/usr/bin/perl;%{l_prefix}/bin/perl;' \
@@ -127,6 +136,8 @@
%{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install
%{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 -F perl-openpkg-files fixate cleanup
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat
perl-openpkg-files`
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]