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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2