version 1.14, 2004/09/10 08:02:14
|
version 1.15, 2004/09/23 17:50:34
|
|
|
%define PEGASUS_SSL_KEY_FILE file.pem | %define PEGASUS_SSL_KEY_FILE file.pem |
%define PEGASUS_SSL_CERT_FILE server.pem | %define PEGASUS_SSL_CERT_FILE server.pem |
%define PEGASUS_SSL_TRUSTSTORE client.pem | %define PEGASUS_SSL_TRUSTSTORE client.pem |
|
%define PEGASUS_INSTALL_SCRIPT_DIR $PEGASUS_ROOT/installs/scripts |
# | # |
# Make directories | # Make directories |
mkdir -p $RPM_BUILD_ROOT%PEGASUS_VARDATA_DIR/{log,cache,repository} | mkdir -p $RPM_BUILD_ROOT%PEGASUS_VARDATA_DIR/{log,cache,repository} |
|
|
chmod 0544 $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/init_repository | chmod 0544 $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/init_repository |
| |
# | # |
|
# script to add tog-pegasus paths to /etc/profile |
|
# |
|
install -D -m 0544 %PEGASUS_INSTALL_SCRIPT_DIR/settogpath $RPM_BUILD_ROOT%PEGASUS_SBIN_DIR/settogpath |
|
|
|
# |
# man pages | # man pages |
# | # |
install -D -m 0444 $PEGASUS_ROOT/rpm/manLinux/man1.Z/cimmof.1 $RPM_BUILD_ROOT%PEGASUS_MANUSER_DIR/cimmof.1 | install -D -m 0444 $PEGASUS_ROOT/rpm/manLinux/man1.Z/cimmof.1 $RPM_BUILD_ROOT%PEGASUS_MANUSER_DIR/cimmof.1 |
|
|
echo " /etc/init.d/tog-pegasus start" | echo " /etc/init.d/tog-pegasus start" |
echo " Stop it:" | echo " Stop it:" |
echo " /etc/init.d/tog-pegasus stop" | echo " /etc/init.d/tog-pegasus stop" |
|
echo " To set up PATH and MANPATH in /etc/profile" |
|
echo " run /opt/tog-pegasus/sbin/settogpath." |
| |
%preun | %preun |
| |
|
|
%attr(-,root,root) %PEGASUS_SBIN_DIR/cimuser | %attr(-,root,root) %PEGASUS_SBIN_DIR/cimuser |
%attr(-,root,root) %PEGASUS_SBIN_DIR/cimconfig | %attr(-,root,root) %PEGASUS_SBIN_DIR/cimconfig |
%attr(-,root,root) %PEGASUS_SBIN_DIR/init_repository | %attr(-,root,root) %PEGASUS_SBIN_DIR/init_repository |
|
%attr(-,root,root) %PEGASUS_SBIN_DIR/settogpath |
%attr(-,root,root) %PEGASUS_BIN_DIR/cimmof | %attr(-,root,root) %PEGASUS_BIN_DIR/cimmof |
%attr(-,root,root) %PEGASUS_BIN_DIR/cimmofl | %attr(-,root,root) %PEGASUS_BIN_DIR/cimmofl |
%attr(-,root,root) %PEGASUS_BIN_DIR/cimprovider | %attr(-,root,root) %PEGASUS_BIN_DIR/cimprovider |