[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / misc / packages / Linux / RPM

Diff for /OpenXM/misc/packages/Linux/RPM/Makefile between version 1.17 and 1.19

version 1.17, 2000/09/05 07:28:02 version 1.19, 2000/09/25 09:51:21
Line 1 
Line 1 
 # $OpenXM: OpenXM/misc/packages/Linux/RPM/Makefile,v 1.16 2000/09/02 02:45:02 takayama Exp $  # $OpenXM: OpenXM/misc/packages/Linux/RPM/Makefile,v 1.18 2000/09/05 08:45:06 takayama Exp $
   
 #Edit this.  VERSION number must be compatible between Generic/openxm/Makefile  #Edit this.  VERSION number must be compatible between Generic/openxm/Makefile
 # and *.spec.in  # and *.spec.in
 VERSION=1.1.3  VERSION=1.1.3
   
   ## configuration only for committers
   WHO=taka@orange
   FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION}
   
 # *If you do not like to use /usr/src/redhat area to put *rpm files,  # *If you do not like to use /usr/src/redhat area to put *rpm files,
 #  do as follows.  #  do as follows.
 # 0. If your rpm version is less than 3,  # 0. If your rpm version is less than 3,
Line 62  usage :
Line 66  usage :
         @echo "make-directory"          @echo "make-directory"
         @echo "link-for-real-openxm "          @echo "link-for-real-openxm "
         @echo "link-for-fake-openxm "          @echo "link-for-fake-openxm "
           @echo "copy-to-ftp-area "
           @echo "clean"
   
 build-binary-rpm: openxm-binary-spec  build-binary-rpm: openxm-binary-spec
         (cd work/SPECS ; rpm -bb openxm-binary.spec )          (cd work/SPECS ; rpm -bb openxm-binary.spec )
   
 build-shared-rpm: openxm-shared-spec  build-shared-rpm: openxm-shared-spec
 # For rpm 2.*          rm -f /tmp/tmp-rpm-version.t
 #       (cd work/SPECS ; rpm --buildarch noarch --buildos Linux -bb openxm-shared.spec )          rpm --version | awk '{print $$3}' >/tmp/tmp-rpm-version.t
 # For rpm 3.* or later          if test "2.5.5" = `cat /tmp/tmp-rpm-version.t` ; then \
         (cd work/SPECS ; rpm --target noarch-OpenXM-Linux -bb openxm-shared.spec )          echo "for rpm 2.x on FreeBSD 3.x" ; \
           (cd work/SPECS ; rpm --buildarch noarch --buildos Linux -bb openxm-shared.spec ) ; \
           else \
           echo "for  rpm 3.x" ; \
           (cd work/SPECS ; rpm --target noarch-OpenXM-Linux -bb openxm-shared.spec ) ; \
           fi
   
 build-source-rpm:  openxm-binary-spec openxm-shared-spec  build-source-rpm:  openxm-binary-spec openxm-shared-spec
         (cd work/SPECS ; rpm -ba openxm-binary.spec )          (cd work/SPECS ; rpm -ba openxm-binary.spec )
 # for rpm 2.*          rm -f /tmp/tmp-rpm-version.t
 #       (cd work/SPECS ; rpm --buildarch noarch --buildos Linux -ba openxm-shared.spec )          rpm --version | awk '{print $$3}' >/tmp/tmp-rpm-version.t
 # for rpm 3.* or later          if test "2.5.5" = `cat /tmp/tmp-rpm-version.t` ; then \
         (cd work/SPECS ; rpm --target noarch-OpenXM-Linux -ba openxm-shared.spec )          echo " for rpm 2.x on FreeBSD 3.x" ; \
           (cd work/SPECS ; rpm --buildarch noarch --buildos Linux -ba openxm-shared.spec ) ; \
           else \
           echo " for rpm 3.x " ; \
           (cd work/SPECS ; rpm --target noarch-OpenXM-Linux -ba openxm-shared.spec ) ; \
           fi
   
 ## This is obsolete  ## This is obsolete
 build-rpm: openxm-spec  build-rpm: openxm-spec
Line 132  link-for-real-openxm: make-directory clean
Line 148  link-for-real-openxm: make-directory clean
 link-for-fake-openxm: make-directory clean  link-for-fake-openxm: make-directory clean
         (cd work/SOURCES ; rm -rf openxm-$(VERSION).tar.gz ; ln -s $(HOME)/tmp/openxm-fake.tar.gz ./openxm-$(VERSION).tar.gz)          (cd work/SOURCES ; rm -rf openxm-$(VERSION).tar.gz ; ln -s $(HOME)/tmp/openxm-fake.tar.gz ./openxm-$(VERSION).tar.gz)
   
   copy-to-ftp-area:
           -scp work/RPMS/i386/openxm-*.rpm ${WHO}:${FTP_AREA}
           -scp work/RPMS/noarch/openxm-*.rpm ${WHO}:${FTP_AREA}
           -scp work/SRPMS/openxm-*.rpm ${WHO}:${FTP_AREA}
   
   
   

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.19

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>