version 1.34, 2005/03/23 08:03:59
|
version 1.35, 2005/03/24 07:41:48
|
|
|
# WARNING: This file is automatically generated by executing | # WARNING: This file is automatically generated by executing |
# make -f pegasus/Makefile.Release create_OpenPegasusRPMSpecFile | # make -f pegasus/Makefile.Release create_OpenPegasusRPMSpecFile |
# Any changes made directly to this file will be lost the next | # Any changes made directly to this file will be lost the next |
# this file is generated. |
# time this file is generated. |
# | # |
| |
%define srcRelease 1 | %define srcRelease 1 |
|
|
| |
%global PEGASUS_RPM_ROOT $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION | %global PEGASUS_RPM_ROOT $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION |
%global PEGASUS_RPM_HOME $RPM_BUILD_ROOT/build/tog-pegasus | %global PEGASUS_RPM_HOME $RPM_BUILD_ROOT/build/tog-pegasus |
|
%global PEGASUS_INSTALL_LOG $PEGASUS_LOG_DIR/install.log |
|
|
%ifarch ia64 x86_64 | %ifarch ia64 x86_64 |
%global PEGASUS_HARDWARE_PLATFORM LINUX_IA64_GNU | %global PEGASUS_HARDWARE_PLATFORM LINUX_IA64_GNU |
%else | %else |
|
|
| |
%post | %post |
if [ $1 -eq 1 ]; then | if [ $1 -eq 1 ]; then |
%define INSTALL_LOG /var/opt/tog-pegasus/log/install.log |
echo `date` > %PEGASUS_INSTALL_LOG 2>&1 |
echo `date` > %INSTALL_LOG 2>&1 |
|
%define PEGASUS_CONFIG_DIR /etc/opt/tog-pegasus | %define PEGASUS_CONFIG_DIR /etc/opt/tog-pegasus |
%define PEGASUS_PEM_DIR /etc/opt/tog-pegasus | %define PEGASUS_PEM_DIR /etc/opt/tog-pegasus |
%define PEGASUS_SSL_CERT_FILE server.pem | %define PEGASUS_SSL_CERT_FILE server.pem |
|
|
if [ "$isRunning" ]; then | if [ "$isRunning" ]; then |
/opt/tog-pegasus/sbin/cimserver -s | /opt/tog-pegasus/sbin/cimserver -s |
fi | fi |
|
[ -f /var/opt/tog-pegasus/cimserver_current.conf ] && rm /var/opt/tog-pegasus/cimserver_current.conf; |
|
[ -f %PEGASUS_INSTALL_LOG ] && rm %PEGASUS_INSTALL_LOG; |
# Delete the Link to the rc.* Startup Directories | # Delete the Link to the rc.* Startup Directories |
/usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus; | /usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus; |
fi | fi |
| |
%postun | %postun |
if [ $1 -eq 0 ]; then | if [ $1 -eq 0 ]; then |
[ "$PEGASUS_VARDATA_DIR" != "/" ] && [ -d $PEGASUS_VARDATA_DIR ] && rm -rf $PEGASUS_VARDATA_DIR; |
|
[ "$PEGASUS_PROD_DIR" != "/" ] && [ -d $PEGASUS_PROD_DIR ] && rm -rf $PEGASUS_PROD_DIR; |
|
[ "$PEGASUS_CONFIG_DIR" != "/" ] && [ -d $PEGASUS_CONFIG_DIR ] && rm -rf $PEGASUS_CONFIG_DIR; |
|
export LC_ALL=C | export LC_ALL=C |
fi | fi |
| |
|
|
%attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_UnixProcess20.mof | %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_UnixProcess20.mof |
%attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_UnixProcess20R.mof | %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_UnixProcess20R.mof |
| |
%config %attr(644,root,root) /var/opt/tog-pegasus/cimserver_planned.conf |
%config(noreplace) %attr(644,root,root) /var/opt/tog-pegasus/cimserver_planned.conf |
%config(missingok) %attr(644,root,root) /var/opt/tog-pegasus/cimserver_current.conf |
|
%config %attr(500,root,root) /etc/init.d/tog-pegasus | %config %attr(500,root,root) /etc/init.d/tog-pegasus |
%config %attr(-,root,root) %PAM_CONFIG_DIR/wbem | %config %attr(-,root,root) %PAM_CONFIG_DIR/wbem |
| |
|
|
# SDK Include Files | # SDK Include Files |
# | # |
%dir /opt/tog-pegasus/include | %dir /opt/tog-pegasus/include |
|
%dir /opt/tog-pegasus/include/Pegasus |
|
%dir /opt/tog-pegasus/include/Pegasus/Client |
|
%dir /opt/tog-pegasus/include/Pegasus/Common |
|
%dir /opt/tog-pegasus/include/Pegasus/Consumer |
|
%dir /opt/tog-pegasus/include/Pegasus/Provider |
%attr(-,root,root) /opt/tog-pegasus/include/Pegasus/Client/CIMClientException.h | %attr(-,root,root) /opt/tog-pegasus/include/Pegasus/Client/CIMClientException.h |
%attr(-,root,root) /opt/tog-pegasus/include/Pegasus/Client/CIMClient.h | %attr(-,root,root) /opt/tog-pegasus/include/Pegasus/Client/CIMClient.h |
%attr(-,root,root) /opt/tog-pegasus/include/Pegasus/Client/Linkage.h | %attr(-,root,root) /opt/tog-pegasus/include/Pegasus/Client/Linkage.h |
|
|
# SDK Sample Files | # SDK Sample Files |
# | # |
%dir /opt/tog-pegasus/samples | %dir /opt/tog-pegasus/samples |
|
%dir /opt/tog-pegasus/samples/Clients |
|
%dir /opt/tog-pegasus/samples/Clients/DefaultC++ |
|
%dir /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances |
|
%dir /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod |
|
%dir /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications |
|
%dir /opt/tog-pegasus/samples/Providers |
|
%dir /opt/tog-pegasus/samples/Providers/DefaultC++ |
|
%dir /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider |
|
%dir /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider |
|
%dir /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider |
|
%dir /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer |
|
%dir /opt/tog-pegasus/samples/Providers/Load |
|
%dir /opt/tog-pegasus/samples/mak |
%attr(-,root,root) /opt/tog-pegasus/samples/Makefile | %attr(-,root,root) /opt/tog-pegasus/samples/Makefile |
%attr(-,root,root) /opt/tog-pegasus/samples/mak/LINUX_IX86_GNU.mak | %attr(-,root,root) /opt/tog-pegasus/samples/mak/LINUX_IX86_GNU.mak |
%attr(-,root,root) /opt/tog-pegasus/samples/mak/config.mak | %attr(-,root,root) /opt/tog-pegasus/samples/mak/config.mak |