|
@@ -28,6 +28,7 @@
|
|
|
%define V_config_inifiles 2.38
|
|
%define V_config_inifiles 2.38
|
|
|
%define V_config_general 2.27
|
|
%define V_config_general 2.27
|
|
|
%define V_config_simple 4.57
|
|
%define V_config_simple 4.57
|
|
|
|
|
+%define V_string_tokenizer 0.05
|
|
|
%define V_parse_recdescent 1.94
|
|
%define V_parse_recdescent 1.94
|
|
|
%define V_parse_recdescent_faq 3.92
|
|
%define V_parse_recdescent_faq 3.92
|
|
|
%define V_parse_recdescent_deparse 1.00
|
|
%define V_parse_recdescent_deparse 1.00
|
|
@@ -53,7 +54,7 @@ Class: BASE
|
|
|
Group: Language
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
Version: %{V_perl}
|
|
|
-Release: 20041207
|
|
|
|
|
|
|
+Release: 20041210
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/Config/Config-IniFiles-%{V_config_inifiles}.tar.gz
|
|
Source0: http://www.cpan.org/modules/by-module/Config/Config-IniFiles-%{V_config_inifiles}.tar.gz
|
|
@@ -72,6 +73,7 @@ Source12: http://www.cpan.org/modules/by-module/AppConfig/AppConfig-Std-%{V_
|
|
|
Source13: http://www.cpan.org/modules/by-module/Template/Template-Toolkit-%{V_template}.tar.gz
|
|
Source13: http://www.cpan.org/modules/by-module/Template/Template-Toolkit-%{V_template}.tar.gz
|
|
|
Source14: http://www.cpan.org/modules/by-module/YAML/YAML-%{V_yaml}.tar.gz
|
|
Source14: http://www.cpan.org/modules/by-module/YAML/YAML-%{V_yaml}.tar.gz
|
|
|
Source15: http://osdn.dl.sourceforge.net/ogdl/ogdlutils-%{V_ogdl}.tgz
|
|
Source15: http://osdn.dl.sourceforge.net/ogdl/ogdlutils-%{V_ogdl}.tgz
|
|
|
|
|
+Source16: http://www.cpan.org/modules/by-module/String/String-Tokenizer-%{V_string_tokenizer}.tar.gz
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
@@ -86,6 +88,7 @@ AutoReqProv: no
|
|
|
- Config::IniFiles (%{V_config_inifiles})
|
|
- Config::IniFiles (%{V_config_inifiles})
|
|
|
- Config::General (%{V_config_general})
|
|
- Config::General (%{V_config_general})
|
|
|
- Config::Simple (%{V_config_simple})
|
|
- Config::Simple (%{V_config_simple})
|
|
|
|
|
+ - String::Tokenizer (%{V_string_tokenizer})
|
|
|
- Parse::RecDescent (%{V_parse_recdescent})
|
|
- Parse::RecDescent (%{V_parse_recdescent})
|
|
|
- Parse::RecDescent::FAQ (%{V_parse_recdescent_faq})
|
|
- Parse::RecDescent::FAQ (%{V_parse_recdescent_faq})
|
|
|
- Parse::RecDescent::Deparse (%{V_parse_recdescent_deparse})
|
|
- Parse::RecDescent::Deparse (%{V_parse_recdescent_deparse})
|
|
@@ -181,6 +184,11 @@ AutoReqProv: no
|
|
|
url = http://prdownloads.sourceforge.net/ogdl/
|
|
url = http://prdownloads.sourceforge.net/ogdl/
|
|
|
regex = ogdlutils-(__VER__)\.tgz
|
|
regex = ogdlutils-(__VER__)\.tgz
|
|
|
}
|
|
}
|
|
|
|
|
+ prog perl-text:String-Tokenizer = {
|
|
|
|
|
+ version = %{V_string_tokenizer}
|
|
|
|
|
+ url = http://www.cpan.org/modules/by-module/String/
|
|
|
|
|
+ regex = String-Tokenizer-(__VER__)\.tar\.gz
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
|
%setup -q -c
|
|
%setup -q -c
|
|
@@ -199,6 +207,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 13
|
|
%setup -q -T -D -a 13
|
|
|
%setup -q -T -D -a 14
|
|
%setup -q -T -D -a 14
|
|
|
%setup -q -T -D -a 15
|
|
%setup -q -T -D -a 15
|
|
|
|
|
+ %setup -q -T -D -a 16
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
|
|
|
@@ -228,6 +237,7 @@ AutoReqProv: no
|
|
|
ar cr libogdl.a ogdlparser.o graph.o path.o ogdllog.o
|
|
ar cr libogdl.a ogdlparser.o graph.o path.o ogdllog.o
|
|
|
) || exit $?
|
|
) || exit $?
|
|
|
%{l_prefix}/bin/perl-openpkg -d ogdlutils-%{V_ogdl}/perl configure build install
|
|
%{l_prefix}/bin/perl-openpkg -d ogdlutils-%{V_ogdl}/perl configure build install
|
|
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
|
|
%{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`
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
|
|
|
|
|
|