2015-04-17 11:07:23 +02:00
|
|
|
#
|
|
|
|
# spec file for package yast2-registration
|
|
|
|
#
|
2018-01-10 17:40:07 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-04-17 11:07:23 +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-registration
|
2018-03-28 11:11:28 +02:00
|
|
|
Version: 4.0.29
|
2015-04-17 11:07:23 +02:00
|
|
|
Release: 0
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
|
2017-09-01 12:13:35 +02:00
|
|
|
## UI::TextHelpers wrap_text
|
|
|
|
Requires: yast2 >= 4.0.1
|
2015-07-10 17:38:25 +02:00
|
|
|
# "dupAllowVendorChange" option in Pkg.SetSolverFlags()
|
2016-04-13 14:15:54 +02:00
|
|
|
Requires: yast2-pkg-bindings >= 3.1.34
|
2015-04-17 11:07:23 +02:00
|
|
|
# N_() method
|
2015-10-12 11:03:06 +02:00
|
|
|
Requires: yast2-ruby-bindings >= 3.1.12
|
2016-08-03 01:09:50 +02:00
|
|
|
# SUSE::Connect::YaST.list_installer_updates
|
|
|
|
Requires: rubygem(suse-connect) >= 0.2.37
|
2015-10-12 11:03:06 +02:00
|
|
|
|
|
|
|
# NOTE: Workaround for bsc#947482, SUSEConnect is actually not needed by the
|
|
|
|
# YaST registration module, it is used just to install the Connect dependencies.
|
|
|
|
#
|
|
|
|
# TODO: Remove it once the SUSEConnect dependencies are properly moved to the
|
|
|
|
# suse-connect gem.
|
2016-08-03 01:09:50 +02:00
|
|
|
Requires: SUSEConnect >= 0.2.37
|
2015-10-12 11:03:06 +02:00
|
|
|
|
2015-04-17 11:07:23 +02:00
|
|
|
Requires: yast2-add-on >= 3.1.8
|
2016-08-03 01:09:50 +02:00
|
|
|
Requires: yast2-slp >= 3.1.9
|
2016-05-11 16:09:45 +02:00
|
|
|
# packager/product_patterns.rb
|
|
|
|
Requires: yast2-packager >= 3.1.95
|
2016-02-22 16:07:55 +01:00
|
|
|
Requires: yast2-update >= 3.1.36
|
2015-04-17 11:07:23 +02:00
|
|
|
|
|
|
|
BuildRequires: update-desktop-files
|
2017-09-01 12:13:35 +02:00
|
|
|
BuildRequires: yast2 >= 4.0.1
|
2016-02-22 16:36:25 +01:00
|
|
|
BuildRequires: yast2-devtools >= 3.1.39
|
2016-08-03 01:09:50 +02:00
|
|
|
BuildRequires: yast2-slp >= 3.1.9
|
2015-04-17 11:07:23 +02:00
|
|
|
BuildRequires: rubygem(rspec)
|
2015-09-23 10:01:27 +02:00
|
|
|
BuildRequires: rubygem(suse-connect) >= 0.2.22
|
2015-11-09 12:24:46 +01:00
|
|
|
BuildRequires: rubygem(yast-rake) >= 0.2.5
|
2018-02-23 10:40:23 +01:00
|
|
|
# updated product renames
|
|
|
|
BuildRequires: yast2-packager >= 4.0.40
|
2016-05-11 16:09:45 +02:00
|
|
|
BuildRequires: yast2-update >= 3.1.36
|
2015-04-17 11:07:23 +02:00
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2016-02-22 16:36:25 +01:00
|
|
|
# FIXME: it seems can we cannot move it to macros.yast, the yast-rake-ci is not
|
|
|
|
# installed into the chroot, the build fails...
|
|
|
|
%bcond_with yast_run_ci_tests
|
|
|
|
%if %{with yast_run_ci_tests}
|
|
|
|
BuildRequires: rubygem(yast-rake-ci)
|
|
|
|
%endif
|
|
|
|
|
2015-04-17 11:07:23 +02:00
|
|
|
Summary: YaST2 - Registration Module
|
2015-04-26 22:51:18 +02:00
|
|
|
License: GPL-2.0
|
|
|
|
Group: System/YaST
|
2015-04-17 11:07:23 +02:00
|
|
|
Url: https://github.com/yast/yast-registration
|
|
|
|
|
|
|
|
%description
|
|
|
|
The registration module to register products and/or to fetch an update
|
|
|
|
source (mirror) automatically.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%check
|
2016-02-22 16:36:25 +01:00
|
|
|
%yast_check
|
2015-04-17 11:07:23 +02:00
|
|
|
|
|
|
|
%install
|
2016-02-22 16:36:25 +01:00
|
|
|
%yast_install
|
2015-04-17 11:07:23 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2017-01-31 09:47:51 +01:00
|
|
|
%{yast_desktopdir}/*.desktop
|
2015-04-17 11:07:23 +02:00
|
|
|
%{yast_clientdir}/*.rb
|
|
|
|
%{yast_ydatadir}/registration
|
|
|
|
%{yast_schemadir}/autoyast/rnc/*.rnc
|
|
|
|
%{yast_libdir}/registration
|
|
|
|
%{yast_libdir}/yast
|
|
|
|
%{yast_libdir}/yast/suse_connect.rb
|
|
|
|
%doc %{yast_docdir}
|
|
|
|
|
|
|
|
%changelog
|