File cmpi-pywbem-software.spec of Package cmpi-pywbem-software

# spec file for package cmpi-pywbem-software (Version 0.1.2)
# 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

# norootforbuild

Name:           cmpi-pywbem-software
License:        LGPL v2.1 or later
Group:          System/Management
AutoReqProv:    on
Version:        0.1.2
Release:        3
Summary:        CIM provider for packagekit
Source0:        %{name}-%{version}.tar.gz
Requires:       python-pywbem cmpi-bindings-pywbem PackageKit sblim-sfcb
PreReq:         cmpi-provider-register
BuildRequires:  sblim-sfcb
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define mofdir /usr/share/mof/cmpi-pywbem-software
%define regdir /var/lib/sfcb/stage/regs

This is a tech preview for a CIM instrumentation for the software
profiles based on PackageKit.

    Stefan Haas <>

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


make DESTDIR=%{buildroot} install

if [ $1 -gt 1 -a -d %{mofdir} ]; then
  /usr/sbin/cmpi-provider-register -r -x -d %{mofdir}

/usr/sbin/cmpi-provider-register -d %{mofdir}

if [ "$1" = "0" ] ; then 
  /usr/sbin/cmpi-provider-register -r -d %{mofdir}


%dir %{mofdir}
%dir /usr/lib/pycim

* Mon Dec 08 2008
- fixed typo in spec-file
* Mon Dec 08 2008
- adapted package und update provider to new PackageKit-interface
- updated and cleaned the spec-file (bnc #457194)
* Fri Sep 19 2008
- added directories to filelist
* Fri Sep 12 2008
- renamed to cmpi-pywbem-software
- initial port to sblim-sfcb
* Fri Aug 08 2008
- Updated to v0.1.2
- RepositoryProvider added
* Mon Aug 04 2008
- initial package created v0.1.1