File project.diff of Package yast2-theme-SLE

--- yast2-theme.spec.orig
+++ yast2-theme.spec
@@ -1,5 +1,5 @@
 #
-# spec file for package yast2-theme
+# spec file for package yast2-theme-SLE
 #
 # Copyright (c) 2022 SUSE LLC
 #
@@ -16,11 +16,11 @@
 #
 
 
-Name:           yast2-theme
+Name:           yast2-theme-SLE
 Version:        4.5.0
 Release:        0
 
-Source0:        %{name}-%{version}.tar.bz2
+Source0:        yast2-theme-%{version}.tar.bz2
 
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
@@ -28,26 +28,14 @@ BuildRequires:  pkg-config
 BuildRequires:  update-desktop-files
 BuildRequires:  yast2-devtools
 BuildRequires:  rubygem(%{rb_default_ruby_abi}:yast-rake)
-%if 0%{?is_opensuse}
-BuildRequires:  breeze5-icons
-BuildRequires:  oxygen5-icon-theme
-BuildRequires:  update-desktop-files
-BuildRequires:  yast2-qt-branding
-%endif
 
 Requires:       hicolor-icon-theme
 
-%if 0%{?is_opensuse}
-# bsc#1105792: firstboot wizard missing branding
-Requires:       google-poppins-fonts
-Requires:       yast2-qt-branding
-%else
 # on SLE the qt branding files are included in yast2-them so they
 # conflict with the separate package that exists on openSUSE
 # (boo#1133415)
 Obsoletes:      yast2-qt-branding-openSUSE
 Conflicts:      yast2-qt-branding-openSUSE
-%endif
 
 # Since yast2-branding is provided by this package, OBS needs some help to bootstrap
 #!BuildIgnore:  yast2-branding
@@ -61,13 +49,13 @@ Conflicts:      otherproviders(yast2_the
 
 Obsoletes:      yast2-branding-openSUSE
 Obsoletes:      yast2-theme < %{version}
-Obsoletes:      yast2-theme-SLE
+Obsoletes:      yast2-theme-SLE < %{version}
 Obsoletes:      yast2-theme-openSUSE
 Obsoletes:      yast2-theme-openSUSE-Crystal < %{version}
 
 BuildArch:      noarch
 Summary:        YaST2 - Theme
-License:        GPL-2.0-only AND GPL-3.0-only AND CC-BY-SA-4.0
+License:        CC-BY-SA-4.0 AND GPL-2.0-only AND GPL-3.0-only
 Group:          System/YaST
 
 # icons/**/pattern-deepin.svg is GPL-3.0,
@@ -78,35 +66,8 @@ URL:            http://github.com/yast/y
 %description
 Contains necessary theming resources to use YaST2.
 
-%if 0%{?is_opensuse}
-%package oxygen
-Summary:        YaST2 - Oxygen icon theme
-Group:          System/YaST
-Supplements:    (yast2-theme and oxygen5-icon-theme)
-PreReq:         yast2-branding = %{version}
-Requires:       oxygen5-icon-theme
-Provides:       yast2-theme-oxygen = %{version}
-Obsoletes:      yast2-theme-openSUSE-Oxygen < %{version}
-Obsoletes:      yast2-theme-oxygen < %{version}
-
-%description oxygen
-Contains icons in KDE Oxygen style (from KDE Plasma 4).
-
-%package breeze
-Summary:        YaST2 - Breeze icon theme
-Group:          System/YaST
-Supplements:    (yast2-theme and breeze5-icons)
-PreReq:         yast2-branding = %{version}
-Requires:       breeze5-icons
-Provides:       yast2-theme-breeze = %{version}
-Obsoletes:      yast2-theme-breeze < %{version}
-
-%description breeze
-Contains icons in KDE Breeze style (from KDE Plasma 5).
-%endif
-
 %prep
-%setup -n %{name}-%{version}
+%setup -n yast2-theme-%{version}
 
 %build
 mkdir -p %{buildroot}%{_datadir}/icons/breeze/apps/32
@@ -122,21 +83,18 @@ rake install DESTDIR=%{buildroot}
 
 # Distro specific config (should be moved to distro specific branding packages!)
 mkdir -p %{buildroot}/etc/icewm/
-%if 0%{?is_opensuse}
-mv %{buildroot}%{yast_themedir}/openSUSE %{buildroot}%{yast_themedir}/current
-cp theme/openSUSE/wmconfig/* %{buildroot}/etc/icewm/
-%else
 mv %{buildroot}%{yast_themedir}/SLE %{buildroot}%{yast_themedir}/current
 cp theme/SLE/wmconfig/* %{buildroot}/etc/icewm/
 # SLE doesn't have those icon themes:
 rm -rf %{buildroot}%{yast_icondir}/oxygen
 rm -rf %{buildroot}%{yast_icondir}/breeze
 rm -rf %{buildroot}%{yast_icondir}/breeze-dark
-%endif
 
 # We only need current theme
 rm -rf %{buildroot}%{yast_themedir}/SLE %{buildroot}%{yast_themedir}/openSUSE
 
+mv %{buildroot}/usr/share/doc/packages/yast2-theme %{buildroot}/usr/share/doc/packages/yast2-theme-SLE
+
 # Clean out duplicates
 %fdupes %{buildroot}%{yast_themedir}
 %fdupes %{buildroot}%{yast_icondir}
@@ -160,13 +118,4 @@ fi
 %doc %{yast_docdir}
 %license COPYING*
 
-%if 0%{?is_opensuse}
-%files oxygen
-%{yast_icondir}/oxygen/*
-
-%files breeze
-%{yast_icondir}/breeze/*
-%{yast_icondir}/breeze-dark/*
-%endif
-
 %changelog
openSUSE Build Service is sponsored by