File wsmancli.spec of Package wsmancli

#
# spec file for package wsmancli
#
# 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 http://bugs.opensuse.org/
#


Name:           wsmancli
BuildRequires:  gcc-c++
BuildRequires:  libwsman-devel >= 2.2.7
BuildRequires:  libwsman_clientpp-devel >= 2.2.7
BuildRequires:  pkgconfig
%if 0%{?suse_version} > 1010
BuildRequires:  libcurl-devel
%else
# SLE 10
BuildRequires:  curl-devel
%endif
Version:        2.3.0
Release:        0
Url:            http://www.openwsman.org/
Summary:        Opensource Implementation of WS-Management - Command line utility
License:        BSD-3-Clause
Group:          System/Management
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Part of Openwsman, an Opensource Implementation of WS-Management



Authors:
--------
    Anas Nashif <anas.nashif@intel.com>
    Vadim Revyakin <vadim.revyakin@intel.com>
    Denis Sadykov <denis.sadykov@intel.com>

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

%build
%configure --disable-more-warnings
make %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/wsman
%{_bindir}/wseventmgr

%changelog
openSUSE Build Service is sponsored by