version 1.63, 2005/07/15 23:02:20
|
version 1.73, 2005/11/16 23:07:13
|
|
|
# | # |
| |
%define srcRelease 1 | %define srcRelease 1 |
Version: 2.5Alpha1 |
Version: 2.5.0 |
Release: 1 |
Release: 1%{?LINUX_VERSION:.%{LINUX_VERSION}} |
Epoch: 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 |
|
|
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: tog-pegasus-cimserver | Provides: tog-pegasus-cimserver |
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 |
|
|
%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 |
|
|
# 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 | elif [ $1 -gt 1 ]; then |
|
if [ -d %PEGASUS_PREV_REPOSITORY_DIR ] |
|
then |
|
# Running Repository Upgrade utility |
|
%PEGASUS_SBIN_DIR/repupgrade 2>>%PEGASUS_INSTALL_LOG |
|
fi |
/sbin/service tog-pegasus condrestart | /sbin/service tog-pegasus condrestart |
:; | :; |
fi | fi |
|
|
/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} |
|
|
%doc %attr(444,root,root) /opt/tog-pegasus/share/man/man8/cimconfig.8 | %doc %attr(444,root,root) /opt/tog-pegasus/share/man/man8/cimconfig.8 |
%doc %attr(444,root,root) /opt/tog-pegasus/share/man/man8/cimserver.8 | %doc %attr(444,root,root) /opt/tog-pegasus/share/man/man8/cimserver.8 |
%doc %attr(444,root,root) /opt/tog-pegasus/share/doc/Admin_Guide_Release.pdf | %doc %attr(444,root,root) /opt/tog-pegasus/share/doc/Admin_Guide_Release.pdf |
|
%doc %attr(444,root,root) /opt/tog-pegasus/share/doc/PegasusSSLGuidelines.htm |
| |
%attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Application_AppRuntime.mof | %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Application_AppRuntime.mof |
%attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Application_BIOS.mof | %attr(444,root,root) /opt/tog-pegasus/mof/CIM29/Application_BIOS.mof |
|
|
%attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_UnixProcess20R.mof | %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_UnixProcess20R.mof |
| |
%config(noreplace) %attr(644,root,root) /var/opt/tog-pegasus/cimserver_planned.conf | %config(noreplace) %attr(644,root,root) /var/opt/tog-pegasus/cimserver_planned.conf |
%config %attr(500,root,root) /etc/init.d/tog-pegasus |
%config(noreplace) %attr(500,root,root) /etc/init.d/tog-pegasus |
%config %attr(444,root,root) %PAM_CONFIG_DIR/wbem |
%config(noreplace) %attr(444,root,root) %PAM_CONFIG_DIR/wbem |
| |
%attr(500,root,root) /opt/tog-pegasus/sbin/cimauth | %attr(500,root,root) /opt/tog-pegasus/sbin/cimauth |
%attr(500,root,root) /opt/tog-pegasus/sbin/cimconfig | %attr(500,root,root) /opt/tog-pegasus/sbin/cimconfig |
|
|
%attr(555,root,root) /opt/tog-pegasus/lib/libDefaultProviderManager.so.1 | %attr(555,root,root) /opt/tog-pegasus/lib/libDefaultProviderManager.so.1 |
%attr(555,root,root) /opt/tog-pegasus/lib/libCertificateProvider.so.1 | %attr(555,root,root) /opt/tog-pegasus/lib/libCertificateProvider.so.1 |
%attr(555,root,root) /opt/tog-pegasus/lib/libpegqueryexpression.so.1 | %attr(555,root,root) /opt/tog-pegasus/lib/libpegqueryexpression.so.1 |
%attr(555,root,root) /opt/tog-pegasus/lib/libpegcql.so.1 |
|
%attr(555,root,root) /opt/tog-pegasus/lib/libpegquerycommon.so.1 | %attr(555,root,root) /opt/tog-pegasus/lib/libpegquerycommon.so.1 |
%attr(555,root,root) /opt/tog-pegasus/lib/libCIMQueryCapabilitiesProvider.so.1 |
|
%attr(555,root,root) /opt/tog-pegasus/lib/libInteropProvider.so.1 | %attr(555,root,root) /opt/tog-pegasus/lib/libInteropProvider.so.1 |
%attr(555,root,root) /opt/tog-pegasus/lib/libCIMOMStatDataProvider.so.1 | %attr(555,root,root) /opt/tog-pegasus/lib/libCIMOMStatDataProvider.so.1 |
%attr(555,root,root) /opt/tog-pegasus/lib/libpegservice.so.1 | %attr(555,root,root) /opt/tog-pegasus/lib/libpegservice.so.1 |
|
|
/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 |
# | # |