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

Diff for /pegasus/rpm/tog-pegasus.spec between version 1.20.2.29 and 1.20.2.35

version 1.20.2.29, 2005/11/10 01:51:27 version 1.20.2.35, 2005/12/07 22:15:13
Line 39 
Line 39 
 %define srcRelease 1 %define srcRelease 1
 Summary: OpenPegasus WBEM Services for Linux Summary: OpenPegasus WBEM Services for Linux
 Name: tog-pegasus Name: tog-pegasus
 Version: 2.4.2  Version: 2.4.3
 Release: 1%{?LINUX_VERSION:.%{LINUX_VERSION}} Release: 1%{?LINUX_VERSION:.%{LINUX_VERSION}}
 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}-%{srcRelease}.tar.gz Source: ftp://www.opengroup.org/pegasus/tog-pegasus-%{version}-%{srcRelease}.tar.gz
 Requires: openssl >= 0.9.6 lsb >= 1.3 Requires: openssl >= 0.9.6 lsb >= 1.3
   Conflicts: openwbem
 Provides: cimserver tog-pegasus-2.4 Provides: cimserver tog-pegasus-2.4
 BuildRequires: openssl-devel >= 0.9.6 BuildRequires: openssl-devel >= 0.9.6
   BuildConflicts: tog-pegasus
  
 %description %description
 OpenPegasus WBEM Services for Linux enables management solutions that deliver OpenPegasus WBEM Services for Linux enables management solutions that deliver
Line 173 
Line 175 
 %define PEGASUS_MANADMIN_DIR   %PEGASUS_MAN_DIR/man8 %define PEGASUS_MANADMIN_DIR   %PEGASUS_MAN_DIR/man8
 %define PEGASUS_VARDATA_DIR    /var/opt/tog-pegasus %define PEGASUS_VARDATA_DIR    /var/opt/tog-pegasus
 %define PEGASUS_REPOSITORY_DIR      %PEGASUS_VARDATA_DIR/repository %define PEGASUS_REPOSITORY_DIR      %PEGASUS_VARDATA_DIR/repository
   %define PEGASUS_NEW_REPOSITORY_DIR  %PEGASUS_VARDATA_DIR/new_repository
 %define PEGASUS_PREV_REPOSITORY_DIR %PEGASUS_VARDATA_DIR/prev_repository %define PEGASUS_PREV_REPOSITORY_DIR %PEGASUS_VARDATA_DIR/prev_repository
 %define PEGASUS_VARDATA_CACHE_DIR   %PEGASUS_VARDATA_DIR/cache %define PEGASUS_VARDATA_CACHE_DIR   %PEGASUS_VARDATA_DIR/cache
 %define PEGASUS_LOCAL_AUTH_DIR      %PEGASUS_VARDATA_CACHE_DIR/localauth %define PEGASUS_LOCAL_AUTH_DIR      %PEGASUS_VARDATA_CACHE_DIR/localauth
Line 200 
Line 203 
  
 # #
 # 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}
 mkdir -p $RPM_BUILD_ROOT/%PEGASUS_LOCAL_AUTH_DIR mkdir -p $RPM_BUILD_ROOT/%PEGASUS_LOCAL_AUTH_DIR
 mkdir -p $RPM_BUILD_ROOT/%PEGASUS_PROVIDER_LIB_DIR mkdir -p $RPM_BUILD_ROOT/%PEGASUS_PROVIDER_LIB_DIR
 mkdir -p $RPM_BUILD_ROOT/%PEGASUS_CONFIG_DIR mkdir -p $RPM_BUILD_ROOT/%PEGASUS_CONFIG_DIR
