Blob Blame Raw
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name:           pywbem 
Version:        0.7.0
Release:        2%{dist} 
Summary:        Python WBEM Client and Provider Interface
Group:          Development/Libraries
License:        LGPLv2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  python-setuptools-devel 
BuildArch:      noarch
Requires:       python-twisted
A Python library for making CIM (Common Information Model) operations over HTTP 
using the WBEM CIM-XML protocol. It is based on the idea that a good WBEM 
client should be easy to use and not necessarily require a large amount of 
programming knowledge. It is suitable for a large range of tasks from simply 
poking around to writing web and GUI applications. 

WBEM, or Web Based Enterprise Management is a manageability protocol, like 
SNMP, standardised by the Distributed Management Task Force (DMTF) available 

It also provides a Python provider interface, and is the fastest and 
easiest way to write providers on the planet.

%setup -q -n %{name}-%{version}

CFLAGS="%{optflags}" %{__python} build

rm -rf %{buildroot}
%{__python} install -O1 --skip-build --root %{buildroot}
mkdir -p -m755 %{buildroot}%{_bindir}
mv %{buildroot}/%{python_sitelib}/%{name}/ %{buildroot}/%{_bindir}/pywbemcli
mv %{buildroot}/%{python_sitelib}/%{name}/ %{buildroot}/%{_bindir}/mofcomp

rm -rf %{buildroot}

%attr(755,root,root) %{_bindir}/mofcomp
%attr(755,root,root) %{_bindir}/pywbemcli

* Sun Jun 28 2009 David Nalley <> 0.7.0-2
- Added some verbiage regarding what WBEM is and expanding WBEM and CIM acronyms
- Added python-twisted as a dependency
* Mon Jun 25 2009 David Nalley <> 0.7.0-1
- Initial packaging