File python-pywbem.spec of Package python-pywbem
#
# spec file for package python-pywbem (Version 0.7)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%define srcversion 0.6.20081023.1
Name: python-pywbem
BuildRequires: python-devel python-xml
Version: 0.7
Release: 5
Group: System/Management
Summary: Python module for making CIM operation calls using the WBEM protocol
License: LGPL v2.1 or later
Url: http://pywbem.sf.net/
Source0: pywbem-%{srcversion}.tar.gz
Requires: python-xml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
PyWBEM is a Python module for making CIM operation calls using the WBEM
protocol to query and update managed objects.
Authors:
--------
Tim Potter <tpot@hp.com>
%prep
%setup -q -n pywbem-%{srcversion}
%build
ln -s . pywbem
python setup.py build
%install
%{__rm} -rf $RPM_BUILD_ROOT
python setup.py install --prefix=%{_prefix} \
--root $RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
chmod +x $RPM_BUILD_ROOT%{py_sitedir}/pywbem/mof_compiler.py
chmod +x $RPM_BUILD_ROOT%{py_sitedir}/pywbem/wbemcli.py
install -d $RPM_BUILD_ROOT/usr/bin
ln -s %{py_sitedir}/pywbem/mof_compiler.py $RPM_BUILD_ROOT/usr/bin/mofcomp
ln -s %{py_sitedir}/pywbem/wbemcli.py $RPM_BUILD_ROOT/usr/bin/pywbemcli
# END OF INSTALL
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root,-)
/usr/bin/mofcomp
/usr/bin/pywbemcli
%doc README
%changelog
* Thu Oct 23 2008 bwhiteley@suse.de
- update to latest svn
- symlink new wbemcli utility to /usr/bin/
* Sat Sep 27 2008 bwhiteley@suse.de
- Updated to latest svn in preparation for update to soon-to-be-
released 0.7.
* Thu Sep 11 2008 bwhiteley@suse.de
- Updated to latest svn in preparation for update to soon-to-be-
released 0.7.
* Fri Mar 21 2008 mmarek@suse.cz
- simplify %%install
* Thu Mar 20 2008 mmarek@suse.cz
- added changes file to the buildservice package, summarize recent
updates
* Thu Feb 21 2008 bwhiteley@suse.de
- update to svn trunk (0.6.20080221.1)
LICENSING:
* Relicensed from the GNU GPLv2 to the GNU LGPLv2.
API CHANGES:
* Add a type keyword arg and attribute to CIMQualifier, similar to
the CIMProperty object, to allow the creation of null qualifiers.
(Tim Potter)
* Remove the toxml() method from CIM object classes. Use
tocimxml().toxml() instead which specifies the CIM-XML
representation of the object. (Tim Potter)
* CIMDateTime class should now be used instead of datetime.datetime
and datetime.timedelta.
* Added a new method, CIMInstance.update_existing(). This behaves
like update() on a dict, but only assigns new values to existing
properties. It skips values for properties not already present
in the instance. This is useful for honoring PropertyList within
python providers.
ENHANCEMENTS:
* Added support for generating Pegasus provider registration MOF in
cim_provider.codegen(). (Bart Whiteley)
* Implemented methods to parse indication export requests.
(Bart Whiteley)
* Python provider code generation enhancements. (Bart Whiteley)
* Support for Pegasus Local authentication. (Bart Whiteley)
* Support for Pegasus and OpenWBEM Unix Domain Socket. (Tim and Bart)
* Added support for Pegasus non-compliant EMBEDDEDOBJECT XML attribute.
(Bart Whiteley)
* Added CIMQualifierDeclaration.tomof(). (Bart Whiteley)
* Added a powerful MOF compiler. (Bart Whiteley)
* Support for OpenWBEM password-less local authentication.
(Bart Whiteley)
* Support for embedded objects is described in DSP0201-2.2.0
(Bart Whiteley)
* New CIMDateTime class to deal with CIM-isms of datetimes.
Most notably, datetime deals with timezone info poorly.
(Bart Whiteley)
* Add InvokeMethod() support in Twisted Python client. (Tim
Potter)
plus lots of bugfixes
* Wed Nov 01 2006 bwhiteley@suse.de
- Update to pywbem-0.5
* Sat Sep 23 2006 aj@suse.de
- Fix build with python 2.5.
* Wed Apr 26 2006 bwhiteley@suse.de
- Renamed package from python-wbem to python-pywbem per request
from upstream maintainer
* Thu Apr 06 2006 bwhiteley@suse.de
- Update to CVS snapshot. This includes several fixes which enable
method invocation.
* Tue Feb 28 2006 jmatejek@suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Dec 16 2005 bwhiteley@suse.de
- added "Requires: python-xml"
* Tue Nov 15 2005 bwhiteley@suse.de
- Updated to real version 0.4. Previously version 0.4 was a pre-
release "under the table" distribution from Tim Potter
* Thu Oct 06 2005 bwhiteley@suse.de
- Initial package