|
|
@@ -36,6 +36,8 @@
|
|
|
%define V_regexp_shellish 0.93
|
|
|
%define V_regexp_assemble 0.32
|
|
|
%define V_regexp_wildcards 0.08
|
|
|
+%define V_regexp_compare 0.08
|
|
|
+%define V_regexp_english 1.00
|
|
|
|
|
|
# package information
|
|
|
Name: perl-regex
|
|
|
@@ -48,7 +50,7 @@ Class: BASE
|
|
|
Group: Perl
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20080309
|
|
|
+Release: 20080418
|
|
|
|
|
|
# package options
|
|
|
%option with_posix no
|
|
|
@@ -68,6 +70,8 @@ Source8: http://www.cpan.org/modules/by-module/Regexp/Regexp-Parser-%{V_reg
|
|
|
Source9: http://www.cpan.org/modules/by-module/Regexp/Regexp-Shellish-%{V_regexp_shellish}.tar.gz
|
|
|
Source10: http://www.cpan.org/modules/by-module/Regexp/Regexp-Assemble-%{V_regexp_assemble}.tar.gz
|
|
|
Source11: http://www.cpan.org/modules/by-module/Regexp/Regexp-Wildcards-%{V_regexp_wildcards}.tar.gz
|
|
|
+Source12: http://www.cpan.org/modules/by-module/Regexp/Regexp-Compare-%{V_regexp_compare}.tar.gz
|
|
|
+Source13: http://www.cpan.org/modules/by-module/Regexp/Regexp-English-%{V_regexp_english}.tar.gz
|
|
|
Patch0: perl-regex.patch
|
|
|
|
|
|
# build information
|
|
|
@@ -102,6 +106,8 @@ AutoReqProv: no
|
|
|
- Regexp::Shellish (%{V_regexp_shellish})
|
|
|
- Regexp::Assemble (%{V_regexp_assemble})
|
|
|
- Regexp::Wildcards (%{V_regexp_wildcards})
|
|
|
+ - Regexp::Compare (%{V_regexp_compare})
|
|
|
+ - Regexp::English (%{V_regexp_english})
|
|
|
|
|
|
%track
|
|
|
prog perl-regex:re-engine-POSIX = {
|
|
|
@@ -164,6 +170,16 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Regexp/
|
|
|
regex = Regexp-Wildcards-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-regex:Regexp-Compare = {
|
|
|
+ version = %{V_regexp_compare}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Regexp/
|
|
|
+ regex = Regexp-Compare-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog perl-regex:Regexp-English = {
|
|
|
+ version = %{V_regexp_english}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Regexp/
|
|
|
+ regex = Regexp-English-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -178,6 +194,8 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 9
|
|
|
%setup -q -T -D -a 10
|
|
|
%setup -q -T -D -a 11
|
|
|
+ %setup -q -T -D -a 12
|
|
|
+ %setup -q -T -D -a 13
|
|
|
%patch -p0
|
|
|
|
|
|
%build
|
|
|
@@ -203,6 +221,8 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} 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`
|
|
|
|