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