[CVS] OpenPKG: openpkg-src/mrtg/ mrtg.spec

2008-02-17 Thread Ralf S. Engelschall
  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:   17-Feb-2008 18:25:08
  Branch: HEAD Handle: 2008021717250700

  Modified files:
openpkg-src/mrtgmrtg.spec

  Log:
upgrading package: mrtg 2.16.0 -> 2.16.1

  Summary:
RevisionChanges Path
1.31+2  -2  openpkg-src/mrtg/mrtg.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/mrtg/mrtg.spec
  
  $ cvs diff -u -r1.30 -r1.31 mrtg.spec
  --- openpkg-src/mrtg/mrtg.spec6 Feb 2008 20:02:33 -   1.30
  +++ openpkg-src/mrtg/mrtg.spec17 Feb 2008 17:25:07 -  1.31
  @@ -31,8 +31,8 @@
   Class:PLUS
   Group:Monitoring
   License:  GPL
  -Version:  2.16.0
  -Release:  20080206
  +Version:  2.16.1
  +Release:  20080217
   
   #   list of sources
   Source0:  http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/smokeping/ smokeping.spec

2008-02-17 Thread Ralf S. Engelschall
  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:   17-Feb-2008 18:22:39
  Branch: HEAD Handle: 2008021717223800

  Modified files:
openpkg-src/smokeping   smokeping.spec

  Log:
upgrading package: smokeping 2.3.0 -> 2.3.1

  Summary:
RevisionChanges Path
1.40+2  -2  openpkg-src/smokeping/smokeping.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/smokeping/smokeping.spec
  
  $ cvs diff -u -r1.39 -r1.40 smokeping.spec
  --- openpkg-src/smokeping/smokeping.spec  23 Jan 2008 19:57:08 -  
1.39
  +++ openpkg-src/smokeping/smokeping.spec  17 Feb 2008 17:22:38 -  
1.40
  @@ -31,8 +31,8 @@
   Class:PLUS
   Group:Mapping
   License:  GPL
  -Version:  2.3.0
  -Release:  20080123
  +Version:  2.3.1
  +Release:  20080217
   
   #   list of sources
   Source0:  http://oss.oetiker.ch/smokeping/pub/smokeping-%{version}.tar.gz
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/rrdtool/ rrdtool.patch rrdtool.spec

2008-02-17 Thread Ralf S. Engelschall
g we tell the kernel the mmap equivalent
   of POSIX_FADV_RANDOM */
  - madvise(rrd_mmaped_file,rrd_filesize,POSIX_MADV_RANDOM);
  + madvise(rrd_mmaped_file,rrd_filesize,MADV_RANDOM);
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/rrdtool/rrdtool.spec
  
  $ cvs diff -u -r1.108 -r1.109 rrdtool.spec
  --- openpkg-src/rrdtool/rrdtool.spec  25 Jan 2008 08:54:15 -  1.108
  +++ openpkg-src/rrdtool/rrdtool.spec  17 Feb 2008 17:19:38 -  1.109
  @@ -22,7 +22,7 @@
   ##
   
   #   package version
  -%define   V_rrdtool1.2.26
  +%define   V_rrdtool1.2.27
   %define   V_rrdtool_oo 0.21
   %define   V_rrd_simple 1.44
   
  @@ -37,7 +37,7 @@
   Group:Database
   License:  LGPL
   Version:  %{V_rrdtool}
  -Release:  20080125
  +Release:  20080217
   
   #   package options
   %option   with_perlno
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/perl/ perl.spec

2008-02-17 Thread Thomas Lotterer
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Thomas Lotterer
  Root:   /v/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   17-Feb-2008 17:45:39
  Branch: HEAD Handle: 2008021716453800

  Modified files:
openpkg-src/perlperl.spec

  Log:
assume ownership for various install dirs (required for rpm5 checking
synthesized dependencies on parent directories)

  Summary:
