version 1.68, 2005/10/31 18:29:45
|
version 1.70, 2005/11/07 18:27:44
|
|
|
%endif | %endif |
| |
# Start of section pegasus/rpm/tog-specfiles/tog-pegasus-packages.spec | # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-packages.spec |
%package sdk |
%package devel |
Summary: The OpenPegasus Software Development Kit | Summary: The OpenPegasus Software Development Kit |
Group: Systems Management/Base | Group: Systems Management/Base |
Autoreq: 0 | Autoreq: 0 |
Requires: tog-pegasus >= %{version} | Requires: tog-pegasus >= %{version} |
|
Obsoletes: tog-pegasus-sdk |
| |
%description sdk |
%description devel |
The OpenPegasus WBEM Services for Linux SDK is the developer's kit for the OpenPegasus WBEM | The OpenPegasus WBEM Services for Linux SDK is the developer's kit for the OpenPegasus WBEM |
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. |
|
|
then | then |
if [[ -d %PEGASUS_PREV_REPOSITORY_DIR ]] | if [[ -d %PEGASUS_PREV_REPOSITORY_DIR ]] |
then | then |
rm -rf %PEGASUS_PREV_REPOSITORY_DIR |
mv %PEGASUS_PREV_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR`date '+%Y-%m-%d-%s.%N'`.rpmsave; |
fi | fi |
mv %PEGASUS_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR | mv %PEGASUS_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR |
mkdir %PEGASUS_REPOSITORY_DIR | mkdir %PEGASUS_REPOSITORY_DIR |
|
|
/usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus; | /usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus; |
fi | fi |
| |
%preun sdk |
%preun devel |
make --directory /opt/tog-pegasus/samples -s clean | make --directory /opt/tog-pegasus/samples -s clean |
| |
%if %{PEGASUS_BUILD_TEST_RPM} | %if %{PEGASUS_BUILD_TEST_RPM} |
|
|
/opt/tog-pegasus/providers/lib/libOSProvider.so | /opt/tog-pegasus/providers/lib/libOSProvider.so |
/opt/tog-pegasus/providers/lib/libProcessProvider.so | /opt/tog-pegasus/providers/lib/libProcessProvider.so |
| |
%files sdk |
%files devel |
| |
# SDK Include Files | # SDK Include Files |
# | # |