(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.40 and 1.47

version 1.40, 2005/04/01 00:58:51 version 1.47, 2005/04/14 20:19:45
Line 84 
Line 84 
 %ifarch ppc %ifarch ppc
 %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC_GNU %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC_GNU
 %else %else
 %ifarch ppc64  %ifarch ppc64 pseries
 %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC64_GNU %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC64_GNU
 %else %else
 %ifarch s390 %ifarch s390
Line 130 
Line 130 
  
 %build %build
  
   %ifarch s390 s390x zseries
   export PEGASUS_EXTRA_C_FLAGS="$PEGASUS_EXTRA_C_FLAGS -fsigned-char"
   %endif
   
 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-build.spec # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-build.spec
 export PEGASUS_ROOT=%PEGASUS_RPM_ROOT export PEGASUS_ROOT=%PEGASUS_RPM_ROOT
 export PEGASUS_HOME=%PEGASUS_RPM_HOME export PEGASUS_HOME=%PEGASUS_RPM_HOME
Line 273 
Line 277 
        chmod 444 %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE        chmod 444 %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE
    fi    fi
  
      /usr/lib/lsb/install_initd /etc/init.d/tog-pegasus
   
    echo " To start Pegasus manually:"    echo " To start Pegasus manually:"
    echo " /etc/init.d/tog-pegasus start"    echo " /etc/init.d/tog-pegasus start"
    echo " Stop it:"    echo " Stop it:"
Line 288 
Line 294 
    isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"`    isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"`
    if [ "$isRunning" ]; then    if [ "$isRunning" ]; then
       /opt/tog-pegasus/sbin/cimserver -s       /opt/tog-pegasus/sbin/cimserver -s
    fi  
    [ -f /var/opt/tog-pegasus/cimserver_current.conf ] &&  rm /var/opt/tog-pegasus/cimserver_current.conf;    [ -f /var/opt/tog-pegasus/cimserver_current.conf ] &&  rm /var/opt/tog-pegasus/cimserver_current.conf;
    [ -f %PEGASUS_INSTALL_LOG ] && rm %PEGASUS_INSTALL_LOG;    [ -f %PEGASUS_INSTALL_LOG ] && rm %PEGASUS_INSTALL_LOG;
      [ -d /var/opt/tog-pegasus/repository ] && rm -rf /var/opt/tog-pegasus/repository;
      rm -f /var/run/tog-pegasus/socket/cimxml.socket;
      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 fi
  
   %preun sdk
   make --directory /opt/tog-pegasus/samples -s clean
   
   %preun test
   make --directory /opt/tog-pegasus/test -s unsetupTEST
   [ -d /var/opt/tog-pegasus/testrepository ] &&  rm -rf /var/opt/tog-pegasus/testrepository;
   
 %postun %postun
 if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
    [ -f %PEGASUS_PEM_DIR/key-2048.pem ] && rm %PEGASUS_PEM_DIR/key-2048.pem;    [ -f %PEGASUS_PEM_DIR/key-2048.pem ] && rm %PEGASUS_PEM_DIR/key-2048.pem;
Line 326 
Line 341 
  
 %dir %attr(555,root,root) /opt/tog-pegasus/mof/Pegasus %dir %attr(555,root,root) /opt/tog-pegasus/mof/Pegasus
  
 /var/opt/tog-pegasus/repository  %attr(-,root,root) /var/opt/tog-pegasus/repository
  
 %doc %attr(444,root,root) /opt/tog-pegasus/license.txt %doc %attr(444,root,root) /opt/tog-pegasus/license.txt
 %doc %attr(444,root,root) /opt/tog-pegasus/share/man/man1/cimmof.1 %doc %attr(444,root,root) /opt/tog-pegasus/share/man/man1/cimmof.1
Line 578 
Line 593 
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/ResponseHandler.h %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/ResponseHandler.h
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/SSLContext.h %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/SSLContext.h
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/String.h %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/String.h
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/Platform_LINUX_IX86_GNU.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Consumer/CIMIndicationConsumer.h %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Consumer/CIMIndicationConsumer.h
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Consumer/Linkage.h %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Consumer/Linkage.h
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMAssociationProvider.h %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMAssociationProvider.h
Line 600 
Line 614 
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/LanguageElement.h %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/LanguageElement.h
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Client/ClientOpPerformanceDataHandler.h %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Client/ClientOpPerformanceDataHandler.h
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMOperationType.h %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMOperationType.h
   %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/Platform_%PEGASUS_HARDWARE_PLATFORM.h
  
 # SDK Sample Files # SDK Sample Files
 # #
Line 618 
Line 633 
 %dir %attr(777,root,root) /opt/tog-pegasus/samples/Providers/Load %dir %attr(777,root,root) /opt/tog-pegasus/samples/Providers/Load
 %dir %attr(777,root,root) /opt/tog-pegasus/samples/mak %dir %attr(777,root,root) /opt/tog-pegasus/samples/mak
 %attr(444,root,root) /opt/tog-pegasus/samples/Makefile %attr(444,root,root) /opt/tog-pegasus/samples/Makefile
 %attr(444,root,root) /opt/tog-pegasus/samples/mak/LINUX_IX86_GNU.mak  
 %attr(444,root,root) /opt/tog-pegasus/samples/mak/config.mak %attr(444,root,root) /opt/tog-pegasus/samples/mak/config.mak
 %attr(444,root,root) /opt/tog-pegasus/samples/mak/program.mak %attr(444,root,root) /opt/tog-pegasus/samples/mak/program.mak
 %attr(444,root,root) /opt/tog-pegasus/samples/mak/recurse.mak %attr(444,root,root) /opt/tog-pegasus/samples/mak/recurse.mak
Line 629 
Line 643 
 %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances/Makefile %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances/Makefile
 %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod/Makefile %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod/Makefile
 %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications/Makefile %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications/Makefile
   %attr(444,root ,root) /opt/tog-pegasus/samples/mak/%PEGASUS_HARDWARE_PLATFORM.mak
 %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances/EnumInstances.cpp %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances/EnumInstances.cpp
 %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod/InvokeMethod.cpp %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod/InvokeMethod.cpp
 %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications/SendTestIndications.cpp %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications/SendTestIndications.cpp
Line 663 
Line 678 
  
 # SDK Documentation # SDK Documentation
 # #
 %dir %attr(555,root,root) /opt/tog-pegasus/html  %attr(-,root ,root) /opt/tog-pegasus/html
 %dir %attr(555,root,root) /opt/tog-pegasus/html/DefaultC++  
 %attr(444,root,root) /opt/tog-pegasus/html/index.html  
 %attr(444,root,root) /opt/tog-pegasus/html/DefaultC++/*.html  
 %attr(444,root,root) /opt/tog-pegasus/html/DefaultC++/*.gif  
  
 %files test %files test
  
Line 715 
Line 726 
 %attr(555,root,root) /opt/tog-pegasus/test/bin/TestValue %attr(555,root,root) /opt/tog-pegasus/test/bin/TestValue
 %attr(555,root,root) /opt/tog-pegasus/test/bin/TracerTest %attr(555,root,root) /opt/tog-pegasus/test/bin/TracerTest
 %attr(555,root,root) /opt/tog-pegasus/test/bin/IPC %attr(555,root,root) /opt/tog-pegasus/test/bin/IPC
 %attr(555,root,root) /opt/tog-pegasus/test/bin/CompAssoc  
 %attr(555,root,root) /opt/tog-pegasus/test/bin/UserManagerTest  
 %attr(555,root,root) /opt/tog-pegasus/test/bin/TestClient %attr(555,root,root) /opt/tog-pegasus/test/bin/TestClient
 %attr(555,root,root) /opt/tog-pegasus/test/bin/OSTestClient %attr(555,root,root) /opt/tog-pegasus/test/bin/OSTestClient
 %attr(555,root,root) /opt/tog-pegasus/test/bin/InvokeMethod2 %attr(555,root,root) /opt/tog-pegasus/test/bin/InvokeMethod2
 %attr(444,root,root) /opt/tog-pegasus/test/Makefile %attr(444,root,root) /opt/tog-pegasus/test/Makefile
 /var/opt/tog-pegasus/testrepository  %attr(-,root,root) /var/opt/tog-pegasus/testrepository
  


Legend:
Removed from v.1.40  
changed lines
  Added in v.1.47

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2