(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.37 and 1.99

version 1.37, 2005/03/26 05:26:02 version 1.99, 2007/09/06 01:28:08
Line 1 
Line 1 
 #%2005////////////////////////////////////////////////////////////////////////  #//%2006////////////////////////////////////////////////////////////////////////
 #  #//
 # Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development  #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 # 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.;  #// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
 # IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.  #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
 # Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;  #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 # EMC Corporation; VERITAS Software Corporation; The Open Group.  #// EMC Corporation; VERITAS Software Corporation; The Open Group.
 #  #// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 # Permission is hereby granted, free of charge, to any person obtaining a copy  #// EMC Corporation; Symantec Corporation; The Open Group.
 # of this software and associated documentation files (the "Software"), to  #//
 # deal in the Software without restriction, including without limitation the  #// Permission is hereby granted, free of charge, to any person obtaining a copy
 # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or  #// of this software and associated documentation files (the "Software"), to
 # sell copies of the Software, and to permit persons to whom the Software is  #// deal in the Software without restriction, including without limitation the
 # furnished to do so, subject to the following conditions:  #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 #  #// sell copies of the Software, and to permit persons to whom the Software is
 # THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN  #// furnished to do so, subject to the following conditions:
 # ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED  #//
 # "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT  #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 # LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR  #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 # PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT  #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 # HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN  #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION  #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 #  #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 #==============================================================================  #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
   #//
   #//==============================================================================
 #%///////////////////////////////////////////////////////////////////////////// #%/////////////////////////////////////////////////////////////////////////////
 # #
 # tog-pegasus.spec # tog-pegasus.spec
Line 35 
Line 37 
 # #
 # WARNING: This file is automatically generated by executing # WARNING: This file is automatically generated by executing
 #   make -f pegasus/Makefile.Release create_OpenPegasusRPMSpecFile #   make -f pegasus/Makefile.Release create_OpenPegasusRPMSpecFile
 # Any changes made directly to this file will be lost the next  # Any changes made directly to this file in the OpenPegasus source will
 # time this file is generated.  # be lost the next time this file is regenerated and submitted to CVS.
 # #
  
 %define srcRelease 1  Version: 2.7.0
 Version: 2.5Alpha1  Release: 1%{?LINUX_VERSION:.%{LINUX_VERSION}}
 Release: 1  Epoch:   1
  
 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-intro.spec # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-intro.spec
   #
   %{?!PEGASUS_BUILD_TEST_RPM:   %define PEGASUS_BUILD_TEST_RPM        0}
   # do "rpmbuild --define 'PEGASUS_BUILD_TEST_RPM 1'" to build test RPM.
   #
   %{?!AUTOSTART:   %define AUTOSTART        0}
   # Use "rpm -[iU]vh --define 'AUTOSTART 1'" in order to have cimserver enabled
   # (chkconfig --level=345 tog-pegasus on) after installation.
   #
   
   %define srcRelease 1
 Summary: OpenPegasus WBEM Services for Linux Summary: OpenPegasus WBEM Services for Linux
 Name: tog-pegasus Name: tog-pegasus
 Group: Systems Management/Base Group: Systems Management/Base
 Copyright: Open Group Pegasus Open Source  License:   Open Group Pegasus Open Source
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 Source: ftp://www.opengroup.org/pegasus/tog-pegasus-%{version}-%{srcRelease}.tar.gz  URL:       http://www.openpegasus.org
 Requires: openssl >= 0.9.6 lsb >= 1.3  
   Source:    %{name}-%{version}-%{srcRelease}.tar.gz
   #
   # End of section pegasus/rpm/tog-specfiles/tog-pegasus-intro.spec
   
   # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-buildRequires.spec
   #
   BuildRequires:      bash, sed, grep, coreutils, procps, gcc, gcc-c++
   BuildRequires:      libstdc++, make, pam-devel
   BuildRequires:      openssl-devel >= 0.9.6, e2fsprogs
   BuildRequires:      net-snmp-devel
   #
   # End of section  pegasus/rpm/tog-specfiles/tog-pegasus-buildRequires.spec
   
   # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-requires.spec
   #
   Requires:           bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam
   #Requires:          krb5-libs, redhat-lsb, chkconfig, SysVinit, bind-libs
   Requires:           e2fsprogs, bind-utils, net-tools
   Requires(post):     bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam
   #Requires(post):    krb5-libs, redhat-lsb, chkconfig, SysVinit, bind-libs
   Requires(post):     e2fsprogs, bind-utils, net-tools
   Requires(pre):      bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam
   #Requires(pre):     krb5-libs, redhat-lsb, chkconfig, SysVinit, bind-libs
   Requires(pre):      e2fsprogs, bind-utils, net-tools
   Requires(postun):   bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam
   #Requires(postun):  krb5-libs, redhat-lsb, chkconfig, SysVinit, bind-libs
   Requires(postun):   e2fsprogs, bind-utils, net-tools
   Requires:           net-snmp
   #
   # End of section  pegasus/rpm/tog-specfiles/tog-pegasus-requires.spec
   
   # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-desc.spec
   #
   Conflicts: openwbem
 Provides: tog-pegasus-cimserver Provides: tog-pegasus-cimserver
 BuildRequires: openssl-devel >= 0.9.6  BuildConflicts: tog-pegasus
  
 %description %description
 OpenPegasus WBEM Services for Linux enables management solutions that deliver OpenPegasus WBEM Services for Linux enables management solutions that deliver
Line 60 
Line 106 
 independent DMTF standard that defines a common information model and independent DMTF standard that defines a common information model and
 communication protocol for monitoring and controlling resources from diverse communication protocol for monitoring and controlling resources from diverse
 sources. sources.
 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-intro.spec  #
   # End of section pegasus/rpm/tog-specfiles/tog-pegasus-desc.spec
 %global OPENSSL_HOME /usr/include/openssl  
 %global OPENSSL_BIN /usr/bin  
 %global PEGASUS_PEM_DIR /etc/opt/tog-pegasus  
 %global PEGASUS_SSL_CERT_FILE server.pem  
 %global PEGASUS_SSL_KEY_FILE file.pem  
 %global PEGASUS_SSL_TRUSTSTORE client.pem  
 %global PAM_CONFIG_DIR /etc/pam.d  
 %global PEGASUS_CONFIG_DIR /etc/opt/tog-pegasus  
 %global PEGASUS_REPOSITORY_DIR /var/opt/tog-pegasus/repository  
 %global PEGASUS_PREV_REPOSITORY_DIR /var/opt/tog-pegasus/prev_repository  
 %global PEGASUS_SBIN_DIR /opt/tog-pegasus/sbin  
   
 %global PEGASUS_RPM_ROOT $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION  
 %global PEGASUS_RPM_HOME $RPM_BUILD_ROOT/build/tog-pegasus  
 %global PEGASUS_INSTALL_LOG $PEGASUS_LOG_DIR/install.log  
  
 %ifarch ia64 x86_64  # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-arch.spec
   #
   %ifarch ia64
 %global PEGASUS_HARDWARE_PLATFORM LINUX_IA64_GNU %global PEGASUS_HARDWARE_PLATFORM LINUX_IA64_GNU
 %else %else
   %ifarch x86_64
   %global PEGASUS_HARDWARE_PLATFORM LINUX_X86_64_GNU
   %else
 %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 99 
Line 135 
 %endif %endif
 %endif %endif
 %endif %endif
   %endif
   #
   # End of section pegasus/rpm/tog-specfiles/tog-pegasus-arch.spec
   
   %global PEGASUS_ARCH_LIB %{_lib}
   %global OPENSSL_HOME /usr
   %global OPENSSL_BIN /usr/bin
   %global PEGASUS_PEM_DIR /etc/Pegasus
   %global PEGASUS_SSL_CERT_FILE server.pem
   %global PEGASUS_SSL_KEY_FILE file.pem
   %global PEGASUS_SSL_TRUSTSTORE client.pem
   %global PAM_CONFIG_DIR /etc/pam.d
   %global PEGASUS_CONFIG_DIR /etc/Pegasus
   %global PEGASUS_VARDATA_DIR /var/lib/Pegasus
   %global PEGASUS_VARDATA_CACHE_DIR /var/lib/Pegasus/cache
   %global PEGASUS_LOCAL_DOMAIN_SOCKET_PATH  /var/run/tog-pegasus/socket/cimxml.socket
   %global PEGASUS_CIMSERVER_START_FILE /var/run/tog-pegasus/cimserver.pid
   %global PEGASUS_TRACE_FILE_PATH /var/lib/Pegasus/cache/trace/cimserver.trc
   %global PEGASUS_CIMSERVER_START_LOCK_FILE /var/run/tog-pegasus/cimserver_start.lock
   %global PEGASUS_REPOSITORY_DIR /var/lib/Pegasus/repository
   %global PEGASUS_PREV_REPOSITORY_DIR_NAME prev_repository
   %global PEGASUS_REPOSITORY_PARENT_DIR /var/lib/Pegasus
   %global PEGASUS_PREV_REPOSITORY_DIR /var/lib/Pegasus/prev_repository
   %global PEGASUS_SBIN_DIR /usr/sbin
   %global PEGASUS_DOC_DIR /usr/share/doc/tog-pegasus-2.7
   
   %global PEGASUS_RPM_ROOT  $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION
   %global PEGASUS_RPM_HOME %PEGASUS_RPM_ROOT/build
   %global PEGASUS_INSTALL_LOG /var/lib/Pegasus/log/install.log
  
 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-packages.spec # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-packages.spec
 %package sdk  #
   %package devel
 Summary: The OpenPegasus Software Development Kit Summary: The OpenPegasus Software Development Kit
 Group: Systems Management/Base Group: Systems Management/Base
 Autoreq: 0  
 Requires: tog-pegasus >= %{version} Requires: tog-pegasus >= %{version}
   Obsoletes: tog-pegasus-sdk
  
 %description sdk  %description devel
 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
 Services for Linux release. It provides Linux C++ developers with the WBEM files required to  OpenPegasus WBEM Services for Linux release. It provides Linux C++ developers
 build WBEM Clients and Providers. It also supports C provider developers via the CMPI interface.  with the WBEM files required to build WBEM Clients and Providers. It also
   supports C provider developers via the CMPI interface.
  
   %if %{PEGASUS_BUILD_TEST_RPM}
 %package test %package test
 Summary: The OpenPegasus Tests Summary: The OpenPegasus Tests
 Group: Systems Management/Base Group: Systems Management/Base
 Autoreq: 0  
 Requires: tog-pegasus >= %{version} Requires: tog-pegasus >= %{version}
  
 %description test %description test
 The OpenPegasus WBEM tests for the OpenPegasus %{version} Linux rpm. The OpenPegasus WBEM tests for the OpenPegasus %{version} Linux rpm.
   %endif
   #
 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-packages.spec # End of section pegasus/rpm/tog-specfiles/tog-pegasus-packages.spec
  
 %prep %prep
 [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;  %setup -q -n %{name}-%{version}
   
 %setup -n %{name}-%{version}  
 export PEGASUS_ROOT=%PEGASUS_RPM_ROOT  
  
 %build %build
   
 # 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
 export PEGASUS_PLATFORM=%PEGASUS_HARDWARE_PLATFORM export PEGASUS_PLATFORM=%PEGASUS_HARDWARE_PLATFORM
   export PEGASUS_ARCH_LIB=%PEGASUS_ARCH_LIB
 export PEGASUS_ENVVAR_FILE=$PEGASUS_ROOT/env_var_Linux.status export PEGASUS_ENVVAR_FILE=$PEGASUS_ROOT/env_var_Linux.status
  
 export OPENSSL_HOME=%OPENSSL_HOME export OPENSSL_HOME=%OPENSSL_HOME
Line 141 
Line 208 
 export LD_LIBRARY_PATH=$PEGASUS_HOME/lib export LD_LIBRARY_PATH=$PEGASUS_HOME/lib
 export PATH=$PEGASUS_HOME/bin:$PATH export PATH=$PEGASUS_HOME/bin:$PATH
  
 export PEGASUS_EXTRA_C_FLAGS="-g $RPM_OPT_FLAGS"  export PEGASUS_EXTRA_C_FLAGS="$RPM_OPT_FLAGS -g -Wno-unused"
 export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS" export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS"
   export PEGASUS_EXTRA_LINK_FLAGS="$RPM_OPT_FLAGS"
   #export PEGASUS_EXTRA_LINK_FLAGS="$RPM_OPT_FLAGS -g -pie -Wl,-z,relro,-z,now,-z,nodlopen,-z,noexecstack"
   
   %if %{PEGASUS_BUILD_TEST_RPM}
   export PEGASUS_DISPLAYCONSUMER_DIR=%PEGASUS_VARDATA_DIR/log
   %endif
  
 make -f $PEGASUS_ROOT/Makefile.Release create_ProductVersionFile make -f $PEGASUS_ROOT/Makefile.Release create_ProductVersionFile
 make -f $PEGASUS_ROOT/Makefile.Release all  make -f $PEGASUS_ROOT/Makefile.Release create_CommonProductDirectoriesInclude
   make -f $PEGASUS_ROOT/Makefile.Release create_ConfigProductDirectoriesInclude
   make %{?_smp_mflags} -f $PEGASUS_ROOT/Makefile.Release all
   chmod 777 %PEGASUS_RPM_HOME
 make -f $PEGASUS_ROOT/Makefile.Release repository make -f $PEGASUS_ROOT/Makefile.Release repository
   #
 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-build.spec # End of section pegasus/rpm/tog-specfiles/tog-pegasus-build.spec
  
 %install %install
   
 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-install.spec # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-install.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
 export PEGASUS_PLATFORM=%PEGASUS_HARDWARE_PLATFORM export PEGASUS_PLATFORM=%PEGASUS_HARDWARE_PLATFORM
   export PEGASUS_ARCH_LIB=%PEGASUS_ARCH_LIB
 export PEGASUS_ENVVAR_FILE=$PEGASUS_ROOT/env_var_Linux.status export PEGASUS_ENVVAR_FILE=$PEGASUS_ROOT/env_var_Linux.status
  
 export OPENSSL_BIN=%OPENSSL_BIN export OPENSSL_BIN=%OPENSSL_BIN
Line 163 
Line 241 
  
 export PEGASUS_STAGING_DIR=$RPM_BUILD_ROOT export PEGASUS_STAGING_DIR=$RPM_BUILD_ROOT
  
 make -f $PEGASUS_ROOT/Makefile.Release stage PEGASUS_STAGING_DIR=$PEGASUS_STAGING_DIR  %if %{PEGASUS_BUILD_TEST_RPM}
 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-install.spec  make -f $PEGASUS_ROOT/Makefile.Release stage \
 [ "$PEGASUS_STAGING_DIR" != "/" ] && [ -d $PEGASUS_STAGING_DIR ] &&  [ -d $PEGASUS_STAGING_DIR%PEGASUS_PEM_DIR ] &&  rm -f $PEGASUS_STAGING_DIR/%PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE  $PEGASUS_STAGING_DIR/%PEGASUS_PEM_DIR/%PEGASUS_SSL_CERT_FILE  $PEGASUS_STAGING_DIR/%PEGASUS_PEM_DIR/%PEGASUS_SSL_KEY_FILE  $PEGASUS_STAGING_DIR/%PEGASUS_CONFIG_DIR/ssl.cnf;      PEGASUS_STAGING_DIR=$PEGASUS_STAGING_DIR \
       PEGASUS_BUILD_TEST_RPM=%{PEGASUS_BUILD_TEST_RPM}
   %else
   make -f $PEGASUS_ROOT/Makefile.Release stage \
       PEGASUS_STAGING_DIR=$PEGASUS_STAGING_DIR
   %endif
   
 [ "$PEGASUS_HOME" != "/" ] && [ -d $PEGASUS_HOME ] && rm -rf $PEGASUS_HOME; [ "$PEGASUS_HOME" != "/" ] && [ -d $PEGASUS_HOME ] && rm -rf $PEGASUS_HOME;
   #
   # End of section pegasus/rpm/tog-specfiles/tog-pegasus-install.spec
  
 %clean %clean
   
 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-clean.spec # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-clean.spec
 [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;  #
   [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT;
   [ "${RPM_BUILD_DIR}" != "/" ] && rm -rf ${RPM_BUILD_DIR}/%{name}-%{version};
   #
 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-clean.spec # End of section pegasus/rpm/tog-specfiles/tog-pegasus-clean.spec
  
 %pre %pre
   
 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-pre.spec # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-pre.spec
 if [ -d %PEGASUS_REPOSITORY_DIR"/root#PG_Internal" ]  #           install   remove   upgrade  reinstall
 then  # pre          1        -         2         2
   #
   # If it exists, the active OpenPegasus Repository
   #    directory, %PEGASUS_REPOSITORY_DIR is renamed
   #    to %PEGASUS_PREV_REPOSITORY_DIR.  If
   #    %PEGASUS_PREV_REPOSITORY_DIR already exists,
   #    it is saved as an archive file.
   
   if [ -d %PEGASUS_REPOSITORY_DIR"/root#PG_Internal" ]; then
   #   #
   # Save the current repository to prev_repository   # Save the current repository to prev_repository
   #   #
   if [[ -d %PEGASUS_REPOSITORY_DIR ]]     if [ -d %PEGASUS_PREV_REPOSITORY_DIR ]; then
   then          /bin/tar -C %PEGASUS_REPOSITORY_PARENT_DIR -cf \
     if [[ -d %PEGASUS_PREV_REPOSITORY_DIR ]]              %PEGASUS_PREV_REPOSITORY_DIR`date '+%Y-%m-%d-%s.%N'`.tar \
     then              %PEGASUS_PREV_REPOSITORY_DIR_NAME
       rm -rf %PEGASUS_PREV_REPOSITORY_DIR       rm -rf %PEGASUS_PREV_REPOSITORY_DIR
     fi     fi
     mv %PEGASUS_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR     /bin/mv %PEGASUS_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR
     mkdir %PEGASUS_REPOSITORY_DIR  
   fi   fi
   if [ $1 -gt 0 ]; then
      #  Create the 'pegasus' user and group:
      /usr/sbin/groupadd pegasus > /dev/null 2>&1 || :;
      /usr/sbin/useradd -c "tog-pegasus OpenPegasus WBEM/CIM services" \
           -g pegasus -s /sbin/nologin -r -d %PEGASUS_VARDATA_DIR pegasus \
            > /dev/null 2>&1 || :;
 fi fi
   if [ $1 -eq 2 ]; then
       rm -f %PEGASUS_LOCAL_DOMAIN_SOCKET_PATH;
       rm -f %PEGASUS_CIMSERVER_START_FILE;
       rm -f %CIMSERVER_LOCK_FILE;
   fi
   #
 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-pre.spec # End of section pegasus/rpm/tog-specfiles/tog-pegasus-pre.spec
  
   # When Privilege Separation is enabled, create the 'cimsrvr' user and
   # 'pegasus' group which are used as the context of the cimservermain process
   if [ $1 -gt 0 ]; then
       /usr/sbin/groupadd pegasus > /dev/null 2>&1 || :;
       /usr/sbin/useradd -c "tog-pegasus OpenPegasus WBEM/CIM services" \
           -g pegasus -s /sbin/nologin -r -d %PEGASUS_VARDATA_DIR cimsrvr \
           > /dev/null 2>&1 || :;
   fi
   
 %post %post
 if [ $1 -eq 1 ]; then if [ $1 -eq 1 ]; then
    echo `date` > %PEGASUS_INSTALL_LOG 2>&1    echo `date` > %PEGASUS_INSTALL_LOG 2>&1
    %define PEGASUS_CONFIG_DIR /etc/opt/tog-pegasus     %define PEGASUS_CONFIG_DIR /etc/Pegasus
    %define PEGASUS_PEM_DIR /etc/opt/tog-pegasus     %define PEGASUS_PEM_DIR /etc/Pegasus
    %define PEGASUS_SSL_CERT_FILE server.pem    %define PEGASUS_SSL_CERT_FILE server.pem
    %define PEGASUS_SSL_KEY_FILE file.pem    %define PEGASUS_SSL_KEY_FILE file.pem
    %define PEGASUS_SSL_TRUSTSTORE client.pem    %define PEGASUS_SSL_TRUSTSTORE client.pem
  
    # Create Symbolic Links for SDK Libraries    # Create Symbolic Links for SDK Libraries
    #    #
    ln -sf libpegclient.so.1 /opt/tog-pegasus/lib/libpegclient.so     ln -sf libpegclient.so.1 /usr/%PEGASUS_ARCH_LIB/libpegclient.so
    ln -sf libpegcommon.so.1 /opt/tog-pegasus/lib/libpegcommon.so     ln -sf libpegcommon.so.1 /usr/%PEGASUS_ARCH_LIB/libpegcommon.so
    ln -sf libpegprovider.so.1 /opt/tog-pegasus/lib/libpegprovider.so     ln -sf libpegprovider.so.1 /usr/%PEGASUS_ARCH_LIB/libpegprovider.so
    ln -sf libDefaultProviderManager.so.1 /opt/tog-pegasus/lib/libDefaultProviderManager.so     ln -sf libDefaultProviderManager.so.1 /usr/%PEGASUS_ARCH_LIB/libDefaultProviderManager.so
    ln -sf libCIMxmlIndicationHandler.so.1 /opt/tog-pegasus/lib/libCIMxmlIndicationHandler.so     ln -sf libCIMxmlIndicationHandler.so.1 /usr/%PEGASUS_ARCH_LIB/libCIMxmlIndicationHandler.so
    ln -sf libCMPIProviderManager.so.1 /opt/tog-pegasus/lib/libCMPIProviderManager.so     ln -sf libCMPIProviderManager.so.1 /usr/%PEGASUS_ARCH_LIB/libCMPIProviderManager.so
      ln -sf libsnmpIndicationHandler.so.1 /usr/%PEGASUS_ARCH_LIB/libsnmpIndicationHandler.so
  
    # Create Symbolic Links for Packaged Provider Libraries    # Create Symbolic Links for Packaged Provider Libraries
    #    #
    ln -sf libComputerSystemProvider.so.1 /opt/tog-pegasus/providers/lib/libComputerSystemProvider.so     ln -sf libComputerSystemProvider.so.1 /usr/%PEGASUS_ARCH_LIB/Pegasus/providers/libComputerSystemProvider.so
    ln -sf libOSProvider.so.1 /opt/tog-pegasus/providers/lib/libOSProvider.so     ln -sf libOSProvider.so.1 /usr/%PEGASUS_ARCH_LIB/Pegasus/providers/libOSProvider.so
    ln -sf libProcessProvider.so.1 /opt/tog-pegasus/providers/lib/libProcessProvider.so     ln -sf libProcessProvider.so.1 /usr/%PEGASUS_ARCH_LIB/Pegasus/providers/libProcessProvider.so
  
  
 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec
   #
   #           install   remove   upgrade  reinstall
   # %post        1        -         2         2
   #
      export PEGASUS_ARCH_LIB=%PEGASUS_ARCH_LIB
  
    # Create OpenSSL Configuration File (ssl.cnf)     if [ -d %PEGASUS_PREV_REPOSITORY_DIR ]; then
          # Running Repository Upgrade utility
          %PEGASUS_SBIN_DIR/repupgrade %PEGASUS_PREV_REPOSITORY_DIR \
              %PEGASUS_REPOSITORY_DIR 2>>%PEGASUS_INSTALL_LOG
          /bin/tar -C %PEGASUS_REPOSITORY_PARENT_DIR -cf \
              %PEGASUS_PREV_REPOSITORY_DIR`date '+%Y-%m-%d-%s.%N'`.tar \
              %PEGASUS_PREV_REPOSITORY_DIR_NAME
          rm -rf %PEGASUS_PREV_REPOSITORY_DIR
      fi
      if [ $1 -eq 1 ]; then
   %if %{AUTOSTART}
          /sbin/chkconfig --add tog-pegasus
   %endif
      :;
      elif [ $1 -gt 0 ]; then
          /etc/init.d/tog-pegasus condrestart
      :;
      fi
    #    #
    if [ -f %PEGASUS_CONFIG_DIR/ssl.cnf ]  
    then  
       echo "WARNING: %PEGASUS_CONFIG_DIR/ssl.cnf already exists."  
    else  
       echo " Generating SSL Certificate..."  
       echo "[ req ]" >> %PEGASUS_CONFIG_DIR/ssl.cnf  
       echo "distinguished_name     = req_distinguished_name" >> %PEGASUS_CONFIG_DIR/ssl.cnf  
       echo "prompt                 = no" >> %PEGASUS_CONFIG_DIR/ssl.cnf  
       echo "[ req_distinguished_name ]" >> %PEGASUS_CONFIG_DIR/ssl.cnf  
       echo "C                      = UK" >> %PEGASUS_CONFIG_DIR/ssl.cnf  
       echo "ST                     = Berkshire" >> %PEGASUS_CONFIG_DIR/ssl.cnf  
       echo "L                      = Reading" >> %PEGASUS_CONFIG_DIR/ssl.cnf  
       echo "O                      = The Open Group" >> %PEGASUS_CONFIG_DIR/ssl.cnf  
       echo "OU                     = The OpenPegasus Project" >> %PEGASUS_CONFIG_DIR/ssl.cnf  
       echo "CN                     = `uname -n`" >> %PEGASUS_CONFIG_DIR/ssl.cnf  
       chmod 400 %PEGASUS_CONFIG_DIR/ssl.cnf  
       chown root %PEGASUS_CONFIG_DIR/ssl.cnf  
    fi  
   
    %OPENSSL_BIN/openssl req -x509 -days 356 -newkey rsa:2048 \  
       -nodes -config %PEGASUS_CONFIG_DIR/ssl.cnf \  
       -keyout %PEGASUS_PEM_DIR/key.pem -out %PEGASUS_PEM_DIR/cert.pem \  
            2>>%INSTALL_LOG  
   
    cat %PEGASUS_PEM_DIR/key.pem > %PEGASUS_PEM_DIR/key-2048.pem  
    chmod 400 %PEGASUS_PEM_DIR/key-2048.pem  
    cat %PEGASUS_PEM_DIR/cert.pem > %PEGASUS_PEM_DIR/cert-2048.pem  
    chmod 400 %PEGASUS_PEM_DIR/cert-2048.pem  
    cat %PEGASUS_PEM_DIR/cert.pem > %PEGASUS_PEM_DIR/truststore-2048.pem  
    chmod 400 %PEGASUS_PEM_DIR/truststore-2048.pem  
    rm -f %PEGASUS_PEM_DIR/key.pem %PEGASUS_PEM_DIR/cert.pem  
   
    if [ -f %PEGASUS_PEM_DIR/%PEGASUS_SSL_CERT_FILE ]  
    then  
    echo "WARNING: %PEGASUS_PEM_DIR/%PEGASUS_SSL_CERT_FILE SSL Certificate file already exists."  
    else  
       cp %PEGASUS_PEM_DIR/cert-2048.pem %PEGASUS_PEM_DIR/%PEGASUS_SSL_CERT_FILE  
       chmod 444 %PEGASUS_PEM_DIR/%PEGASUS_SSL_CERT_FILE  
       cp %PEGASUS_PEM_DIR/key-2048.pem %PEGASUS_PEM_DIR/%PEGASUS_SSL_KEY_FILE  
       chmod 400 %PEGASUS_PEM_DIR/%PEGASUS_SSL_KEY_FILE  
    fi  
   
    if [ -f %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE ]  
    then  
        echo "WARNING: %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE SSL Certificate trust store already exists."  
    else  
        cp %PEGASUS_PEM_DIR/truststore-2048.pem %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE  
        chmod 444 %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE  
    fi  
   
    echo " To start Pegasus manually:"  
    echo " /etc/init.d/tog-pegasus start"  
    echo " Stop it:"  
    echo " /etc/init.d/tog-pegasus stop"  
    echo " To set up PATH and MANPATH in /etc/profile"  
    echo " run /opt/tog-pegasus/sbin/settogpath."  
 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec # End of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec
  
   elif [ $1 -gt 1 ]; then
      if [ -d %PEGASUS_PREV_REPOSITORY_DIR ]; then
        # Running Repository Upgrade utility
        %PEGASUS_SBIN_DIR/repupgrade 2>>%PEGASUS_INSTALL_LOG
 fi fi
      # Check if the cimserver is running
      isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"`
      if [ "$isRunning" ]; then
          /etc/init.d/tog-pegasus stop
      fi
      if [ -f %PEGASUS_TRACE_FILE_PATH ]; then
        /bin/mv %PEGASUS_TRACE_FILE_PATH %PEGASUS_TRACE_FILE_PATH-`date '+%Y-%m-%d-%R'`
      fi
      if [ "$isRunning" ]; then
          /etc/init.d/tog-pegasus start
      fi
   fi
   
 %preun %preun
   # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-preun.spec
   #           install   remove   upgrade  reinstall
   #  preun       -        0         1         -
 if [ $1 -eq 0 ]; then 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
       /opt/tog-pegasus/sbin/cimserver -s        %PEGASUS_SBIN_DIR/cimserver -s
    fi    fi
    [ -f /var/opt/tog-pegasus/cimserver_current.conf ] &&  rm /var/opt/tog-pegasus/cimserver_current.conf;     /sbin/chkconfig --del tog-pegasus;
    [ -f %PEGASUS_INSTALL_LOG ] && rm %PEGASUS_INSTALL_LOG;     rm -f %PEGASUS_VARDATA_DIR/cimserver_current.conf;
    # Delete the Link to the rc.* Startup Directories     rm -f %PEGASUS_INSTALL_LOG;
    /usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus;     [ -d %PEGASUS_REPOSITORY_DIR ]  && rm -rf %PEGASUS_REPOSITORY_DIR;
      [ -d %PEGASUS_VARDATA_CACHE_DIR ]  && rm -rf %PEGASUS_VARDATA_CACHE_DIR;
      rm -f %PEGASUS_LOCAL_DOMAIN_SOCKET_PATH;
      rm -f %PEGASUS_CIMSERVER_START_FILE;
      rm -f %PEGASUS_CIMSERVER_START_LOCK_FILE;
 fi fi
   #
   # End of section pegasus/rpm/tog-specfiles/tog-pegasus-preun.spec
  
   %preun devel
   make --directory /usr/share/Pegasus/samples -s clean
   
   %if %{PEGASUS_BUILD_TEST_RPM}
   %preun test
   make --directory /usr/share/Pegasus/test -s unsetupTEST
   [ -d /var/lib/Pegasus/testrepository ] &&  rm -rf /var/lib/Pegasus/testrepository;
   
   %endif
 %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/cert-2048.pem ] && rm %PEGASUS_PEM_DIR/cert-2048.pem;  
    [ -f %PEGASUS_PEM_DIR/truststore-2048.pem ] && rm %PEGASUS_PEM_DIR/truststore-2048.pem;  
    export LC_ALL=C    export LC_ALL=C
 fi fi
   # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-postun.spec
 %files  
 %dir %attr(-,root,root) /opt/tog-pegasus  
 %dir %attr(-,root,root) /opt/tog-pegasus/share  
 %dir %attr(-,root,root) /opt/tog-pegasus/share/man  
 %dir %attr(-,root,root) /opt/tog-pegasus/share/man/man1  
 %dir %attr(-,root,root) /opt/tog-pegasus/share/man/man8  
 %dir %attr(-,root,root) /opt/tog-pegasus/lib  
 %dir %attr(-,root,root) /opt/tog-pegasus/providers  
 %dir %attr(-,root,root) /opt/tog-pegasus/providers/lib  
 %dir %attr(-,root,root) /opt/tog-pegasus/sbin  
 %dir %attr(-,root,root) /opt/tog-pegasus/bin  
 %dir %attr(-,root,root) /opt/tog-pegasus/mof  
 %dir %attr(-,root,root) /var/opt/tog-pegasus  
 %dir %attr(-,root,root) /var/opt/tog-pegasus/cache  
 %dir %attr(-,root,root) /var/opt/tog-pegasus/log  
 %dir %attr(-,root,root) /var/opt/tog-pegasus/cache/localauth  
 %dir %attr(-,root,root) /var/run/tog-pegasus  
 %dir %attr(-,root,root) /etc/opt/tog-pegasus  
 %dir %attr(1555,root,root) /var/run/tog-pegasus/socket  
 %dir %attr(755,root,root) /opt/tog-pegasus/mof/CIM28  
   
 %dir %attr(755,root,root) /opt/tog-pegasus/mof/Pegasus  
   
 /var/opt/tog-pegasus/repository  
   
 %doc %attr(444,root,root) /opt/tog-pegasus/license.txt  
 %doc /opt/tog-pegasus/share/man/man1/cimmof.1  
 %doc /opt/tog-pegasus/share/man/man1/cimprovider.1  
 %doc /opt/tog-pegasus/share/man/man1/osinfo.1  
 %doc /opt/tog-pegasus/share/man/man1/wbemexec.1  
 %doc /opt/tog-pegasus/share/man/man8/cimauth.8  
 %doc /opt/tog-pegasus/share/man/man8/cimconfig.8  
 %doc /opt/tog-pegasus/share/man/man8/cimserver.8  
   
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Application28_AppRuntime.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Application28_BIOS.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Application28_CheckAction.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Application28_DeploymentModel.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Application28_InstalledProduct.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Application28_J2eeAppServer.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Application28_J2eeAppServerStats.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Application28_SystemSoftware.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/CIM_Application28.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/CIM_Core28.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/CIM_Database28.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/CIM_Device28.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/CIM_Event28.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/CIM_Interop28.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/CIM_IPsecPolicy28.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/CIM_Metrics28.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/CIM_Network28.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/CIM_Physical28.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/CIM_Policy28.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/CIM_Schema28.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/CIM_Support28.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/CIM_System28.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/CIM_User28.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Core28_Capabilities.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Core28_Collection.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Core28_CoreElements.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Core28_Device.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Core28_MethodParms.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Core28_Physical.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Core28_PowerMgmt.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Core28_ProductFRU.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Core28_Qualifiers.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Core28_Redundancy.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Core28_Service.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Core28_Settings.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Core28_Software.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Core28_Statistics.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Core28_StorageExtent.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Database28_Statistics.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Database28_Storage.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Database28_System.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_Controller.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_CoolingAndPower.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_DeviceElements.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_DiskGroup.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_FC.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_IB.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_Memory.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_Modems.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_NetworkAdapter.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_Ports.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_Printing.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_Processor.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_ProtocolController.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_SccExtents.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_Sensors.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_StorageDevices.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_StorageExtents.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_StorageLib.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_StorageServices.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_USB.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Device28_UserDevices.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Metrics28_BaseMetric.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Metrics28_UnitOfWork.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Network28_BGP.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Network28_Buffers.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Network28_Collections.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Network28_Filtering.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Network28_IPsec.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Network28_OSPF.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Network28_Pipes.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Network28_ProtocolEndpoints.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Network28_QoS.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Network28_Routes.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Network28_RoutingForwarding.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Network28_SNMP.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Network28_SwitchingBridging.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Network28_Systems.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Network28_VLAN.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Physical28_Component.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Physical28_Connector.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Physical28_Link.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Physical28_Misc.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Physical28_Package.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Physical28_PhysicalMedia.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/Physical28_StoragePackage.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/System28_Boot.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/System28_Diagnostics.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/System28_FileElements.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/System28_Logs.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/System28_OperatingSystem.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/System28_Processing.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/System28_SystemElements.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/System28_SystemResources.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/System28_Time.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/System28_Unix.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/User28_AccessControl.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/User28_Account.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/User28_AuthenticationReqmt.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/User28_Credential.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/User28_Group.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/User28_Identity.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/User28_Kerberos.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/User28_Org.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/User28_PrivilegeManagementService.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/User28_Privilege.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/User28_PublicKey.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/User28_Role.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/User28_SecurityLevel.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/User28_SecurityServices.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/User28_SharedSecret.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/User28_StorageHardwareID.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/CIM28/User28_UsersAccess.mof  
   
 %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_Authorization20.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_ConfigSetting20.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_InternalSchema20.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_ShutdownService20.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_User20.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_Events20.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_InterOpSchema20.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_ProviderModule20.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_ComputerSystem20.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_ComputerSystem20R.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_ManagedSystemSchema20.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_ManagedSystemSchema20R.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_OperatingSystem20.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_OperatingSystem20R.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_UnixProcess20.mof  
 %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_UnixProcess20R.mof  
   
 %config(noreplace) %attr(644,root,root)  /var/opt/tog-pegasus/cimserver_planned.conf  
 %config %attr(500,root,root) /etc/init.d/tog-pegasus  
 %config %attr(-,root,root) %PAM_CONFIG_DIR/wbem  
   
 %attr(500,root,root) /opt/tog-pegasus/sbin/cimauth  
 %attr(500,root,root) /opt/tog-pegasus/sbin/cimconfig  
 %attr(500,root,root) /opt/tog-pegasus/sbin/cimserver  
 %attr(500,root,root) /opt/tog-pegasus/sbin/cimuser  
 %attr(500,root,root) /opt/tog-pegasus/sbin/cimprovagt  
 %attr(500,root,root) /opt/tog-pegasus/sbin/cimservera  
 %attr(500,root,root) /opt/tog-pegasus/sbin/init_repository  
 %attr(500,root,root) /opt/tog-pegasus/sbin/settogpath  
   
 %attr(555,root,root) /opt/tog-pegasus/bin/cimmof  
 %attr(555,root,root) /opt/tog-pegasus/bin/cimmofl  
 %attr(555,root,root) /opt/tog-pegasus/bin/cimprovider  
 %attr(555,root,root) /opt/tog-pegasus/bin/osinfo  
 %attr(555,root,root) /opt/tog-pegasus/bin/wbemexec  
   
 %attr(555,root,root) /opt/tog-pegasus/lib/libCIMxmlIndicationHandler.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libConfigSettingProvider.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libNamespaceProvider.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libProviderRegistrationProvider.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libUserAuthProvider.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegauthentication.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegclient.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegcliutils.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegcommon.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegcompiler.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegconfig.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegexportclient.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegexportserver.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpeggetoopt.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpeghandlerservice.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegindicationservice.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpeglistener.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegprm.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegprovider.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegprovidermanager.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegrepository.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegserver.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpeguser.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegwql.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libDefaultProviderManager.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libCertificateProvider.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegqueryexpression.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegcql.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegquerycommon.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libCIMQueryCapabilitiesProvider.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libInteropProvider.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libCIMOMStatDataProvider.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libpegservice.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libCMPIProviderManager.so.1  
 %attr(555,root,root) /opt/tog-pegasus/lib/libcmpiCppImpl.so.1  
 /opt/tog-pegasus/lib/libpegclient.so  
 /opt/tog-pegasus/lib/libpegcommon.so  
 /opt/tog-pegasus/lib/libpegprovider.so  
 /opt/tog-pegasus/lib/libDefaultProviderManager.so  
 /opt/tog-pegasus/lib/libCIMxmlIndicationHandler.so  
 /opt/tog-pegasus/lib/libCMPIProviderManager.so  
   
 %attr(555,root,root) /opt/tog-pegasus/providers/lib/libComputerSystemProvider.so.1  
 %attr(555,root,root) /opt/tog-pegasus/providers/lib/libOSProvider.so.1  
 %attr(555,root,root) /opt/tog-pegasus/providers/lib/libProcessProvider.so.1  
 /opt/tog-pegasus/providers/lib/libComputerSystemProvider.so  
 /opt/tog-pegasus/providers/lib/libOSProvider.so  
 /opt/tog-pegasus/providers/lib/libProcessProvider.so  
   
 %files sdk  
 %defattr(444,root,root)  
   
 # SDK Include Files  
 #  
 %dir %attr(755,root,root) /opt/tog-pegasus/include  
 %dir %attr(755,root,root) /opt/tog-pegasus/include/Pegasus  
 %dir %attr(755,root,root) /opt/tog-pegasus/include/Pegasus/Client  
 %dir %attr(755,root,root) /opt/tog-pegasus/include/Pegasus/Common  
 %dir %attr(755,root,root) /opt/tog-pegasus/include/Pegasus/Consumer  
 %dir %attr(755,root,root) /opt/tog-pegasus/include/Pegasus/Provider  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Client/CIMClientException.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Client/CIMClient.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Client/Linkage.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/Array.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/ArrayInter.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/Char16.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMClass.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMDateTime.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMFlavor.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMIndication.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMInstance.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMMethod.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMName.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMObject.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMObjectPath.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMParameter.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMParamValue.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMProperty.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMPropertyList.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMQualifierDecl.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMQualifier.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMScope.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMStatusCode.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMType.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMValue.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/Config.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/Exception.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/Linkage.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/OperationContext.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/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/Linkage.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMAssociationProvider.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMIndicationConsumerProvider.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMIndicationProvider.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMInstanceProvider.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMMethodProvider.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMOMHandle.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMProvider.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/Linkage.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/ProviderException.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/AcceptLanguages.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/MessageLoader.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/ContentLanguages.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/LanguageElementContainer.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/AcceptLanguageElement.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/Formatter.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/ContentLanguageElement.h  
 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/LanguageElement.h  
   
 # SDK Sample Files  
 #  
 %dir %attr(755,root,root) /opt/tog-pegasus/samples  
 %dir %attr(755,root,root) /opt/tog-pegasus/samples/Clients  
 %dir %attr(755,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++  
 %dir %attr(755,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances  
 %dir %attr(755,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod  
 %dir %attr(755,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications  
 %dir %attr(755,root,root) /opt/tog-pegasus/samples/Providers  
 %dir %attr(755,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++  
 %dir %attr(755,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider  
 %dir %attr(755,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider  
 %dir %attr(755,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider  
 %dir %attr(755,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer  
 %dir %attr(755,root,root) /opt/tog-pegasus/samples/Providers/Load  
 %dir %attr(755,root,root) /opt/tog-pegasus/samples/mak  
 %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/program.mak  
 %attr(444,root,root) /opt/tog-pegasus/samples/mak/recurse.mak  
 %attr(444,root,root) /opt/tog-pegasus/samples/mak/library.mak  
 %attr(444,root,root) /opt/tog-pegasus/samples/mak/common.mak  
 %attr(444,root,root) /opt/tog-pegasus/samples/Clients/Makefile  
 %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/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++/SendTestIndications/Makefile  
 %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++/SendTestIndications/SendTestIndications.cpp  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Makefile  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Load/Makefile  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Load/SampleProviderSchema.mof  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Load/IndicationProviderR.mof  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/Makefile  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/Makefile  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/Makefile  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider/Makefile  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider/IndicationProvider.cpp  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider/IndicationProvider.h  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider/IndicationProviderMain.cpp  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/Makefile  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Load/InstanceProviderR.mof  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Load/MethodProviderR.mof  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Load/SimpleDisplayConsumerR.mof  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/InstanceProvider.cpp  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/InstanceProviderMain.cpp  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/InstanceProvider.h  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/EnumerateInstancesrspgood.xml  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/EnumerateInstances.xml  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/MethodProvider.cpp  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/MethodProviderMain.cpp  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/MethodProvider.h  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/InvokeMethod.xml  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/InvokeMethodrspgood.xml  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumerMain.cpp  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.cpp  
 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.h  
   
 # SDK Documentation  
 # #
 /opt/tog-pegasus/html  #           install   remove   upgrade  reinstall
   #  postun      -        0         1         -
   if [ $1 -eq 0 ]; then
      /usr/sbin/userdel pegasus > /dev/null 2>&1 || :;
      /usr/sbin/groupdel pegasus > /dev/null 2>&1 || :;
   fi;
   #
   # End of section pegasus/rpm/tog-specfiles/tog-pegasus-postun.spec
  
 %files test  # When Privilege Separation is enabled, delete the 'cimsrvr' user and
   # 'pegasus' group which are used as the context of the cimservermain process
   if [ $1 -eq 0 ]; then
       /usr/sbin/userdel cimsrvr > /dev/null 2>&1 || :;
       /usr/sbin/groupdel pegasus > /dev/null 2>&1 || :;
   fi
  
 # Test Files  %files
 #  %defattr(600, cimsrvr, pegasus, 700)
 %dir %attr(-, root,root) /opt/tog-pegasus/test  /var/lib/Pegasus/repository
 %dir %attr(-, root,root) /opt/tog-pegasus/test/lib  %defattr(600, root, pegasus, 755)
 %dir %attr(-, root,root) /opt/tog-pegasus/test/bin  %dir /usr/share/doc/tog-pegasus-2.7
 %dir %attr(-, root,root) /opt/tog-pegasus/test/mak  %dir /usr/share/Pegasus
 %attr(-,root,root) /opt/tog-pegasus/test/mak/commands.mak  %dir /usr/share/Pegasus/scripts
 %attr(-,root,root) /opt/tog-pegasus/test/lib/libSampleInstanceProvider.so.1  %dir /usr/share/Pegasus/mof
 %attr(-,root,root) /opt/tog-pegasus/test/lib/libSampleMethodProvider.so.1  %dir /usr/share/Pegasus/mof/CIM29
 %attr(-,root,root) /opt/tog-pegasus/test/lib/libSampleFamilyProvider.so.1  %dir /usr/share/Pegasus/mof/Pegasus
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestAbstract  %dir /var/lib/Pegasus
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestArray  %dir /var/lib/Pegasus/cache
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestBase64  %dir /var/lib/Pegasus/log
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestClassDecl  %dir /var/lib/Pegasus/cache/localauth
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestDateTime  %dir /usr/%PEGASUS_ARCH_LIB/Pegasus
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestFlavor  %dir /usr/%PEGASUS_ARCH_LIB/Pegasus/providers
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestFormatter  
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestHashTable  %dir %attr(755, root, pegasus) /etc/Pegasus
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestInstanceDecl  %dir %attr(755, cimsrvr, pegasus) /var/run/tog-pegasus
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestLogger  %dir %attr(1755,cimsrvr,pegasus) /var/run/tog-pegasus/socket
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestMethod  %dir %attr(1777,root,pegasus) /var/lib/Pegasus/cache/trace
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestObject  
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestOperationContext  /usr/share/Pegasus/mof/CIM29/*
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestParamValue  /usr/share/Pegasus/mof/Pegasus/*
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestParameter  
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestProperty  %config %attr(750,root,pegasus) /etc/init.d/tog-pegasus
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestQualifier  %config(noreplace) %attr(644,  root, pegasus) /var/lib/Pegasus/cimserver_planned.conf
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestQualifierDecl  %config(noreplace) /etc/Pegasus/access.conf
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestQualifierList  %config(noreplace) /etc/pam.d/wbem
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestQueue  
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestReference  %ghost %config(noreplace) /etc/Pegasus/ssl.cnf
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestResolve  %ghost %config(noreplace) /etc/Pegasus/client.pem
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestResponseHandler  %ghost %config(noreplace) /etc/Pegasus/server.pem
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestScope  %ghost %config(noreplace) /etc/Pegasus/file.pem
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestStack  %ghost /var/lib/Pegasus/log/install.log
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestStopwatch  
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestStrToInstName  %attr(755,root,pegasus) /usr/sbin/*
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestString  %attr(755,root,pegasus) /usr/bin/*
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestTimeValue  %attr(755,root,pegasus) /usr/%PEGASUS_ARCH_LIB/*.so.1
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestToMof  %attr(755,root,pegasus) /usr/%PEGASUS_ARCH_LIB/Pegasus/providers/*.so.1
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestValidateClass  %attr(750,root,pegasus) /usr/share/Pegasus/scripts/*
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestValue  %attr(644,root,pegasus) /usr/share/man/man1/*
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TracerTest  %attr(640,root,pegasus) /usr/share/man/man8/*
 %attr(-,root,root) /opt/tog-pegasus/test/bin/IPC  
 %attr(-,root,root) /opt/tog-pegasus/test/bin/CompAssoc  %doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.7/Admin_Guide_Release.pdf
 %attr(-,root,root) /opt/tog-pegasus/test/bin/UserManagerTest  %doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.7/PegasusSSLGuidelines.htm
 %attr(-,root,root) /opt/tog-pegasus/test/bin/TestClient  %doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.7/license.txt
 %attr(-,root,root) /opt/tog-pegasus/test/bin/OSTestClient  /usr/%PEGASUS_ARCH_LIB/libpegclient.so
 %attr(-,root,root) /opt/tog-pegasus/test/bin/InvokeMethod2  /usr/%PEGASUS_ARCH_LIB/libpegcommon.so
 %attr(-,root,root) /opt/tog-pegasus/test/Makefile  /usr/%PEGASUS_ARCH_LIB/libpegprovider.so
 /var/opt/tog-pegasus/testrepository  /usr/%PEGASUS_ARCH_LIB/libDefaultProviderManager.so
   /usr/%PEGASUS_ARCH_LIB/libCIMxmlIndicationHandler.so
   /usr/%PEGASUS_ARCH_LIB/libCMPIProviderManager.so
   /usr/%PEGASUS_ARCH_LIB/libsnmpIndicationHandler.so
   /usr/%PEGASUS_ARCH_LIB/Pegasus/providers/libComputerSystemProvider.so
   /usr/%PEGASUS_ARCH_LIB/Pegasus/providers/libOSProvider.so
   /usr/%PEGASUS_ARCH_LIB/Pegasus/providers/libProcessProvider.so
   
   %files devel
   %defattr(644,root,pegasus,755)
   /usr/share/Pegasus/samples
   /usr/include/Pegasus
   /usr/share/doc/tog-pegasus-2.7/*
   /usr/share/Pegasus/html
   %attr(755,root,pegasus) /usr/%PEGASUS_ARCH_LIB/Pegasus/providers/*.so
  
   %if %{PEGASUS_BUILD_TEST_RPM}
   %files test
   %defattr(-,root,pegasus,-)
   /usr/share/Pegasus/test
   %defattr(600,cimsrvr, pegasus,700)
   /var/lib/Pegasus/testrepository
   %endif


Legend:
Removed from v.1.37  
changed lines
  Added in v.1.99

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2