File yast2-rdp.spec of Package yast2-rdp.8741

#
# spec file for package yast2-rdp
#
# Copyright (c) 2018 SUSE LINUX 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-rdp
Version:        4.0.2
Release:        0
Summary:        Setup Remote Desktop Protocol service for remote administration
License:        GPL-2.0
Group:          System/YaST
Url:            https://www.suse.com
Source0:        %{name}-%{version}.tar.bz2
BuildArch:      noarch
# SuSEFirewall2 replaced by firewalld (fate#323460)
BuildRequires:  perl-XML-Writer
BuildRequires:  update-desktop-files
BuildRequires:  yast2 >= 4.0.39
BuildRequires:  yast2-devtools
BuildRequires:  yast2-network
BuildRequires:  yast2-testsuite
# for install task
BuildRequires:  rubygem(%rb_default_ruby_abi:yast-rake)
# for test:unit
BuildRequires:  rubygem(%rb_default_ruby_abi:rspec)
# SuSEFirewall2 replaced by firewalld (fate#323460)
Requires:       yast2 >= 4.0.39
Requires:       yast2-ruby-bindings

%description
Configure RDP (remote desktop protocol) daemon to allow remote system administration.

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

%check
rake test:unit

%build

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

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

%changelog
openSUSE Build Service is sponsored by