RevisionChanges Path
1.125   +16 -1  openpkg-src/perl/perl.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/perl/perl.spec
  
  $ cvs diff -u -r1.124 -r1.125 perl.spec
  --- openpkg-src/perl/perl.spec3 Jan 2008 18:18:32 -   1.124
  +++ openpkg-src/perl/perl.spec17 Feb 2008 16:45:38 -  1.125
  @@ -32,7 +32,7 @@
   Group:Perl
   License:  GPL/Artistic
   Version:  5.10.0
  -Release:  20080103
  +Release:  20080217
   
   #   list of sources
   Source0:  ftp://ftp.cpan.org/pub/CPAN/src/perl-%{version}.tar.gz
  @@ -156,6 +156,21 @@
  -name "*.orig" -print | xargs rm -f
   ) || exit $?
   
  +#   assume ownership for various arch/site/vendor install dirs
  +( eval `./perl -V:installarchlib \
  +   -V:installprivlib \
  +   -V:installsitearch \
  +   -V:installsitelib \
  +   -V:installvendorarch \
  +   -V:installvendorlib`
  +  %{l_shtool} mkdir -p "$RPM_BUILD_ROOT$installarchlib/auto" \
  +   "$RPM_BUILD_ROOT$installprivlib/auto" \
  +   "$RPM_BUILD_ROOT$installsitearch/auto" \
  +   "$RPM_BUILD_ROOT$installsitelib/auto" \
  +   "$RPM_BUILD_ROOT$installvendorarch/auto" \
  +   "$RPM_BUILD_ROOT$installvendorlib/auto"
  +) || exit $?
  +
   #   strip binary files
   strip $RPM_BUILD_ROOT%{l_prefix}/bin/* 2>/dev/null || true
   
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/postfix/ postfix.spec

2008-02-17 Thread Thomas Lotterer
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Thomas Lotterer
  Root:   /v/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   17-Feb-2008 12:51:03
  Branch: HEAD Handle: 2008021711510200

  Modified files:
openpkg-src/postfix postfix.spec

  Log:
import fix from https://intevation.de/roundup/kolab/issue2346
Compilation of postfix fails on CentOS 5.1 64Bit

  Summary:
RevisionChanges Path
1.272   +3  -0  openpkg-src/postfix/postfix.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/postfix/postfix.spec
  
  $ cvs diff -u -r1.271 -r1.272 postfix.spec
  --- openpkg-src/postfix/postfix.spec  17 Feb 2008 09:27:08 -  1.271
  +++ openpkg-src/postfix/postfix.spec  17 Feb 2008 11:51:02 -  1.272
  @@ -191,6 +191,9 @@
   if [ -f /usr/lib/libdl.so -o -f /usr/lib/libdl.a ]; then
   AUXLIBS="$AUXLIBS -ldl"
   fi
  +if [ -f /usr/lib64/libdl.so -o -f /usr/lib64/libdl.a ]; then
  +AUXLIBS="$AUXLIBS -ldl"
  +fi
   %endif
   %if "%{with_ssl}" == "yes"
   CCARGS="$CCARGS -DUSE_TLS"
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/drupal/ drupal.spec

2008-02-17 Thread Ralf S. Engelschall
  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:   17-Feb-2008 10:37:00
  Branch: HEAD Handle: 2008021709365900

  Modified files:
openpkg-src/drupal  drupal.spec

  Log:
add email_registration module

  Summary:
RevisionChanges Path
1.117   +43 -35 openpkg-src/drupal/drupal.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/drupal/drupal.spec
  
  $ cvs diff -u -r1.116 -r1.117 drupal.spec
  --- openpkg-src/drupal/drupal.spec17 Feb 2008 09:31:01 -  1.116
  +++ openpkg-src/drupal/drupal.spec17 Feb 2008 09:36:59 -  1.117
  @@ -36,6 +36,7 @@
   %define   V_module_devel   6.x-1.0
   %define   V_module_dir_listing 6.x-1.0-beta1
   %define   V_module_download_count  6.x-1.x-dev
  +%define   V_module_email_registration  6.x-1.0
   %define   V_module_event   6.x-2.x-dev
   %define   V_module_extlink 6.x-1.5
   %define   V_module_faq 6.x-1.2
  @@ -113,41 +114,42 @@
   Source9:  
http://ftp.drupal.org/files/projects/devel-%{V_module_devel}.tar.gz
   Source10: 
http://ftp.drupal.org/files/projects/dir_listing-%{V_module_dir_listing}.tar.gz
   Source11: 
http://ftp.drupal.org/files/projects/download_count-%{V_module_download_count}.tar.gz
  -Source12: 
http://ftp.drupal.org/files/projects/event-%{V_module_event}.tar.gz
  -Source13: 
http://ftp.drupal.org/files/projects/extlink-%{V_module_extlink}.tar.gz
  -Source14: http://ftp.drupal.org/files/projects/faq-%{V_module_faq}.tar.gz
  -Source15: 
http://ftp.drupal.org/files/projects/faq_ask-%{V_module_faq_ask}.tar.gz
  -Source16: 
http://ftp.drupal.org/files/projects/fckeditor-%{V_module_fckeditor}.tar.gz
  -Source17: 
http://ftp.drupal.org/files/projects/filebrowser-%{V_module_filebrowser}.tar.gz
  -Source18: 
http://ftp.drupal.org/files/projects/fivestar-%{V_module_fivestar}.tar.gz
  -Source19: 
http://ftp.drupal.org/files/projects/flashvideo-%{V_module_flashvideo}.tar.gz
  -Source20: 
http://ftp.drupal.org/files/projects/footnotes-%{V_module_footnotes}.tar.gz
  -Source21: 
http://ftp.drupal.org/files/projects/geshifilter-%{V_module_geshifilter}.tar.gz
  -Source22: 
http://ftp.drupal.org/files/projects/http_action-%{V_module_http_action}.tar.gz
  -Source23: 
http://ftp.drupal.org/files/projects/image-%{V_module_image}.tar.gz
  -Source24: 
http://ftp.drupal.org/files/projects/img_filter-%{V_module_img_filter}.tar.gz
  -Source25: 
http://ftp.drupal.org/files/projects/jquery_plugin-%{V_module_jquery_plugin}.tar.gz
  -Source26: 
http://ftp.drupal.org/files/projects/jtooltips-%{V_module_jtooltips}.tar.gz
  -Source27: 
http://ftp.drupal.org/files/projects/lightbox2-%{V_module_lightbox2}.tar.gz
  -Source28: 
http://ftp.drupal.org/files/projects/local_menu-%{V_module_local_menu}.tar.gz
  -Source29: 
http://ftp.drupal.org/files/projects/logging_alerts-%{V_module_logging_alerts}.tar.gz
  -Source30: 
http://ftp.drupal.org/files/projects/marksmarty-%{V_module_marksmarty}.tar.gz
  -Source31: 
http://ftp.drupal.org/files/projects/menu_breadcrumb-%{V_module_menu_breadcrumb}.tar.gz
  -Source32: 
http://ftp.drupal.org/files/projects/menutree-%{V_module_menutree}.tar.gz
  -Source33: 
http://ftp.drupal.org/files/projects/nice_menus-%{V_module_nice_menus}.tar.gz
  -Source34: 
http://ftp.drupal.org/files/projects/nicedit-%{V_module_nicedit}.tar.gz
  -Source35: 
http://ftp.drupal.org/files/projects/node_privacy_byrole-%{V_module_node_privacy_byrole}.tar.gz
  -Source36: 
http://ftp.drupal.org/files/projects/nodeauthor-%{V_module_nodeauthor}.tar.gz
  -Source37: 
http://ftp.drupal.org/files/projects/persistent_login-%{V_module_persistent_login}.tar.gz
  -Source38: 
http://ftp.drupal.org/files/projects/pngfix-%{V_module_pngfix}.tar.gz
  -Source39: 
http://ftp.drupal.org/files/projects/print-%{V_module_print}.tar.gz
  -Source40: 
http://ftp.drupal.org/files/projects/scheduler-%{V_module_scheduler}.tar.gz
  -Source41: 
http://ftp.drupal.org/files/projects/schema-%{V_module_schema}.tar.gz
  -Source42: 
http://ftp.drupal.org/files/projects/sections-%{V_module_sections}.tar.gz
  -Source43: 
http://ftp.drupal.org/files/projects/services-%{V_module_services}.tar.gz
  -Source44: 
http://ftp.drupal.org/files/projects/trackback-%{V_module_trackback}.tar.gz
  -Source45: 
http://ftp.drupal.org/files/projects/util-%{V_module_util}.tar.gz
  -Source46: 
http://ftp.drupa

[CVS] OpenPKG: openpkg-src/pwmd/ pwmd.patch pwmd.spec

2008-02-17 Thread Ralf S. Engelschall
  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:   17-Feb-2008 10:33:07
  Branch: HEAD Handle: 2008021709330301

  Modified files:
openpkg-src/pwmdpwmd.patch pwmd.spec

  Log:
upgrading package: pwmd 1.6.5.0.2 -> 1.7.5.0.2

  Summary:
RevisionChanges Path
1.7 +3  -3  openpkg-src/pwmd/pwmd.patch
1.8 +2  -2  openpkg-src/pwmd/pwmd.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/pwmd/pwmd.patch
  
  $ cvs diff -u -r1.6 -r1.7 pwmd.patch
  --- openpkg-src/pwmd/pwmd.patch   28 Jan 2008 18:17:24 -  1.6
  +++ openpkg-src/pwmd/pwmd.patch   17 Feb 2008 09:33:03 -  1.7
  @@ -12,9 +12,9 @@

while ((opt = getopt(argc, argv, "c:I:XT:N:D:hvP:p:s:Sd:")) != EOF) {
switch (opt) {
  -Index: pwmd-1.6/src/Makefile.am
   pwmd-1.6/src/Makefile.am.orig2008-01-02 01:25:17 +0100
  -+++ pwmd-1.6/src/Makefile.am 2008-01-13 09:47:58 +0100
  +Index: pwmd-1.7/src/Makefile.am
  +--- pwmd-1.7/src/Makefile.am.orig2008-01-02 01:25:17 +0100
   pwmd-1.7/src/Makefile.am 2008-01-13 09:47:58 +0100
   @@ -1,7 +1,7 @@
bin_PROGRAMS = pwmd
pwmd_SOURCES = pwmd.c pwmd.h xml.c xml.h pwmd_error.c pwmd_error.h 
commands.c \
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/pwmd/pwmd.spec
  
  $ cvs diff -u -r1.7 -r1.8 pwmd.spec
  --- openpkg-src/pwmd/pwmd.spec28 Jan 2008 18:17:24 -  1.7
  +++ openpkg-src/pwmd/pwmd.spec17 Feb 2008 09:33:04 -  1.8
  @@ -22,7 +22,7 @@
   ##
   
   #   package version
  -%define   V_pwmd 1.6
  +%define   V_pwmd 1.7
   %define   V_libpwmd  5.0.2
   
   #   package information
  @@ -36,7 +36,7 @@
   Group:System
   License:  GPL
   Version:  %{V_pwmd}.%{V_libpwmd}
  -Release:  20080128
  +Release:  20080217
   
   #   list of sources
   Source0:  http://switch.dl.sourceforge.net/bjk/pwmd-%{V_pwmd}.tar.gz
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/drupal/ drupal.spec

2008-02-17 Thread Ralf S. Engelschall
  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:   17-Feb-2008 10:31:03
  Branch: HEAD Handle: 2008021709310100

  Modified files:
openpkg-src/drupal  drupal.spec

  Log:
fix tracking

  Summary:
RevisionChanges Path
1.116   +2  -2  openpkg-src/drupal/drupal.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/drupal/drupal.spec
  
  $ cvs diff -u -r1.115 -r1.116 drupal.spec
  --- openpkg-src/drupal/drupal.spec16 Feb 2008 22:03:11 -  1.115
  +++ openpkg-src/drupal/drupal.spec17 Feb 2008 09:31:01 -  1.116
  @@ -98,7 +98,7 @@
   Group:CMS
   License:  GPL
   Version:  %{V_drupal}
  -Release:  20080216
  +Release:  20080217
   
   #   list of sources
   Source0:  http://ftp.drupal.org/files/projects/drupal-%{V_drupal}.tar.gz
  @@ -480,7 +480,7 @@
   prog drupal:aux_geshi = {
   version   = %{V_aux_geshi}
   url   = http://prdownloads.sourceforge.net/geshi/
  -regex = GeSHi-(__VER__)\.tar\.gz
  +regex = GeSHi-(\d+\.\d+(\.\d+)*)\.tar\.gz
   }
   
   %prep
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/glpk/ glpk.spec

2008-02-17 Thread Ralf S. Engelschall
  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:   17-Feb-2008 10:29:57
  Branch: HEAD Handle: 2008021709295700

  Modified files:
openpkg-src/glpkglpk.spec

  Log:
upgrading package: glpk 4.25 -> 4.26

  Summary:
RevisionChanges Path
1.37+2  -2  openpkg-src/glpk/glpk.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/glpk/glpk.spec
  
  $ cvs diff -u -r1.36 -r1.37 glpk.spec
  --- openpkg-src/glpk/glpk.spec1 Jan 2008 14:54:46 -   1.36
  +++ openpkg-src/glpk/glpk.spec17 Feb 2008 09:29:57 -  1.37
  @@ -31,8 +31,8 @@
   Class:PLUS
   Group:Algorithm
   License:  GPL
  -Version:  4.25
  -Release:  20080101
  +Version:  4.26
  +Release:  20080217
   
   #   list of sources
   Source0:  ftp://ftp.gnu.org/gnu/glpk/glpk-%{version}.tar.gz
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/postfix/ postfix.spec

2008-02-17 Thread Ralf S. Engelschall
  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:   17-Feb-2008 10:27:08
  Branch: HEAD Handle: 2008021709270800

  Modified files:
openpkg-src/postfix postfix.spec

  Log:
upgrading package: postfix 2.5.0 -> 2.5.1

  Summary:
RevisionChanges Path
1.271   +2  -2  openpkg-src/postfix/postfix.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/postfix/postfix.spec
  
  $ cvs diff -u -r1.270 -r1.271 postfix.spec
  --- openpkg-src/postfix/postfix.spec  28 Jan 2008 20:40:52 -  1.270
  +++ openpkg-src/postfix/postfix.spec  17 Feb 2008 09:27:08 -  1.271
  @@ -22,7 +22,7 @@
   ##
   
   #   package versions
  -%define   V_postfix  2.5.0
  +%define   V_postfix  2.5.1
   %define   V_pflogsumm1.1.1
   %define   V_whoson   2.4.0
   
  @@ -37,7 +37,7 @@
   Group:Mail
   License:  IPL
   Version:  %{V_postfix}
  -Release:  20080128
  +Release:  20080217
   
   #   package options
   %option   with_fsl   yes
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/yaml/ yaml.spec

2008-02-17 Thread Ralf S. Engelschall
  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:   17-Feb-2008 10:26:07
  Branch: HEAD Handle: 2008021709260600

  Modified files:
openpkg-src/yamlyaml.spec

  Log:
upgrade Syck stuff and add Java APIs

  Summary:
RevisionChanges Path
1.59+47 -4  openpkg-src/yaml/yaml.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/yaml/yaml.spec
  
  $ cvs diff -u -r1.58 -r1.59 yaml.spec
  --- openpkg-src/yaml/yaml.spec16 Feb 2008 19:06:58 -  1.58
  +++ openpkg-src/yaml/yaml.spec17 Feb 2008 09:26:06 -  1.59
  @@ -25,7 +25,7 @@
   %define   V_libsyck 20070218
   %define   V_libyaml 0.1.1
   %define   V_perl_yaml   0.66
  -%define   V_perl_yaml_syck  1.03
  +%define   V_perl_yaml_syck  1.04
   %define   V_perl_yaml_tiny  1.25
   %define   V_perl_yaml_appconfig 0.16
   %define   V_perl_yaml_libyaml   0.26
  @@ -33,6 +33,8 @@
   %define   V_perl_io_yaml0.07
   %define   V_yaml_javascript 0.03
   %define   V_yaml_spec   2004-12-28
  +%define   V_java_jvyaml 0.2.1
  +%define   V_java_jyaml  1.3
   
   #   package information
   Name: yaml
  @@ -45,12 +47,13 @@
   Group:Language
   License:  BSD/Artistic
   Version:  0
  -Release:  20080216
  +Release:  20080217
   
   #   package options
   %option   with_perl   no
   %option   with_phpno
   %option   with_ruby   no
  +%option   with_java   no
   
   #   list of sources
   Source0:  ftp://ftp.openpkg.org/sources/CPY/yaml/syck-%{V_libsyck}.tar.gz
  @@ -63,8 +66,10 @@
   Source7:  
http://www.cpan.org/modules/by-module/YAML/YAML-Active-%{V_perl_yaml_active}.tar.gz
   Source8:  
http://www.cpan.org/authors/id/N/NK/NKUITSE/IO-YAML-%{V_perl_io_yaml}.tar.gz
   Source9:  
http://osdn.dl.sourceforge.net/yaml-javascript/yaml-javascript-%{V_yaml_javascript}.tar.gz
  -Source10: http://yaml.org/spec/history/%{V_yaml_spec}/%{V_yaml_spec}.pdf
  -Source11: yaml.yml
  +Source10: 
https://jvyaml.dev.java.net/files/documents/5215/41455/jvyaml-src-%{V_java_jvyaml}.tar.gz
  +Source11: 
http://switch.dl.sourceforge.net/jyaml/jyaml-src-%{V_java_jyaml}.tgz
  +Source12: http://yaml.org/spec/history/%{V_yaml_spec}/%{V_yaml_spec}.pdf
  +Source13: yaml.yml
   Patch0:   yaml.patch
   
   #   build information
  @@ -84,6 +89,10 @@
   BuildPreReq:  ruby
   PreReq:   ruby
   %endif
  +%if "%{with_java}" == "yes"
  +BuildPreReq:  java, JAVA-JDK, ant
  +PreReq:   java, JAVA-JDK
  +%endif
   AutoReq:  no
   AutoReqProv:  no
   
  @@ -152,6 +161,16 @@
   url   = http://yaml.org/spec/
   regex = (\d{4}-\d{2}-\d{2})\.pdf
   }
  +prog yaml:java-jvyaml = {
  +version   = %{V_java_jvyaml}
  +url   = https://jvyaml.dev.java.net/servlets/ProjectDocumentList
  +regex = jvyaml-src-(__VER__)\.tar\.gz
  +}
  +prog yaml:java-jyaml = {
  +version   = %{V_java_jyaml}
  +url   = http://prdownloads.sourceforge.net/jyaml/
  +regex = jyaml-src-(__VER__)\.tgz
  +}
   
   %prep
   %setup -q -c
  @@ -164,6 +183,8 @@
   %setup -q -T -D -a 7
   %setup -q -T -D -a 8
   %setup -q -T -D -a 9
  +%setup -q -T -D -a 10
  +%setup -q -T -D -a 11
   %patch -p0
   
   %build
  @@ -220,6 +241,16 @@
   %{l_prefix}/bin/perl-openpkg -d IO-YAML-%{V_perl_io_yaml}   
configure build
   %endif
   
  +#   build Java API
  +%if "%{with_java}" == "yes"
  +( cd jvyaml-%{V_java_jvyaml}
  +  %{l_prefix}/bin/ant
  +) || exit $?
  +( cd jyaml
  +  %{l_prefix}/bin/ant
  +) || exit $?
  +%endif
  +
   %install
   rm -rf $RPM_BUILD_ROOT
   
  @@ -261,6 +292,18 @@
   >perl-openpkg-files
   %endif
   
  +#   install Java API
  +%if "%{with_java}" == "yes"
  +%{l_shtool} mkdir -f -p -m 755 \
  +$RPM_BUILD_ROOT%{l_prefix}/lib/yaml
  +%{l_shtool} install -c -m 644 \
  +jvyaml-%{V_java_jvyaml}/lib/jvyaml.jar \
  +$RPM_BUILD_ROOT%{l_prefix}/lib/yaml/
  +%{l_shtool} install -c -m 644 \
  +jyaml/dist/jyaml-*.jar \
  +$RPM_BUILD_ROOT%{l_prefix}/lib/yaml/jyaml.jar
  +%endif
  +
   #   install JavaScript API
   %{