version 1.19, 2004/10/20 22:07:02
|
version 1.20.2.4, 2005/01/06 22:24:07
|
|
|
# | # |
Summary: OpenPegasus WBEM Services for Linux | Summary: OpenPegasus WBEM Services for Linux |
Name: tog-pegasus | Name: tog-pegasus |
Version: 2.4RC1 |
Version: 2.4.1Beta1 |
Release: 1 | Release: 1 |
Group: Systems Management/Base | Group: Systems Management/Base |
Copyright: Open Group Pegasus Open Source | Copyright: Open Group Pegasus Open Source |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} |
Source: ftp://www.opengroup.org/pegasus/tog-pegasus-%{version}-%{release}.tar.gz | Source: ftp://www.opengroup.org/pegasus/tog-pegasus-%{version}-%{release}.tar.gz |
Requires: openssl-devel >= 0.9.6 lsb >= 1.3 |
Requires: openssl >= 0.9.6 lsb >= 1.3 |
Provides: cimserver tog-pegasus-2.4 | Provides: cimserver tog-pegasus-2.4 |
|
BuildRequires: openssl-devel >= 0.9.6 |
| |
%description | %description |
OpenPegasus WBEM Services for Linux enables management solutions that deliver | OpenPegasus WBEM Services for Linux enables management solutions that deliver |
|
|
install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/SampleProviderSchema.mof %SAMPLES_DEST_PATH/Providers/Load/SampleProviderSchema.mof | install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/SampleProviderSchema.mof %SAMPLES_DEST_PATH/Providers/Load/SampleProviderSchema.mof |
install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/SimpleDisplayConsumerR.mof %SAMPLES_DEST_PATH/Providers/Load/SimpleDisplayConsumerR.mof | install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/SimpleDisplayConsumerR.mof %SAMPLES_DEST_PATH/Providers/Load/SimpleDisplayConsumerR.mof |
| |
|
cd $RPM_BUILD_ROOT |
rm -Rf $PEGASUS_HOME | rm -Rf $PEGASUS_HOME |
| |
%clean | %clean |
|
|
chmod 400 %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_TRUSTSTORE | chmod 400 %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_TRUSTSTORE |
fi | fi |
| |
# Start the cimserver |
|
(/etc/init.d/tog-pegasus start || /opt/tog-pegasus/sbin/cimserver) >> %INSTALL_LOG 2>&1 |
|
|
|
if [ $? != 0 ]; |
|
then |
|
echo "Brute-starting Pegasus. If the installation fails:" |
|
echo " - Start Pegasus: '/etc/init.d/tog-pegasus start'" |
|
echo " - Run '/opt/tog-pegasus/sbin/init_repository'" |
|
# No need to try it again, since it already failed. |
|
# Just giving the above notice should be sufficent |
|
# /etc/init.d/tog-pegasus start || /opt/tog-pegasus/sbin/cimserver |
|
fi |
|
|
|
echo " To start Pegasus manually:" | echo " To start Pegasus manually:" |
echo " /etc/init.d/tog-pegasus start" | echo " /etc/init.d/tog-pegasus start" |
echo " Stop it:" | echo " Stop it:" |