version 1.111, 2008/06/10 17:37:50
|
version 1.117, 2008/12/11 23:31:19
|
|
|
#//%2006//////////////////////////////////////////////////////////////////////// |
#//%LICENSE//////////////////////////////////////////////////////////////// |
#// | #// |
#// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
#// Licensed to The Open Group (TOG) under one or more contributor license |
#// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
#// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with |
#// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; |
#// this work for additional information regarding copyright ownership. |
#// IBM Corp.; EMC Corporation, The Open Group. |
#// Each contributor licenses this file to you under the OpenPegasus Open |
#// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
#// Source License; you may not use this file except in compliance with the |
#// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
#// License. |
#// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
#// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
#// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
#// EMC Corporation; Symantec Corporation; The Open Group. |
|
#// | #// |
#// Permission is hereby granted, free of charge, to any person obtaining a copy |
#// Permission is hereby granted, free of charge, to any person obtaining a |
#// of this software and associated documentation files (the "Software"), to |
#// copy of this software and associated documentation files (the "Software"), |
#// deal in the Software without restriction, including without limitation the |
#// to deal in the Software without restriction, including without limitation |
#// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
#// the rights to use, copy, modify, merge, publish, distribute, sublicense, |
#// sell copies of the Software, and to permit persons to whom the Software is |
#// and/or sell copies of the Software, and to permit persons to whom the |
#// furnished to do so, subject to the following conditions: |
#// Software is furnished to do so, subject to the following conditions: |
#// | #// |
#// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN |
#// The above copyright notice and this permission notice shall be included |
#// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED |
#// in all copies or substantial portions of the Software. |
#// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT |
|
#// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR |
|
#// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
#// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
|
#// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
|
#// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
#// | #// |
#//============================================================================== |
#// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
|
#// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|
#// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
|
#// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
|
#// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
|
#// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
|
#// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
#// |
|
#////////////////////////////////////////////////////////////////////////// |
#%///////////////////////////////////////////////////////////////////////////// | #%///////////////////////////////////////////////////////////////////////////// |
# | # |
# tog-pegasus.spec | # tog-pegasus.spec |
|
|
# | # |
| |
%define packageVersion 1 | %define packageVersion 1 |
Version: 2.8.0 |
Version: 2.9.0 |
Release: %{packageVersion}%{?LINUX_VERSION:.%{LINUX_VERSION}} | Release: %{packageVersion}%{?LINUX_VERSION:.%{LINUX_VERSION}} |
Epoch: 1 | Epoch: 1 |
| |
|
|
%global PEGASUS_REPOSITORY_PARENT_DIR /var/lib/Pegasus | %global PEGASUS_REPOSITORY_PARENT_DIR /var/lib/Pegasus |
%global PEGASUS_PREV_REPOSITORY_DIR /var/lib/Pegasus/prev_repository | %global PEGASUS_PREV_REPOSITORY_DIR /var/lib/Pegasus/prev_repository |
%global PEGASUS_SBIN_DIR /usr/sbin | %global PEGASUS_SBIN_DIR /usr/sbin |
%global PEGASUS_DOC_DIR /usr/share/doc/tog-pegasus-2.8 |
%global PEGASUS_DOC_DIR /usr/share/doc/tog-pegasus-2.9 |
| |
%global PEGASUS_RPM_ROOT $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION | %global PEGASUS_RPM_ROOT $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION |
%global PEGASUS_RPM_HOME %PEGASUS_RPM_ROOT/build | %global PEGASUS_RPM_HOME %PEGASUS_RPM_ROOT/build |
|
|
fi | fi |
/sbin/chkconfig --del tog-pegasus; | /sbin/chkconfig --del tog-pegasus; |
rm -f %PEGASUS_VARDATA_DIR/cimserver_current.conf; | rm -f %PEGASUS_VARDATA_DIR/cimserver_current.conf; |
rm -f %PEGASUS_INSTALL_LOG; |
|
[ -d %PEGASUS_REPOSITORY_DIR ] && rm -rf %PEGASUS_REPOSITORY_DIR; | [ -d %PEGASUS_REPOSITORY_DIR ] && rm -rf %PEGASUS_REPOSITORY_DIR; |
[ -d %PEGASUS_VARDATA_CACHE_DIR ] && rm -rf %PEGASUS_VARDATA_CACHE_DIR; | [ -d %PEGASUS_VARDATA_CACHE_DIR ] && rm -rf %PEGASUS_VARDATA_CACHE_DIR; |
rm -f %PEGASUS_LOCAL_DOMAIN_SOCKET_PATH; | rm -f %PEGASUS_LOCAL_DOMAIN_SOCKET_PATH; |
|
|
/usr/share/Pegasus/mof | /usr/share/Pegasus/mof |
| |
%defattr(600,root,pegasus,755) | %defattr(600,root,pegasus,755) |
%dir /usr/share/doc/tog-pegasus-2.8 |
%dir /usr/share/doc/tog-pegasus-2.9 |
%dir /usr/share/Pegasus | %dir /usr/share/Pegasus |
%dir /usr/share/Pegasus/scripts | %dir /usr/share/Pegasus/scripts |
%dir /var/lib/Pegasus | %dir /var/lib/Pegasus |
|
|
%attr(644,root,pegasus) /usr/share/man/man1/* | %attr(644,root,pegasus) /usr/share/man/man1/* |
%attr(644,root,pegasus) /usr/share/man/man8/* | %attr(644,root,pegasus) /usr/share/man/man8/* |
| |
%doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.8/Admin_Guide_Release.pdf |
%doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.9/Admin_Guide_Release.pdf |
%doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.8/PegasusSSLGuidelines.htm |
%doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.9/PegasusSSLGuidelines.htm |
%doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.8/license.txt |
%doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.9/license.txt |
/usr/%PEGASUS_ARCH_LIB/libpegclient.so | /usr/%PEGASUS_ARCH_LIB/libpegclient.so |
/usr/%PEGASUS_ARCH_LIB/libpegcommon.so | /usr/%PEGASUS_ARCH_LIB/libpegcommon.so |
/usr/%PEGASUS_ARCH_LIB/libpegprovider.so | /usr/%PEGASUS_ARCH_LIB/libpegprovider.so |
|
|
%defattr(644,root,pegasus,755) | %defattr(644,root,pegasus,755) |
/usr/share/Pegasus/samples | /usr/share/Pegasus/samples |
/usr/include/Pegasus | /usr/include/Pegasus |
/usr/share/doc/tog-pegasus-2.8/* |
%doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.9/SecurityGuidelinesForDevelopers.html |
/usr/share/Pegasus/html | /usr/share/Pegasus/html |
| |
%if %{PEGASUS_BUILD_TEST_RPM} | %if %{PEGASUS_BUILD_TEST_RPM} |
%files test | %files test |
%defattr(-,root,pegasus,-) | %defattr(-,root,pegasus,-) |
/usr/share/Pegasus/test |
|
|
%dir /usr/share/Pegasus/test |
|
%dir /usr/share/Pegasus/test/bin |
|
%dir /usr/share/Pegasus/test/%PEGASUS_ARCH_LIB |
|
%dir /usr/share/Pegasus/test/mak |
|
%dir /usr/share/Pegasus/test/tmp |
|
|
%ghost /usr/share/Pegasus/test/tmp/procIdFile | %ghost /usr/share/Pegasus/test/tmp/procIdFile |
%ghost /usr/share/Pegasus/test/tmp/trapLogFile | %ghost /usr/share/Pegasus/test/tmp/trapLogFile |
%ghost /usr/share/Pegasus/test/tmp/IndicationStressTestLog | %ghost /usr/share/Pegasus/test/tmp/IndicationStressTestLog |
|
%ghost /usr/share/Pegasus/test/tmp/oldIndicationStressTestLog |
|
|
|
%attr(744,root,pegasus) /usr/share/Pegasus/test/bin/* |
|
%attr(744,root,pegasus) /usr/share/Pegasus/test/%PEGASUS_ARCH_LIB/* |
|
%attr(744,root,pegasus) /usr/share/Pegasus/test/mak/* |
|
%attr(644,root,pegasus) /usr/share/Pegasus/test/Makefile |
|
|
%defattr(600,cimsrvr, cimsrvr,700) | %defattr(600,cimsrvr, cimsrvr,700) |
/var/lib/Pegasus/testrepository | /var/lib/Pegasus/testrepository |
%endif | %endif |