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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2