|
|
@@ -24,10 +24,11 @@
|
|
|
##
|
|
|
|
|
|
# package versions
|
|
|
-%define V_gtk_perl 0.7009
|
|
|
-%define V_extutils_depends 0.103
|
|
|
-%define V_glib 1.00rc1
|
|
|
-%define V_gtk2 1.00rc1
|
|
|
+%define V_gtk_perl 0.7009
|
|
|
+%define V_extutils_depends 0.103
|
|
|
+%define V_extutils_pkgconfig 1.00
|
|
|
+%define V_glib 1.00rc2
|
|
|
+%define V_gtk2 1.00rc2
|
|
|
|
|
|
# package information
|
|
|
Name: perl-gtk
|
|
|
@@ -38,8 +39,8 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [EVAL]
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
-Version: 20030912
|
|
|
-Release: 20030912
|
|
|
+Version: 20030920
|
|
|
+Release: 20030920
|
|
|
|
|
|
# package options
|
|
|
%option with_gtk1 yes
|
|
|
@@ -48,8 +49,9 @@ Release: 20030912
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/Gtk/Gtk-Perl-%{V_gtk_perl}.tar.gz
|
|
|
Source1: http://osdn.dl.sourceforge.net/gtk2-perl/ExtUtils-Depends-%{V_extutils_depends}.tar.gz
|
|
|
-Source2: http://osdn.dl.sourceforge.net/gtk2-perl/Glib-%{V_glib}.tar.gz
|
|
|
-Source3: http://osdn.dl.sourceforge.net/gtk2-perl/Gtk2-%{V_gtk2}.tar.gz
|
|
|
+Source2: http://osdn.dl.sourceforge.net/gtk2-perl/ExtUtils-PkgConfig-%{V_extutils_pkgconfig}.tar.gz
|
|
|
+Source3: http://osdn.dl.sourceforge.net/gtk2-perl/Glib-%{V_glib}.tar.gz
|
|
|
+Source4: http://osdn.dl.sourceforge.net/gtk2-perl/Gtk2-%{V_gtk2}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -61,8 +63,8 @@ BuildPreReq: gtk, perl-xml
|
|
|
PreReq: gtk, perl-xml
|
|
|
%endif
|
|
|
%if "%{with_gtk2}" == "yes"
|
|
|
-BuildPreReq: glib2, gtk2, pango, atk
|
|
|
-PreReq: glib2, gtk2, pango, atk
|
|
|
+BuildPreReq: perl-xml >= 20030920, glib2, gtk2, pango, atk
|
|
|
+PreReq: perl-xml >= 20030920, glib2, gtk2, pango, atk
|
|
|
%endif
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
@@ -74,6 +76,7 @@ AutoReqProv: no
|
|
|
%endif
|
|
|
%if "%{with_gtk2}" == "yes"
|
|
|
- ExtUtils::Depends (%{V_extutils_depends}) [for GLib/Gtk+ 2.x]
|
|
|
+ - ExtUtils::PkgConfig (%{V_extutils_pkgconfig}) [for GLib/Gtk+ 2.x]
|
|
|
- Glib (%{V_glib}) [for GLib/Gtk+ 2.x]
|
|
|
- Gtk2 (%{V_gtk2}) [for GLib/Gtk+ 2.x]
|
|
|
%endif
|
|
|
@@ -83,6 +86,7 @@ AutoReqProv: no
|
|
|
%setup1 -q -T -D -a 1
|
|
|
%setup2 -q -T -D -a 2
|
|
|
%setup3 -q -T -D -a 3
|
|
|
+ %setup4 -q -T -D -a 4
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -98,6 +102,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE1}
|
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE2}
|
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE3}
|
|
|
+ %{l_prefix}/bin/perl-openpkg install -d %{SOURCE4}
|
|
|
%endif
|
|
|
|
|
|
# perform common epilog operations
|