File openwsman-yast.spec of Package openwsman-yast

#
# spec file for package openwsman-yast
#
# Copyright (c) 2011 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:           openwsman-yast
Version:        1.5.12
Release:        2
License:        BSD-3-Clause
Url:            http://build.opensuse.org/project/show?project=systemsmanagement:wbem
Source:         %{name}-%{version}.tar.bz2
Source1:        %{name}-rpmlintrc
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          System/Management
BuildRequires:  gcc-c++
BuildRequires:  libwsman-devel >= 2.2.0
BuildRequires:  libxml2-devel
BuildRequires:  openwsman-devel >= 2.2.0
BuildRequires:  pkgconfig
BuildRequires:  yast2-core-devel
%if 0%{?suse_version} < 1220
BuildRequires:  libxcrypt-devel
%endif
Requires:       openwsman-server >= 2.2.0
Requires:       yast2-core
Summary:        YaST plugin for openwsman-server

%description
This package provides a YaST plugin for wsmand, the WS Management
Daemon. The plugin makes YaST (the ycp layer api) remotely accessible.
Combined with rwsman (the openwsman client bindings for Ruby) and Ruby
On Rails, one can e.g. easily create a Web interface for YaST.

%prep
%setup

%build
%configure --prefix=/usr --libdir=%{_libdir} --sysconfdir=/etc --docdir=/usr/share/doc/packages/openwsman --disable-static
make

%install
make DESTDIR=%{buildroot} install
rm %{buildroot}%{_libdir}/openwsman/plugins/*.la

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%dir %{_libdir}/openwsman
%dir %{_libdir}/openwsman/plugins
%{_libdir}/openwsman/plugins/*so*

%changelog
openSUSE Build Service is sponsored by