2013-05-03 19:01:31 +02:00
|
|
|
#
|
|
|
|
# spec file for package yast2-network
|
|
|
|
#
|
2016-01-13 19:56:36 +01:00
|
|
|
# Copyright (c) 2016 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
|
2016-11-22 14:09:21 +01:00
|
|
|
Version: 3.2.11
|
2013-05-03 19:01:31 +02:00
|
|
|
Release: 0
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
|
|
|
BuildRequires: rubygem(yast-rake)
|
2013-05-03 19:01:31 +02:00
|
|
|
|
2014-07-22 15:29:23 +02:00
|
|
|
# yast2 v3.1.86: Added ServicesProposal library
|
|
|
|
BuildRequires: yast2 >= 3.1.86
|
2016-10-17 11:41:27 +02:00
|
|
|
# Network: Adapt old enslaved interface config
|
|
|
|
Requires: yast2 >= 3.1.206.2
|
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
|
|
|
|
#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
|
2014-09-15 11:23:32 +02:00
|
|
|
# Packages::vnc_packages
|
|
|
|
Requires: yast2-packager >= 3.1.47
|
2016-10-14 17:22:40 +02:00
|
|
|
# cfa for parsing hosts
|
|
|
|
BuildRequires: rubygem(%rb_default_ruby_abi:cfa)
|
|
|
|
Requires: rubygem(%rb_default_ruby_abi:cfa)
|
|
|
|
# lenses are needed to use cfa
|
|
|
|
BuildRequires: augeas-lenses
|
|
|
|
Requires: augeas-lenses
|
2013-05-03 19:01:31 +02:00
|
|
|
|
2013-10-16 10:39:27 +02:00
|
|
|
# testsuite
|
2014-09-08 11:14:25 +02:00
|
|
|
BuildRequires: rubygem(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
|
|
|
|
|
2016-06-09 15:24:34 +02:00
|
|
|
Obsoletes: yast2-network-devel-doc
|
|
|
|
|
2013-05-03 19:01:31 +02:00
|
|
|
Summary: YaST2 - Network Configuration
|
|
|
|
License: GPL-2.0
|
|
|
|
Group: System/YaST
|
|
|
|
|
|
|
|
%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
|
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
|
|
|
|
%doc %{yast_docdir}/COPYING
|
|
|
|
%doc %{yast_docdir}/README.md
|
2013-05-03 19:01:31 +02:00
|
|
|
|
|
|
|
%changelog
|