File yast2-nfs-client.spec of Package yast2-nfs-client
#
# spec file for package yast2-nfs-client
#
# Copyright (c) 2016 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-nfs-client
Version: 3.1.17
Release: 0
Url: https://github.com/yast/yast-nfs-client
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
BuildRequires: perl-XML-Writer
BuildRequires: update-desktop-files
BuildRequires: yast2-devtools >= 3.1.27
BuildRequires: yast2-testsuite
# Don't use Info function to check enable state (bnc#807507)
BuildRequires: yast2 >= 2.23.23
BuildRequires: rubygem(rspec)
# path_matching (RSpec argument matcher)
BuildRequires: yast2-ruby-bindings >= 3.1.31
#ag_showexports moved to yast2 base
# introduces extended IPv6 support.
Requires: yast2 >= 2.23.6
#idmapd_conf agent
Requires: yast2-nfs-common >= 2.24.0
# showmount, #150382, #286300
Recommends: nfs-client
# Unfortunately we cannot move this to macros.yast,
# bcond within macros are ignored by osc/OBS.
%bcond_with yast_run_ci_tests
%if %{with yast_run_ci_tests}
BuildRequires: rubygem(yast-rake-ci)
%endif
Provides: yast2-config-nfs
Provides: yast2-config-nfs-devel
Obsoletes: yast2-config-nfs
Obsoletes: yast2-config-nfs-devel
Provides: yast2-trans-nfs
Obsoletes: yast2-trans-nfs
Provides: yast2-config-network:/usr/lib/YaST2/clients/lan_nfs_client.ycp
BuildArch: noarch
Requires: yast2-ruby-bindings >= 1.0.0
Summary: YaST2 - NFS Configuration
License: GPL-2.0+
Group: System/YaST
%description
The YaST2 component for configuration of NFS. NFS stands for network
file system access. It allows access to files on remote machines.
%prep
%setup -n %{name}-%{version}
%build
%yast_build
%install
%yast_install
%files
%defattr(-,root,root)
%dir %{yast_yncludedir}/nfs
%{yast_yncludedir}/nfs/*
%dir %{yast_clientdir}
%{yast_clientdir}/nfs.rb
%{yast_clientdir}/nfs-client.rb
%{yast_clientdir}/nfs_auto.rb
%{yast_clientdir}/nfs-client4part.rb
%dir %{yast_moduledir}
%{yast_moduledir}/Nfs.rb
%{yast_moduledir}/NfsOptions.rb
%{yast_dir}/lib/fstab
%dir %{yast_desktopdir}
%{yast_desktopdir}/nfs.desktop
%doc %{yast_docdir}
%{yast_schemadir}/autoyast/rnc/nfs.rnc
%changelog