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

  1 w.otsuka 1.27 #%2005////////////////////////////////////////////////////////////////////////
  2 w.otsuka 1.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 denise.eckstein 1.32 #%/////////////////////////////////////////////////////////////////////////////
 34                      
 35                      #
 36                      # WARNING: This file is automatically generated by executing 
 37                      #   make -f pegasus/Makefile.Release create_OpenPegasusRPMSpecFile
 38                      # Any changes made directly to this file will be lost the next 
 39 denise.eckstein 1.35 # time this file is generated.
 40 w.otsuka        1.1  #
 41 denise.eckstein 1.32 
 42 w.otsuka        1.24 %define srcRelease 1
 43 denise.eckstein 1.32 Version: 2.5Alpha1
 44                      Release: 1
 45 w.otsuka        1.56 Epoch:   1
 46 denise.eckstein 1.32 
 47                      # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-intro.spec
 48 w.otsuka        1.56 %{?!PEGASUS_BUILD_TEST_RPM:   %define PEGASUS_BUILD_TEST_RPM        0}
 49                      # do "rpmbuild --define 'PEGASUS_BUILD_TEST_RPM 1'" to build test RPM .
 50 w.otsuka        1.9  Summary: OpenPegasus WBEM Services for Linux
 51 w.otsuka        1.1  Name: tog-pegasus
 52                      Group: Systems Management/Base
 53 w.otsuka        1.56 License: Open Group Pegasus Open Source
 54 w.otsuka        1.1  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
 55 w.otsuka        1.24 Source: ftp://www.opengroup.org/pegasus/tog-pegasus-%{version}-%{srcRelease}.tar.gz
 56 w.otsuka        1.21 Requires: openssl >= 0.9.6 lsb >= 1.3
 57 denise.eckstein 1.32 Provides: tog-pegasus-cimserver
 58 w.otsuka        1.21 BuildRequires: openssl-devel >= 0.9.6
 59 w.otsuka        1.1  
 60                      %description
 61 w.otsuka        1.9  OpenPegasus WBEM Services for Linux enables management solutions that deliver
 62 w.otsuka        1.1  increased control of enterprise resources. WBEM is a platform and resource
 63                      independent DMTF standard that defines a common information model and
 64                      communication protocol for monitoring and controlling resources from diverse
 65                      sources.
 66 denise.eckstein 1.32 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-intro.spec
 67 w.otsuka        1.1  
 68 denise.eckstein 1.32 %global OPENSSL_HOME /usr/include/openssl
 69                      %global OPENSSL_BIN /usr/bin
 70                      %global PEGASUS_PEM_DIR /etc/opt/tog-pegasus
 71                      %global PEGASUS_SSL_CERT_FILE server.pem
 72                      %global PEGASUS_SSL_KEY_FILE file.pem
 73                      %global PEGASUS_SSL_TRUSTSTORE client.pem
 74                      %global PAM_CONFIG_DIR /etc/pam.d
 75                      %global PEGASUS_CONFIG_DIR /etc/opt/tog-pegasus
 76                      %global PEGASUS_REPOSITORY_DIR /var/opt/tog-pegasus/repository
 77                      %global PEGASUS_PREV_REPOSITORY_DIR /var/opt/tog-pegasus/prev_repository
 78 denise.eckstein 1.36 %global PEGASUS_SBIN_DIR /opt/tog-pegasus/sbin
 79 w.otsuka        1.61 %global PEGASUS_DOC_DIR /opt/tog-pegasus/share/doc
 80 w.otsuka        1.1  
 81 denise.eckstein 1.32 %global PEGASUS_RPM_ROOT $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION
 82                      %global PEGASUS_RPM_HOME $RPM_BUILD_ROOT/build/tog-pegasus
 83 denise.eckstein 1.38 %global PEGASUS_INSTALL_LOG /var/opt/tog-pegasus/log/install.log
 84 denise.eckstein 1.35 
 85 w.otsuka        1.54 %ifarch ia64
 86 denise.eckstein 1.32 %global PEGASUS_HARDWARE_PLATFORM LINUX_IA64_GNU
 87 w.otsuka        1.1  %else
 88 w.otsuka        1.54 %ifarch x86_64
 89                      %global PEGASUS_HARDWARE_PLATFORM LINUX_X86_64_GNU
 90                      %else
 91 w.otsuka        1.24 %ifarch ppc
 92 denise.eckstein 1.32 %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC_GNU
 93 w.otsuka        1.24 %else
 94 denise.eckstein 1.44 %ifarch ppc64 pseries
 95 denise.eckstein 1.32 %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC64_GNU
 96 w.otsuka        1.24 %else
 97                      %ifarch s390
 98 denise.eckstein 1.32 %global PEGASUS_HARDWARE_PLATFORM LINUX_ZSERIES_GNU
 99 w.otsuka        1.24 %else
