File yast2-online-update.spec of Package yast2-online-update.26858

#
# spec file for package yast2-online-update
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#


Name:           yast2-online-update
Version:        4.4.4
Release:        0
URL:            https://github.com/yast/yast-online-update
Summary:        YaST2 - Online Update (YOU)
Group:          System/YaST
License:        GPL-2.0-only

Source0:        %{name}-%{version}.tar.bz2

BuildRequires:  update-desktop-files
BuildRequires:  yast2-devtools >= 4.2.2
BuildRequires:  yast2-packager
BuildRequires:  rubygem(%{rb_default_ruby_abi}:rspec)
BuildRequires:  rubygem(%{rb_default_ruby_abi}:yast-rake)

# Product EOL tag
Requires:       yast2-pkg-bindings >= 3.1.6
# UIExtensionChecker
Requires:       yast2 >= 4.4.19
# PackageCallbacks::FormatPatchName
Requires:       yast2-packager >= 2.13.159
# Added Logger (replacement for y2error, y2milestone, ...)
Requires:       yast2-ruby-bindings >= 3.1.7

Provides:       y2c_online_update
Provides:       y2t_online_update
Provides:       yast2-config-online-update
Provides:       yast2-trans-online-update

Obsoletes:      y2c_online_update
Obsoletes:      y2t_online_update
Obsoletes:      yast2-config-online-update
Obsoletes:      yast2-trans-online-update

Recommends:     yast2-online-update-frontend

BuildArch:      noarch

%description
YaST Online Update (YOU) provides a convenient way to download and
install security and other system updates. By default it uses the
official SUSE mirrors as the update sources, but it can also use local
patch repositories or patch CDs.

This package provides the graphical user interface for YOU which can be
used with or without the X Window System. It can be started from the
YaST control center.

%package frontend
Summary:        YaST2 - Online Update (YOU)
Requires:       yast2-online-update
Group:          System/YaST

# PatchCD desktop file moved to yast2-wagon
Conflicts:      yast2-wagon <= 2.17.3

%description frontend
Desktop files for YaST2 online update

%prep
%setup -q

%check
%yast_check

%build

%install
%yast_install
%yast_metainfo

%files
%{yast_scrconfdir}/*.scr
%{yast_clientdir}/online*.rb
%{yast_clientdir}/cd_update.rb
%{yast_clientdir}/inst_you.rb
%{yast_clientdir}/do_online_update_auto.rb
%{yast_moduledir}/OnlineUpdate*.rb
%{yast_icondir}
%doc %{yast_docdir}
%license COPYING

%files frontend
%{yast_desktopdir}
%{yast_metainfodir}

%changelog
openSUSE Build Service is sponsored by