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

2009-10-03 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   03-Oct-2009 11:02:20
  Branch: HEAD Handle: 2009100310021900

  Modified files:
openpkg-src/spread  spread.spec

  Log:
modifying package: spread-4.1.0 20090811 -> 20091003

  Summary:
RevisionChanges Path
1.56+2  -2  openpkg-src/spread/spread.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/spread/spread.spec
  
  $ cvs diff -u -r1.55 -r1.56 spread.spec
  --- openpkg-src/spread/spread.spec11 Aug 2009 06:35:16 -  1.55
  +++ openpkg-src/spread/spread.spec3 Oct 2009 09:02:19 -   1.56
  @@ -23,7 +23,7 @@
   
   #   package version
   %define   V_spread  4.1.0
  -%define   V_spread_perl 3.17.4.3
  +%define   V_spread_perl 3.17.4.4
   %define   V_spread_perl_client_constant 0.02
   %define   V_spread_perl_client  0.03_02
   
  @@ -38,7 +38,7 @@
   Group:RPC
   License:  BSD-style
   Version:  %{V_spread}
  -Release:  20090811
  +Release:  20091003
   
   #   package options
   %option   with_perl   no
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-08-10 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   11-Aug-2009 08:35:16
  Branch: HEAD Handle: 2009081107351600

  Modified files:
openpkg-src/spread  spread.spec

  Log:
modifying package: spread-4.1.0 20090802 -> 20090811

  Summary:
RevisionChanges Path
1.55+2  -2  openpkg-src/spread/spread.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/spread/spread.spec
  
  $ cvs diff -u -r1.54 -r1.55 spread.spec
  --- openpkg-src/spread/spread.spec2 Aug 2009 19:12:12 -   1.54
  +++ openpkg-src/spread/spread.spec11 Aug 2009 06:35:16 -  1.55
  @@ -23,7 +23,7 @@
   
   #   package version
   %define   V_spread  4.1.0
  -%define   V_spread_perl 3.17.4.2
  +%define   V_spread_perl 3.17.4.3
   %define   V_spread_perl_client_constant 0.02
   %define   V_spread_perl_client  0.03_02
   
  @@ -38,7 +38,7 @@
   Group:RPC
   License:  BSD-style
   Version:  %{V_spread}
  -Release:  20090802
  +Release:  20090811
   
   #   package options
   %option   with_perl   no
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-08-02 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   02-Aug-2009 21:12:14
  Branch: HEAD Handle: 2009080220121200

  Modified files:
openpkg-src/spread  spread.spec

  Log:
modifying package: spread-4.1.0 20090619 -> 20090802

  Summary:
RevisionChanges Path
1.54+2  -2  openpkg-src/spread/spread.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/spread/spread.spec
  
  $ cvs diff -u -r1.53 -r1.54 spread.spec
  --- openpkg-src/spread/spread.spec19 Jun 2009 17:43:42 -  1.53
  +++ openpkg-src/spread/spread.spec2 Aug 2009 19:12:12 -   1.54
  @@ -23,7 +23,7 @@
   
   #   package version
   %define   V_spread  4.1.0
  -%define   V_spread_perl 3.17.4.1
  +%define   V_spread_perl 3.17.4.2
   %define   V_spread_perl_client_constant 0.02
   %define   V_spread_perl_client  0.03_02
   
  @@ -38,7 +38,7 @@
   Group:RPC
   License:  BSD-style
   Version:  %{V_spread}
  -Release:  20090619
  +Release:  20090802
   
   #   package options
   %option   with_perl   no
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2009-06-19 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   19-Jun-2009 19:43:42
  Branch: HEAD Handle: 2009061918434200

  Modified files:
openpkg-src/spread  spread.spec

  Log:
upgrading package: spread 4.0.0 -> 4.1.0

  Summary:
