2013-05-03 19:01:31 +02:00
|
|
|
#
|
|
|
|
# spec file for package yast2-network
|
|
|
|
#
|
2018-01-25 10:38:32 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-05-03 19:01:31 +02:00
|
|
|
#
|
|
|
|
# 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
|
2018-11-28 10:11:54 +01:00
|
|
|
Version: 4.1.19
|
2013-05-03 19:01:31 +02:00
|
|
|
Release: 0
|
2016-12-01 10:33:40 +01:00
|
|
|
BuildArch: noarch
|
2013-05-03 19:01:31 +02:00
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2018-06-18 11:23:15 +02:00
|
|
|
Url: https://github.com/yast/yast-network
|
2013-10-16 10:39:27 +02:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2013-05-03 19:01:31 +02:00
|
|
|
|
|
|
|
BuildRequires: update-desktop-files
|
2013-12-19 10:54:15 +01:00
|
|
|
BuildRequires: yast2-devtools >= 3.1.15
|
2016-05-04 21:44:30 +02:00
|
|
|
Requires: yast2-proxy
|
2016-02-02 00:24:11 +01:00
|
|
|
#for install task
|
2017-11-29 14:46:03 +01:00
|
|
|
BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake)
|
2013-05-03 19:01:31 +02:00
|
|
|
|
2018-08-23 18:03:54 +02:00
|
|
|
# Yast2::Systemd::Socket
|
|
|
|
BuildRequires: yast2 >= 4.1.3
|
|
|
|
Requires: yast2 >= 4.1.3
|
2013-05-03 19:01:31 +02:00
|
|
|
|
2016-09-21 13:40:06 +02:00
|
|
|
# Product control need xml agent
|
|
|
|
BuildRequires: yast2-xml
|
|
|
|
Requires: yast2-xml
|
|
|
|
|
2013-05-03 19:01:31 +02:00
|
|
|
#netconfig (FaTE #303618)
|
|
|
|
Requires: sysconfig >= 0.80.0
|
2017-08-14 21:10:04 +02:00
|
|
|
BuildRequires: yast2-storage-ng
|
|
|
|
Requires: yast2-storage-ng
|
2014-09-15 11:23:32 +02:00
|
|
|
# Packages::vnc_packages
|
2017-11-29 14:46:03 +01:00
|
|
|
Requires: yast2-packager >= 4.0.18
|
2017-12-11 16:58:23 +01:00
|
|
|
BuildRequires: yast2-packager >= 4.0.18
|
2018-04-25 14:53:05 +02:00
|
|
|
# cfa for parsing hosts
|
|
|
|
BuildRequires: rubygem(%rb_default_ruby_abi:cfa) >= 0.6.4
|
|
|
|
Requires: rubygem(%rb_default_ruby_abi:cfa) >= 0.6.4
|
2016-10-14 17:22:40 +02:00
|
|
|
# lenses are needed to use cfa
|
|
|
|
BuildRequires: augeas-lenses
|
|
|
|
Requires: augeas-lenses
|
2016-11-28 10:42:05 +01:00
|
|
|
# BusID of all the cards with the same one (bsc#1007172)
|
|
|
|
Requires: hwinfo >= 21.35
|
2013-05-03 19:01:31 +02:00
|
|
|
|
2013-10-16 10:39:27 +02:00
|
|
|
# testsuite
|
2017-11-29 14:46:03 +01:00
|
|
|
BuildRequires: rubygem(%rb_default_ruby_abi:rspec)
|
2013-10-16 10:39:27 +02:00
|
|
|
|
2013-05-03 19:01:31 +02:00
|
|
|
PreReq: /bin/rm
|
|
|
|
|
|
|
|
# carrier detection
|
|
|
|
Conflicts: yast2-core < 2.10.6
|
|
|
|
|
2013-07-31 11:51:45 +02:00
|
|
|
Requires: yast2-ruby-bindings >= 1.0.0
|
|
|
|
|
2018-06-18 11:23:15 +02:00
|
|
|
Obsoletes: yast2-network-devel-doc <= 3.1.154
|
|
|
|
Provides: yast2-network-devel-doc = %{version}
|
2016-06-09 15:24:34 +02:00
|
|
|
|
2013-05-03 19:01:31 +02:00
|
|
|
Summary: YaST2 - Network Configuration
|
2018-07-27 19:24:31 +02:00
|
|
|
License: GPL-2.0-only
|
2013-05-03 19:01:31 +02:00
|
|
|
Group: System/YaST
|
|
|
|
|
2018-06-18 11:23:15 +02:00
|
|
|
%build
|
|
|
|
|
2013-05-03 19:01:31 +02:00
|
|
|
%description
|
|
|
|
This package contains the YaST2 component for network configuration.
|
|
|
|
|
|
|
|
%prep
|
2013-10-16 10:39:27 +02:00
|
|
|
%setup -n %{name}-%{version}
|
2013-05-03 19:01:31 +02:00
|
|
|
|
2016-02-02 00:24:11 +01:00
|
|
|
%check
|
|
|
|
rake test:unit
|
2013-05-03 19:01:31 +02:00
|
|
|
|
|
|
|
%install
|
2016-02-02 00:24:11 +01:00
|
|
|
rake install DESTDIR="%{buildroot}"
|
2013-05-03 19:01:31 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2013-10-16 10:39:27 +02:00
|
|
|
%{yast_ybindir}/*
|
|
|
|
%{yast_yncludedir}/network
|
|
|
|
%{yast_clientdir}/*.rb
|
2016-09-21 13:40:06 +02:00
|
|
|
%dir %{yast_moduledir}/YaPI
|
2013-10-16 10:39:27 +02:00
|
|
|
%{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
|
2013-12-19 10:54:15 +01:00
|
|
|
%{yast_libdir}/network
|
2017-12-11 16:58:23 +01:00
|
|
|
%{yast_libdir}/y2remote
|
2016-10-14 17:22:40 +02:00
|
|
|
%dir %{yast_libdir}/cfa/
|
|
|
|
%{yast_libdir}/cfa/hosts.rb
|
2015-10-19 19:19:10 +02:00
|
|
|
%{yast_ydatadir}/network
|
2013-10-16 10:39:27 +02:00
|
|
|
|
|
|
|
%dir %{yast_docdir}
|
2016-06-07 11:11:22 +02:00
|
|
|
%doc %{yast_docdir}/CONTRIBUTING.md
|
2018-10-16 11:09:37 +02:00
|
|
|
%license COPYING
|
2016-06-07 11:11:22 +02:00
|
|
|
%doc %{yast_docdir}/README.md
|
2013-05-03 19:01:31 +02:00
|
|
|
|
|
|
|
%changelog
|