|
@@ -41,6 +41,7 @@
|
|
|
%define V_regexp_wildcards 1.03
|
|
%define V_regexp_wildcards 1.03
|
|
|
%define V_regexp_compare 0.08
|
|
%define V_regexp_compare 0.08
|
|
|
%define V_regexp_english 1.00
|
|
%define V_regexp_english 1.00
|
|
|
|
|
+%define V_regexp_grammars 1.001004
|
|
|
|
|
|
|
|
# package information
|
|
# package information
|
|
|
Name: perl-regex
|
|
Name: perl-regex
|
|
@@ -53,7 +54,7 @@ Class: BASE
|
|
|
Group: Perl
|
|
Group: Perl
|
|
|
License: GPL/Artistic
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
Version: %{V_perl}
|
|
|
-Release: 20090227
|
|
|
|
|
|
|
+Release: 20090724
|
|
|
|
|
|
|
|
# package options
|
|
# package options
|
|
|
%option with_posix no
|
|
%option with_posix no
|
|
@@ -81,6 +82,7 @@ Source13: http://www.cpan.org/modules/by-module/Regexp/Regexp-Assemble-%{V_r
|
|
|
Source14: http://www.cpan.org/modules/by-module/Regexp/Regexp-Wildcards-%{V_regexp_wildcards}.tar.gz
|
|
Source14: http://www.cpan.org/modules/by-module/Regexp/Regexp-Wildcards-%{V_regexp_wildcards}.tar.gz
|
|
|
Source15: http://www.cpan.org/modules/by-module/Regexp/Regexp-Compare-%{V_regexp_compare}.tar.gz
|
|
Source15: http://www.cpan.org/modules/by-module/Regexp/Regexp-Compare-%{V_regexp_compare}.tar.gz
|
|
|
Source16: http://www.cpan.org/modules/by-module/Regexp/Regexp-English-%{V_regexp_english}.tar.gz
|
|
Source16: http://www.cpan.org/modules/by-module/Regexp/Regexp-English-%{V_regexp_english}.tar.gz
|
|
|
|
|
+Source17: http://www.cpan.org/authors/id/D/DC/DCONWAY/Regexp-Grammars-%{V_regexp_grammars}.tar.gz
|
|
|
Patch0: perl-regex.patch
|
|
Patch0: perl-regex.patch
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
@@ -120,6 +122,7 @@ AutoReqProv: no
|
|
|
- Regexp::Wildcards (%{V_regexp_wildcards})
|
|
- Regexp::Wildcards (%{V_regexp_wildcards})
|
|
|
- Regexp::Compare (%{V_regexp_compare})
|
|
- Regexp::Compare (%{V_regexp_compare})
|
|
|
- Regexp::English (%{V_regexp_english})
|
|
- Regexp::English (%{V_regexp_english})
|
|
|
|
|
+ - Regexp::Grammars (%{V_regexp_grammars})
|
|
|
|
|
|
|
|
%track
|
|
%track
|
|
|
prog perl-regex:re-engine-POSIX = {
|
|
prog perl-regex:re-engine-POSIX = {
|
|
@@ -207,6 +210,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Regexp/
|
|
url = http://www.cpan.org/modules/by-module/Regexp/
|
|
|
regex = Regexp-English-(__VER__)\.tar\.gz
|
|
regex = Regexp-English-(__VER__)\.tar\.gz
|
|
|
}
|
|
}
|
|
|
|
|
+ prog perl-regex:Regexp-Grammars = {
|
|
|
|
|
+ version = %{V_regexp_grammars}
|
|
|
|
|
+ url = http://www.cpan.org/authors/id/D/DC/DCONWAY/
|
|
|
|
|
+ regex = Regexp-Grammars-(__VER__)\.tar\.gz
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
|
%setup -q -c
|
|
%setup -q -c
|
|
@@ -226,6 +234,7 @@ AutoReqProv: no
|
|
|
%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
|
|
%setup -q -T -D -a 16
|
|
|
|
|
+ %setup -q -T -D -a 17
|
|
|
%patch -p0
|
|
%patch -p0
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
@@ -262,6 +271,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
|
|
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} 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`
|
|
|
|
|
|