RevisionChanges Path
1.53+2  -2  openpkg-src/spread/spread.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/spread/spread.spec
  
  $ cvs diff -u -r1.52 -r1.53 spread.spec
  --- openpkg-src/spread/spread.spec18 Apr 2009 13:16:00 -  1.52
  +++ openpkg-src/spread/spread.spec19 Jun 2009 17:43:42 -  1.53
  @@ -22,7 +22,7 @@
   ##
   
   #   package version
  -%define   V_spread  4.0.0
  +%define   V_spread  4.1.0
   %define   V_spread_perl 3.17.4.1
   %define   V_spread_perl_client_constant 0.02
   %define   V_spread_perl_client  0.03_02
  @@ -38,7 +38,7 @@
   Group:RPC
   License:  BSD-style
   Version:  %{V_spread}
  -Release:  20080814
  +Release:  20090619
   
   #   package options
   %option   with_perl   no
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2008-08-14 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:   14-Aug-2008 22:40:28
  Branch: HEAD Handle: 2008081421402700

  Modified files:
openpkg-src/spread  spread.spec

  Log:
modifying package: spread-4.0.0 20080805 -> 20080814

  Summary:
RevisionChanges Path
1.51+2  -2  openpkg-src/spread/spread.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/spread/spread.spec
  
  $ cvs diff -u -r1.50 -r1.51 spread.spec
  --- openpkg-src/spread/spread.spec5 Aug 2008 19:06:54 -   1.50
  +++ openpkg-src/spread/spread.spec14 Aug 2008 20:40:27 -  1.51
  @@ -23,7 +23,7 @@
   
   #   package version
   %define   V_spread  4.0.0
  -%define   V_spread_perl 3.17.3_108
  +%define   V_spread_perl 3.17.4.1
   %define   V_spread_perl_client_constant 0.02
   %define   V_spread_perl_client  0.03_02
   
  @@ -38,7 +38,7 @@
   Group:RPC
   License:  BSD-style
   Version:  %{V_spread}
  -Release:  20080805
  +Release:  20080814
   
   #   package options
   %option   with_perl   no
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2008-08-05 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:   05-Aug-2008 21:06:54
  Branch: HEAD Handle: 2008080520065400

  Modified files:
openpkg-src/spread  spread.spec

  Log:
fix Spread Perl module building and add two additional modules

  Summary:
RevisionChanges Path
1.50+20 -5  openpkg-src/spread/spread.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/spread/spread.spec
  
  $ cvs diff -u -r1.49 -r1.50 spread.spec
  --- openpkg-src/spread/spread.spec1 Jan 2008 15:05:10 -   1.49
  +++ openpkg-src/spread/spread.spec5 Aug 2008 19:06:54 -   1.50
  @@ -22,8 +22,10 @@
   ##
   
   #   package version
  -%define   V_spread4.0.0
  -%define   V_spread_perl   3.17.3_108
  +%define   V_spread  4.0.0
  +%define   V_spread_perl 3.17.3_108
  +%define   V_spread_perl_client_constant 0.02
  +%define   V_spread_perl_client  0.03_02
   
   #   package information
   Name: spread
  @@ -36,7 +38,7 @@
   Group:RPC
   License:  BSD-style
   Version:  %{V_spread}
  -Release:  20080101
  +Release:  20080805
   
   #   package options
   %option   with_perl   no
  @@ -45,7 +47,9 @@
   #   list of sources
   Source0:  http://www.spread.org/download/::/spread-src-%{V_spread}.tar.gz
   Source1:  
http://www.cpan.org/authors/id/J/JE/JESUS/Spread-%{V_spread_perl}.tar.gz
  -Source2:  rc.spread
  +Source2:  
http://www.cpan.org/authors/id/M/MB/MBAILEY/Spread-Client-Constant-%{V_spread_perl_client_constant}.tar.gz
  +Source3:  
