File sle15-desktop-migration.spec of Package sle15-desktop-migration
#
# spec file for package sle15-desktop-migration
#
# Copyright (c) 2020 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 http://bugs.opensuse.org/
Name: sle15-desktop-migration
Version: 15
Release: 0
Summary: Hook to upgrade desktop settings
License: MIT
Group: System/YaST
Source: migrate_desktop.sh
Requires: sed
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Recommends on SLES
Recommends: patterns-gnome-gnome_basic
# Recommends on WE and SLED
Recommends: patterns-gnome-gnome_x11
Obsoletes: kde-susetranslations <= 11.1
Obsoletes: kde4-filesystem <= 4.3.5
Obsoletes: kde4-kcm_gtk <= 1.1
Obsoletes: kde4-l10n-fr <= 4.3.5
Obsoletes: kde4-l10n-fr-data <= 4.3.5
Obsoletes: kde4-l10n-fr-doc <= 4.3.5
Obsoletes: kdeartwork4-weatherwallpapers <= 4.3.5
Obsoletes: kdebase4-wallpapers <= 4.3.5
Obsoletes: kdebase4-workspace-ksysguardd <= 4.3.5
Obsoletes: kdebase4-workspace <= 4.3.5
Obsoletes: kdegames4-carddecks-default <= 4.3.5
Obsoletes: kdm <= 4.3.5
Obsoletes: kdm-branding-SLED <= 11
Obsoletes: kio_iso <= 1.99.1.svn6082
Obsoletes: libakonadiprotocolinternals1 <= 1.2.1
Obsoletes: libarchive2 <= 2.5.5
Obsoletes: libkcddb4 <= 4.3.5
Obsoletes: libkcompactdisc4 <= 4.3.5
Obsoletes: libkdcraw7 <= 4.3.5
Obsoletes: libkipi6 <= 4.3.5
Obsoletes: libknotificationitem-1-1 <= 4.3.5
Obsoletes: libkonq5 <= 4.3.5
Obsoletes: marble-data <= 4.3.5
Obsoletes: qtcurve-kde <= 0.59.5
Obsoletes: plasma-theme-aya <= 4.3.5
%description
This hook will migrate default desktop and display manager
from KDE (and GNOME2) to GNOME3.
%prep
%build
%install
install -D -m 755 %{SOURCE0} %{buildroot}%{_localstatedir}/lib/YaST2/hooks/installation/before_rpmcopy_00_migrate_desktop.sh
%files
%defattr(-,root,root)
%dir %{_localstatedir}/lib/YaST2
%dir %{_localstatedir}/lib/YaST2/hooks
%dir %{_localstatedir}/lib/YaST2/hooks/installation
%{_localstatedir}/lib/YaST2/hooks/installation/*
%changelog