(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.55 and 1.56

version 1.55, 2005/05/06 22:36:46 version 1.56, 2005/05/27 17:29:01
Line 42 
Line 42 
 %define srcRelease 1 %define srcRelease 1
 Version: 2.5Alpha1 Version: 2.5Alpha1
 Release: 1 Release: 1
   Epoch:   1
  
 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-intro.spec # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-intro.spec
   %{?!PEGASUS_BUILD_TEST_RPM:   %define PEGASUS_BUILD_TEST_RPM        0}
   # do "rpmbuild --define 'PEGASUS_BUILD_TEST_RPM 1'" to build test RPM .
 Summary: OpenPegasus WBEM Services for Linux Summary: OpenPegasus WBEM Services for Linux
 Name: tog-pegasus Name: tog-pegasus
 Group: Systems Management/Base Group: Systems Management/Base
 Copyright: Open Group Pegasus Open Source  License: 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
Line 117 
Line 120 
 Services for Linux release. It provides Linux C++ developers with the WBEM files required to Services for Linux release. It provides Linux C++ developers with the WBEM files required to
 build WBEM Clients and Providers. It also supports C provider developers via the CMPI interface. build WBEM Clients and Providers. It also supports C provider developers via the CMPI interface.
  
   %if %{PEGASUS_BUILD_TEST_RPM}
 %package test %package test
 Summary: The OpenPegasus Tests Summary: The OpenPegasus Tests
 Group: Systems Management/Base Group: Systems Management/Base
Line 125 
Line 129 
  
 %description test %description test
 The OpenPegasus WBEM tests for the OpenPegasus %{version} Linux rpm. The OpenPegasus WBEM tests for the OpenPegasus %{version} Linux rpm.
   %endif
   
 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-packages.spec # End of section pegasus/rpm/tog-specfiles/tog-pegasus-packages.spec
  
 %prep %prep
Line 172 
Line 178 
  
 export PEGASUS_STAGING_DIR=$RPM_BUILD_ROOT export PEGASUS_STAGING_DIR=$RPM_BUILD_ROOT
  
   %if %{PEGASUS_BUILD_TEST_RPM}
   make -f $PEGASUS_ROOT/Makefile.Release stage PEGASUS_STAGING_DIR=$PEGASUS_STAGING_DIR PEGASUS_BUILD_TEST_RPM=%{PEGASUS_BUILD_TEST_RPM}
   %else
 make -f $PEGASUS_ROOT/Makefile.Release stage PEGASUS_STAGING_DIR=$PEGASUS_STAGING_DIR make -f $PEGASUS_ROOT/Makefile.Release stage PEGASUS_STAGING_DIR=$PEGASUS_STAGING_DIR
   %endif
 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-install.spec # End of section pegasus/rpm/tog-specfiles/tog-pegasus-install.spec
 [ "$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; [ "$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;
 [ "$PEGASUS_HOME" != "/" ] && [ -d $PEGASUS_HOME ] && rm -rf $PEGASUS_HOME; [ "$PEGASUS_HOME" != "/" ] && [ -d $PEGASUS_HOME ] && rm -rf $PEGASUS_HOME;
Line 319 
Line 329 
 %preun sdk %preun sdk
 make --directory /opt/tog-pegasus/samples -s clean make --directory /opt/tog-pegasus/samples -s clean
  
   %if %{PEGASUS_BUILD_TEST_RPM}
 %preun test %preun test
 make --directory /opt/tog-pegasus/test -s unsetupTEST make --directory /opt/tog-pegasus/test -s unsetupTEST
 [ -d /var/opt/tog-pegasus/testrepository ] &&  rm -rf /var/opt/tog-pegasus/testrepository; [ -d /var/opt/tog-pegasus/testrepository ] &&  rm -rf /var/opt/tog-pegasus/testrepository;
  
   %endif
 %postun %postun
 if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
    [ -f %PEGASUS_PEM_DIR/key-2048.pem ] && rm %PEGASUS_PEM_DIR/key-2048.pem;    [ -f %PEGASUS_PEM_DIR/key-2048.pem ] && rm %PEGASUS_PEM_DIR/key-2048.pem;
Line 695 
Line 707 
 # #
 %attr(-,root ,root) /opt/tog-pegasus/html %attr(-,root ,root) /opt/tog-pegasus/html
  
   %if %{PEGASUS_BUILD_TEST_RPM}
 %files test %files test
  
 # Test Files # Test Files
Line 747 
Line 760 
 %attr(444,root ,root) /opt/tog-pegasus/test/Makefile %attr(444,root ,root) /opt/tog-pegasus/test/Makefile
 %attr(-,root,root) /var/opt/tog-pegasus/testrepository %attr(-,root,root) /var/opt/tog-pegasus/testrepository
  
   %endif


Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2