(file) Return to tog-pegasus.spec CVS log (file) (dir) Up to [Pegasus] / pegasus / rpm

Diff for /pegasus/rpm/tog-pegasus.spec between version 1.20.2.9 and 1.22

version 1.20.2.9, 2005/02/18 23:45:10 version 1.22, 2005/02/07 05:41:04
Line 4 
Line 4 
 # Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. # Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
 # Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; # Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
 # IBM Corp.; EMC Corporation, The Open Group. # IBM Corp.; EMC Corporation, The Open Group.
 # Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;  
 # IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.  
 # Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;  
 # EMC Corporation; VERITAS Software Corporation; The Open Group.  
 # #
 # Permission is hereby granted, free of charge, to any person obtaining a copy # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the "Software"), to # of this software and associated documentation files (the "Software"), to
Line 32 
Line 28 
 # #
 # Package spec for PEGASUS 2.4 # Package spec for PEGASUS 2.4
 # #
 %define srcRelease 1  
 Summary: OpenPegasus WBEM Services for Linux Summary: OpenPegasus WBEM Services for Linux
 Name: tog-pegasus Name: tog-pegasus
 Version: 2.4.1.Beta  Version: 2.4RC1
 Release: 1 Release: 1
 Group: Systems Management/Base Group: Systems Management/Base
 Copyright: Open Group Pegasus Open Source Copyright: Open Group Pegasus Open Source
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
 Source: ftp://www.opengroup.org/pegasus/tog-pegasus-%{version}-%{srcRelease}.tar.gz  Source: ftp://www.opengroup.org/pegasus/tog-pegasus-%{version}-%{release}.tar.gz
 Requires: openssl >= 0.9.6 lsb >= 1.3 Requires: openssl >= 0.9.6 lsb >= 1.3
 Provides: cimserver tog-pegasus-2.4 Provides: cimserver tog-pegasus-2.4
 BuildRequires: openssl-devel >= 0.9.6 BuildRequires: openssl-devel >= 0.9.6
Line 56 
Line 51 
 Summary:      The OpenPegasus Software Development Kit Summary:      The OpenPegasus Software Development Kit
 Group:        Systems Management/Base Group:        Systems Management/Base
 Autoreq: 0 Autoreq: 0
 Requires: tog-pegasus >= 2.4  Requires: tog-pegasus >= 2.4, openssl-devel >= 0.9.6
  
 %description sdk %description sdk
 The OpenPegasus WBEM Services for Linux SDK is the developer's kit for the OpenPegasus WBEM The OpenPegasus WBEM Services for Linux SDK is the developer's kit for the OpenPegasus WBEM
