File yast2-lxc.spec of Package yast2-lxc

#
# spec file for package yast2-lxc
#
# Copyright (c) 2015 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:           yast2-lxc
Version:        3.1.2
Release:        0
Url:            http://github.com/yast/yast-lxc

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %{name}-%{version}.tar.bz2

Requires:       lxc
Requires:       yast2
Requires:       yast2-security
BuildRequires:  perl-XML-Writer
BuildRequires:  update-desktop-files
BuildRequires:  yast2
BuildRequires:  yast2-buildtools >= 3.1.10
BuildRequires:  yast2-security
BuildRequires:  yast2-testsuite
BuildRequires:  rubygem(yast-rake)

BuildArch:      noarch

Requires:       yast2-ruby-bindings >= 1.0.0

Summary:        Management tool for Linux Containers (LXC)
License:        GPL-2.0
Group:          System/YaST

%description
Graphical management tool for Linux Containers (LXC)

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

%check
rake test:unit

%build

%install
rake install DESTDIR="%{buildroot}"

%files
%defattr(-,root,root)
%dir %{yast_yncludedir}/lxc
%{yast_yncludedir}/lxc/*
%{yast_clientdir}/lxc.rb
%{yast_moduledir}/Lxc.*
%{yast_desktopdir}/lxc.desktop
%doc %{yast_docdir}

%changelog
openSUSE Build Service is sponsored by