yast2-network/yast2-network.spec
YaST Team Bot db42910564 - bsc#984146
- set AutoYaST keep_install_network parameter to 'true' by
    default
  - restore the default behavior present in SLE 12 SP1 and
    openSUSE Leap 42.1
- 3.1.157

OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-network?expand=0&rev=689
2016-06-21 09:55:43 +00:00

104 lines
2.7 KiB
RPMSpec

#
# spec file for package yast2-network
#
# Copyright (c) 2016 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-network
Version: 3.1.157
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
# should be required by devtools
BuildRequires: perl-XML-Writer
BuildRequires: pkgconfig
BuildRequires: rpm
BuildRequires: update-desktop-files
BuildRequires: yast2-country
BuildRequires: yast2-devtools >= 3.1.15
BuildRequires: yast2-proxy
Requires: yast2-proxy
#for install task
BuildRequires: rubygem(yast-rake)
# yast2 v3.1.86: Added ServicesProposal library
BuildRequires: yast2 >= 3.1.86
# yast2 v3.1.135: Fixed Hostname API
Requires: yast2 >= 3.1.136
#netconfig (FaTE #303618)
Requires: sysconfig >= 0.80.0
#GetLanguageCountry
#(in newly created yast2-country-data)
Requires: yast2-country-data >= 2.16.3
# Storage::IsDeviceOnNetwork
BuildRequires: yast2-storage >= 2.21.11
Requires: yast2-storage >= 2.21.11
# Packages::vnc_packages
BuildRequires: yast2-packager >= 3.1.47
Requires: yast2-packager >= 3.1.47
# testsuite
BuildRequires: rubygem(rspec)
PreReq: /bin/rm
# carrier detection
Conflicts: yast2-core < 2.10.6
Requires: yast2-ruby-bindings >= 1.0.0
Obsoletes: yast2-network-devel-doc
Summary: YaST2 - Network Configuration
License: GPL-2.0
Group: System/YaST
%description
This package contains the YaST2 component for network configuration.
%prep
%setup -n %{name}-%{version}
%check
rake test:unit
%install
rake install DESTDIR="%{buildroot}"
%files
%defattr(-,root,root)
%{yast_ybindir}/*
%{yast_yncludedir}/network
%{yast_clientdir}/*.rb
%{yast_moduledir}/YaPI/NETWORK.pm
%{yast_moduledir}/*.rb
%{yast_desktopdir}/*.desktop
%{yast_scrconfdir}/*.scr
%{yast_agentdir}/ag_udev_persistent
%{yast_schemadir}/autoyast/rnc/networking.rnc
%{yast_schemadir}/autoyast/rnc/host.rnc
%{yast_libdir}/network
%{yast_ydatadir}/network
%dir %{yast_docdir}
%doc %{yast_docdir}/CONTRIBUTING.md
%doc %{yast_docdir}/COPYING
%doc %{yast_docdir}/README.md
%changelog