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

  1 w.otsuka 1.2 #%2003////////////////////////////////////////////////////////////////////////
  2              #
  3              # Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
  4              # Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
  5              # Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
  6              # IBM Corp.; EMC Corporation, The Open Group.
  7              #
  8              # Permission is hereby granted, free of charge, to any person obtaining a copy
  9              # of this software and associated documentation files (the "Software"), to
 10              # deal in the Software without restriction, including without limitation the
 11              # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 12              # sell copies of the Software, and to permit persons to whom the Software is
 13              # furnished to do so, subject to the following conditions:
 14              # 
 15              # THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 16              # ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 17              # "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 18              # LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 19              # PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 20              # HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 21              # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 22 w.otsuka 1.2 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 23              #
 24              #==============================================================================
 25 w.otsuka 1.1 #%/////////////////////////////////////////////////////////////////////////////
 26              #
 27              # tog-pegasus.spec
 28              #
 29              # Package spec for PEGASUS 2.4
 30              #
 31 w.otsuka 1.9 Summary: OpenPegasus WBEM Services for Linux
 32 w.otsuka 1.1 Name: tog-pegasus
 33 w.otsuka 1.16 Version: 2.4RC1
 34 w.otsuka 1.1  Release: 1
 35               Group: Systems Management/Base
 36               Copyright: Open Group Pegasus Open Source
 37               BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
 38               Source: ftp://www.opengroup.org/pegasus/tog-pegasus-%{version}-%{release}.tar.gz
 39 w.otsuka 1.17 Requires: openssl-devel >= 0.9.6 lsb >= 1.3
 40 w.otsuka 1.1  Provides: cimserver tog-pegasus-2.4
 41               
 42               %description
 43 w.otsuka 1.9  OpenPegasus WBEM Services for Linux enables management solutions that deliver
 44 w.otsuka 1.1  increased control of enterprise resources. WBEM is a platform and resource
 45               independent DMTF standard that defines a common information model and
 46               communication protocol for monitoring and controlling resources from diverse
 47               sources.
 48               
 49               %package sdk
 50 w.otsuka 1.9  Summary:      The OpenPegasus Software Development Kit
 51 w.otsuka 1.1  Group:        Systems Management/Base
 52               Autoreq: 0
 53               Requires: tog-pegasus >= 2.4, openssl-devel >= 0.9.6
 54               
 55               %description sdk
 56 w.otsuka 1.9  The OpenPegasus WBEM Services for Linux SDK is the developer's kit for the OpenPegasus WBEM
 57               Services for Linux release. It provides Linux C++ developers with the WBEM files required to
 58               build WBEM Clients and Providers. It also supports C provider developers via the CMPI interface.
 59 w.otsuka 1.1  
 60               %prep
 61               [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
 62               
 63               %setup
 64               
 65               export PEGASUS_ROOT=$RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION
 66               
 67               # Needed for CMPI patch
 68               ln -s $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION $RPM_BUILD_DIR/$RPM_PACKAGE_NAME
 69               
 70               %build
 71               export PEGASUS_ROOT=$RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION
 72               export PEGASUS_HOME=$RPM_BUILD_ROOT/usr/pegasus
 73               %ifarch ia64
 74 w.otsuka 1.12 %define PEGASUS_HARDWARE_PLATFORM LINUX_IA64_GNU
 75 w.otsuka 1.1  %else
 76 w.otsuka 1.12 %define PEGASUS_HARDWARE_PLATFORM LINUX_IX86_GNU
 77 w.otsuka 1.1  %endif
 78 w.otsuka 1.12 export PEGASUS_PLATFORM=%PEGASUS_HARDWARE_PLATFORM
 79 w.otsuka 1.1  
 80               export OPENSSL_HOME=/usr
 81               export PEGASUS_HAS_SSL=yes
 82               
 83               # per bug #368
 84               export PEGASUS_USE_RELEASE_DIRS=true
 85               export PEGASUS_USE_RELEASE_CONFIG_OPTIONS=true
 86               export SYS_INCLUDES=-I/usr/kerberos/include
 87               
 88               # per PEP #144
 89               export PEGASUS_PAM_AUTHENTICATION=true
 90               export PEGASUS_USE_PAM_STANDALONE_PROC=true
 91               export PEGASUS_LOCAL_DOMAIN_SOCKET=true
 92               export PEGASUS_USE_SYSLOGS=true
 93               export PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER=true
 94               
 95               # per PEP #174
 96               export PEGASUS_ENABLE_USERGROUP_AUTHORIZATION=true
 97               export PEGASUS_HAS_PERFSTATS=true
 98               export PEGASUS_NOASSERTS=true
 99               
100 w.otsuka 1.1  make
101               export LD_LIBRARY_PATH=$PEGASUS_HOME/lib
102               export PATH=$PEGASUS_HOME/bin:$PATH
103               make repository
104               
105 denise.eckstein 1.14 %define PEGASUS_STAGING_DIR  $PEGASUS_HOME/stageSDK
106                      %define PEGASUS_SAMPLES_DIR  /opt/tog-pegasus/samples 
107                      %define PEGASUS_INCLUDE_DIR  /opt/tog-pegasus/include
108                      %define PEGASUS_HTML_DIR     /opt/tog-pegasus/html
109                      make --directory=mak -f SDKMakefile stageSDK \
110                                PEGASUS_STAGING_DIR=%PEGASUS_STAGING_DIR \
111                                PEGASUS_SAMPLES_DIR=%PEGASUS_SAMPLES_DIR \
112                                PEGASUS_INCLUDE_DIR=%PEGASUS_INCLUDE_DIR \
113                                PEGASUS_HTML_DIR=%PEGASUS_HTML_DIR
114 w.otsuka        1.1  
115                      %install
116                      %define PEGASUS_PROD_DIR       /opt/tog-pegasus
117                      %define PEGASUS_DEST_LIB_DIR   %PEGASUS_PROD_DIR/lib
118                      %define PEGASUS_PROVIDER_DIR   %PEGASUS_PROD_DIR/providers
119                      %define PEGASUS_PROVIDER_LIB_DIR    %PEGASUS_PROVIDER_DIR/lib
120                      %define PEGASUS_SBIN_DIR       %PEGASUS_PROD_DIR/sbin
121                      %define PEGASUS_BIN_DIR        %PEGASUS_PROD_DIR/bin
122                      %define PEGASUS_PRODSHARE_DIR  %PEGASUS_PROD_DIR/share
123                      %define PEGASUS_MAN_DIR        %PEGASUS_PRODSHARE_DIR/man
124                      %define PEGASUS_MANUSER_DIR    %PEGASUS_MAN_DIR/man1
125                      %define PEGASUS_MANADMIN_DIR   %PEGASUS_MAN_DIR/man8
126                      %define PEGASUS_VARDATA_DIR    /var/opt/tog-pegasus
127                      %define PEGASUS_REPOSITORY_DIR      %PEGASUS_VARDATA_DIR/repository
128                      %define PEGASUS_VARDATA_CACHE_DIR   %PEGASUS_VARDATA_DIR/cache
129                      %define PEGASUS_LOCAL_AUTH_DIR      %PEGASUS_VARDATA_CACHE_DIR/localauth
130                      %define PEGASUS_MOF_DIR            %PEGASUS_PROD_DIR/mof
131                      %define PEGASUS_CONFIG_DIR         /etc/opt/tog-pegasus
132                      %define PEGASUS_VARRUN_DIR         /var/run/tog-pegasus
133                      %define PEGASUS_LOCAL_DOMAIN_SOCKET_DIR %PEGASUS_VARRUN_DIR/socket
134                      %define PAM_CONF                   /etc/pam.d
135 w.otsuka        1.1  %define PEGASUS_LOG_DIR            %PEGASUS_VARDATA_DIR/log
136                      %define PEGASUS_LICENSE_FILE       license.txt
137                      %define PEGASUS_PLANNED_CONFIG_FILE cimserver_planned.conf
138                      %define PEGASUS_PEM_DIR            %PEGASUS_CONFIG_DIR
139                      %define PEGASUS_SSL_KEY_FILE       file.pem
140                      %define PEGASUS_SSL_CERT_FILE      server.pem
141                      %define PEGASUS_SSL_TRUSTSTORE     client.pem
142 w.otsuka        1.15 %define PEGASUS_INSTALL_SCRIPT_DIR $PEGASUS_ROOT/installs/scripts
143 w.otsuka        1.1  #
144                      # Make directories
145                      mkdir -p $RPM_BUILD_ROOT%PEGASUS_VARDATA_DIR/{log,cache,repository}
146                      mkdir -p $RPM_BUILD_ROOT/%PEGASUS_LOCAL_AUTH_DIR
147                      mkdir -p $RPM_BUILD_ROOT/%PEGASUS_PROVIDER_LIB_DIR
148                      mkdir -p $RPM_BUILD_ROOT/%PEGASUS_CONFIG_DIR 
149                      mkdir -p $RPM_BUILD_ROOT/%PEGASUS_LOG_DIR
150                      mkdir -p $RPM_BUILD_ROOT/%PEGASUS_MAN_DIR/{man1,man8}
151 w.otsuka        1.3  mkdir -p $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/{CIM28,Pegasus}
152 w.otsuka        1.1  mkdir -p $RPM_BUILD_ROOT%PEGASUS_LOCAL_DOMAIN_SOCKET_DIR
153                      
154                      export PEGASUS_ROOT=$RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION
155                      export PEGASUS_HOME=$RPM_BUILD_ROOT/usr/pegasus
156                      
157                      #
158                      # Init scripts
159                      install -D -m 0755  $PEGASUS_ROOT/rpm/tog-pegasus.rc $RPM_BUILD_ROOT/etc/init.d/tog-pegasus
160                      
161                      #
162                      # Programs
163                      install -D -m 0544  $PEGASUS_HOME/bin/cimauth   $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimauth
164                      install -D -m 0544  $PEGASUS_HOME/bin/cimserver $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimserver
165                      install -D -m 0544  $PEGASUS_HOME/bin/cimservera $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimservera
166                      install -D -m 0544  $PEGASUS_HOME/bin/cimuser   $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimuser
167 w.otsuka        1.7  install -D -m 0544  $PEGASUS_HOME/bin/cimconfig $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/cimconfig
168 w.otsuka        1.1  install -D -m 0555  $PEGASUS_HOME/bin/cimmof    $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/cimmof
169                      install -D -m 0555  $PEGASUS_HOME/bin/cimmofl   $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/cimmofl
170                      install -D -m 0555  $PEGASUS_HOME/bin/cimprovider $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/cimprovider
171                      install -D -m 0555  $PEGASUS_HOME/bin/osinfo    $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/osinfo
172                      install -D -m 0555  $PEGASUS_HOME/bin/wbemexec  $RPM_BUILD_ROOT%PEGASUS_BIN_DIR/wbemexec
173                      
174                      
175                      # Libraries
176                      
177                      install -D -m 0755  $PEGASUS_HOME/lib/libCIMxmlIndicationHandler.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libCIMxmlIndicationHandler.so.1
178                      install -D -m 0755  $PEGASUS_HOME/lib/libConfigSettingProvider.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libConfigSettingProvider.so.1
179                      install -D -m 0755  $PEGASUS_HOME/lib/libNamespaceProvider.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libNamespaceProvider.so.1
180                      install -D -m 0755  $PEGASUS_HOME/lib/libProviderRegistrationProvider.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libProviderRegistrationProvider.so.1
181                      install -D -m 0755  $PEGASUS_HOME/lib/libUserAuthProvider.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libUserAuthProvider.so.1
182                      install -D -m 0755  $PEGASUS_HOME/lib/libpegauthentication.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegauthentication.so.1
183                      install -D -m 0755  $PEGASUS_HOME/lib/libpegclient.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegclient.so.1
184                      install -D -m 0755  $PEGASUS_HOME/lib/libpegcliutils.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegcliutils.so.1
185                      install -D -m 0755  $PEGASUS_HOME/lib/libpegcommon.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegcommon.so.1
186                      install -D -m 0755  $PEGASUS_HOME/lib/libpegcompiler.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegcompiler.so.1
187                      install -D -m 0755  $PEGASUS_HOME/lib/libpegconfig.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegconfig.so.1
188                      install -D -m 0755  $PEGASUS_HOME/lib/libpegexportclient.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegexportclient.so.1
189 w.otsuka        1.1  install -D -m 0755  $PEGASUS_HOME/lib/libpegexportserver.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegexportserver.so.1
190                      install -D -m 0755  $PEGASUS_HOME/lib/libpeggetoopt.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpeggetoopt.so.1
191                      install -D -m 0755  $PEGASUS_HOME/lib/libpeghandlerservice.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpeghandlerservice.so.1
192                      install -D -m 0755  $PEGASUS_HOME/lib/libpegindicationservice.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegindicationservice.so.1
193                      install -D -m 0755  $PEGASUS_HOME/lib/libpeglistener.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpeglistener.so.1
194                      install -D -m 0755  $PEGASUS_HOME/lib/libpegprm.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegprm.so.1
195                      install -D -m 0755  $PEGASUS_HOME/lib/libpegprovidermanager.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegprovidermanager.so.1
196                      install -D -m 0755  $PEGASUS_HOME/lib/libpegprovider.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegprovider.so.1
197                      install -D -m 0755  $PEGASUS_HOME/lib/libpegrepository.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegrepository.so.1
198                      install -D -m 0755  $PEGASUS_HOME/lib/libpegserver.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegserver.so.1
199                      install -D -m 0755  $PEGASUS_HOME/lib/libpeguser.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpeguser.so.1
200                      install -D -m 0755  $PEGASUS_HOME/lib/libpegwql.so.1    $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libpegwql.so.1
201                      install -D -m 0755  $PEGASUS_HOME/lib/libCMPIProviderManager.so.1   $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libCMPIProviderManager.so.1
202                      install -D -m 0755  $PEGASUS_HOME/lib/libcmpiCppImpl.so.1   $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libcmpiCppImpl.so.1
203                      install -D -m 0755  $PEGASUS_HOME/lib/libDefaultProviderManager.so.1   $RPM_BUILD_ROOT%PEGASUS_DEST_LIB_DIR/libDefaultProviderManager.so.1 
204                      
205                      install -D -m 0755  $PEGASUS_HOME/lib/libComputerSystemProvider.so.1    $RPM_BUILD_ROOT%PEGASUS_PROVIDER_LIB_DIR/libComputerSystemProvider.so.1
206                      install -D -m 0755  $PEGASUS_HOME/lib/libOSProvider.so.1    $RPM_BUILD_ROOT%PEGASUS_PROVIDER_LIB_DIR/libOSProvider.so.1
207                      install -D -m 0755  $PEGASUS_HOME/lib/libProcessProvider.so.1    $RPM_BUILD_ROOT%PEGASUS_PROVIDER_LIB_DIR/libProcessProvider.so.1
208                      
209                      #
210 w.otsuka        1.1  # CIM schema
211                      #
212 w.otsuka        1.7  install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Application28_AppRuntime.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Application28_AppRuntime.mof
213                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Application28_BIOS.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Application28_BIOS.mof
214                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Application28_CheckAction.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Application28_CheckAction.mof
215                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Application28_DeploymentModel.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Application28_DeploymentModel.mof
216                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Application28_InstalledProduct.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Application28_InstalledProduct.mof
217                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Application28_J2eeAppServer.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Application28_J2eeAppServer.mof
218                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Application28_J2eeAppServerStats.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Application28_J2eeAppServerStats.mof
219                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Application28_SystemSoftware.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Application28_SystemSoftware.mof
220                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/CIM_Application28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Application28.mof
221                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/CIM_Core28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Core28.mof
222                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/CIM_Database28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Database28.mof
223                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/CIM_Device28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Device28.mof
224                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/CIM_Event28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Event28.mof
225                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/CIM_Interop28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Interop28.mof 
226                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/CIM_IPsecPolicy28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_IPsecPolicy28.mof 
227                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/CIM_Metrics28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Metrics28.mof
228                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/CIM_Network28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Network28.mof
229                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/CIM_Physical28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Physical28.mof
230                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/CIM_Policy28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Policy28.mof
231                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/CIM_Schema28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Schema28.mof
232                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/CIM_Support28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_Support28.mof
233 w.otsuka        1.7  install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/CIM_System28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_System28.mof
234                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/CIM_User28.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/CIM_User28.mof
235                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Core28_Capabilities.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Capabilities.mof
236                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Core28_Collection.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Collection.mof
237                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Core28_CoreElements.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_CoreElements.mof
238                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Core28_Device.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Device.mof
239                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Core28_MethodParms.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_MethodParms.mof
240                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Core28_Physical.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Physical.mof
241                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Core28_PowerMgmt.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_PowerMgmt.mof
242                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Core28_ProductFRU.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_ProductFRU.mof
243                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Core28_Qualifiers.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Qualifiers.mof
244                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Core28_Redundancy.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Redundancy.mof
245                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Core28_Service.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Service.mof
246                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Core28_Settings.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Settings.mof
247                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Core28_Software.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Software.mof
248                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Core28_Statistics.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_Statistics.mof
249                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Core28_StorageExtent.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Core28_StorageExtent.mof
250                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Database28_Statistics.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Database28_Statistics.mof
251                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Database28_Storage.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Database28_Storage.mof
252                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Database28_System.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Database28_System.mof
253                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_Controller.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_Controller.mof
254 w.otsuka        1.7  install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_CoolingAndPower.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_CoolingAndPower.mof
255                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_DeviceElements.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_DeviceElements.mof
256                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_DiskGroup.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_DiskGroup.mof
257                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_FC.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_FC.mof
258                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_IB.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_IB.mof
259                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_Memory.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_Memory.mof
260                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_Modems.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_Modems.mof
261                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_NetworkAdapter.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_NetworkAdapter.mof
262                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_Ports.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_Ports.mof
263                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_Printing.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_Printing.mof
264                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_Processor.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_Processor.mof
265                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_ProtocolController.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_ProtocolController.mof
266                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_SccExtents.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_SccExtents.mof
267                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_Sensors.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_Sensors.mof
268                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_StorageDevices.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_StorageDevices.mof
269                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_StorageExtents.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_StorageExtents.mof
270                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_StorageLib.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_StorageLib.mof
271                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_StorageServices.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_StorageServices.mof
272                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_USB.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_USB.mof
273                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Device28_UserDevices.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Device28_UserDevices.mof
274                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Metrics28_BaseMetric.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Metrics28_BaseMetric.mof
275 w.otsuka        1.7  install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Metrics28_UnitOfWork.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Metrics28_UnitOfWork.mof
276                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Network28_BGP.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_BGP.mof
277                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Network28_Buffers.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_Buffers.mof
278                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Network28_Collections.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_Collections.mof
279                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Network28_Filtering.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_Filtering.mof
280                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Network28_IPsec.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_IPsec.mof
281                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Network28_OSPF.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_OSPF.mof
282                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Network28_Pipes.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_Pipes.mof
283                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Network28_ProtocolEndpoints.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_ProtocolEndpoints.mof
284                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Network28_QoS.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_QoS.mof
285                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Network28_Routes.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_Routes.mof
286                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Network28_RoutingForwarding.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_RoutingForwarding.mof
287                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Network28_SNMP.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_SNMP.mof
288                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Network28_SwitchingBridging.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_SwitchingBridging.mof
289                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Network28_Systems.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_Systems.mof
290                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Network28_VLAN.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Network28_VLAN.mof
291                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Physical28_Component.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Physical28_Component.mof
292                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Physical28_Connector.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Physical28_Connector.mof
293                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Physical28_Link.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Physical28_Link.mof
294                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Physical28_Misc.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Physical28_Misc.mof
295                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Physical28_Package.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Physical28_Package.mof
296 w.otsuka        1.7  install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Physical28_PhysicalMedia.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Physical28_PhysicalMedia.mof
297                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/Physical28_StoragePackage.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/Physical28_StoragePackage.mof
298                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/System28_Boot.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_Boot.mof
299                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/System28_Diagnostics.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_Diagnostics.mof
300                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/System28_FileElements.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_FileElements.mof
301                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/System28_Logs.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_Logs.mof
302                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/System28_OperatingSystem.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_OperatingSystem.mof
303                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/System28_Processing.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_Processing.mof
304                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/System28_SystemElements.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_SystemElements.mof
305                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/System28_SystemResources.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_SystemResources.mof
306                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/System28_Time.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_Time.mof
307                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/System28_Unix.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/System28_Unix.mof
308                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/User28_AccessControl.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_AccessControl.mof
309                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/User28_Account.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_Account.mof
310                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/User28_AuthenticationReqmt.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_AuthenticationReqmt.mof
311                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/User28_Credential.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_Credential.mof
312                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/User28_Group.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_Group.mof
313                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/User28_Identity.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_Identity.mof
314                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/User28_Kerberos.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_Kerberos.mof
315                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/User28_Org.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_Org.mof
316                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/User28_PrivilegeManagementService.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_PrivilegeManagementService.mof
317 w.otsuka        1.7  install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/User28_Privilege.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_Privilege.mof
318                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/User28_PublicKey.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_PublicKey.mof
319                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/User28_Role.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_Role.mof
320                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/User28_SecurityLevel.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_SecurityLevel.mof
321                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/User28_SecurityServices.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_SecurityServices.mof
322                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/User28_SharedSecret.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_SharedSecret.mof
323                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/User28_StorageHardwareID.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_StorageHardwareID.mof
324                      install -D -m 0444  $PEGASUS_ROOT/Schemas/CIM28/User28_UsersAccess.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/CIM28/User28_UsersAccess.mof
325 w.otsuka        1.1  
326                      #
327                      # Pegasus' schema
328                      #
329                      
330                      # Internal:
331 w.otsuka        1.7  install -D -m 0444  $PEGASUS_ROOT/Schemas/Pegasus/Internal/VER20/PG_Authorization20.mof  $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_Authorization20.mof
332                      install -D -m 0444  $PEGASUS_ROOT/Schemas/Pegasus/Internal/VER20/PG_ConfigSetting20.mof  $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_ConfigSetting20.mof
333                      install -D -m 0444  $PEGASUS_ROOT/Schemas/Pegasus/Internal/VER20/PG_InternalSchema20.mof $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_InternalSchema20.mof
334                      install -D -m 0444  $PEGASUS_ROOT/Schemas/Pegasus/Internal/VER20/PG_ShutdownService20.mof           $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_ShutdownService20.mof
335                      install -D -m 0444  $PEGASUS_ROOT/Schemas/Pegasus/Internal/VER20/PG_User20.mof           $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_User20.mof
336 w.otsuka        1.1  
337                      # InterOp:
338 w.otsuka        1.7  install -D -m 0444  $PEGASUS_ROOT/Schemas/Pegasus/InterOp/VER20/PG_Events20.mof   $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_Events20.mof
339                      install -D -m 0444  $PEGASUS_ROOT/Schemas/Pegasus/InterOp/VER20/PG_InterOpSchema20.mof   $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_InterOpSchema20.mof
340                      install -D -m 0444  $PEGASUS_ROOT/Schemas/Pegasus/InterOp/VER20/PG_ProviderModule20.mof  $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_ProviderModule20.mof
341 w.otsuka        1.1  
342                      #
343                      # Pegasus Default Providers' schema
344                      #
345 w.otsuka        1.7  install -D -m 0444  $PEGASUS_ROOT/Schemas/Pegasus/ManagedSystem/VER20/PG_ComputerSystem20.mof                               $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_ComputerSystem20.mof
346                      install -D -m 0444  $PEGASUS_ROOT/Schemas/Pegasus/ManagedSystem/VER20/PG_ComputerSystem20R.mof                               $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_ComputerSystem20R.mof
347                      install -D -m 0444  $PEGASUS_ROOT/Schemas/Pegasus/ManagedSystem/VER20/PG_ManagedSystemSchema20.mof                               $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_ManagedSystemSchema20.mof
348                      install -D -m 0444  $PEGASUS_ROOT/Schemas/Pegasus/ManagedSystem/VER20/PG_ManagedSystemSchema20R.mof                               $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_ManagedSystemSchema20R.mof
349                      install -D -m 0444  $PEGASUS_ROOT/Schemas/Pegasus/ManagedSystem/VER20/PG_OperatingSystem20.mof                               $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_OperatingSystem20.mof
350                      install -D -m 0444  $PEGASUS_ROOT/Schemas/Pegasus/ManagedSystem/VER20/PG_OperatingSystem20R.mof                               $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_OperatingSystem20R.mof
351                      install -D -m 0444  $PEGASUS_ROOT/Schemas/Pegasus/ManagedSystem/VER20/PG_UnixProcess20.mof                               $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_UnixProcess20.mof
352                      install -D -m 0444  $PEGASUS_ROOT/Schemas/Pegasus/ManagedSystem/VER20/PG_UnixProcess20R.mof                               $RPM_BUILD_ROOT%PEGASUS_MOF_DIR/Pegasus/PG_UnixProcess20R.mof
353 w.otsuka        1.1  #
354                      # Initial Repository
355                      #
356 w.otsuka        1.5  mkdir -p  $RPM_BUILD_ROOT%PEGASUS_REPOSITORY_DIR
357                      cp -rf $PEGASUS_HOME/repository/*  $RPM_BUILD_ROOT%PEGASUS_REPOSITORY_DIR
358 w.otsuka        1.1  
359                      #
360                      # cimserver config files
361                      #
362                      install -D -m 0644  $PEGASUS_ROOT/src/Server/%PEGASUS_PLANNED_CONFIG_FILE $RPM_BUILD_ROOT%PEGASUS_VARDATA_DIR/%PEGASUS_PLANNED_CONFIG_FILE
363                      
364                      #
365                      # WBEM pam authentication
366                      #
367                      install -D -m 0644  $PEGASUS_ROOT/rpm/wbem $RPM_BUILD_ROOT%PAM_CONF/wbem
368                      
369                      #
370                      # repository install script
371                      #
372 w.otsuka        1.3  echo "PEGASUS_MOF_DIR="%PEGASUS_MOF_DIR > initrepository.in
373                      echo "PEGASUS_REPOSITORY_DIR="%PEGASUS_REPOSITORY_DIR >> initrepository.in
374                      echo "PEGASUS_BIN_DIR="%PEGASUS_BIN_DIR >> initrepository.in
375                      echo "PEGASUS_CIM_SCHEMA=28" >> initrepository.in
376                      cat initrepository.in $PEGASUS_ROOT/installs/scripts/init_repository > $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/init_repository
377                      chmod 0544 $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/init_repository
378 w.otsuka        1.1  
379                      #
380 w.otsuka        1.15 # script to add tog-pegasus paths to /etc/profile
381                      #
382                      install -D -m 0544 %PEGASUS_INSTALL_SCRIPT_DIR/settogpath $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/settogpath
383                      
384                      #
385 w.otsuka        1.1  # man pages
386                      #
387 w.otsuka        1.7  install -D -m 0444  $PEGASUS_ROOT/rpm/manLinux/man1.Z/cimmof.1 $RPM_BUILD_ROOT%PEGASUS_MANUSER_DIR/cimmof.1
388                      install -D -m 0444  $PEGASUS_ROOT/rpm/manLinux/man1.Z/cimprovider.1 $RPM_BUILD_ROOT%PEGASUS_MANUSER_DIR/cimprovider.1
389                      install -D -m 0444  $PEGASUS_ROOT/rpm/manLinux/man1.Z/osinfo.1 $RPM_BUILD_ROOT%PEGASUS_MANUSER_DIR/osinfo.1
390                      install -D -m 0444  $PEGASUS_ROOT/rpm/manLinux/man1.Z/wbemexec.1 $RPM_BUILD_ROOT%PEGASUS_MANUSER_DIR/wbemexec.1
391 w.otsuka        1.8  install -D -m 0444  $PEGASUS_ROOT/rpm/manLinux/man8.Z/cimauth.8 $RPM_BUILD_ROOT%PEGASUS_MANADMIN_DIR/cimauth.8
392                      install -D -m 0444  $PEGASUS_ROOT/rpm/manLinux/man8.Z/cimconfig.8 $RPM_BUILD_ROOT%PEGASUS_MANADMIN_DIR/cimconfig.8
393                      install -D -m 0444  $PEGASUS_ROOT/rpm/manLinux/man8.Z/cimserver.8 $RPM_BUILD_ROOT%PEGASUS_MANADMIN_DIR/cimserver.8
394 w.otsuka        1.1  
395                      install -D -m 0444  $PEGASUS_ROOT/doc/%PEGASUS_LICENSE_FILE $RPM_BUILD_ROOT%PEGASUS_PROD_DIR/%PEGASUS_LICENSE_FILE
396                      #
397                      # SDK
398                      #
399 w.otsuka        1.4  
400 denise.eckstein 1.14 %define INCLUDE_DEST_PATH    $RPM_BUILD_ROOT%PEGASUS_INCLUDE_DIR
401                      %define HTML_DEST_PATH       $RPM_BUILD_ROOT%PEGASUS_HTML_DIR
402                      %define SAMPLES_DEST_PATH     $RPM_BUILD_ROOT%PEGASUS_SAMPLES_DIR
403                      mkdir -p %INCLUDE_DEST_PATH/Pegasus/{Client,Common,Consumer,Handler,Provider}
404 w.otsuka        1.1  mkdir -p %HTML_DEST_PATH
405                      mkdir -p %SAMPLES_DEST_PATH/{Clients,mak,Providers}
406                      mkdir -p %SAMPLES_DEST_PATH/Providers/Load
407 denise.eckstein 1.14 install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Client/CIMClientException.h %INCLUDE_DEST_PATH/Pegasus/Client/CIMClientException.h
408                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Client/CIMClient.h %INCLUDE_DEST_PATH/Pegasus/Client/CIMClient.h
409                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Client/Linkage.h %INCLUDE_DEST_PATH/Pegasus/Client/Linkage.h
410                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/AcceptLanguages.h %INCLUDE_DEST_PATH/Pegasus/Common/AcceptLanguages.h
411                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/AcceptLanguageElement.h %INCLUDE_DEST_PATH/Pegasus/Common/AcceptLanguageElement.h
412                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/Array.h %INCLUDE_DEST_PATH/Pegasus/Common/Array.h
413                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/ArrayInter.h %INCLUDE_DEST_PATH/Pegasus/Common/ArrayInter.h
414                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/Char16.h %INCLUDE_DEST_PATH/Pegasus/Common/Char16.h
415                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMClass.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMClass.h 
416                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMDateTime.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMDateTime.h
417                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMFlavor.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMFlavor.h
418                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMIndication.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMIndication.h 
419                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMInstance.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMInstance.h
420                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMMethod.h %INCLUDE_DEST_PATH/Pegasus/Common//CIMMethod.h
421                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMName.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMName.h
422                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMObject.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMObject.h
423                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMObjectPath.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMObjectPath.h
424                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMParameter.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMParameter.h
425                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMParamValue.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMParamValue.h
426                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMProperty.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMProperty.h
427                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMPropertyList.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMPropertyList.h
428 denise.eckstein 1.14 install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMQualifierDecl.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMQualifierDecl.h
429                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMQualifier.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMQualifier.h
430                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMScope.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMScope.h
431                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMStatusCode.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMStatusCode.h
432                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMType.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMType.h
433                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMValue.h %INCLUDE_DEST_PATH/Pegasus/Common/CIMValue.h
434                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/Config.h %INCLUDE_DEST_PATH/Pegasus/Common/Config.h
435                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/ContentLanguageElement.h %INCLUDE_DEST_PATH/Pegasus/Common/ContentLanguageElement.h
436                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/ContentLanguages.h %INCLUDE_DEST_PATH/Pegasus/Common/ContentLanguages.h
437                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/Exception.h %INCLUDE_DEST_PATH/Pegasus/Common/Exception.h
438                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/Formatter.h %INCLUDE_DEST_PATH/Pegasus/Common/Formatter.h
439                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/LanguageElementContainer.h %INCLUDE_DEST_PATH/Pegasus/Common/LanguageElementContainer.h
440                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/LanguageElement.h %INCLUDE_DEST_PATH/Pegasus/Common/LanguageElement.h
441                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/Linkage.h %INCLUDE_DEST_PATH/Pegasus/Common/Linkage.h
442                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/MessageLoader.h %INCLUDE_DEST_PATH/Pegasus/Common/MessageLoader.h
443                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/OperationContext.h %INCLUDE_DEST_PATH/Pegasus/Common/OperationContext.h
444                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/Platform_%PEGASUS_HARDWARE_PLATFORM.h %INCLUDE_DEST_PATH/Pegasus/Common/Platform_%PEGASUS_HARDWARE_PLATFORM.h
445                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/ResponseHandler.h %INCLUDE_DEST_PATH/Pegasus/Common/ResponseHandler.h
446                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/SSLContext.h %INCLUDE_DEST_PATH/Pegasus/Common/SSLContext.h
447                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Common/String.h %INCLUDE_DEST_PATH/Pegasus/Common/String.h
448                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Consumer/CIMIndicationConsumer.h %INCLUDE_DEST_PATH/Pegasus/Consumer/CIMIndicationConsumer.h
449 denise.eckstein 1.14 install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Consumer/Linkage.h %INCLUDE_DEST_PATH/Pegasus/Consumer/Linkage.h
450                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMAssociationProvider.h %INCLUDE_DEST_PATH/Pegasus/Provider/CIMAssociationProvider.h
451                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMIndicationConsumerProvider.h %INCLUDE_DEST_PATH/Pegasus/Provider/CIMIndicationConsumerProvider.h
452                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMIndicationProvider.h %INCLUDE_DEST_PATH/Pegasus/Provider/CIMIndicationProvider.h
453                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMInstanceProvider.h %INCLUDE_DEST_PATH/Pegasus/Provider/CIMInstanceProvider.h
454                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMMethodProvider.h %INCLUDE_DEST_PATH/Pegasus/Provider/CIMMethodProvider.h
455                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMOMHandle.h %INCLUDE_DEST_PATH/Pegasus/Provider/CIMOMHandle.h
456                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMProvider.h %INCLUDE_DEST_PATH/Pegasus/Provider/CIMProvider.h
457                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/Linkage.h %INCLUDE_DEST_PATH/Pegasus/Provider/Linkage.h
458                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_INCLUDE_DIR/Pegasus/Provider/ProviderException.h %INCLUDE_DEST_PATH/Pegasus/Provider/ProviderException.h
459 w.otsuka        1.9  
460                      
461 denise.eckstein 1.14 cd %PEGASUS_STAGING_DIR%PEGASUS_PROD_DIR/
462                      cp -rf html $RPM_BUILD_ROOT%PEGASUS_PROD_DIR
463                      
464                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Makefile %SAMPLES_DEST_PATH/Makefile 
465                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/mak/common.mak %SAMPLES_DEST_PATH/mak/common.mak 
466 w.otsuka        1.4  
467                      echo "PEGASUS_DEST_LIB_DIR =   "%PEGASUS_DEST_LIB_DIR > sampleconfig.txt
468                      echo "PEGASUS_VARDATA_DIR =    "%PEGASUS_VARDATA_DIR >> sampleconfig.txt
469                      echo "PEGASUS_PROVIDER_LIB_DIR="%PEGASUS_PROVIDER_LIB_DIR >> sampleconfig.txt
470 w.otsuka        1.11 echo "PEGASUS_MOF_DIR =        "%PEGASUS_MOF_DIR>> sampleconfig.txt
471 denise.eckstein 1.14 echo "PEGASUS_INCLUDE_DIR =    "%PEGASUS_INCLUDE_DIR >> sampleconfig.txt
472                      echo "PEGASUS_SAMPLES_DIR =    "%PEGASUS_SAMPLES_DIR >> sampleconfig.txt
473 w.otsuka        1.4  echo "PEGASUS_BIN_DIR =        "%PEGASUS_BIN_DIR >> sampleconfig.txt
474 denise.eckstein 1.14 cat sampleconfig.txt %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/mak/config.mak > sampleconfig.mak
475 w.otsuka        1.4  install -D -m 0444 sampleconfig.mak %SAMPLES_DEST_PATH/mak/config.mak 
476 denise.eckstein 1.14 install -D -m 0444  %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/mak/%PEGASUS_HARDWARE_PLATFORM.mak %SAMPLES_DEST_PATH/mak/%PEGASUS_HARDWARE_PLATFORM.mak 
477                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/mak/library.mak %SAMPLES_DEST_PATH/mak/library.mak 
478                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/mak/program.mak %SAMPLES_DEST_PATH/mak/program.mak
479                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/mak/recurse.mak %SAMPLES_DEST_PATH/mak/recurse.mak
480                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Clients/Makefile %SAMPLES_DEST_PATH/Clients/Makefile
481                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Clients/DefaultC++/Makefile %SAMPLES_DEST_PATH/Clients/DefaultC++/Makefile
482                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Clients/DefaultC++/EnumInstances/EnumInstances.cpp %SAMPLES_DEST_PATH/Clients/DefaultC++/EnumInstances/EnumInstances.cpp 
483                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Clients/DefaultC++/EnumInstances/Makefile %SAMPLES_DEST_PATH/Clients/DefaultC++/EnumInstances/Makefile 
484                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Clients/DefaultC++/InvokeMethod/InvokeMethod.cpp %SAMPLES_DEST_PATH/Clients/DefaultC++/InvokeMethod/InvokeMethod.cpp 
485                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Clients/DefaultC++/InvokeMethod/Makefile %SAMPLES_DEST_PATH/Clients/DefaultC++/InvokeMethod/Makefile 
486                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Clients/DefaultC++/SendTestIndications/Makefile %SAMPLES_DEST_PATH/Clients/DefaultC++/SendTestIndications/Makefile 
487                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Clients/DefaultC++/SendTestIndications/SendTestIndications.cpp %SAMPLES_DEST_PATH/Clients/DefaultC++/SendTestIndications/SendTestIndications.cpp
488                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Makefile %SAMPLES_DEST_PATH/Providers/Makefile
489                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/Makefile %SAMPLES_DEST_PATH/Providers/DefaultC++/Makefile
490                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/IndicationProvider/IndicationProvider.h %SAMPLES_DEST_PATH/Providers/DefaultC++/IndicationProvider/IndicationProvider.h
491                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/IndicationProvider/IndicationProvider.cpp %SAMPLES_DEST_PATH/Providers/DefaultC++/IndicationProvider/IndicationProvider.cpp 
492                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/IndicationProvider/IndicationProviderMain.cpp %SAMPLES_DEST_PATH/Providers/DefaultC++/IndicationProvider/IndicationProviderMain.cpp 
493                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/IndicationProvider/Makefile %SAMPLES_DEST_PATH/Providers/DefaultC++/IndicationProvider/Makefile
494                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/EnumerateInstancesrspgood.xml %SAMPLES_DEST_PATH/Providers/DefaultC++/InstanceProvider/EnumerateInstancesrspgood.xml 
495                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/EnumerateInstances.xml %SAMPLES_DEST_PATH/Providers/DefaultC++/InstanceProvider/EnumerateInstances.xml 
496                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/InstanceProvider.cpp %SAMPLES_DEST_PATH/Providers/DefaultC++/InstanceProvider/InstanceProvider.cpp 
497 denise.eckstein 1.14 install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/InstanceProvider.h %SAMPLES_DEST_PATH/Providers/DefaultC++/InstanceProvider/InstanceProvider.h 
498                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/InstanceProviderMain.cpp %SAMPLES_DEST_PATH/Providers/DefaultC++/InstanceProvider/InstanceProviderMain.cpp 
499                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/Makefile %SAMPLES_DEST_PATH/Providers/DefaultC++/InstanceProvider/Makefile 
500                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/InvokeMethodrspgood.xml %SAMPLES_DEST_PATH/Providers/DefaultC++/MethodProvider/InvokeMethodrspgood.xml 
501                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/InvokeMethod.xml %SAMPLES_DEST_PATH/Providers/DefaultC++/MethodProvider/InvokeMethod.xml 
502                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/Makefile %SAMPLES_DEST_PATH/Providers/DefaultC++/MethodProvider/Makefile 
503                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/MethodProvider.cpp %SAMPLES_DEST_PATH/Providers/DefaultC++/MethodProvider/MethodProvider.cpp 
504                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/MethodProvider.h %SAMPLES_DEST_PATH/Providers/DefaultC++/MethodProvider/MethodProvider.h 
505                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/MethodProviderMain.cpp %SAMPLES_DEST_PATH/Providers/DefaultC++/MethodProvider/MethodProviderMain.cpp 
506                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumerMain.cpp %SAMPLES_DEST_PATH/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumerMain.cpp 
507                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.cpp %SAMPLES_DEST_PATH/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.cpp 
508                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.h %SAMPLES_DEST_PATH/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.h
509                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/DefaultC++/SimpleDisplayConsumer/Makefile %SAMPLES_DEST_PATH/Providers/DefaultC++/SimpleDisplayConsumer/Makefile
510                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/Makefile %SAMPLES_DEST_PATH/Providers/Load/Makefile
511                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/IndicationProviderR.mof %SAMPLES_DEST_PATH/Providers/Load/IndicationProviderR.mof
512                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/InstanceProviderR.mof %SAMPLES_DEST_PATH/Providers/Load/InstanceProviderR.mof
513                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/MethodProviderR.mof %SAMPLES_DEST_PATH/Providers/Load/MethodProviderR.mof
514                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/SampleProviderSchema.mof %SAMPLES_DEST_PATH/Providers/Load/SampleProviderSchema.mof
515                      install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/SimpleDisplayConsumerR.mof %SAMPLES_DEST_PATH/Providers/Load/SimpleDisplayConsumerR.mof
516 w.otsuka        1.1  
517                      rm -Rf $PEGASUS_HOME
518                      
519                      %clean
520                      #make clean
521                      [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
522                      
523                      %pre
524                      if [ -d %PEGASUS_REPOSITORY_DIR"/root#PG_Internal" ]
525                      then
526                        #
527                        # Save the current repository to prev_repository.
528                        #
529                      
530                        REPOSITORY_LOC=%PEGASUS_REPOSITORY_DIR
531                        PREV_REPOSITORY_LOC=%PEGASUS_REPOSITORY_DIR"/prev_repository"
532                      
533                        if [[ -d $REPOSITORY_LOC ]]
534                        then
535                            if [[ -d $PREV_REPOSITORY_LOC ]]
536                            then
537 w.otsuka        1.1            rm -rf $PREV_REPOSITORY_LOC
538                            fi
539                      
540                            mv $REPOSITORY_LOC $PREV_REPOSITORY_LOC
541                            mkdir $REPOSITORY_LOC
542                        fi
543                      fi
544                      
545                      %post
546                      mkdir -p %PEGASUS_LOG_DIR
547                      %define INSTALL_LOG %PEGASUS_LOG_DIR/install.log
548                      echo `date` >%INSTALL_LOG 2>&1
549                      
550                      /usr/lib/lsb/install_initd /etc/init.d/tog-pegasus
551                      
552                      /bin/chmod -f +w %PEGASUS_LOCAL_DOMAIN_SOCKET_DIR/cimxml.socket
553                      
554                      # Create symbolic links for client libs
555                      #
556                      cd %PEGASUS_DEST_LIB_DIR
557                      ln -sf libpegcommon.so.1 libpegcommon.so
558 w.otsuka        1.1  ln -sf libpegclient.so.1 libpegclient.so
559                      ln -sf libpegprovider.so.1 libpegprovider.so
560 w.otsuka        1.6  ln -sf libDefaultProviderManager.so.1 libDefaultProviderManager.so
561                      ln -sf libCMPIProviderManager.so.1 libCMPIProviderManager.so
562 w.otsuka        1.1  
563                      # Create symbolic links for provider libs
564                      #
565                      cd %PEGASUS_PROVIDER_LIB_DIR
566                      ln -sf libComputerSystemProvider.so.1 libComputerSystemProvider.so
567                      ln -sf libOSProvider.so.1 libOSProvider.so
568                      ln -sf libProcessProvider.so.1 libProcessProvider.so
569                      
570                      #
571                      #  Set up the openssl certificate
572                      #
573                      #  Modify entries in ssl.cnf, then
574                      #  Create big random ssl.rnd file, then 
575                      #  Generate a self signed node certificate
576                      #
577                      echo " Generating SSL certificates... "
578                      HOSTNAME=`uname -n`
579 w.otsuka        1.8  echo "[ req ]" > %PEGASUS_CONFIG_DIR/ssl.cnf
580                      echo "distinguished_name     = req_distinguished_name"  >> %PEGASUS_CONFIG_DIR/ssl.cnf
581                      echo "prompt                 = no"  >> %PEGASUS_CONFIG_DIR/ssl.cnf
582                      echo "[ req_distinguished_name ]" >> %PEGASUS_CONFIG_DIR/ssl.cnf
583                      echo "C                      = UK" >> %PEGASUS_CONFIG_DIR/ssl.cnf
584                      echo "ST                     = Berkshire" >> %PEGASUS_CONFIG_DIR/ssl.cnf
585                      echo "L                      = Reading" >> %PEGASUS_CONFIG_DIR/ssl.cnf
586                      echo "O                      = The Open Group" >> %PEGASUS_CONFIG_DIR/ssl.cnf
587                      echo "OU                     = The OpenPegasus Project" >> %PEGASUS_CONFIG_DIR/ssl.cnf
588                      echo "CN                     = $HOSTNAME" >> %PEGASUS_CONFIG_DIR/ssl.cnf
589 w.otsuka        1.7  chmod 400 %PEGASUS_CONFIG_DIR/ssl.cnf
590 w.otsuka        1.8  chown root %PEGASUS_CONFIG_DIR/ssl.cnf
591                      chgrp root %PEGASUS_CONFIG_DIR/ssl.cnf
592 w.otsuka        1.1  
593                      openssl req -x509 -days 365 -newkey rsa:2048 \
594                         -nodes -config %PEGASUS_CONFIG_DIR/ssl.cnf   \
595                         -keyout %PEGASUS_CONFIG_DIR/key.pem -out %PEGASUS_CONFIG_DIR/cert.pem 2>>%INSTALL_LOG
596                      
597                      cat %PEGASUS_CONFIG_DIR/key.pem > %PEGASUS_CONFIG_DIR/file_2048.pem
598                      cat %PEGASUS_CONFIG_DIR/cert.pem > %PEGASUS_CONFIG_DIR/server_2048.pem
599                      cat %PEGASUS_CONFIG_DIR/cert.pem > %PEGASUS_CONFIG_DIR/client_2048.pem
600                      chmod 700 %PEGASUS_CONFIG_DIR/*.pem
601                      
602                      rm -f %PEGASUS_CONFIG_DIR/key.pem %PEGASUS_CONFIG_DIR/cert.pem
603                      
604                      if [ -f %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_CERT_FILE ] 
605                      then
606                          echo "WARNING: %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_CERT_FILE SSL Certificate file already exists."
607                      else
608                          cp %PEGASUS_CONFIG_DIR/server_2048.pem %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_CERT_FILE
609                          cp %PEGASUS_CONFIG_DIR/file_2048.pem %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_KEY_FILE
610                          chmod 400 %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_CERT_FILE %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_KEY_FILE
611                      fi
612                      
613 w.otsuka        1.1  if [ -f %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_TRUSTSTORE ]
614                      then
615                          echo "WARNING: %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_TRUSTSTORE SSL Certificate trust store already exists."
616                      else
617                          cp %PEGASUS_CONFIG_DIR/client_2048.pem %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_TRUSTSTORE
618                          chmod 400 %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_TRUSTSTORE
619                      fi
620                      
621                      # Start the cimserver
622                      (/etc/init.d/tog-pegasus start || /opt/tog-pegasus/sbin/cimserver) >> %INSTALL_LOG 2>&1
623                      
624                      if [ $? != 0 ];
625                      then
626                        echo "Brute-starting Pegasus. If the installation fails:"
627                        echo " - Start Pegasus: '/etc/init.d/tog-pegasus start'"
628                        echo " - Run '/opt/tog-pegasus/sbin/init_repository'"
629                        # No need to try it again, since it already failed.
630                        # Just giving the above notice should be sufficent
631                        # /etc/init.d/tog-pegasus start || /opt/tog-pegasus/sbin/cimserver
632                      fi
633                      
634 w.otsuka        1.1  echo " To start Pegasus manually:"
635                      echo " /etc/init.d/tog-pegasus start"
636                      echo " Stop it:"
637                      echo " /etc/init.d/tog-pegasus stop"
638 w.otsuka        1.15 echo " To set up PATH and MANPATH in /etc/profile"
639                      echo " run /opt/tog-pegasus/sbin/settogpath."
640 w.otsuka        1.1  
641                      %preun
642                      
643                      # Check if the cimserver is running
644                      isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"`
645                      if [ "$isRunning" ]; then
646                      	%PEGASUS_SBIN_DIR/cimserver -s	
647                      fi
648                      
649                      # Delete the Link to the rc.* Startup Directories
650                      /usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus
651                      
652                      %postun
653                      if [ $1 = 0 ]; then
654                      	rm -rf %PEGASUS_VARDATA_DIR
655                              rm -rf %PEGASUS_PROD_DIR
656                      	rm -rf %PEGASUS_CONFIG_DIR
657                      	export LC_ALL=C
658                      fi
659                      
660                      %files
661 w.otsuka        1.1  %defattr(-,root,root)
662                      %dir %attr(-,root,root) %PEGASUS_PROD_DIR
663                      %dir %attr(-,root,root) %PEGASUS_LOCAL_AUTH_DIR
664                      %dir %attr(-,root,root) %PEGASUS_CONFIG_DIR
665                      %dir %attr(-,root,root) %PEGASUS_VARDATA_DIR
666                      %dir %attr(-,root,root) %PEGASUS_LOG_DIR
667                      %dir %attr(-,root,root) %PEGASUS_PROVIDER_LIB_DIR
668                      %dir %attr(1555,root,root) %PEGASUS_LOCAL_DOMAIN_SOCKET_DIR
669 w.otsuka        1.5  %defattr(0755,root,root)
670                      %PEGASUS_REPOSITORY_DIR
671                      %defattr(-,root,root)
672 w.otsuka        1.1  %doc %PEGASUS_PROD_DIR/%PEGASUS_LICENSE_FILE
673 w.otsuka        1.7  %doc %PEGASUS_MANUSER_DIR/cimmof.1
674                      %doc %PEGASUS_MANUSER_DIR/cimprovider.1
675                      %doc %PEGASUS_MANUSER_DIR/osinfo.1
676                      %doc %PEGASUS_MANUSER_DIR/wbemexec.1
677                      %doc %PEGASUS_MANADMIN_DIR/cimauth.8
678                      %doc %PEGASUS_MANADMIN_DIR/cimconfig.8
679                      %doc %PEGASUS_MANADMIN_DIR/cimserver.8
680 w.otsuka        1.3  %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Core28.mof
681                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Qualifiers.mof
682                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_CoreElements.mof
683                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Physical.mof
684                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Software.mof
685                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Device.mof
686                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_StorageExtent.mof
687                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Collection.mof
688                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Redundancy.mof
689                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Service.mof
690                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_ProductFRU.mof
691                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Statistics.mof
692                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Capabilities.mof
693                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_Settings.mof
694                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_MethodParms.mof
695                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Core28_PowerMgmt.mof
696                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Application28_AppRuntime.mof
697                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Application28_BIOS.mof
698                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Application28_CheckAction.mof
699                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Application28_DeploymentModel.mof
700                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Application28_InstalledProduct.mof
701 w.otsuka        1.3  %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Application28_J2eeAppServer.mof
702                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Application28_J2eeAppServerStats.mof
703                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Application28_SystemSoftware.mof
704                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Application28.mof
705                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Database28.mof
706                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Device28.mof
707                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Event28.mof
708                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Interop28.mof
709                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_IPsecPolicy28.mof
710                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Metrics28.mof
711                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Network28.mof
712                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Physical28.mof
713                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Policy28.mof
714                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Schema28.mof
715                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_Support28.mof
716                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_System28.mof
717                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/CIM_User28.mof
718                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Database28_Statistics.mof
719                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Database28_Storage.mof
720                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Database28_System.mof
721                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_Controller.mof
722 w.otsuka        1.3  %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_CoolingAndPower.mof
723                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_DeviceElements.mof
724                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_DiskGroup.mof
725                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_FC.mof
726                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_IB.mof
727                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_Memory.mof
728                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_Modems.mof
729                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_NetworkAdapter.mof
730                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_Ports.mof
731                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_Printing.mof
732                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_Processor.mof
733                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_ProtocolController.mof
734                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_SccExtents.mof
735                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_Sensors.mof
736                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_StorageDevices.mof
737                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_StorageExtents.mof
738                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_StorageLib.mof
739                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_StorageServices.mof
740                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_USB.mof
741                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Device28_UserDevices.mof
742                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Metrics28_BaseMetric.mof
743 w.otsuka        1.3  %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Metrics28_UnitOfWork.mof
744                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_BGP.mof
745                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_Buffers.mof
746                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_Collections.mof
747                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_Filtering.mof
748                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_IPsec.mof
749                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_OSPF.mof
750                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_Pipes.mof
751                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_ProtocolEndpoints.mof
752                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_QoS.mof
753                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_Routes.mof
754                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_RoutingForwarding.mof
755                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_SNMP.mof
756                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_SwitchingBridging.mof
757                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_Systems.mof
758                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Network28_VLAN.mof
759                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Physical28_Component.mof
760                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Physical28_Connector.mof
761                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Physical28_Link.mof
762                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Physical28_Misc.mof
763                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Physical28_Package.mof
764 w.otsuka        1.3  %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Physical28_PhysicalMedia.mof
765                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/Physical28_StoragePackage.mof
766                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_Boot.mof
767                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_Diagnostics.mof
768                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_FileElements.mof
769                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_Logs.mof
770                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_OperatingSystem.mof
771                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_Processing.mof
772                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_SystemElements.mof
773                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_SystemResources.mof
774                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_Time.mof
775                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/System28_Unix.mof
776                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_AccessControl.mof
777                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_Account.mof
778                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_AuthenticationReqmt.mof
779                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_Credential.mof
780                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_Group.mof
781                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_Identity.mof
782                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_Kerberos.mof
783                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_Org.mof
784                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_Privilege.mof
785 w.otsuka        1.3  %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_PrivilegeManagementService.mof
786                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_PublicKey.mof
787                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_Role.mof
788                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_SecurityLevel.mof
789                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_SecurityServices.mof
790                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_SharedSecret.mof
791                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_StorageHardwareID.mof
792                      %attr(-,root,root) %PEGASUS_MOF_DIR/CIM28/User28_UsersAccess.mof
793                      %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_InterOpSchema20.mof
794                      %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_InternalSchema20.mof
795                      %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_ManagedSystemSchema20.mof
796                      %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_ManagedSystemSchema20R.mof
797                      %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_Authorization20.mof
798                      %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_ConfigSetting20.mof
799                      %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_ShutdownService20.mof
800                      %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_User20.mof
801                      %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_Events20.mof
802                      %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_ProviderModule20.mof
803                      %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_ComputerSystem20.mof
804                      %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_ComputerSystem20R.mof
805                      %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_OperatingSystem20.mof
806 w.otsuka        1.3  %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_OperatingSystem20R.mof
807                      %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_UnixProcess20.mof
808                      %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_UnixProcess20R.mof
809 w.otsuka        1.1  %config %attr(-,root,root) %PEGASUS_VARDATA_DIR/%PEGASUS_PLANNED_CONFIG_FILE
810                      %config %attr(-,root,root) /etc/init.d/tog-pegasus
811                      %config %attr(-,root,root) %PAM_CONF/wbem
812                      %attr(-,root,root) %PEGASUS_SBIN_DIR/cimauth
813                      %attr(-,root,root) %PEGASUS_SBIN_DIR/cimserver
814                      %attr(-,root,root) %PEGASUS_SBIN_DIR/cimservera
815                      %attr(-,root,root) %PEGASUS_SBIN_DIR/cimuser
816                      %attr(-,root,root) %PEGASUS_SBIN_DIR/cimconfig
817                      %attr(-,root,root) %PEGASUS_SBIN_DIR/init_repository
818 w.otsuka        1.15 %attr(-,root,root) %PEGASUS_SBIN_DIR/settogpath
819 w.otsuka        1.1  %attr(-,root,root) %PEGASUS_BIN_DIR/cimmof
820                      %attr(-,root,root) %PEGASUS_BIN_DIR/cimmofl
821                      %attr(-,root,root) %PEGASUS_BIN_DIR/cimprovider
822                      %attr(-,root,root) %PEGASUS_BIN_DIR/osinfo
823                      %attr(-,root,root) %PEGASUS_BIN_DIR/wbemexec
824                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libCIMxmlIndicationHandler.so.1
825                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libConfigSettingProvider.so.1
826                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libNamespaceProvider.so.1
827                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libProviderRegistrationProvider.so.1
828                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libUserAuthProvider.so.1
829                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegauthentication.so.1
830                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegclient.so.1
831                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegcliutils.so.1
832                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegcommon.so.1
833                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegcompiler.so.1
834                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegconfig.so.1
835                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegexportclient.so.1
836                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegexportserver.so.1
837                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpeggetoopt.so.1
838                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpeghandlerservice.so.1
839                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegindicationservice.so.1
840 w.otsuka        1.1  %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpeglistener.so.1
841                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegprm.so.1
842                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegprovidermanager.so.1
843                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegprovider.so.1
844                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegrepository.so.1
845                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegserver.so.1
846                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpeguser.so.1
847                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libpegwql.so.1
848                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libCMPIProviderManager.so.1
849                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libcmpiCppImpl.so.1
850                      %attr(-,root,root) %PEGASUS_DEST_LIB_DIR/libDefaultProviderManager.so.1
851                      %attr(-,root,root) %PEGASUS_PROVIDER_LIB_DIR/libComputerSystemProvider.so.1
852                      %attr(-,root,root) %PEGASUS_PROVIDER_LIB_DIR/libOSProvider.so.1
853                      %attr(-,root,root) %PEGASUS_PROVIDER_LIB_DIR/libProcessProvider.so.1
854                      
855                      
856                      %files sdk
857                      %defattr(0444,root,root)
858 denise.eckstein 1.14 %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Client/CIMClientException.h
859                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Client/CIMClient.h
860                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Client/Linkage.h
861                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/AcceptLanguages.h
862                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/AcceptLanguageElement.h
863                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/Array.h
864                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/ArrayInter.h
865                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/Char16.h
866                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMClass.h 
867                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMDateTime.h
868                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMFlavor.h
869                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMIndication.h 
870                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMInstance.h
871                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common//CIMMethod.h
872                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMName.h
873                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMObject.h
874                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMObjectPath.h
875                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMParameter.h
876                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMParamValue.h
877                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMProperty.h
878                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMPropertyList.h
879 denise.eckstein 1.14 %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMQualifierDecl.h
880                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMQualifier.h
881                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMScope.h
882                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMStatusCode.h
883                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMType.h
884                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/CIMValue.h
885                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/Config.h
886                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/ContentLanguageElement.h
887                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/ContentLanguages.h
888                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/Exception.h
889                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/Formatter.h
890                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/LanguageElementContainer.h
891                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/LanguageElement.h
892                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/Linkage.h
893                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/MessageLoader.h
894                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/OperationContext.h
895                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/Platform_%PEGASUS_HARDWARE_PLATFORM.h
896                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/ResponseHandler.h
897                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/SSLContext.h
898                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Common/String.h
899                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Consumer/CIMIndicationConsumer.h
900 denise.eckstein 1.14 %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Consumer/Linkage.h
901                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMAssociationProvider.h
902                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMIndicationConsumerProvider.h
903                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMIndicationProvider.h
904                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMInstanceProvider.h
905                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMMethodProvider.h
906                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMOMHandle.h
907                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/CIMProvider.h
908                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/Linkage.h
909                      %attr(-,root,root) %PEGASUS_INCLUDE_DIR/Pegasus/Provider/ProviderException.h
910                      %PEGASUS_HTML_DIR
911                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Makefile 
912                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/mak/common.mak 
913                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/mak/config.mak 
914                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/mak/library.mak 
915                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/mak/%PEGASUS_HARDWARE_PLATFORM.mak
916                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/mak/program.mak 
917                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/mak/recurse.mak 
918                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/Makefile 
919                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++/Makefile
920                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++/EnumInstances/EnumInstances.cpp 
921 denise.eckstein 1.14 %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++/EnumInstances/Makefile 
922                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++/InvokeMethod/InvokeMethod.cpp 
923                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++/InvokeMethod/Makefile 
924                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++/SendTestIndications/Makefile 
925                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Clients/DefaultC++/SendTestIndications/SendTestIndications.cpp
926                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/Makefile
927                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/Makefile
928                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/IndicationProvider/IndicationProvider.cpp
929                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/IndicationProvider/IndicationProvider.h
930                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/IndicationProvider/IndicationProviderMain.cpp
931                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/IndicationProvider/Makefile
932                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/EnumerateInstancesrspgood.xml 
933                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/EnumerateInstances.xml 
934                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/InstanceProvider.cpp 
935                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/InstanceProvider.h 
936                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/InstanceProviderMain.cpp 
937                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/InstanceProvider/Makefile 
938                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/InvokeMethodrspgood.xml 
939                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/InvokeMethod.xml 
940                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/Makefile 
941                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/MethodProvider.cpp 
942 denise.eckstein 1.14 %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/MethodProvider.h 
943                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/MethodProvider/MethodProviderMain.cpp 
944                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.cpp 
945                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.h
946                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumerMain.cpp
947                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/DefaultC++/SimpleDisplayConsumer/Makefile
948                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/Load/Makefile
949                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/Load/IndicationProviderR.mof
950                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/Load/InstanceProviderR.mof
951                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/Load/MethodProviderR.mof
952                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/Load/SampleProviderSchema.mof
953                      %attr(-,root,root) %PEGASUS_SAMPLES_DIR/Providers/Load/SimpleDisplayConsumerR.mof

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2