File steamdeck-kde-themes.spec of Package steamdeck-kde-presets
Name:           steamdeck-kde-themes
Version:        0.0.git.84.1c1d05a9
Release:        4%{?dist}
Summary:        KDE Themes from Valve's SteamOS 3.0
License:    	GPLv2
URL:            https://github.com/Jovian-Experiments/steamdeck-kde-presets
Source:        	steamdeck-kde-presets-%{version}.tar.xz
BuildArch:      noarch
Requires:		kf6-filesystem
Conflicts:  	steamdeck-kde-presets
%description
KDE Themes from Valve's SteamOS 3.0
# Disable debug packages
%define debug_package %{nil}
%prep
%setup -T -b 0 -q -n steamdeck-kde-presets-%{version}
%build
%install
mkdir -p %{buildroot}%{_datadir}/
cp -rv usr/share/* %{buildroot}%{_datadir}
# Remove unneeded files
rm -rf %{buildroot}%{_datadir}/applications
rm -rf %{buildroot}%{_datadir}/kservices5
rm -rf %{buildroot}%{_datadir}/X11
# Do post-installation
%post
# Do before uninstallation
%preun
# Do after uninstallation
%postun
# This lists all the files that are included in the rpm package and that
# are going to be installed into target system where the rpm is installed.
%files
%{_datadir}/color-schemes/*
# %%{_datadir}/X11/*
# %%{_datadir}/applications/org.mozilla.firefox.desktop
%{_datadir}/icons/*
%{_datadir}/konsole/*
# %%{_datadir}/kservices5/*
%{_datadir}/plasma/avatars/*
%{_datadir}/plasma/desktoptheme/*
%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/*
%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/*
%{_datadir}/themes/*
%{_datadir}/wallpapers/*
/usr/share/color-schemes
/usr/share/konsole
/usr/share/plasma
/usr/share/plasma/avatars
/usr/share/plasma/desktoptheme
/usr/share/plasma/look-and-feel
/usr/share/plasma/look-and-feel/com.valve.vapor.desktop
/usr/share/plasma/look-and-feel/com.valve.vgui.desktop
/usr/share/wallpapers
# Finally, changes from the latest release of your application are generated from
# your project's Git history. It will be empty until you make first annotated Git tag.
%changelog