File plasma-phone-settings.spec of Package plasma-phone-settings

# spec file for plasma-phone-settings
#
# Copyright (c) 2021 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.

Name:           plasma-phone-settings 
Version:        0.0.1.20220408
Release:        0
Summary:        Plasma Phone Settings
Url:            https://invent.kde.org/plasma-mobile/plasma-phone-settings
Source0:        plasma-phone-settings-%{version}.tar.xz
Source1:        desktop-files.tar.gz
Source2:        kcm-about-distrorc
Source3:        applications-blacklistrc
License:        GPL-3.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
#Our defaults conflict with the custom KWin settings for Plasma Mobile
Conflicts:      plasma5-defaults-openSUSE
Provides:       plasma5-defaults-openSUSE
Requires:       hicolor-icon-theme-branding-openSUSE
Requires:       distribution-logos-openSUSE-Tumbleweed
Requires:       breeze5-wallpapers
#^ensure default wallpapers are installed
%description
Configuration files for Plasma Mobile deployments.

%prep
%setup -q -n plasma-phone-settings-%{version}
%setup -T -Dqa 1

%build

%install
install -m 0644 -D -t %{buildroot}%{_sysconfdir}/xdg/ etc/xdg/{kdeglobals,kwinrc,kscreenlockerrc} %{SOURCE2} %{SOURCE3}
install -m 0755 -D -t %{buildroot}%{_sysconfdir}/skel/.local/share/applications *.desktop

%files
%defattr(-,root,root,-)
%config %{_sysconfdir}/xdg/{kdeglobals,kwinrc,kcm-about-distrorc,kscreenlockerrc}
%config(noreplace) %{_sysconfdir}/xdg/applications-blacklistrc
%{_sysconfdir}/skel/.local/

%changelog
openSUSE Build Service is sponsored by