http://www.cpan.org/authors/id/M/MB/MBAILEY/Spread-Client-%{V_spread_perl_client}.tar.gz
  +Source4:  rc.spread
   
   #   build information
   Prefix:   %{l_prefix}
  @@ -86,6 +90,8 @@
   %setup -q -n spread-src-%{version}
   %if "%{with_perl}" == "yes"
   %setup -q -n spread-src-%{version} -D -T -a 1
  +%setup -q -n spread-src-%{version} -D -T -a 2
  +%setup -q -n spread-src-%{version} -D -T -a 3
   %endif
   
   #   adjust paths in toolkit
  @@ -101,8 +107,13 @@
   daemon/auth-ip.c
   %if "%{with_perl}" == "yes"
   %{l_shtool} subst \
  --e 's;\.\./spread-src-3.17.0/;../include;' \
  +-e 's;\(SPLIB_LIB.*\)\.\./spread-src-3.17.0/;\1../libspread;' \
  +-e 's;\(SPLIB_INCLUDE.*\)\.\./spread-src-3.17.0/;\1../include;' \
   Spread-%{V_spread_perl}/Makefile.PL
  +%{l_shtool} subst \
  +-e 's;\(LIBS.*\[.\)\(.\);\1-L../libspread -lspread\2;' \
  +-e 's;-I\.;-I../include;' \
  +Spread-Client-Constant-%{V_spread_perl_client_constant}/Makefile.PL
   %endif
   
   %build
  @@ -130,6 +141,8 @@
   #   build Perl extension
   %if "%{with_perl}" == "yes"
   %{l_prefix}/bin/perl-openpkg -d Spread-%{V_spread_perl} prepare 
configure build
  +%{l_prefix}/bin/perl-openpkg -d 
Spread-Client-Constant-%{V_spread_perl_client_constant} prepare configure build
  +%{l_prefix}/bin/perl-openpkg -d Spread-Client-%{V_spread_perl_client} 
prepare configure build
   %endif
   
   #   build Java extension
  @@ -145,6 +158,8 @@
   #   install Perl extension
   %if "%{with_perl}" == "yes"
   %{l_prefix}/bin/perl-openpkg -d Spread-%{V_spread_perl} install
  +%{l_prefix}/bin/perl-openpkg -d 
Spread-Client-Constant-%{V_spread_perl_client_constant} install
  +%{l_prefix}/bin/perl-openpkg -d Spread-Client-%{V_spread_perl_client} 
install
   %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
   %else
   >perl-openpkg-files
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2007-09-07 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:   07-Sep-2007 16:43:43
  Branch: HEAD Handle: 2007090715434200

  Modified files:
openpkg-src/spread  spread.spec

  Log:
cleanup and fix packaging; add optional Java API support

  Summary:
RevisionChanges Path
1.48+25 -7  openpkg-src/spread/spread.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/spread/spread.spec
  
  $ cvs diff -u -r1.47 -r1.48 spread.spec
  --- openpkg-src/spread/spread.spec1 Jan 2007 17:42:00 -   1.47
  +++ openpkg-src/spread/spread.spec7 Sep 2007 14:43:42 -   1.48
  @@ -37,10 +37,11 @@
   Group:RPC
   License:  BSD-style
   Version:  %{V_spread}
  -Release:  20061205
  +Release:  20070907
   
   #   package options
   %option   with_perl   no
  +%option   with_java   no
   
   #   list of sources
   Source0:  http://www.spread.org/download/::/spread-src-%{V_spread}.tar.gz
  @@ -56,6 +57,10 @@
   BuildPreReq:  perl, perl-openpkg >= 5.8.3-20040126
   PreReq:   perl, perl-openpkg >= 5.8.3-20040126
   %endif
  +%if "%{with_java}" == "yes"
  +BuildPreReq:  java, ant
  +PreReq:   java
  +%endif
   AutoReq:  no
   AutoReqProv:  no
   
  @@ -91,13 +96,10 @@
   -e "s;^[# \t]*\(RuntimeDir\).*;\1 = %{l_prefix}/var/spread;" \
   -e "s;^[# \t]*\(EventLogFile\).*;\1 = 
