phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgroupware/doc/rpm-build build-phpgw-rpms,1.1


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgroupware/doc/rpm-build build-phpgw-rpms,1.1.2.1,1.1.2.2
Date: Sun, 06 Jul 2003 06:02:49 -0400

Update of /cvsroot/phpgroupware/phpgroupware/doc/rpm-build
In directory subversions:/tmp/cvs-serv32104

Modified Files:
      Tag: Version-0_9_14-branch
        build-phpgw-rpms 
Log Message:
updated to create signed tgz and some other changes

Index: build-phpgw-rpms
===================================================================
RCS file: 
/cvsroot/phpgroupware/phpgroupware/doc/rpm-build/Attic/build-phpgw-rpms,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -r1.1.2.1 -r1.1.2.2
*** build-phpgw-rpms    5 Jul 2003 11:14:54 -0000       1.1.2.1
--- build-phpgw-rpms    6 Jul 2003 10:02:46 -0000       1.1.2.2
***************
*** 23,34 ****
  # Document
  #
! # Script changed 2002 December 29 Reiner Jung
   
  VERSION=`grep "%define version" phpgroupware-rh.spec | cut -f3 -d' '`
! ANONCVSDIR=/tmp/phpgroupware/phpgroupware
! RHBASE=/home/your_home_dir/redhat
  SRCDIR=$RHBASE/SOURCES
  SPECDIR=$RHBASE/SPECS
  LOGFILE=$SPECDIR/build-$VERSION.log
  
  echo "Start Build Process of - $VERSION"                     > $LOGFILE
--- 23,36 ----
  # Document
  #
! # Script changed 2003 Jul 06 Reiner Jung
   
  VERSION=`grep "%define version" phpgroupware-rh.spec | cut -f3 -d' '`
! HOMEBUILDDIR=`whoami`
! ANONCVSDIR=/build_root/phpgroupware_stable/phpgroupware
! RHBASE=/home/$HOMEBUILDDIR/redhat
  SRCDIR=$RHBASE/SOURCES
  SPECDIR=$RHBASE/SPECS
  LOGFILE=$SPECDIR/build-$VERSION.log
+ MD5SUM=$SRCDIR/md5sum-$VERSION.txt
  
  echo "Start Build Process of - $VERSION"                     > $LOGFILE
***************
*** 41,52 ****
  tar cjvf $SRCDIR/phpgroupware-$VERSION.tar.bz2 phpgroupware >> $LOGFILE 2>&1
  zip -r -9 $SRCDIR/phpgroupware-$VERSION.zip phpgroupware    >> $LOGFILE 2>&1
! echo "End Build Process of tar.gz, tar.bz, zip"                   >> $LoGFILE 
2>&1    
  echo "---------------------------------------"              >> $LOGFILE 2>&1
  cd $SPECDIR
! date                                                        >> $LOGFILE 2>&1
! rpmbuild -bb --sign phpgroupware-rh.spec                    >> $LOGFILE 2>&1
  echo "End Build Process of - $VERSION single packages"      >> $LOGFILE 2>&1
  echo "---------------------------------------"              >> $LOGFILE 2>&1
! rpmbuild -bb --sign phpgroupware-rh-allapp.spec             >> $LOGFILE 2>&1
  echo "End Build Process of - $VERSION all applications"     >> $LOGFILE 2>&1
  echo "---------------------------------------"              >> $LOGFILE 2>&1
--- 43,72 ----
  tar cjvf $SRCDIR/phpgroupware-$VERSION.tar.bz2 phpgroupware >> $LOGFILE 2>&1
  zip -r -9 $SRCDIR/phpgroupware-$VERSION.zip phpgroupware    >> $LOGFILE 2>&1
! echo "End Build Process of tar.gz, tar.bz, zip"                   >> $LOGFILE 
2>&1    
! echo "---------------------------------------"              >> $LOGFILE 2>&1
! echo "Create the md5sum file for tar.gz, tar.bz, zip"     >> $LOGFILE 2>&1    
! echo "md5sum from file phpgroupware-$VERSION.tar.gz is:"     > $MD5SUM  
! md5sum $SRCDIR/phpgroupware-$VERSION.tar.gz | cut -f1 -d' ' >> $MD5SUM  2>&1
! echo "---------------------------------------"              >> $MD5SUM  2>&1
! echo " "                                                  >> $MD5SUM  2>&1
! echo "md5sum from file phpgroupware-$VERSION.tar.bz2 is:"   >> $MD5SUM  2>&1
! md5sum $SRCDIR/phpgroupware-$VERSION.tar.bz2 | cut -f1 -d' '>> $MD5SUM  2>&1
! echo "---------------------------------------"              >> $MD5SUM  2>&1
! echo " "                                                  >> $MD5SUM  2>&1
! echo "md5sum from file phpgroupware-$VERSION.zip is:"       >> $MD5SUM  2>&1
! md5sum $SRCDIR/phpgroupware-$VERSION.zip | cut -f1 -d' '    >> $MD5SUM  2>&1
! echo "End Build md5sum of tar.gz, tar.bz, zip"              >> $LOGFILE 2>&1
! echo "---------------------------------------"              >> $LOGFILE 2>&1
! echo "Build signed source files"                          >> $LOGFILE 2>&1
! gpg -s $SRCDIR/phpgroupware-$VERSION.tar.gz               >> $LOGFILE 2>&1
! gpg -s $SRCDIR/phpgroupware-$VERSION.tar.bz2              >> $LOGFILE 2>&1 
! gpg -s $SRCDIR/phpgroupware-$VERSION.zip                  >> $LOGFILE 2>&1
! echo "End build of signed of tar.gz, tar.bz, zip"           >> $LOGFILE 2>&1
  echo "---------------------------------------"              >> $LOGFILE 2>&1
  cd $SPECDIR
! rpmbuild -ba --sign phpgroupware-rh.spec                    >> $LOGFILE 2>&1
  echo "End Build Process of - $VERSION single packages"      >> $LOGFILE 2>&1
  echo "---------------------------------------"              >> $LOGFILE 2>&1
! rpmbuild -ba --sign phpgroupware-rh-allapp.spec             >> $LOGFILE 2>&1
  echo "End Build Process of - $VERSION all applications"     >> $LOGFILE 2>&1
  echo "---------------------------------------"              >> $LOGFILE 2>&1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]