(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.58

version 1.55, 2005/05/06 22:36:46 version 1.58, 2005/06/05 05:06:24
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 298 
Line 308 
    echo " run /opt/tog-pegasus/sbin/settogpath."    echo " run /opt/tog-pegasus/sbin/settogpath."
 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec # End of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec
  
   elif [ $1 -gt 1 ]; then
   /sbin/service tog-pegasus condrestart
   :;
 fi fi
 %preun %preun
 if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
Line 319 
Line 332 
 %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 576 
Line 591 
 %dir %attr(555,root ,root) /opt/tog-pegasus/include/Pegasus/Common %dir %attr(555,root ,root) /opt/tog-pegasus/include/Pegasus/Common
 %dir %attr(555,root ,root) /opt/tog-pegasus/include/Pegasus/Consumer %dir %attr(555,root ,root) /opt/tog-pegasus/include/Pegasus/Consumer
 %dir %attr(555,root ,root) /opt/tog-pegasus/include/Pegasus/Provider %dir %attr(555,root ,root) /opt/tog-pegasus/include/Pegasus/Provider
   %dir %attr(555,root ,root) /opt/tog-pegasus/include/Pegasus/Provider/CMPI
 %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Client/CIMClientException.h %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Client/CIMClientException.h
 %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Client/CIMClient.h %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Client/CIMClient.h
 %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Client/Linkage.h %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Client/Linkage.h
Line 629 
Line 645 
 %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/LanguageElement.h %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/LanguageElement.h
 %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Client/ClientOpPerformanceDataHandler.h %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Client/ClientOpPerformanceDataHandler.h
 %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMOperationType.h %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/CIMOperationType.h
   %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Provider/CMPI/cmpift.h
   %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Provider/CMPI/cmpidt.h
   %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Provider/CMPI/cmpimacs.h
   %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Provider/CMPI/cmpios.h
   %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Provider/CMPI/cmpipl.h
   %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Provider/CMPI/cmpi_cql.h
 %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/Platform_%PEGASUS_HARDWARE_PLATFORM.h %attr(444,root ,root) /opt/tog-pegasus/include/Pegasus/Common/Platform_%PEGASUS_HARDWARE_PLATFORM.h
  
 # SDK Sample Files # SDK Sample Files
Line 639 
Line 661 
 %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances
 %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod
 %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications
   %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/Associations
 %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers
 %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++ %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++
 %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider
 %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider
 %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/MethodProvider
 %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer
   %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories
   %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/tests
   %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/AssociationProvider
 %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/Load %dir %attr(777,root ,root) /opt/tog-pegasus/samples/Providers/Load
 %dir %attr(777,root ,root) /opt/tog-pegasus/samples/mak %dir %attr(777,root ,root) /opt/tog-pegasus/samples/mak
 %attr(444,root ,root) /opt/tog-pegasus/samples/Makefile %attr(444,root ,root) /opt/tog-pegasus/samples/Makefile
Line 658 
Line 684 
 %attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances/Makefile %attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances/Makefile
 %attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod/Makefile %attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod/Makefile
 %attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications/Makefile %attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications/Makefile
   %attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/Associations/Makefile
 %attr(444,root ,root) /opt/tog-pegasus/samples/mak/%PEGASUS_HARDWARE_PLATFORM.mak %attr(444,root ,root) /opt/tog-pegasus/samples/mak/%PEGASUS_HARDWARE_PLATFORM.mak
 %attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances/EnumInstances.cpp %attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/EnumInstances/EnumInstances.cpp
 %attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod/InvokeMethod.cpp %attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/InvokeMethod/InvokeMethod.cpp
 %attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications/SendTestIndications.cpp %attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/SendTestIndications/SendTestIndications.cpp
   %attr(444,root ,root) /opt/tog-pegasus/samples/Clients/DefaultC++/Associations/AssociationTestClient.cpp
 %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Makefile %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Makefile
 %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/Makefile %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/Makefile
 %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/SampleProviderSchema.mof %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/SampleProviderSchema.mof
Line 674 
Line 702 
 %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider/IndicationProvider.h %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider/IndicationProvider.h
 %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider/IndicationProviderMain.cpp %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/IndicationProvider/IndicationProviderMain.cpp
 %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/Makefile %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/Makefile
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/Makefile
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/Makefile
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/tests/Makefile
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/AssociationProvider/Makefile
 %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/InstanceProviderR.mof %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/InstanceProviderR.mof
 %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/MethodProviderR.mof %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/MethodProviderR.mof
 %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/SimpleDisplayConsumerR.mof %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/SimpleDisplayConsumerR.mof
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/CWS_FilesAndDir.mof
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/CWS_FilesAndDirR.mof
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/AssociationProvider.mof
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/Load/AssociationProviderR.mof
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/tests/AssocDirNames12001rspgood.xml
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/tests/PlainFileMethodCall11001rspgood.xml
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/tests/AssocDirNames12001.xml
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/tests/EnumerateDir10001.xml
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/tests/DeleteDirInstance10003rspgood.xml
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/tests/DeleteDirInstance10003.xml
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/tests/ReferenceDirNames12002.xml
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/tests/ReferenceDirNames12002rspgood.xml
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/tests/GetDirInstance10002.xml
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/tests/EnumerateDirNames10000.xml
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/tests/PlainFileMethodCall11001.xml
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/tests/EnumerateDirNames10000rspgood.xml
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/tests/GetDirInstance10002rspgood.xml
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/tests/EnumerateDir10001rspgood.xml
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/cwssimdata.c
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/cwsutil.h
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/CWS_Directory.c
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/CWS_DirectoryContainsFile.c
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/cwsutil.c
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/cwstest.c
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/CWS_FileUtils.c
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/CWS_PlainFile.c
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/CMPI/FilesAndDirectories/CWS_FileUtils.h
 %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/InstanceProvider.cpp %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/InstanceProvider.cpp
 %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/InstanceProviderMain.cpp %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/InstanceProviderMain.cpp
 %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/InstanceProvider.h %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/InstanceProvider/InstanceProvider.h
Line 690 
Line 749 
 %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumerMain.cpp %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumerMain.cpp
 %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.cpp %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.cpp
 %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.h %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/SimpleDisplayConsumer/SimpleDisplayConsumer.h
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/AssociationProvider/AssociationProvider.cpp
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/AssociationProvider/AssociationProvider.h
   %attr(444,root ,root) /opt/tog-pegasus/samples/Providers/DefaultC++/AssociationProvider/AssociationProviderMain.cpp
  
 # SDK Documentation # SDK Documentation
 # #
 %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 810 
 %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.58

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2