%{l_prefix}/var/spread/spread.log;" \
   -e "s;^[ \t]*localhost[ \t]*127.0.0.1;\t`%{l_shtool} echo -e %h%d`;" 
\
  -sample.spread.conf
  +docs/sample.spread.conf
   %{l_shtool} subst \
   -e "s;/etc\(/spread.access_ip\);%{l_prefix}/etc/spread\1;g" \
  -auth-ip.c
  -%{l_shtool} subst \
  --e "s;My\.name;\"spread.log\";g" \
  -log.c
  +daemon/auth-ip.c
   %if "%{with_perl}" == "yes"
   %{l_shtool} subst \
   -e 's;\.\./spread-src-3.17.0/;../include;' \
  @@ -131,6 +133,13 @@
   %{l_prefix}/bin/perl-openpkg -d Spread-%{V_spread_perl} prepare 
configure build
   %endif
   
  +#   build Java extension
  +%if "%{with_java}" == "yes"
  +( cd java
  +  ant
  +) || exit $?
  +%endif
  +
   %install
   rm -rf $RPM_BUILD_ROOT
   
  @@ -142,12 +151,21 @@
   >perl-openpkg-files
   %endif
   
  +#   build Java extension
  +%if "%{with_java}" == "yes"
  +%{l_shtool} mkdir -f -p -m 755 \
  +$RPM_BUILD_ROOT%{l_prefix}/lib/java
  +%{l_shtool} install -c -m 644 \
  +java/dest/spread-*.jar \
  +$RPM_BUILD_ROOT%{l_prefix}/lib/java/
  +%endif
  +
   #   install toolkit
   %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
   
   #   strip down installation
   rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/*.s[ol]* >/dev/null 2>&1 || true
  -rm -f $RPM_BUILD_ROOT%{l_prefix}/share/doc >/dev/null 2>&1 || true
  +rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/doc >/dev/null 2>&1 || true
   
   #   create additional run-time directory
   %{l_shtool} mkdir -f -p -m 755 \
  @@ .
__
OpenPKG http://openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2006-12-04 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:   05-Dec-2006 08:39:19
  Branch: HEAD Handle: 2006120507391900

  Modified files:
openpkg-src/spread  spread.spec

  Log:
upgrading package: spread 3.17.3 -> 4.0.0

  Summary:
RevisionChanges Path
1.46+11 -8  openpkg-src/spread/spread.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/spread/spread.spec
  
  $ cvs diff -u -r1.45 -r1.46 spread.spec
  --- openpkg-src/spread/spread.spec15 Nov 2006 19:48:32 -  1.45
  +++ openpkg-src/spread/spread.spec5 Dec 2006 07:39:19 -   1.46
  @@ -23,7 +23,7 @@
   ##
   
   #   package version
  -%define   V_spread3.17.3
  +%define   V_spread4.0.0
   %define   V_spread_perl   3.17.3_108
   
   #   package information
  @@ -37,7 +37,7 @@
   Group:RPC
   License:  BSD-style
   Version:  %{V_spread}
  -Release:  20061115
  +Release:  20061205
   
   #   package options
   %option   with_perl   no
  @@ -80,11 +80,8 @@
   
   %prep
   %setup -q -n spread-src-%{version}
  -
  -#   upgrade Perl extension
   %if "%{with_perl}" == "yes"
   %setup -q -n spread-src-%{version} -D -T -a 1
  -mv Spread-%{V_spread_perl}/* perl/Spread/
   %endif
   
   #   adjust paths in toolkit
  @@ -101,6 +98,11 @@
   %{l_shtool} subst \
   -e "s;My\.name;\"spread.log\";g" \
   log.c
  +%if "%{with_perl}" == "yes"
  +%{l_shtool} subst \
  +-e 's;\.\./spread-src-3.17.0/;../include;' \
  +Spread-%{V_spread_perl}/Makefile.PL
  +%endif
   
   %build
   #   configure toolkit
  @@ -126,7 +128,7 @@
   
   #   build Perl extension
   %if "%{with_perl}" == "yes"
  -%{l_prefix}/bin/perl-openpkg -d perl/Spread prepare configure build
  +%{l_prefix}/bin/perl-openpkg -d Spread-%{V_spread_perl} prepare 
configure build
   %endif
   
   %install
  @@ -134,7 +136,7 @@
   
   #   install Perl extension
   %if "%{with_perl}" == "yes"
  -%{l_prefix}/bin/perl-openpkg -d perl/Spread install
  +%{l_prefix}/bin/perl-openpkg -d Spread-%{V_spread_perl} install
   %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
   %else
   >perl-openpkg-files
  @@ -145,6 +147,7 @@
   
   #   strip down installation
   rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/*.s[ol]* >/dev/null 2>&1 || true
  +rm -f $RPM_BUILD_ROOT%{l_prefix}/share/doc >/dev/null 2>&1 || true
   
   #   create additional run-time directory
   %{l_shtool} mkdir -f -p -m 755 \
  @@ -152,7 +155,7 @@
   
   #   install the IP address ACL file
   %{l_shtool} install -c -m 644 \
  -sample.spread.access_ip \
  +docs/sample.spread.access_ip \
   $RPM_BUILD_ROOT%{l_prefix}/etc/spread/spread.access_ip
   
   #   install run command file
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2006-11-15 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:   15-Nov-2006 20:48:32
  Branch: HEAD Handle: 2006111519483200

  Modified files:
openpkg-src/spread  spread.spec

  Log:
upgrade contained Perl extension to latest one from CPAN and cleanup
packaging

  Summary:
RevisionChanges Path
1.45+45 -10 openpkg-src/spread/spread.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/spread/spread.spec
  
  $ cvs diff -u -r1.44 -r1.45 spread.spec
  --- openpkg-src/spread/spread.spec13 Oct 2006 17:34:22 -  1.44
  +++ openpkg-src/spread/spread.spec15 Nov 2006 19:48:32 -  1.45
  @@ -22,6 +22,10 @@
   ##  SUCH DAMAGE.
   ##
   
  +#   package version
  +%define   V_spread3.17.3
  +%define   V_spread_perl   3.17.3_108
  +
   #   package information
   Name: spread
   Summary:  Group Communication Toolkit
  @@ -32,15 +36,16 @@
   Class:PLUS
   Group:RPC
   License:  BSD-style
  -Version:  3.17.3
  -Release:  20061013
  +Version:  %{V_spread}
  +Release:  20061115
   
   #   package options
   %option   with_perl   no
   
   #   list of sources
  -Source0:  http://www.spread.org/download/::/spread-src-%{version}.tar.gz
  -Source1:  rc.spread
  +Source0:  http://www.spread.org/download/::/spread-src-%{V_spread}.tar.gz
  +Source1:  
http://www.cpan.org/authors/id/J/JE/JESUS/Spread-%{V_spread_perl}.tar.gz
  +Source2:  rc.spread
   
   #   build information
   Prefix:   %{l_prefix}
  @@ -63,13 +68,26 @@
   
   %track
   prog spread = {
  -version   = %{version}
  +version   = %{V_spread}
   url   = http://www.spread.org/download.html
   regex = spread-src-(\d+(.\d+)+)\.tar\.gz
   }
  +prog spread:perl = {
  +version   = %{V_spread_perl}
  +url   = http://www.cpan.org/authors/id/J/JE/JESUS/
  +regex = Spread-(__VER__)\.tar\.gz
  +}
   
   %prep
   %setup -q -n spread-src-%{version}
  +
  +#   upgrade Perl extension
  +%if "%{with_perl}" == "yes"
  +%setup -q -n spread-src-%{version} -D -T -a 1
  +mv Spread-%{V_spread_perl}/* perl/Spread/
  +%endif
  +
  +#   adjust paths in toolkit
   %{l_shtool} subst \
   -e "s;^[# \t]*\(DaemonUser\).*;\1 = %{l_rusr};" \
   -e "s;^[# \t]*\(DaemonGroup\).*;\1 = %{l_mgrp};" \
  @@ -85,7 +103,10 @@
   log.c
   
   %build
  -%{l_shtool} subst -e "s;if test ! -d \$piddir;if false;" configure
  +#   configure toolkit
  +%{l_shtool} subst \
  +-e "s;if test ! -d \$piddir;if false;" \
  +configure
   %{l_shtool} subst \
   -e "s;/usr/bin/perl;%{l_prefix}/bin/perl;g" \
   buildtools/fixpaths \
  @@ -99,34 +120,48 @@
   --with-pid-dir=%{l_prefix}/var/spread \
   --with-mantype=man \
   --disable-shared
  +
  +#   build toolkit
   %{l_make} %{l_mflags -O}
  +
  +#   build Perl extension
   %if "%{with_perl}" == "yes"
   %{l_prefix}/bin/perl-openpkg -d perl/Spread prepare configure build
   %endif
   
   %install
   rm -rf $RPM_BUILD_ROOT
  +
  +#   install Perl extension
   %if "%{with_perl}" == "yes"
   %{l_prefix}/bin/perl-openpkg -d perl/Spread install
   %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
   %else
   >perl-openpkg-files
   %endif
  -%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/var/spread
  +
  +#   install toolkit
   %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
  +
  +#   strip down installation
   rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/*.s[ol]* >/dev/null 2>&1 || true
   
  -#   install the IP address acl
  +#   create additional run-time directory
  +%{l_shtool} mkdir -f -p -m 755 \
  +$RPM_BUILD_ROOT%{l_prefix}/var/spread
  +
  +#   install the IP address ACL file
   %{l_shtool} install -c -m 644 \
   sample.spread.access_ip \
   $RPM_BUILD_ROOT%{l_prefix}/etc/spread/spread.access_ip
   
  -#   install the run command file
  +#   install run command file
   %{l_shtool} mkdir -f -p -m 755 \
   $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d
   %{l_shtool} install -c -m 755 %{l_value -s -a} \
   %{SOURCE rc.spread} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
   
  +#   determine installation files
   %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
   %{l_files_std} `cat perl-openpkg-files` \
   "%config %{l_prefix

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

2006-06-27 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:   27-Jun-2006 09:19:48
  Branch: HEAD Handle: 2006062708194800

  Modified files:
openpkg-src/spread  spread.spec

  Log:
update URLs and add missing tracking

  Summary:
RevisionChanges Path
1.41+9  -2  openpkg-src/spread/spread.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/spread/spread.spec
  
  $ cvs diff -u -r1.40 -r1.41 spread.spec
  --- openpkg-src/spread/spread.spec1 Jan 2006 13:22:38 -   1.40
  +++ openpkg-src/spread/spread.spec27 Jun 2006 07:19:48 -  1.41
  @@ -33,13 +33,13 @@
   Group:Network
   License:  BSD-style
   Version:  3.17.3
  -Release:  20041019
  +Release:  20060627
   
   #   package options
   %option   with_perl   no
   
   #   list of sources
  -Source0:  
http://www.cnds.jhu.edu/download/download_spread.cgi::/spread-src-%{version}.tar.gz
  +Source0:  http://www.spread.org/download/::/spread-src-%{version}.tar.gz
   Source1:  rc.spread
   
   #   build information
  @@ -61,6 +61,13 @@
   groupware, distributed servers, client-server applications, chat and
   news services, and many other networked enabled tools.
   
  +%track
  +prog spread = {
  +version   = %{version}
  +url   = http://www.spread.org/download.html
  +regex = spread-src-(\d+(.\d+)+)\.tar\.gz
  +}
  +
   %prep
   %setup -q -n spread-src-%{version}
   %{l_shtool} subst \
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


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

2004-10-19 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   19-Oct-2004 20:08:58
  Branch: HEAD Handle: 2004101919085800

  Modified files:
openpkg-src/spread  spread.spec

  Log:
upgrading package: spread 3.17.2 -> 3.17.3

  Summary:
RevisionChanges Path
1.37+3  -3  openpkg-src/spread/spread.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/spread/spread.spec
  
  $ cvs diff -u -r1.36 -r1.37 spread.spec
  --- openpkg-src/spread/spread.spec8 Oct 2004 14:29:48 -   1.36
  +++ openpkg-src/spread/spread.spec19 Oct 2004 18:08:58 -  1.37
  @@ -33,8 +33,8 @@
   Class:PLUS
   Group:Network
   License:  BSD-style
  -Version:  3.17.2
  -Release:  20041008
  +Version:  3.17.3
  +Release:  20041019
   
   #   package options
   %option   with_perl   no
  @@ -63,7 +63,7 @@
   news services, and many other networked enabled tools.
   
   %prep
  -%setup -q -n spread_src-%{version}
  +%setup -q -n spread-src-%{version}
   %{l_shtool} subst \
   -e "s;^[# \t]*\(DaemonUser\).*;\1 = %{l_rusr};" \
   -e "s;^[# \t]*\(DaemonGroup\).*;\1 = %{l_mgrp};" \
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


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

2004-10-08 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   08-Oct-2004 16:29:48
  Branch: HEAD Handle: 2004100815294800

  Modified files:
openpkg-src/spread  spread.spec

  Log:
ok, larger hammer

  Summary:
RevisionChanges Path
1.36+4  -3  openpkg-src/spread/spread.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/spread/spread.spec
  
  $ cvs diff -u -r1.35 -r1.36 spread.spec
  --- openpkg-src/spread/spread.spec8 Oct 2004 10:47:52 -   1.35
  +++ openpkg-src/spread/spread.spec8 Oct 2004 14:29:48 -   1.36
  @@ -46,7 +46,7 @@
   #   build information
   Prefix:   %{l_prefix}
   BuildRoot:%{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 20040130, gcc, flex, bison, sed, perl
  +BuildPreReq:  OpenPKG, openpkg >= 20040130, gcc, flex, bison, sed, perl, groff
   PreReq:   OpenPKG, openpkg >= 20040130
   %if "%{with_perl}" == "yes"
   BuildPreReq:  perl, perl-openpkg >= 5.8.3-20040126
  @@ -123,8 +123,7 @@
   
   %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
   %{l_files_std} `cat perl-openpkg-files` \
  -"%config %{l_prefix}/etc/spread/*" \
  -"%attr(0644,%{l_rusr},%{l_mgrp}) %{l_prefix}/var/spread/spread.log"
  +"%config %{l_prefix}/etc/spread/*"
   
   %files -f files
   
  @@ -142,6 +141,8 @@
   if [ $1 -eq 1 ]; then
   #   install bogus log file, to avoid first time run failure
   cp /dev/null $RPM_INSTALL_PREFIX/var/spread/spread.log
  +chmod 0644 $RPM_INSTALL_PREFIX/var/spread/spread.log
  +chown %{l_rusr}:%{l_mgrp} $RPM_INSTALL_PREFIX/var/spread/spread.log
   fi
   if [ $1 -eq 2 ]; then
   #   after upgrade, restore status
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


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

2004-10-08 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   08-Oct-2004 12:47:52
  Branch: HEAD Handle: 2004100811475200

  Modified files:
openpkg-src/spread  spread.spec

  Log:
install logfile in %post and replace unportable 'touch -f' construct

  Summary:
RevisionChanges Path
1.35+5  -4  openpkg-src/spread/spread.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/spread/spread.spec
  
  $ cvs diff -u -r1.34 -r1.35 spread.spec
  --- openpkg-src/spread/spread.spec20 Sep 2004 14:33:36 -  1.34
  +++ openpkg-src/spread/spread.spec8 Oct 2004 10:47:52 -   1.35
  @@ -34,7 +34,7 @@
   Group:Network
   License:  BSD-style
   Version:  3.17.2
  -Release:  20040920
  +Release:  20041008
   
   #   package options
   %option   with_perl   no
  @@ -121,9 +121,6 @@
   %{l_shtool} install -c -m 755 %{l_value -s -a} \
   %{SOURCE rc.spread} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
   
  -#   install bogus log file, to avoid first time run failure
  -touch -f $RPM_BUILD_ROOT%{l_prefix}/var/spread/spread.log
  -
   %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
   %{l_files_std} `cat perl-openpkg-files` \
   "%config %{l_prefix}/etc/spread/*" \
  @@ -142,6 +139,10 @@
   exit 0
   
   %post
  +if [ $1 -eq 1 ]; then
  +#   install bogus log file, to avoid first time run failure
  +cp /dev/null $RPM_INSTALL_PREFIX/var/spread/spread.log
  +fi
   if [ $1 -eq 2 ]; then
   #   after upgrade, restore status
   eval `cat %{l_tmpfile}`; rm -f %{l_tmpfile}
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


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

2004-05-08 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   08-May-2004 23:49:58
  Branch: HEAD Handle: 2004050822495800

  Modified files:
openpkg-src/spread  spread.spec

  Log:
upgrading package: spread 3.17.1 -> 3.17.2

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

  patch -p0 <<'@@ .'
  Index: openpkg-src/spread/spread.spec
  
  $ cvs diff -u -r1.30 -r1.31 spread.spec
  --- openpkg-src/spread/spread.spec8 May 2004 21:45:25 -   1.30
  +++ openpkg-src/spread/spread.spec8 May 2004 21:49:58 -   1.31
  @@ -33,7 +33,7 @@
   Class:PLUS
   Group:Network
   License:  BSD-style
  -Version:  3.17.1
  +Version:  3.17.2
   Release:  20040508
   
   #   package options
  @@ -63,7 +63,7 @@
   news services, and many other networked enabled tools.
   
   %prep
  -%setup -q -n spread-src-%{version}
  +%setup -q -n spread_src-%{version}
   %{l_shtool} subst \
   -e "s;^[# \t]*\(DaemonUser\).*;\1 = %{l_rusr};" \
   -e "s;^[# \t]*\(DaemonGroup\).*;\1 = %{l_mgrp};" \
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


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

2004-05-08 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   08-May-2004 23:45:25
  Branch: HEAD Handle: 2004050822452500

  Modified files:
openpkg-src/spread  spread.spec

  Log:
build in %build instead of in %install

  Summary:
RevisionChanges Path
1.30+5  -2  openpkg-src/spread/spread.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/spread/spread.spec
  
  $ cvs diff -u -r1.29 -r1.30 spread.spec
  --- openpkg-src/spread/spread.spec21 Feb 2004 15:33:27 -  1.29
  +++ openpkg-src/spread/spread.spec8 May 2004 21:45:25 -   1.30
  @@ -34,7 +34,7 @@
   Group:Network
   License:  BSD-style
   Version:  3.17.1
  -Release:  20040221
  +Release:  20040508
   
   #   package options
   %option   with_perl   no
  @@ -94,11 +94,14 @@
   --with-mantype=man \
   --disable-shared
   %{l_make} %{l_mflags -O}
  +%if "%{with_perl}" == "yes"
  +%{l_prefix}/bin/perl-openpkg -d perl/Spread prepare configure build
  +%endif
   
   %install
   rm -rf $RPM_BUILD_ROOT
   %if "%{with_perl}" == "yes"
  -%{l_prefix}/bin/perl-openpkg -d perl/Spread prepare configure build install
  +%{l_prefix}/bin/perl-openpkg -d perl/Spread install
   %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
   %else
   >perl-openpkg-files
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]