100                      %ifarch s390x zseries
101 denise.eckstein 1.32 %global PEGASUS_HARDWARE_PLATFORM LINUX_ZSERIES64_GNU
102 w.otsuka        1.24 %else
103 denise.eckstein 1.32 %global PEGASUS_HARDWARE_PLATFORM LINUX_IX86_GNU
104 w.otsuka        1.1  %endif
105 w.otsuka        1.24 %endif
106                      %endif
107                      %endif
108                      %endif
109 w.otsuka        1.1  
110 w.otsuka        1.55 %endif
111                      
112 denise.eckstein 1.32 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-packages.spec
113                      %package sdk
114                      Summary: The OpenPegasus Software Development Kit
115                      Group: Systems Management/Base
116                      Autoreq: 0
117                      Requires: tog-pegasus >= %{version}
118 w.otsuka        1.1  
119 denise.eckstein 1.32 %description sdk
120                      The OpenPegasus WBEM Services for Linux SDK is the developer's kit for the OpenPegasus WBEM
121                      Services for Linux release. It provides Linux C++ developers with the WBEM files required to
122                      build WBEM Clients and Providers. It also supports C provider developers via the CMPI interface.
123 w.otsuka        1.1  
124 w.otsuka        1.56 %if %{PEGASUS_BUILD_TEST_RPM}
125 denise.eckstein 1.32 %package test
126                      Summary: The OpenPegasus Tests
127                      Group: Systems Management/Base
128                      Autoreq: 0
129                      Requires: tog-pegasus >= %{version} 
130 w.otsuka        1.1  
131 denise.eckstein 1.32 %description test
132                      The OpenPegasus WBEM tests for the OpenPegasus %{version} Linux rpm.
133 w.otsuka        1.56 %endif
134                      
135 denise.eckstein 1.32 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-packages.spec
136 w.otsuka        1.1  
137 denise.eckstein 1.32 %prep
138                      [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
139 w.otsuka        1.28 
140 denise.eckstein 1.32 %setup -n %{name}-%{version}
141                      export PEGASUS_ROOT=%PEGASUS_RPM_ROOT
142 w.otsuka        1.28 
143 denise.eckstein 1.32 %build
144 w.otsuka        1.1  
145 denise.eckstein 1.44 %ifarch s390 s390x zseries
146                      export PEGASUS_EXTRA_C_FLAGS="$PEGASUS_EXTRA_C_FLAGS -fsigned-char"
147                      %endif
148                      
149 denise.eckstein 1.32 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-build.spec
150                      export PEGASUS_ROOT=%PEGASUS_RPM_ROOT
151                      export PEGASUS_HOME=%PEGASUS_RPM_HOME
152                      export PEGASUS_PLATFORM=%PEGASUS_HARDWARE_PLATFORM
153                      export PEGASUS_ENVVAR_FILE=$PEGASUS_ROOT/env_var_Linux.status
154 w.otsuka        1.1  
155 denise.eckstein 1.32 export OPENSSL_HOME=%OPENSSL_HOME
156                      export OPENSSL_BIN=%OPENSSL_BIN
157                      export LD_LIBRARY_PATH=$PEGASUS_HOME/lib
158                      export PATH=$PEGASUS_HOME/bin:$PATH
159 w.otsuka        1.1  
160 denise.eckstein 1.32 export PEGASUS_EXTRA_C_FLAGS="-g $RPM_OPT_FLAGS"
161                      export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS"
162 w.otsuka        1.1  
163 denise.eckstein 1.32 make -f $PEGASUS_ROOT/Makefile.Release create_ProductVersionFile
164                      make -f $PEGASUS_ROOT/Makefile.Release all
165                      make -f $PEGASUS_ROOT/Makefile.Release repository
166                      # End of section pegasus/rpm/tog-specfiles/tog-pegasus-build.spec
167 w.otsuka        1.27 
168 denise.eckstein 1.32 %install
169 w.otsuka        1.1  
170 denise.eckstein 1.32 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-install.spec
171                      export PEGASUS_ROOT=%PEGASUS_RPM_ROOT
172                      export PEGASUS_HOME=%PEGASUS_RPM_HOME
173                      export PEGASUS_PLATFORM=%PEGASUS_HARDWARE_PLATFORM
174                      export PEGASUS_ENVVAR_FILE=$PEGASUS_ROOT/env_var_Linux.status
175 w.otsuka        1.1  
176 denise.eckstein 1.32 export OPENSSL_BIN=%OPENSSL_BIN
177                      export LD_LIBRARY_PATH=$PEGASUS_HOME/lib
178                      export PATH=$PEGASUS_HOME/bin:$PATH
179 w.otsuka        1.1  
180 denise.eckstein 1.32 export PEGASUS_STAGING_DIR=$RPM_BUILD_ROOT
181 w.otsuka        1.1  
182 w.otsuka        1.56 %if %{PEGASUS_BUILD_TEST_RPM}
183                      make -f $PEGASUS_ROOT/Makefile.Release stage PEGASUS_STAGING_DIR=$PEGASUS_STAGING_DIR PEGASUS_BUILD_TEST_RPM=%{PEGASUS_BUILD_TEST_RPM}
184                      %else
185 denise.eckstein 1.33 make -f $PEGASUS_ROOT/Makefile.Release stage PEGASUS_STAGING_DIR=$PEGASUS_STAGING_DIR
186 w.otsuka        1.56 %endif
187 denise.eckstein 1.32 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-install.spec
188 denise.eckstein 1.34 [ "$PEGASUS_STAGING_DIR" != "/" ] && [ -d $PEGASUS_STAGING_DIR ] &&  [ -d $PEGASUS_STAGING_DIR%PEGASUS_PEM_DIR ] &&  rm -f $PEGASUS_STAGING_DIR/%PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE  $PEGASUS_STAGING_DIR/%PEGASUS_PEM_DIR/%PEGASUS_SSL_CERT_FILE  $PEGASUS_STAGING_DIR/%PEGASUS_PEM_DIR/%PEGASUS_SSL_KEY_FILE  $PEGASUS_STAGING_DIR/%PEGASUS_CONFIG_DIR/ssl.cnf;
189 denise.eckstein 1.32 [ "$PEGASUS_HOME" != "/" ] && [ -d $PEGASUS_HOME ] && rm -rf $PEGASUS_HOME;
190 w.otsuka        1.1  
191 denise.eckstein 1.32 %clean
192 w.otsuka        1.1  
193 denise.eckstein 1.32 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-clean.spec
194 w.otsuka        1.1  [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
195 denise.eckstein 1.32 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-clean.spec
196 w.otsuka        1.1  
197                      %pre
198 denise.eckstein 1.32 
199                      # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-pre.spec
200 w.otsuka        1.1  if [ -d %PEGASUS_REPOSITORY_DIR"/root#PG_Internal" ]
201                      then
202                        #
203 denise.eckstein 1.32   # Save the current repository to prev_repository
204 w.otsuka        1.1    #
205 w.otsuka        1.29   if [[ -d %PEGASUS_REPOSITORY_DIR ]]
206 w.otsuka        1.1    then
207 denise.eckstein 1.32     if [[ -d %PEGASUS_PREV_REPOSITORY_DIR ]]
208                          then
209                            rm -rf %PEGASUS_PREV_REPOSITORY_DIR
210                          fi
211                          mv %PEGASUS_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR
212                          mkdir %PEGASUS_REPOSITORY_DIR
213 w.otsuka        1.1    fi
214                      fi
215 denise.eckstein 1.32 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-pre.spec
216 w.otsuka        1.1  
217                      %post
218 w.otsuka        1.24 if [ $1 -eq 1 ]; then
219 denise.eckstein 1.35    echo `date` > %PEGASUS_INSTALL_LOG 2>&1
220 denise.eckstein 1.32    %define PEGASUS_CONFIG_DIR /etc/opt/tog-pegasus
221                         %define PEGASUS_PEM_DIR /etc/opt/tog-pegasus
222                         %define PEGASUS_SSL_CERT_FILE server.pem
223                         %define PEGASUS_SSL_KEY_FILE file.pem
224                         %define PEGASUS_SSL_TRUSTSTORE client.pem
225                      
226                         # Create Symbolic Links for SDK Libraries
227                         #
228                         ln -sf libpegclient.so.1 /opt/tog-pegasus/lib/libpegclient.so
229                         ln -sf libpegcommon.so.1 /opt/tog-pegasus/lib/libpegcommon.so
230                         ln -sf libpegprovider.so.1 /opt/tog-pegasus/lib/libpegprovider.so
231                         ln -sf libDefaultProviderManager.so.1 /opt/tog-pegasus/lib/libDefaultProviderManager.so
232                         ln -sf libCIMxmlIndicationHandler.so.1 /opt/tog-pegasus/lib/libCIMxmlIndicationHandler.so
233                         ln -sf libCMPIProviderManager.so.1 /opt/tog-pegasus/lib/libCMPIProviderManager.so
234                      
235                         # Create Symbolic Links for Packaged Provider Libraries
236                         #
237                         ln -sf libComputerSystemProvider.so.1 /opt/tog-pegasus/providers/lib/libComputerSystemProvider.so
238                         ln -sf libOSProvider.so.1 /opt/tog-pegasus/providers/lib/libOSProvider.so
239                         ln -sf libProcessProvider.so.1 /opt/tog-pegasus/providers/lib/libProcessProvider.so
240                      
241 denise.eckstein 1.32 
242                      # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec
243                         
244                         # Create OpenSSL Configuration File (ssl.cnf)
245                         #
246                         if [ -f %PEGASUS_CONFIG_DIR/ssl.cnf ]
247                         then
248                            echo "WARNING: %PEGASUS_CONFIG_DIR/ssl.cnf already exists."
249                         else
250                            echo " Generating SSL Certificate..."
251                            echo "[ req ]" >> %PEGASUS_CONFIG_DIR/ssl.cnf
252                            echo "distinguished_name     = req_distinguished_name" >> %PEGASUS_CONFIG_DIR/ssl.cnf
253                            echo "prompt                 = no" >> %PEGASUS_CONFIG_DIR/ssl.cnf
254                            echo "[ req_distinguished_name ]" >> %PEGASUS_CONFIG_DIR/ssl.cnf
255                            echo "C                      = UK" >> %PEGASUS_CONFIG_DIR/ssl.cnf
256                            echo "ST                     = Berkshire" >> %PEGASUS_CONFIG_DIR/ssl.cnf
257                            echo "L                      = Reading" >> %PEGASUS_CONFIG_DIR/ssl.cnf
258                            echo "O                      = The Open Group" >> %PEGASUS_CONFIG_DIR/ssl.cnf
259                            echo "OU                     = The OpenPegasus Project" >> %PEGASUS_CONFIG_DIR/ssl.cnf
260 w.otsuka        1.40       echo "CN                     = `host \`hostname\`|cut -d\" \" -f1`" >> %PEGASUS_CONFIG_DIR/ssl.cnf
261 denise.eckstein 1.32       chmod 400 %PEGASUS_CONFIG_DIR/ssl.cnf
262                            chown root %PEGASUS_CONFIG_DIR/ssl.cnf
263                         fi
264                      
265 w.otsuka        1.40    %OPENSSL_BIN/openssl req -x509 -days 3650 -newkey rsa:2048 \
266 denise.eckstein 1.32       -nodes -config %PEGASUS_CONFIG_DIR/ssl.cnf \
267                            -keyout %PEGASUS_PEM_DIR/key.pem -out %PEGASUS_PEM_DIR/cert.pem \
268 denise.eckstein 1.38            2>>%PEGASUS_INSTALL_LOG
269 denise.eckstein 1.32 
270                         cat %PEGASUS_PEM_DIR/key.pem > %PEGASUS_PEM_DIR/key-2048.pem
271                         chmod 400 %PEGASUS_PEM_DIR/key-2048.pem
272                         cat %PEGASUS_PEM_DIR/cert.pem > %PEGASUS_PEM_DIR/cert-2048.pem
273                         chmod 400 %PEGASUS_PEM_DIR/cert-2048.pem
274                         cat %PEGASUS_PEM_DIR/cert.pem > %PEGASUS_PEM_DIR/truststore-2048.pem
275                         chmod 400 %PEGASUS_PEM_DIR/truststore-2048.pem
276                         rm -f %PEGASUS_PEM_DIR/key.pem %PEGASUS_PEM_DIR/cert.pem
277                      
278                         if [ -f %PEGASUS_PEM_DIR/%PEGASUS_SSL_CERT_FILE ]
279                         then
280                         echo "WARNING: %PEGASUS_PEM_DIR/%PEGASUS_SSL_CERT_FILE SSL Certificate file already exists."
281                         else
282                            cp %PEGASUS_PEM_DIR/cert-2048.pem %PEGASUS_PEM_DIR/%PEGASUS_SSL_CERT_FILE
283                            chmod 444 %PEGASUS_PEM_DIR/%PEGASUS_SSL_CERT_FILE
284                            cp %PEGASUS_PEM_DIR/key-2048.pem %PEGASUS_PEM_DIR/%PEGASUS_SSL_KEY_FILE
285                            chmod 400 %PEGASUS_PEM_DIR/%PEGASUS_SSL_KEY_FILE
286                         fi
287                      
288                         if [ -f %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE ]
289                         then
290 denise.eckstein 1.32        echo "WARNING: %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE SSL Certificate trust store already exists."
291                         else
292                             cp %PEGASUS_PEM_DIR/truststore-2048.pem %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE
293                             chmod 444 %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE
294                         fi
295 w.otsuka        1.52    if [[ -d %PEGASUS_PREV_REPOSITORY_DIR ]]
296                         then
297                           # Running Repository Upgrade utility
298                           %PEGASUS_SBIN_DIR/repupgrade %PEGASUS_PREV_REPOSITORY_DIR %PEGASUS_REPOSITORY_DIR 2>>%PEGASUS_INSTALL_LOG
299                         fi
300                      
301 denise.eckstein 1.32 
302 denise.eckstein 1.44    /usr/lib/lsb/install_initd /etc/init.d/tog-pegasus
303                      
304 denise.eckstein 1.32    echo " To start Pegasus manually:"
305                         echo " /etc/init.d/tog-pegasus start"
306                         echo " Stop it:"
307                         echo " /etc/init.d/tog-pegasus stop"
308                         echo " To set up PATH and MANPATH in /etc/profile"
309                         echo " run /opt/tog-pegasus/sbin/settogpath."
310                      # End of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec
311 w.otsuka        1.1  
312 w.otsuka        1.57 elif [ $1 -gt 1 ]; then
313                      /sbin/service tog-pegasus condrestart
314                      :;
315 w.otsuka        1.24 fi
316 w.otsuka        1.1  %preun
317 w.otsuka        1.24 if [ $1 -eq 0 ]; then
318 denise.eckstein 1.32    # Check if the cimserver is running
319                         isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"`
320                         if [ "$isRunning" ]; then
321                            /opt/tog-pegasus/sbin/cimserver -s
322 w.otsuka        1.53    fi
323 denise.eckstein 1.35    [ -f /var/opt/tog-pegasus/cimserver_current.conf ] &&  rm /var/opt/tog-pegasus/cimserver_current.conf;
324                         [ -f %PEGASUS_INSTALL_LOG ] && rm %PEGASUS_INSTALL_LOG;
325 denise.eckstein 1.44    [ -d /var/opt/tog-pegasus/repository ] && rm -rf /var/opt/tog-pegasus/repository;
326 denise.eckstein 1.49    [ -d /var/opt/tog-pegasus/cache ] && rm -rf /var/opt/tog-pegasus/cache;
327 denise.eckstein 1.46    rm -f /var/run/tog-pegasus/socket/cimxml.socket;
328 denise.eckstein 1.50    rm -f /var/run/tog-pegasus/cimserver.pid
329 denise.eckstein 1.32    # Delete the Link to the rc.* Startup Directories
330                         /usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus;
331 w.otsuka        1.24 fi
332 w.otsuka        1.1  
333 denise.eckstein 1.44 %preun sdk
334                      make --directory /opt/tog-pegasus/samples -s clean
335                      
336 w.otsuka        1.56 %if %{PEGASUS_BUILD_TEST_RPM}
337 denise.eckstein 1.46 %preun test
338                      make --directory /opt/tog-pegasus/test -s unsetupTEST
339                      [ -d /var/opt/tog-pegasus/testrepository ] &&  rm -rf /var/opt/tog-pegasus/testrepository;
340                      
341 w.otsuka        1.56 %endif
342 w.otsuka        1.1  %postun
343 w.otsuka        1.24 if [ $1 -eq 0 ]; then
344 denise.eckstein 1.36    [ -f %PEGASUS_PEM_DIR/key-2048.pem ] && rm %PEGASUS_PEM_DIR/key-2048.pem;
345                         [ -f %PEGASUS_PEM_DIR/cert-2048.pem ] && rm %PEGASUS_PEM_DIR/cert-2048.pem;
346                         [ -f %PEGASUS_PEM_DIR/truststore-2048.pem ] && rm %PEGASUS_PEM_DIR/truststore-2048.pem;
347 denise.eckstein 1.32    export LC_ALL=C
348 w.otsuka        1.1  fi
349                      
350                      %files
351 denise.eckstein 1.60 %dir %attr(555,root,root) /opt/tog-pegasus
352                      %dir %attr(555,root,root) /opt/tog-pegasus/share
353                      %dir %attr(555,root,root) /opt/tog-pegasus/share/doc
354                      %dir %attr(555,root,root) /opt/tog-pegasus/share/man
355                      %dir %attr(555,root,root) /opt/tog-pegasus/share/man/man1
356                      %dir %attr(555,root,root) /opt/tog-pegasus/share/man/man8
357                      %dir %attr(555,root,root) /opt/tog-pegasus/lib
358                      %dir %attr(555,root,root) /opt/tog-pegasus/providers
359                      %dir %attr(555,root,root) /opt/tog-pegasus/providers/lib
360                      %dir %attr(555,root,root) /opt/tog-pegasus/sbin
361                      %dir %attr(555,root,root) /opt/tog-pegasus/bin
362                      %dir %attr(555,root,root) /opt/tog-pegasus/mof
363                      %dir %attr(555,root,root) /var/opt/tog-pegasus
364                      %dir %attr(555,root,root) /var/opt/tog-pegasus/cache
365                      %dir %attr(555,root,root) /var/opt/tog-pegasus/log
366                      %dir %attr(555,root,root) /var/opt/tog-pegasus/cache/localauth
367                      %dir %attr(555,root,root) /var/run/tog-pegasus
368                      %dir %attr(555,root,root) /etc/opt/tog-pegasus
369 denise.eckstein 1.32 %dir %attr(1555,root,root) /var/run/tog-pegasus/socket
370 denise.eckstein 1.60 %dir %attr(555,root,root) /opt/tog-pegasus/mof/CIM29
371 denise.eckstein 1.32 
372 denise.eckstein 1.60 %dir %attr(555,root,root) /opt/tog-pegasus/mof/Pegasus
373 denise.eckstein 1.32 
374 denise.eckstein 1.43 %attr(-,root,root) /var/opt/tog-pegasus/repository
375 denise.eckstein 1.32 
376 denise.eckstein 1.60 %doc %attr(444,root,root) /opt/tog-pegasus/license.txt
377                      %doc %attr(444,root,root) /opt/tog-pegasus/share/man/man1/cimmof.1
378                      %doc %attr(444,root,root) /opt/tog-pegasus/share/man/man1/cimprovider.1
379                      %doc %attr(444,root,root) /opt/tog-pegasus/share/man/man1/osinfo.1
380                      %doc %attr(444,root,root) /opt/tog-pegasus/share/man/man1/wbemexec.1
381                      %doc %attr(444,root,root) /opt/tog-pegasus/share/man/man8/cimauth.8
382                      %doc %attr(444,root,root) /opt/tog-pegasus/share/man/man8/cimconfig.8
383                      %doc %attr(444,root,root) /opt/tog-pegasus/share/man/man8/cimserver.8
384 w.otsuka        1.61 %doc %attr(444,root,root) /opt/tog-pegasus/share/doc/Admin_Guide_Release.pdf
385 denise.eckstein 1.60 
386                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Application_AppRuntime.mof
387                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Application_BIOS.mof
388                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Application_CheckAction.mof
389                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Application_DeploymentModel.mof
390                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Application_InstalledProduct.mof
391                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Application_J2eeAppServer.mof
392                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Application_J2eeAppServerStats.mof
393                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Application_SystemSoftware.mof
394                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/CIM_Application.mof
395                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/CIM_Core.mof
396                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/CIM_Database.mof
397                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/CIM_Device.mof
398                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/CIM_Event.mof
399                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/CIM_IPsecPolicy.mof
400                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/CIM_Interop.mof
401                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/CIM_Metrics.mof
402                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/CIM_Network.mof
403                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/CIM_Physical.mof
404                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/CIM_Policy.mof
405                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/CIM_Schema.mof
406 denise.eckstein 1.60 %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/CIM_Support.mof
407                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/CIM_System.mof
408                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/CIM_User.mof
409                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Core_Capabilities.mof
410                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Core_Collection.mof
411                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Core_CoreElements.mof
412                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Core_Device.mof
413                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Core_MethodParms.mof
414                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Core_Physical.mof
415                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Core_PowerMgmt.mof
416                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Core_ProductFRU.mof
417                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Core_Qualifiers.mof
418                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Core_Redundancy.mof
419                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Core_Service.mof
420                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Core_Settings.mof
421                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Core_Software.mof
422                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Core_Statistics.mof
423                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Core_StorageExtent.mof
424                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Database_Statistics.mof
425                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Database_Storage.mof
426                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Database_System.mof
427 denise.eckstein 1.60 %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_Controller.mof
428                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_CoolingAndPower.mof
429                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_DeviceElements.mof
430                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_DiskGroup.mof
431                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_FC.mof
432                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_IB.mof
433                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_Memory.mof
434                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_Modems.mof
435                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_NetworkAdapter.mof
436                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_Ports.mof
437                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_Printing.mof
438                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_Processor.mof
439                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_ProtocolController.mof
440                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_SccExtents.mof
441                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_Sensors.mof
442                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_StorageDevices.mof
443                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_StorageExtents.mof
444                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_StorageLib.mof
445                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_StorageServices.mof
446                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_USB.mof
447                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Device_UserDevices.mof
448 denise.eckstein 1.60 %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Metrics_BaseMetric.mof
449                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Metrics_UnitOfWork.mof
450                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Network_BGP.mof
451                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Network_Buffers.mof
452                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Network_Collections.mof
453                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Network_Filtering.mof
454                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Network_IPsec.mof
455                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Network_OSPF.mof
456                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Network_Pipes.mof
457                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Network_ProtocolEndpoints.mof
458                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Network_QoS.mof
459                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Network_Routes.mof
460                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Network_RoutingForwarding.mof
461                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Network_SNMP.mof
462                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Network_SwitchingBridging.mof
463                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Network_Systems.mof
464                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Network_VLAN.mof
465                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Physical_Component.mof
466                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Physical_Connector.mof
467                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Physical_Link.mof
468                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Physical_Misc.mof
469 denise.eckstein 1.60 %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Physical_Package.mof
470                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Physical_PhysicalMedia.mof
471                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Physical_StoragePackage.mof
472                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/System_Boot.mof
473                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/System_Diagnostics.mof
474                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/System_FileElements.mof
475                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/System_Help.mof
476                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/System_Logs.mof
477                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/System_OperatingSystem.mof
478                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/System_Processing.mof
479                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/System_SystemElements.mof
480                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/System_SystemResources.mof
481                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/System_Time.mof
482                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/System_Unix.mof
483                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/User_AccessControl.mof
484                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/User_Account.mof
485                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/User_AuthenticationReqmt.mof
486                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/User_Credential.mof
487                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/User_Group.mof
488                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/User_Identity.mof
489                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/User_Kerberos.mof
490 denise.eckstein 1.60 %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/User_Org.mof
491                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/User_Privilege.mof
492                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/User_PrivilegeManagementService.mof
493                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/User_PublicKey.mof
494                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/User_Role.mof
495                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/User_SecurityLevel.mof
496                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/User_SecurityServices.mof
497                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/User_SharedSecret.mof
498                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/User_StorageHardwareID.mof
499                      %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/User_UsersAccess.mof
500                      
501                      %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_Authorization20.mof
502                      %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_ConfigSetting20.mof
503                      %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_InternalSchema20.mof
504                      %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_ShutdownService20.mof
505                      %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_User20.mof
506                      %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_Events20.mof
507                      %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_InterOpSchema20.mof
508                      %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_ProviderModule20.mof
509                      %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_ComputerSystem20.mof
510                      %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_ComputerSystem20R.mof
511 denise.eckstein 1.60 %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_ManagedSystemSchema20.mof
512                      %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_ManagedSystemSchema20R.mof
513                      %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_OperatingSystem20.mof
514                      %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_OperatingSystem20R.mof
515                      %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_UnixProcess20.mof
516                      %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_UnixProcess20R.mof
517 denise.eckstein 1.32 
518 denise.eckstein 1.35 %config(noreplace) %attr(644,root,root)  /var/opt/tog-pegasus/cimserver_planned.conf
519 denise.eckstein 1.60 %config %attr(500,root,root) /etc/init.d/tog-pegasus
520                      %config %attr(444,root,root) %PAM_CONFIG_DIR/wbem
521 denise.eckstein 1.32 
522 denise.eckstein 1.60 %attr(500,root,root) /opt/tog-pegasus/sbin/cimauth
523                      %attr(500,root,root) /opt/tog-pegasus/sbin/cimconfig
524                      %attr(500,root,root) /opt/tog-pegasus/sbin/cimserver
525                      %attr(500,root,root) /opt/tog-pegasus/sbin/cimuser
526                      %attr(500,root,root) /opt/tog-pegasus/sbin/cimprovagt
527                      %attr(500,root,root) /opt/tog-pegasus/sbin/cimservera
528                      %attr(500,root,root) /opt/tog-pegasus/sbin/repupgrade
529                      %attr(500,root,root) /opt/tog-pegasus/sbin/init_repository
530                      %attr(500,root,root) /opt/tog-pegasus/sbin/settogpath
531                      
532                      %attr(555,root,root) /opt/tog-pegasus/bin/cimmof
533                      %attr(555,root,root) /opt/tog-pegasus/bin/cimmofl
534                      %attr(555,root,root) /opt/tog-pegasus/bin/cimprovider
535                      %attr(555,root,root) /opt/tog-pegasus/bin/osinfo
536                      %attr(555,root,root) /opt/tog-pegasus/bin/wbemexec
537                      
538                      %attr(555,root,root) /opt/tog-pegasus/lib/libCIMxmlIndicationHandler.so.1
539                      %attr(555,root,root) /opt/tog-pegasus/lib/libConfigSettingProvider.so.1
540                      %attr(555,root,root) /opt/tog-pegasus/lib/libNamespaceProvider.so.1
541                      %attr(555,root,root) /opt/tog-pegasus/lib/libProviderRegistrationProvider.so.1
542                      %attr(555,root,root) /opt/tog-pegasus/lib/libUserAuthProvider.so.1
543 denise.eckstein 1.60 %attr(555,root,root) /opt/tog-pegasus/lib/libpegauthentication.so.1
544                      %attr(555,root,root) /opt/tog-pegasus/lib/libpegclient.so.1
545                      %attr(555,root,root) /opt/tog-pegasus/lib/libpegcliutils.so.1
546                      %attr(555,root,root) /opt/tog-pegasus/lib/libpegcommon.so.1
547                      %attr(555,root,root) /opt/tog-pegasus/lib/libpegcompiler.so.1
548                      %attr(555,root,root) /opt/tog-pegasus/lib/libpegconfig.so.1
549                      %attr(555,root,root) /opt/tog-pegasus/lib/libpegexportclient.so.1
550                      %attr(555,root,root) /opt/tog-pegasus/lib/libpegexportserver.so.1
551                      %attr(555,root,root) /opt/tog-pegasus/lib/libpeggetoopt.so.1
552                      %attr(555,root,root) /opt/tog-pegasus/lib/libpeghandlerservice.so.1
553                      %attr(555,root,root) /opt/tog-pegasus/lib/libpegindicationservice.so.1
554                      %attr(555,root,root) /opt/tog-pegasus/lib/libpeglistener.so.1
555                      %attr(555,root,root) /opt/tog-pegasus/lib/libpegprm.so.1
556                      %attr(555,root,root) /opt/tog-pegasus/lib/libpegprovider.so.1
557                      %attr(555,root,root) /opt/tog-pegasus/lib/libpegprovidermanager.so.1
558                      %attr(555,root,root) /opt/tog-pegasus/lib/libpegrepository.so.1
559                      %attr(555,root,root) /opt/tog-pegasus/lib/libpegserver.so.1
560                      %attr(555,root,root) /opt/tog-pegasus/lib/libpeguser.so.1
561                      %attr(555,root,root) /opt/tog-pegasus/lib/libpegwql.so.1
562                      %attr(555,root,root) /opt/tog-pegasus/lib/libDefaultProviderManager.so.1
563                      %attr(555,root,root) /opt/tog-pegasus/lib/libCertificateProvider.so.1
564 denise.eckstein 1.60 %attr(555,root,root) /opt/tog-pegasus/lib/libpegqueryexpression.so.1
565                      %attr(555,root,root) /opt/tog-pegasus/lib/libpegcql.so.1
566                      %attr(555,root,root) /opt/tog-pegasus/lib/libpegquerycommon.so.1
567                      %attr(555,root,root) /opt/tog-pegasus/lib/libCIMQueryCapabilitiesProvider.so.1
568                      %attr(555,root,root) /opt/tog-pegasus/lib/libInteropProvider.so.1
569                      %attr(555,root,root) /opt/tog-pegasus/lib/libCIMOMStatDataProvider.so.1
570                      %attr(555,root,root) /opt/tog-pegasus/lib/libpegservice.so.1
571                      %attr(555,root,root) /opt/tog-pegasus/lib/libCMPIProviderManager.so.1
572                      %attr(555,root,root) /opt/tog-pegasus/lib/libcmpiCppImpl.so.1
573 denise.eckstein 1.32 /opt/tog-pegasus/lib/libpegclient.so
574                      /opt/tog-pegasus/lib/libpegcommon.so
575                      /opt/tog-pegasus/lib/libpegprovider.so
576                      /opt/tog-pegasus/lib/libDefaultProviderManager.so
577                      /opt/tog-pegasus/lib/libCIMxmlIndicationHandler.so
578                      /opt/tog-pegasus/lib/libCMPIProviderManager.so
579                      
580 denise.eckstein 1.60 %attr(555,root,root) /opt/tog-pegasus/providers/lib/libComputerSystemProvider.so.1
581                      %attr(555,root,root) /opt/tog-pegasus/providers/lib/libOSProvider.so.1
582                      %attr(555,root,root) /opt/tog-pegasus/providers/lib/libProcessProvider.so.1
583 denise.eckstein 1.32 /opt/tog-pegasus/providers/lib/libComputerSystemProvider.so
584                      /opt/tog-pegasus/providers/lib/libOSProvider.so
585                      /opt/tog-pegasus/providers/lib/libProcessProvider.so
586 w.otsuka        1.1  
587                      %files sdk
588 denise.eckstein 1.32 
589                      # SDK Include Files
590                      #
591 denise.eckstein 1.60 %dir %attr(555,root,root) /opt/tog-pegasus/include
592                      %dir %attr(555,root,root) /opt/tog-pegasus/include/Pegasus
593                      %dir %attr(555,root,root) /opt/tog-pegasus/include/Pegasus/Client
594                      %dir %attr(555,root,root) /opt/tog-pegasus/include/Pegasus/Common
595                      %dir %attr(555,root,root) /opt/tog-pegasus/include/Pegasus/Consumer
596                      %dir %attr(555,root,root) /opt/tog-pegasus/include/Pegasus/Provider
597                      %dir %attr(555,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CMPI
598                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Client/CIMClientException.h
599                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Client/CIMClient.h
600                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Client/Linkage.h
601                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/Array.h
602                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/ArrayInter.h
603                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/Char16.h
604                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMClass.h
605                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMDateTime.h
606                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMFlavor.h
607                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMIndication.h
608                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMInstance.h
609                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMMethod.h
610                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMName.h
611                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMObject.h
612 denise.eckstein 1.60 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMObjectPath.h
613                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMParameter.h
614                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMParamValue.h
615                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMProperty.h
616                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMPropertyList.h
617                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMQualifierDecl.h
618                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMQualifier.h
619                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMScope.h
620                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMStatusCode.h
621                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMType.h
622                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMValue.h
623                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/Config.h
624                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/Exception.h
625                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/Linkage.h
626                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/OperationContext.h
627                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/ResponseHandler.h
628                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/SSLContext.h
629                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/String.h
630                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Consumer/CIMIndicationConsumer.h
631                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Consumer/Linkage.h
632                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMAssociationProvider.h
633 denise.eckstein 1.60 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMIndicationConsumerProvider.h
634                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMIndicationProvider.h
635                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMInstanceProvider.h
636                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMMethodProvider.h
637                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMOMHandle.h
638                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CIMProvider.h
639                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/Linkage.h
640                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/ProviderException.h
641                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/AcceptLanguages.h
642                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/MessageLoader.h
643                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/ContentLanguages.h
644                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/LanguageElementContainer.h
645                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/AcceptLanguageElement.h
646                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/Formatter.h
647                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/ContentLanguageElement.h
648                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/LanguageElement.h
649                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Client/ClientOpPerformanceDataHandler.h
650                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/CIMOperationType.h
651                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CMPI/cmpift.h
652                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CMPI/cmpidt.h
653                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CMPI/cmpimacs.h
654 denise.eckstein 1.60 %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CMPI/cmpios.h
655                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CMPI/cmpipl.h
656                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Provider/CMPI/cmpi_cql.h
657                      %attr(444,root,root) /opt/tog-pegasus/include/Pegasus/Common/Platform_%PEGASUS_HARDWARE_PLATFORM.h
658 denise.eckstein 1.32 
659                      # SDK Sample Files
660                      #
661 denise.eckstein 1.60 %dir %attr(777,root,root) /opt/tog-pegasus/samples
662                      %dir %attr(777,root,root) /opt/tog-pegasus/samples/Clients
663                      %dir %attr(777,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++
664                      %dir %attr(777,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances
665                      %dir %attr(777,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod
666                      %dir %attr(777,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications
667                      %dir %attr(777,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/Associations
668                      %dir %attr(777,root,root) /opt/tog-pegasus/samples/Providers
669                      %dir %attr(777,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++
670                      %dir %attr(777,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider
671                      %dir %attr(777,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider
672                      %dir %attr(777,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider
673                      %dir %attr(777,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer
674 denise.eckstein 1.62 %dir %attr(777,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/AssociationProvider
675                      %dir %attr(777,root,root) /opt/tog-pegasus/samples/Providers/CMPI
676 denise.eckstein 1.60 %dir %attr(777,root,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories
677                      %dir %attr(777,root,root) /opt/tog-pegasus/samples/Providers/Load
678                      %dir %attr(777,root,root) /opt/tog-pegasus/samples/mak
679                      %attr(444,root,root) /opt/tog-pegasus/samples/Makefile
680                      %attr(444,root,root) /opt/tog-pegasus/samples/mak/config.mak
681                      %attr(444,root,root) /opt/tog-pegasus/samples/mak/program.mak
682                      %attr(444,root,root) /opt/tog-pegasus/samples/mak/recurse.mak
683                      %attr(444,root,root) /opt/tog-pegasus/samples/mak/library.mak
684                      %attr(444,root,root) /opt/tog-pegasus/samples/mak/common.mak
685                      %attr(444,root,root) /opt/tog-pegasus/samples/Clients/Makefile
686                      %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/Makefile
687                      %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances/Makefile
688                      %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod/Makefile
689                      %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications/Makefile
690                      %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/Associations/Makefile
691                      %attr(444,root,root) /opt/tog-pegasus/samples/mak/%PEGASUS_HARDWARE_PLATFORM.mak
692                      %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances/EnumInstances.cpp
693                      %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod/InvokeMethod.cpp
694                      %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications/SendTestIndications.cpp
695                      %attr(444,root,root) /opt/tog-pegasus/samples/Clients/DefaultC++/Associations/AssociationTestClient.cpp
696                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Makefile
697 denise.eckstein 1.60 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Load/Makefile
698                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Load/SampleProviderSchema.mof
699                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Load/IndicationProviderR.mof
700                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/Makefile
701                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/Makefile
702                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/Makefile
703                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider/Makefile
704                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider/IndicationProvider.cpp
705                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider/IndicationProvider.h
706                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider/IndicationProviderMain.cpp
707                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/Makefile
708                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/CMPI/Makefile
709                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/Makefile
710                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/AssociationProvider/Makefile
711                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Load/InstanceProviderR.mof
712                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Load/MethodProviderR.mof
713                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Load/SimpleDisplayConsumerR.mof
714                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Load/CWS_FilesAndDir.mof
715                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Load/CWS_FilesAndDirR.mof
716                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Load/AssociationProvider.mof
717                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/Load/AssociationProviderR.mof
718 denise.eckstein 1.60 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/cwssimdata.c
719                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/cwsutil.h
720                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/CWS_Directory.c
721                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/CWS_DirectoryContainsFile.c
722                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/cwsutil.c
723                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/CWS_FileUtils.c
724                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/CWS_PlainFile.c
725                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/CWS_FileUtils.h
726                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/InstanceProvider.cpp
727                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/InstanceProviderMain.cpp
728                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/InstanceProvider.h
729                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/EnumerateInstancesrspgood.xml
730                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/EnumerateInstances.xml
731                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/MethodProvider.cpp
732                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/MethodProviderMain.cpp
733                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/MethodProvider.h
734                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/InvokeMethod.xml
735                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider/InvokeMethodrspgood.xml
736                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumerMain.cpp
737                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.cpp
738                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.h
739 denise.eckstein 1.60 %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/AssociationProvider/AssociationProvider.cpp
740                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/AssociationProvider/AssociationProvider.h
741                      %attr(444,root,root) /opt/tog-pegasus/samples/Providers/DefaultC++/AssociationProvider/AssociationProviderMain.cpp
742 denise.eckstein 1.32 
743                      # SDK Documentation
744                      #
745 denise.eckstein 1.60 %doc %attr(444,root,root) /opt/tog-pegasus/share/doc/SecurityGuidelinesForDevelopers.html
746                      %attr(-,root,root) /opt/tog-pegasus/html
747 w.otsuka        1.28 
748 w.otsuka        1.56 %if %{PEGASUS_BUILD_TEST_RPM}
749 w.otsuka        1.28 %files test
750 denise.eckstein 1.32 
751                      # Test Files
752                      #
753 denise.eckstein 1.60 %dir %attr(555, root,root) /opt/tog-pegasus/test
754                      %dir %attr(555, root,root) /opt/tog-pegasus/test/lib
755                      %dir %attr(555, root,root) /opt/tog-pegasus/test/bin
756                      %dir %attr(555, root,root) /opt/tog-pegasus/test/mak
757                      %attr(444,root,root) /opt/tog-pegasus/test/mak/commands.mak
758                      %attr(555,root,root) /opt/tog-pegasus/test/lib/libSampleInstanceProvider.so.1
759                      %attr(555,root,root) /opt/tog-pegasus/test/lib/libSampleMethodProvider.so.1
760                      %attr(555,root,root) /opt/tog-pegasus/test/lib/libFamilyProvider.so.1
761                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestAbstract
762                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestArray
763                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestBase64
764                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestClassDecl
765                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestDateTime
766                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestFlavor
767                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestFormatter
768                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestHashTable
769                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestInstanceDecl
770                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestLogger
771                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestMethod
772                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestObject
773                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestOperationContext
774 denise.eckstein 1.60 %attr(555,root,root) /opt/tog-pegasus/test/bin/TestParamValue
775                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestParameter
776                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestProperty
777                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestQualifier
778                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestQualifierDecl
779                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestQualifierList
780                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestQueue
781                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestReference
782                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestResolve
783                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestResponseHandler
784                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestScope
785                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestStack
786                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestStopwatch
787                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestStrToInstName
788                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestString
789                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestTimeValue
790                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestToMof
791                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestValidateClass
792                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TestValue
793                      %attr(555,root,root) /opt/tog-pegasus/test/bin/TracerTest
794                      %attr(555,root,root) /opt/tog-pegasus/test/bin/IPC
795 denise.eckstein 1.60 %attr(555,root,root) /opt/tog-pegasus/test/bin/TestClient
796                      %attr(555,root,root) /opt/tog-pegasus/test/bin/OSTestClient
797                      %attr(555,root,root) /opt/tog-pegasus/test/bin/InvokeMethod2
798                      %attr(444,root,root) /opt/tog-pegasus/test/Makefile
799 denise.eckstein 1.43 %attr(-,root,root) /var/opt/tog-pegasus/testrepository
800 w.otsuka        1.28 
801 w.otsuka        1.56 %endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2