Line 413 
Line 416 
 # #
 # Initial Repository # Initial Repository
 # #
 mkdir -p  $RPM_BUILD_ROOT%PEGASUS_REPOSITORY_DIR  mkdir -p  $RPM_BUILD_ROOT%PEGASUS_NEW_REPOSITORY_DIR
 cp -rf $PEGASUS_HOME/repository/*  $RPM_BUILD_ROOT%PEGASUS_REPOSITORY_DIR  cp -rf $PEGASUS_HOME/repository/*  $RPM_BUILD_ROOT%PEGASUS_NEW_REPOSITORY_DIR
  
 # #
 # cimserver config files # cimserver config files
Line 645 
Line 648 
 [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
  
 %pre %pre
 if [ -d %PEGASUS_REPOSITORY_DIR"/root#PG_Internal" ]  if [ -d %PEGASUS_REPOSITORY_DIR ]
 then then
   #   #
   # Save the current repository to prev_repository.   # Save the current repository to prev_repository.
Line 658 
Line 661 
       fi       fi
  
       mv %PEGASUS_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR       mv %PEGASUS_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR
       mkdir %PEGASUS_REPOSITORY_DIR  
   fi   fi
 fi fi
  
Line 746 
Line 748 
 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 " To set up PATH and MANPATH in /etc/profile"
 echo " run /opt/tog-pegasus/sbin/settogpath."; echo " run /opt/tog-pegasus/sbin/settogpath.";
   mv %PEGASUS_NEW_REPOSITORY_DIR %PEGASUS_REPOSITORY_DIR
   fi
   
   %triggerpostun -- tog-pegasus < 2.4.3
   if [ -d %PEGASUS_PREV_REPOSITORY_DIR ]
   then
     mv %PEGASUS_PREV_REPOSITORY_DIR %PEGASUS_REPOSITORY_DIR
 fi fi
  
 %if %{PEGASUS_BUILD_TEST_RPM} %if %{PEGASUS_BUILD_TEST_RPM}
Line 773 
Line 782 
  
 %postun %postun
 if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
         rm -rf %PEGASUS_VARDATA_DIR  
         rm -rf %PEGASUS_PROD_DIR  
         rm -rf %PEGASUS_CONFIG_DIR  
         export LC_ALL=C         export LC_ALL=C
 fi fi
  
Line 789 
Line 795 
 %dir %attr(-,root,root) %PEGASUS_PROVIDER_LIB_DIR %dir %attr(-,root,root) %PEGASUS_PROVIDER_LIB_DIR
 %dir %attr(1555,root,root) %PEGASUS_LOCAL_DOMAIN_SOCKET_DIR %dir %attr(1555,root,root) %PEGASUS_LOCAL_DOMAIN_SOCKET_DIR
 %defattr(-,root,root) %defattr(-,root,root)
 %PEGASUS_REPOSITORY_DIR  %PEGASUS_NEW_REPOSITORY_DIR
 %doc %PEGASUS_PROD_DIR/%PEGASUS_LICENSE_FILE %doc %PEGASUS_PROD_DIR/%PEGASUS_LICENSE_FILE
 %doc %PEGASUS_DOC_DIR/Admin_Guide_Release_2.4.pdf %doc %PEGASUS_DOC_DIR/Admin_Guide_Release_2.4.pdf
 %doc %PEGASUS_MANUSER_DIR/cimmof.1 %doc %PEGASUS_MANUSER_DIR/cimmof.1
Line 928 
Line 934 
 %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_OperatingSystem20R.mof %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_OperatingSystem20R.mof
 %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_UnixProcess20.mof %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_UnixProcess20.mof
 %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_UnixProcess20R.mof %attr(-,root,root) %PEGASUS_MOF_DIR/Pegasus/PG_UnixProcess20R.mof
 %config %attr(-,root,root) %PEGASUS_VARDATA_DIR/%PEGASUS_PLANNED_CONFIG_FILE  %config(noreplace) %attr(-,root,root) %PEGASUS_VARDATA_DIR/%PEGASUS_PLANNED_CONFIG_FILE
 %config %attr(-,root,root) /etc/init.d/tog-pegasus  %config(noreplace) %attr(-,root,root) /etc/init.d/tog-pegasus
 %config %attr(-,root,root) %PAM_CONF/wbem  %config(noreplace) %attr(-,root,root) %PAM_CONF/wbem
 %attr(0544,root,root) %PEGASUS_SBIN_DIR/cimauth %attr(0544,root,root) %PEGASUS_SBIN_DIR/cimauth
 %attr(0544,root,root) %PEGASUS_SBIN_DIR/cimserver %attr(0544,root,root) %PEGASUS_SBIN_DIR/cimserver
 %attr(0544,root,root) %PEGASUS_SBIN_DIR/cimservera %attr(0544,root,root) %PEGASUS_SBIN_DIR/cimservera


Legend:
Removed from v.1.20.2.29  
changed lines
  Added in v.1.20.2.35

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2