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:22:39
Branch: HEAD Handle: 2006081410223900
Modified files:
openpkg-src/perl-gfx perl-gfx.spec
Log:
move Graph::Easy from perl-ds (data structures) to perl-gfx (graphics)
as it is actually a graph drawing generator than a graph data
structure related module
Summary:
Revision Changes Path
1.52 +42 -13 openpkg-src/perl-gfx/perl-gfx.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/perl-gfx/perl-gfx.spec
============================================================================
$ cvs diff -u -r1.51 -r1.52 perl-gfx.spec
--- openpkg-src/perl-gfx/perl-gfx.spec 10 Jun 2006 21:00:27 -0000
1.51
+++ openpkg-src/perl-gfx/perl-gfx.spec 14 Aug 2006 09:22:39 -0000
1.52
@@ -23,10 +23,13 @@
##
# versions of individual parts
-%define V_perl 5.8.8
-%define V_image_info 1.21
-%define V_image_size 3.0
-%define V_ps_simple 0.07
+%define V_perl 5.8.8
+%define V_image_info 1.22
+%define V_image_size 3.0
+%define V_postscript 0.06
+%define V_postscript_simple 0.07
+%define V_postscript_simple_table 1.02
+%define V_graph_easy 0.45
# package information
Name: perl-gfx
@@ -39,12 +42,15 @@
Group: Language
License: GPL/Artistic
Version: %{V_perl}
-Release: 20060610
+Release: 20060814
# list of sources
Source0:
http://www.cpan.org/modules/by-module/Image/Image-Info-%{V_image_info}.tar.gz
Source1:
http://www.cpan.org/modules/by-module/Image/Image-Size-%{V_image_size}.tar.gz
-Source2:
http://www.cpan.org/modules/by-module/PostScript/PostScript-Simple-%{V_ps_simple}.tar.gz
+Source2:
http://www.cpan.org/modules/by-module/PostScript/PostScript-%{V_postscript}.tar.gz
+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
Patch0: perl-gfx.patch
# build information
@@ -61,7 +67,10 @@
Perl modules for use with Graphics:
- Image::Info (%{V_image_info})
- Image::Size (%{V_image_size})
- - Postscript::Simple (%{V_ps_simple})
+ - Postscript (%{V_postscript})
+ - Postscript::Simple (%{V_postscript_simple})
+ - Postscript::Simple::Table (%{V_postscript_simple_table})
+ - Graph::Easy (%{V_graph_easy})
%track
prog perl-gfx:Image-Info = {
@@ -74,30 +83,50 @@
url = http://www.cpan.org/modules/by-module/Image/
regex = Image-Size-(__VER__)\.tar\.gz
}
+ prog perl-gfx:Postscript = {
+ version = %{V_postscript}
+ url = http://www.cpan.org/modules/by-module/PostScript/
+ regex = PostScript-(\d+\.\d+)\.tar\.gz
+ }
prog perl-gfx:Postscript-Simple = {
- version = %{V_ps_simple}
+ version = %{V_postscript_simple}
url = http://www.cpan.org/modules/by-module/PostScript/
regex = PostScript-Simple-(\d+\.\d+)\.tar\.gz
}
+ prog perl-gfx:Postscript-Simple-Table = {
+ version = %{V_postscript_simple_table}
+ url = http://www.cpan.org/modules/by-module/PostScript/
+ regex = PostScript-Simple-Table-(\d+\.\d+)\.tar\.gz
+ }
+ prog perl-gfx:Graph-Easy = {
+ version = %{V_graph_easy}
+ url = http://www.cpan.org/modules/by-module/Graph/
+ regex = Graph-Easy-(__VER__)\.tar\.gz
+ }
%prep
%setup -q -c
%setup -q -T -D -a 1
%setup -q -T -D -a 2
+ %setup -q -T -D -a 3
+ %setup -q -T -D -a 4
+ %setup -q -T -D -a 5
%patch -p0
%{l_shtool} subst \
-e 's;/usr/bin/perl;%{l_prefix}/bin/perl;' \
- PostScript-Simple-%{V_ps_simple}/lib/PostScript/Simple.pm \
- PostScript-Simple-%{V_ps_simple}/lib/PostScript/Simple/EPS.pm
+ PostScript-Simple-%{V_postscript_simple}/lib/PostScript/Simple.pm \
+ PostScript-Simple-%{V_postscript_simple}/lib/PostScript/Simple/EPS.pm
%build
%install
rm -rf $RPM_BUILD_ROOT
%{l_prefix}/bin/perl-openpkg prepare
- %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install
- %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install
- %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install
+ %{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 -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]