Line 66 
Line 61 
 %prep %prep
 [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
  
 %setup -n %{name}-%{version}  %setup
   
 export PEGASUS_ROOT=$RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION export PEGASUS_ROOT=$RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION
  
 # Needed for CMPI patch # Needed for CMPI patch
 ln -s $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION $RPM_BUILD_DIR/$RPM_PACKAGE_NAME ln -s $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION $RPM_BUILD_DIR/$RPM_PACKAGE_NAME
  
 %build %build
 export PEGASUS_EXTRA_C_FLAGS="-g $RPM_OPT_FLAGS"  
 export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS"  
 export PEGASUS_ROOT=$RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION export PEGASUS_ROOT=$RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION
 export PEGASUS_HOME=$RPM_BUILD_ROOT/usr/pegasus export PEGASUS_HOME=$RPM_BUILD_ROOT/usr/pegasus
 %ifarch ia64 x86_64  %ifarch ia64
 %define PEGASUS_HARDWARE_PLATFORM LINUX_IA64_GNU %define PEGASUS_HARDWARE_PLATFORM LINUX_IA64_GNU
 %else %else
 %ifarch ppc  
 %define PEGASUS_HARDWARE_PLATFORM LINUX_PPC_GNU  
 %else  
 %ifarch ppc64 pseries  
 %define PEGASUS_HARDWARE_PLATFORM LINUX_PPC64_GNU  
 %else  
 %ifarch s390  
 %define PEGASUS_HARDWARE_PLATFORM LINUX_ZSERIES_GNU  
 export  PEGASUS_EXTRA_C_FLAGS="PEGASUS_EXTRA_C_FLAGS -fsigned-char"  
 %else  
 %ifarch s390x zseries  
 %define PEGASUS_HARDWARE_PLATFORM LINUX_ZSERIES64_GNU  
 export  PEGASUS_EXTRA_C_FLAGS="PEGASUS_EXTRA_C_FLAGS -fsigned-char"  
 %else  
 %define PEGASUS_HARDWARE_PLATFORM LINUX_IX86_GNU %define PEGASUS_HARDWARE_PLATFORM LINUX_IX86_GNU
 %endif %endif
 %endif  
 %endif  
 %endif  
 %endif  
 export PEGASUS_PLATFORM=%PEGASUS_HARDWARE_PLATFORM export PEGASUS_PLATFORM=%PEGASUS_HARDWARE_PLATFORM
  
 export OPENSSL_HOME=/usr export OPENSSL_HOME=/usr
Line 185 
Line 161 
  
 # #
 # Programs # Programs
 install -D -m 0744  $PEGASUS_HOME/bin/cimauth   $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimauth  install -D -m 0544  $PEGASUS_HOME/bin/cimauth   $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimauth
 install -D -m 0744  $PEGASUS_HOME/bin/cimserver $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimserver  install -D -m 0544  $PEGASUS_HOME/bin/cimserver $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimserver
 install -D -m 0744  $PEGASUS_HOME/bin/cimservera $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimservera  install -D -m 0544  $PEGASUS_HOME/bin/cimservera $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimservera
 install -D -m 0744  $PEGASUS_HOME/bin/cimuser   $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimuser  install -D -m 0544  $PEGASUS_HOME/bin/cimuser   $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimuser
 install -D -m 0744  $PEGASUS_HOME/bin/cimconfig $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimconfig  install -D -m 0544  $PEGASUS_HOME/bin/cimconfig $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimconfig
 install -D -m 0744  $PEGASUS_HOME/bin/cimprovagt $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimprovagt  install -D -m 0544  $PEGASUS_HOME/bin/cimprovagt $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimprovagt
 install -D -m 0755  $PEGASUS_HOME/bin/cimmof    $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/cimmof  install -D -m 0555  $PEGASUS_HOME/bin/cimmof    $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/cimmof
 install -D -m 0755  $PEGASUS_HOME/bin/cimmofl   $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/cimmofl  install -D -m 0555  $PEGASUS_HOME/bin/cimmofl   $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/cimmofl
 install -D -m 0755  $PEGASUS_HOME/bin/cimprovider $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/cimprovider  install -D -m 0555  $PEGASUS_HOME/bin/cimprovider $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/cimprovider
 install -D -m 0755  $PEGASUS_HOME/bin/osinfo    $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/osinfo  install -D -m 0555  $PEGASUS_HOME/bin/osinfo    $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/osinfo
 install -D -m 0755  $PEGASUS_HOME/bin/wbemexec  $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/wbemexec  install -D -m 0555  $PEGASUS_HOME/bin/wbemexec  $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/wbemexec
  
  
 # Libraries # Libraries
Line 400 
Line 376 
 echo "PEGASUS_BIN_DIR="%PEGASUS_BIN_DIR >> initrepository.in echo "PEGASUS_BIN_DIR="%PEGASUS_BIN_DIR >> initrepository.in
 echo "PEGASUS_CIM_SCHEMA=28" >> initrepository.in echo "PEGASUS_CIM_SCHEMA=28" >> initrepository.in
 cat initrepository.in $PEGASUS_ROOT/installs/scripts/init_repository > $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/init_repository cat initrepository.in $PEGASUS_ROOT/installs/scripts/init_repository > $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/init_repository
 chmod 0744 $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/init_repository  chmod 0544 $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/init_repository
  
 # #
 # script to add tog-pegasus paths to /etc/profile # script to add tog-pegasus paths to /etc/profile
 # #
 install -D -m 0744 %PEGASUS_INSTALL_SCRIPT_DIR/settogpath $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/settogpath  install -D -m 0544 %PEGASUS_INSTALL_SCRIPT_DIR/settogpath $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/settogpath
  
 # #
 # man pages # man pages
Line 539 
Line 515 
 install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/MethodProviderR.mof %SAMPLES_DEST_PATH/Providers/Load/MethodProviderR.mof install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/MethodProviderR.mof %SAMPLES_DEST_PATH/Providers/Load/MethodProviderR.mof
 install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/SampleProviderSchema.mof %SAMPLES_DEST_PATH/Providers/Load/SampleProviderSchema.mof install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/SampleProviderSchema.mof %SAMPLES_DEST_PATH/Providers/Load/SampleProviderSchema.mof
 install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/SimpleDisplayConsumerR.mof %SAMPLES_DEST_PATH/Providers/Load/SimpleDisplayConsumerR.mof install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/SimpleDisplayConsumerR.mof %SAMPLES_DEST_PATH/Providers/Load/SimpleDisplayConsumerR.mof
 cd $RPM_BUILD_ROOT  
 rm -Rf $PEGASUS_HOME rm -Rf $PEGASUS_HOME
  
 %clean %clean
Line 569 
Line 545 
 fi fi
  
 %post %post
 if [ $1 -eq 1 ]; then  
 mkdir -p %PEGASUS_LOG_DIR mkdir -p %PEGASUS_LOG_DIR
 %define INSTALL_LOG %PEGASUS_LOG_DIR/install.log %define INSTALL_LOG %PEGASUS_LOG_DIR/install.log
 echo `date` >%INSTALL_LOG 2>&1 echo `date` >%INSTALL_LOG 2>&1
Line 648 
Line 623 
 echo " Stop it:" echo " Stop it:"
 echo " /etc/init.d/tog-pegasus stop" echo " /etc/init.d/tog-pegasus stop"
 echo " To set up PATH and MANPATH in /etc/profile" echo " To set up PATH and MANPATH in /etc/profile"
 echo " run /opt/tog-pegasus/sbin/settogpath.";  echo " run /opt/tog-pegasus/sbin/settogpath."
 fi  
  
 %preun %preun
 if [ $1 -eq 0 ]; then  
 # Check if the cimserver is running # Check if the cimserver is running
 isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"` isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"`
 if [ "$isRunning" ]; then if [ "$isRunning" ]; then
         %PEGASUS_SBIN_DIR/cimserver -s         %PEGASUS_SBIN_DIR/cimserver -s
 fi fi
   
 # Delete the Link to the rc.* Startup Directories # Delete the Link to the rc.* Startup Directories
 /usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus;  /usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus
 fi  
  
 %postun %postun
 if [ $1 -eq 0 ]; then  if [ $1 = 0 ]; then
         rm -rf %PEGASUS_VARDATA_DIR         rm -rf %PEGASUS_VARDATA_DIR
         rm -rf %PEGASUS_PROD_DIR         rm -rf %PEGASUS_PROD_DIR
         rm -rf %PEGASUS_CONFIG_DIR         rm -rf %PEGASUS_CONFIG_DIR
Line 822 
Line 796 
 %config %attr(-,root,root) %PEGASUS_VARDATA_DIR/%PEGASUS_PLANNED_CONFIG_FILE %config %attr(-,root,root) %PEGASUS_VARDATA_DIR/%PEGASUS_PLANNED_CONFIG_FILE
 %config %attr(-,root,root) /etc/init.d/tog-pegasus %config %attr(-,root,root) /etc/init.d/tog-pegasus
 %config %attr(-,root,root) %PAM_CONF/wbem %config %attr(-,root,root) %PAM_CONF/wbem
 %attr(0544,root,root) %PEGASUS_SBIN_DIR/cimauth  %attr(-,root,root) %PEGASUS_SBIN_DIR/cimauth
 %attr(0544,root,root) %PEGASUS_SBIN_DIR/cimserver  %attr(-,root,root) %PEGASUS_SBIN_DIR/cimserver
 %attr(0544,root,root) %PEGASUS_SBIN_DIR/cimservera  %attr(-,root,root) %PEGASUS_SBIN_DIR/cimservera
 %attr(0544,root,root) %PEGASUS_SBIN_DIR/cimuser  %attr(-,root,root) %PEGASUS_SBIN_DIR/cimuser
 %attr(0544,root,root) %PEGASUS_SBIN_DIR/cimconfig  %attr(-,root,root) %PEGASUS_SBIN_DIR/cimconfig
 %attr(0544,root,root) %PEGASUS_SBIN_DIR/init_repository  %attr(-,root,root) %PEGASUS_SBIN_DIR/init_repository
 %attr(0544,root,root) %PEGASUS_SBIN_DIR/settogpath  %attr(-,root,root) %PEGASUS_SBIN_DIR/settogpath
 %attr(0544,root,root) %PEGASUS_SBIN_DIR/cimprovagt  %attr(-,root,root) %PEGASUS_SBIN_DIR/cimprovagt
 %attr(0555,root,root) %PEGASUS_BIN_DIR/cimmof  %attr(-,root,root) %PEGASUS_BIN_DIR/cimmof
 %attr(0555,root,root) %PEGASUS_BIN_DIR/cimmofl  %attr(-,root,root) %PEGASUS_BIN_DIR/cimmofl
 %attr(0555,root,root) %PEGASUS_BIN_DIR/cimprovider  %attr(-,root,root) %PEGASUS_BIN_DIR/cimprovider
 %attr(0555,root,root) %PEGASUS_BIN_DIR/osinfo  %attr(-,root,root) %PEGASUS_BIN_DIR/osinfo
 %attr(0555,root,root) %PEGASUS_BIN_DIR/wbemexec  %attr(-,root,root) %PEGASUS_BIN_DIR/wbemexec
 %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libCIMxmlIndicationHandler.so.1 %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libCIMxmlIndicationHandler.so.1
 %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libConfigSettingProvider.so.1 %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libConfigSettingProvider.so.1
 %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libNamespaceProvider.so.1 %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libNamespaceProvider.so.1


Legend:
Removed from v.1.20.2.9  
changed lines
  Added in v.1.22

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2