File sblim-wbemcli.spec of Package sblim-wbemcli

# spec file for package sblim-wbemcli
# Copyright (c) 2012 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

Name:           sblim-wbemcli
%if 0%{?suse_version} > 1010
BuildRequires:  binutils-devel
# SLE_10
BuildRequires:  binutils
BuildRequires:  curl-devel
BuildRequires:  gcc-c++
Version:        1.6.2
Release:        0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch0:         sblim-wbemcli-gcc47.patch
Summary:        SBLIM WBEM Command Line Interface
License:        EPL-1.0
Group:          System/Management

WBEM Command Line Interface is a standalone, command line WBEM client.
It is especially suited for basic systems management tasks as it can be
used in scripts.

    SBLIM Project <>

%setup -q
%patch0 -p1
sed -i 's|wbemcli/samples|wbemcli/examples|' man/
sed -i 's|wbemcli/samples|wbemcli/examples|' man/wbemcli.1

make %{?jobs:-j %jobs}

mv "samples" "examples"

%{__rm} -rf %{buildroot}

%doc ChangeLog README* NEWS examples/ *py

openSUSE Build Service is sponsored by