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:35:31
  Branch: HEAD                             Handle: 2008090619353000

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

  Log:
    add Plan9 regex library

  Summary:
    Revision    Changes     Path
    1.15        +27 -14     openpkg-src/perl-regex/perl-regex.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/perl-regex/perl-regex.spec
  ============================================================================
  $ cvs diff -u -r1.14 -r1.15 perl-regex.spec
  --- openpkg-src/perl-regex/perl-regex.spec    23 Aug 2008 20:57:55 -0000      
1.14
  +++ openpkg-src/perl-regex/perl-regex.spec    6 Sep 2008 18:35:30 -0000       
1.15
  @@ -27,6 +27,7 @@
   %define       V_re_engine_posix          0.05
   %define       V_re_engine_pcre           0.15
   %define       V_re_engine_tre            0.04
  +%define       V_re_engine_plan9          0.15
   %define       V_re_engine_lua            0.05
   %define       V_regexp_bind              0.05
   %define       V_regexp_common            2.122
  @@ -51,30 +52,32 @@
   Group:        Perl
   License:      GPL/Artistic
   Version:      %{V_perl}
  -Release:      20080823
  +Release:      20080906
   
   #   package options
   %option       with_posix  no
   %option       with_pcre   no
   %option       with_tre    no
  +%option       with_plan9  no
   %option       with_lua    no
   
   #   list of sources
   Source0:      
http://www.cpan.org/authors/id/A/AV/AVAR/re-engine-POSIX-%{V_re_engine_posix}.tar.gz
   Source1:      
http://www.cpan.org/authors/id/A/AV/AVAR/re-engine-PCRE-%{V_re_engine_pcre}.tar.gz
   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/P/PE/PERRAD/re-engine-Lua-%{V_re_engine_lua}.tar.gz
  -Source4:      
http://www.cpan.org/modules/by-module/Regexp/Regexp-Bind-%{V_regexp_bind}.tar.gz
  -Source5:      
http://www.cpan.org/modules/by-module/Regexp/Regexp-Common-%{V_regexp_common}.tar.gz
  -Source6:      
http://www.cpan.org/modules/by-module/Regexp/Regexp-Copy-%{V_regexp_copy}.tar.gz
  -Source7:      
http://www.cpan.org/modules/by-module/Regexp/Regexp-Extended-%{V_regexp_extended}.tar.gz
  -Source8:      
http://www.cpan.org/modules/by-module/Regexp/Regexp-Keep-%{V_regexp_keep}.tar.gz
  -Source9:      
http://www.cpan.org/modules/by-module/Regexp/Regexp-Parser-%{V_regexp_parser}.tar.gz
  -Source10:     
http://www.cpan.org/modules/by-module/Regexp/Regexp-Shellish-%{V_regexp_shellish}.tar.gz
  -Source11:     
http://www.cpan.org/modules/by-module/Regexp/Regexp-Assemble-%{V_regexp_assemble}.tar.gz
  -Source12:     
http://www.cpan.org/modules/by-module/Regexp/Regexp-Wildcards-%{V_regexp_wildcards}.tar.gz
  -Source13:     
http://www.cpan.org/modules/by-module/Regexp/Regexp-Compare-%{V_regexp_compare}.tar.gz
  -Source14:     
http://www.cpan.org/modules/by-module/Regexp/Regexp-English-%{V_regexp_english}.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
   Patch0:       perl-regex.patch
   
   #   build information
  @@ -100,6 +103,7 @@
       - re::engine::POSIX (%{V_re_engine_posix}) [with_posix=yes]
       - re::engine::PCRE (%{V_re_engine_pcre}) [with_pcre=yes]
       - 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]
       - Regexp::Bind (%{V_regexp_bind})
       - Regexp::Common (%{V_regexp_common})
  @@ -129,6 +133,11 @@
           url       = http://www.cpan.org/authors/id/A/AV/AVAR/
           regex     = re-engine-TRE-(__VER__)\.tar\.gz
       }
  +    prog perl-regex:re-engine-Plan9 = {
  +        version   = %{V_re_engine_plan9}
  +        url       = http://www.cpan.org/authors/id/A/AV/AVAR/
  +        regex     = re-engine-Plan9-(__VER__)\.tar\.gz
  +    }
       prog perl-regex:re-engine-Lua = {
           version   = %{V_re_engine_lua}
           url       = http://www.cpan.org/authors/id/P/PE/PERRAD/
  @@ -206,6 +215,7 @@
       %setup -q -T -D -a 12
       %setup -q -T -D -a 13
       %setup -q -T -D -a 14
  +    %setup -q -T -D -a 15
       %patch -p0
   
   %build
  @@ -222,10 +232,12 @@
   %if "%{with_tre}" == "yes"
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE2}  configure build install
   %endif
  -%if "%{with_lua}" == "yes"
  +%if "%{with_plan9}" == "yes"
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE3}  configure build install
   %endif
  +%if "%{with_lua}" == "yes"
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE4}  configure build install
  +%endif
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE5}  configure build install
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE6}  configure build install
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE7}  configure build install
  @@ -236,6 +248,7 @@
       %{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 -d %{SOURCE14} configure build install
  +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} 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