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:   06-Sep-2008 20:38:59
  Branch: HEAD                             Handle: 2008090619385900

  Modified files:
    openpkg-src/perl-regex  perl-regex.spec

  Log:
    add Oniguruma regex library

  Summary:
    Revision    Changes     Path
    1.16        +24 -11     openpkg-src/perl-regex/perl-regex.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/perl-regex/perl-regex.spec
  ============================================================================
  $ cvs diff -u -r1.15 -r1.16 perl-regex.spec
  --- openpkg-src/perl-regex/perl-regex.spec    6 Sep 2008 18:35:30 -0000       
1.15
  +++ openpkg-src/perl-regex/perl-regex.spec    6 Sep 2008 18:38:59 -0000       
1.16
  @@ -29,6 +29,7 @@
   %define       V_re_engine_tre            0.04
   %define       V_re_engine_plan9          0.15
   %define       V_re_engine_lua            0.05
  +%define       V_re_engine_onig           0.04
   %define       V_regexp_bind              0.05
   %define       V_regexp_common            2.122
   %define       V_regexp_copy              0.06
  @@ -60,6 +61,7 @@
   %option       with_tre    no
   %option       with_plan9  no
   %option       with_lua    no
  +%option       with_onig   no
   
   #   list of sources
   Source0:      
http://www.cpan.org/authors/id/A/AV/AVAR/re-engine-POSIX-%{V_re_engine_posix}.tar.gz
  @@ -67,17 +69,18 @@
   Source2:      
http://www.cpan.org/authors/id/A/AV/AVAR/re-engine-TRE-%{V_re_engine_tre}.tar.gz
   Source3:      
http://www.cpan.org/authors/id/A/AV/AVAR/re-engine-Plan9-%{V_re_engine_plan9}.tar.gz
   Source4:      
http://www.cpan.org/authors/id/P/PE/PERRAD/re-engine-Lua-%{V_re_engine_lua}.tar.gz
  -Source5:      
http://www.cpan.org/modules/by-module/Regexp/Regexp-Bind-%{V_regexp_bind}.tar.gz
  -Source6:      
http://www.cpan.org/modules/by-module/Regexp/Regexp-Common-%{V_regexp_common}.tar.gz
  -Source7:      
http://www.cpan.org/modules/by-module/Regexp/Regexp-Copy-%{V_regexp_copy}.tar.gz
  -Source8:      
http://www.cpan.org/modules/by-module/Regexp/Regexp-Extended-%{V_regexp_extended}.tar.gz
  -Source9:      
http://www.cpan.org/modules/by-module/Regexp/Regexp-Keep-%{V_regexp_keep}.tar.gz
  -Source10:     
http://www.cpan.org/modules/by-module/Regexp/Regexp-Parser-%{V_regexp_parser}.tar.gz
  -Source11:     
http://www.cpan.org/modules/by-module/Regexp/Regexp-Shellish-%{V_regexp_shellish}.tar.gz
  -Source12:     
http://www.cpan.org/modules/by-module/Regexp/Regexp-Assemble-%{V_regexp_assemble}.tar.gz
  -Source13:     
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-Compare-%{V_regexp_compare}.tar.gz
  -Source15:     
http://www.cpan.org/modules/by-module/Regexp/Regexp-English-%{V_regexp_english}.tar.gz
  +Source5:      
http://www.cpan.org/authors/id/A/AN/ANDYA/re-engine-Oniguruma-%{V_re_engine_onig}.tar.gz
  +Source6:      
http://www.cpan.org/modules/by-module/Regexp/Regexp-Bind-%{V_regexp_bind}.tar.gz
  +Source7:      
http://www.cpan.org/modules/by-module/Regexp/Regexp-Common-%{V_regexp_common}.tar.gz
  +Source8:      
http://www.cpan.org/modules/by-module/Regexp/Regexp-Copy-%{V_regexp_copy}.tar.gz
  +Source9:      
http://www.cpan.org/modules/by-module/Regexp/Regexp-Extended-%{V_regexp_extended}.tar.gz
  +Source10:     
http://www.cpan.org/modules/by-module/Regexp/Regexp-Keep-%{V_regexp_keep}.tar.gz
  +Source11:     
http://www.cpan.org/modules/by-module/Regexp/Regexp-Parser-%{V_regexp_parser}.tar.gz
  +Source12:     
http://www.cpan.org/modules/by-module/Regexp/Regexp-Shellish-%{V_regexp_shellish}.tar.gz
  +Source13:     
http://www.cpan.org/modules/by-module/Regexp/Regexp-Assemble-%{V_regexp_assemble}.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
  +Source16:     
http://www.cpan.org/modules/by-module/Regexp/Regexp-English-%{V_regexp_english}.tar.gz
   Patch0:       perl-regex.patch
   
   #   build information
  @@ -105,6 +108,7 @@
       - re::engine::TRE (%{V_re_engine_tre}) [with_tre=yes]
       - re::engine::Plan9 (%{V_re_engine_plan9}) [with_plan9=yes]
       - re::engine::Lua (%{V_re_engine_lua}) [with_lua=yes]
  +    - re::engine::Oniguruma (%{V_re_engine_onig}) [with_onig=yes]
       - Regexp::Bind (%{V_regexp_bind})
       - Regexp::Common (%{V_regexp_common})
       - Regexp::Copy (%{V_regexp_copy})
  @@ -143,6 +147,11 @@
           url       = http://www.cpan.org/authors/id/P/PE/PERRAD/
           regex     = re-engine-Lua-(__VER__)\.tar\.gz
       }
  +    prog perl-regex:re-engine-Oniguruma = {
  +        version   = %{V_re_engine_onig}
  +        url       = http://www.cpan.org/authors/id/A/AN/ANDYA/
  +        regex     = re-engine-Oniguruma-(__VER__)\.tar\.gz
  +    }
       prog perl-regex:Regexp-Bind = {
           version   = %{V_regexp_bind}
           url       = http://www.cpan.org/modules/by-module/Regexp/
  @@ -216,6 +225,7 @@
       %setup -q -T -D -a 13
       %setup -q -T -D -a 14
       %setup -q -T -D -a 15
  +    %setup -q -T -D -a 16
       %patch -p0
   
   %build
  @@ -238,7 +248,9 @@
   %if "%{with_lua}" == "yes"
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE4}  configure build install
   %endif
  +%if "%{with_onig}" == "yes"
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE5}  configure build install
  +%endif
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE6}  configure build install
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE7}  configure build install
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE8}  configure build install
  @@ -249,6 +261,7 @@
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} 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 %{SOURCE16} 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`
   
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to