2023-07-05 19:18:47 +00:00
|
|
|
Name: steamdeck-kde-presets
|
|
|
|
Version: {{{ git_dir_version }}}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: KDE Presets from Valve's SteamOS 3.0
|
2023-07-14 16:13:57 +00:00
|
|
|
License: GPLv2
|
2023-07-05 19:18:47 +00:00
|
|
|
URL: https://github.com/ublue-os/bazzite
|
|
|
|
|
2023-11-17 01:19:13 +00:00
|
|
|
Source0: https://gitlab.com/evlaV/%{name}/-/archive/master/%{name}-master.tar.gz
|
|
|
|
Source1: steamdeck-le.svg
|
2024-01-12 23:10:10 +00:00
|
|
|
Source2: bazzite_logo.svgz
|
2024-04-29 02:43:03 +00:00
|
|
|
Source3: metadata_vapor.json
|
|
|
|
Source4: metadata_vgui2.json
|
2024-07-07 07:18:13 +00:00
|
|
|
Source5: plasmarc
|
2023-07-05 19:18:47 +00:00
|
|
|
BuildArch: noarch
|
2023-08-29 15:12:29 +00:00
|
|
|
Patch0: fedora.patch
|
2024-06-27 05:13:38 +00:00
|
|
|
Patch1: nested-desktop-resolution.patch
|
|
|
|
Patch2: kdeglobals.patch
|
|
|
|
Patch3: bazzite_logo.patch
|
|
|
|
Patch4: ublue.patch
|
|
|
|
Patch5: wayland-remove-env.patch
|
|
|
|
Patch6: splash.patch
|
2023-07-05 19:18:47 +00:00
|
|
|
|
2023-07-14 16:13:57 +00:00
|
|
|
Requires: kde-filesystem
|
2023-07-05 19:18:47 +00:00
|
|
|
|
2023-10-22 18:33:11 +00:00
|
|
|
Conflicts: steamdeck-kde-presets-desktop
|
|
|
|
Conflicts: steamdeck-backgrounds
|
|
|
|
Conflicts: steameck-gnome-presets
|
2023-07-05 19:18:47 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
KDE Presets from Valve's SteamOS 3.0
|
|
|
|
|
|
|
|
# Disable debug packages
|
|
|
|
%define debug_package %{nil}
|
|
|
|
|
|
|
|
%prep
|
2023-08-29 15:12:29 +00:00
|
|
|
%autosetup -p1 -n %{name}-master
|
2023-07-05 19:18:47 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/
|
|
|
|
mkdir -p %{buildroot}%{_bindir}/
|
|
|
|
mkdir -p %{buildroot}%{_prefix}/lib/
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/
|
|
|
|
cp -rv usr/share/* %{buildroot}%{_datadir}
|
|
|
|
cp -rv usr/bin/* %{buildroot}%{_bindir}
|
|
|
|
cp -rv usr/lib/* %{buildroot}%{_prefix}/lib
|
|
|
|
cp -rv etc/* %{buildroot}%{_sysconfdir}
|
2023-10-14 16:53:11 +00:00
|
|
|
mv %{buildroot}%{_datadir}/icons/hicolor/scalable/places/distributor-logo-steamdeck.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/places/steamdeck.svg
|
2023-11-17 01:19:13 +00:00
|
|
|
cp %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/scalable/places/steamdeck-le.svg
|
2024-07-07 07:18:13 +00:00
|
|
|
cp %{SOURCE5} %{buildroot}%{_datadir}/plasma/desktoptheme/Vapor/plasmarc
|
2023-07-05 19:18:47 +00:00
|
|
|
# Remove unneeded files
|
2024-04-18 22:56:27 +00:00
|
|
|
rm %{buildroot}%{_sysconfdir}/sddm.conf.d/steamdeck.conf
|
2023-10-14 16:53:11 +00:00
|
|
|
rm %{buildroot}%{_datadir}/icons/hicolor/scalable/places/distributor-logo.svg
|
2023-07-05 19:18:47 +00:00
|
|
|
rm %{buildroot}%{_sysconfdir}/xdg/autostart/steam.desktop
|
|
|
|
rm %{buildroot}%{_datadir}/applications/org.mozilla.firefox.desktop
|
2023-07-05 23:05:38 +00:00
|
|
|
rm %{buildroot}%{_sysconfdir}/profile.d/kde.sh
|
2023-10-12 15:55:55 +00:00
|
|
|
rm %{buildroot}%{_sysconfdir}/xdg/kcm-about-distrorc
|
2023-10-12 19:11:22 +00:00
|
|
|
rm %{buildroot}%{_sysconfdir}/X11/Xsession.d/50rotate-screen
|
2024-01-12 23:10:10 +00:00
|
|
|
rm %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/images/deck_logo.svgz
|
|
|
|
rm %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/images/deck_logo.svgz
|
2024-04-18 22:56:27 +00:00
|
|
|
rm %{buildroot}%{_sysconfdir}/xdg/autostart/jupiter-plasma-bootstrap.desktop
|
|
|
|
rm %{buildroot}%{_bindir}/jupiter-plasma-bootstrap
|
2024-01-12 23:10:10 +00:00
|
|
|
cp %{SOURCE2} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/images/bazzite_logo.svgz
|
|
|
|
cp %{SOURCE2} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/images/bazzite_logo.svgz
|
2024-04-29 02:43:03 +00:00
|
|
|
cp %{SOURCE3} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/metadata.json
|
|
|
|
cp %{SOURCE4} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/metadata.json
|
2024-04-26 00:15:51 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/kio/servicemenus
|
|
|
|
mv %{buildroot}%{_datadir}/kservices5/ServiceMenus/steam.desktop %{buildroot}%{_datadir}/kio/servicemenus/steam.desktop
|
|
|
|
rm -rf %{buildroot}%{_datadir}/kservices5
|
2023-07-05 19:18:47 +00:00
|
|
|
|
|
|
|
# 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/Vapor.colors
|
|
|
|
%{_datadir}/color-schemes/VGUI.colors
|
2024-01-08 18:52:02 +00:00
|
|
|
%{_sysconfdir}/skel/Desktop/Return.desktop
|
2023-07-05 19:18:47 +00:00
|
|
|
%{_sysconfdir}/xdg/autostart/ibus.desktop
|
|
|
|
%{_sysconfdir}/xdg/gtk-2.0/gtkrc
|
|
|
|
%{_sysconfdir}/xdg/gtk-3.0/settings.ini
|
|
|
|
%{_sysconfdir}/xdg/baloofilerc
|
|
|
|
%{_sysconfdir}/xdg/kcminputrc
|
|
|
|
%{_sysconfdir}/xdg/kdeglobals
|
|
|
|
%{_sysconfdir}/xdg/kscreenlockerrc
|
|
|
|
%{_sysconfdir}/xdg/ktrashrc
|
|
|
|
%{_sysconfdir}/xdg/kwinrc
|
|
|
|
%{_sysconfdir}/xdg/kwinrulesrc
|
|
|
|
%{_sysconfdir}/xdg/plasma-nm
|
|
|
|
%{_sysconfdir}/xdg/plasma-workspace/env/ibus.sh
|
|
|
|
%{_sysconfdir}/xdg/powermanagementprofilesrc
|
|
|
|
%{_bindir}/steamos-add-to-steam
|
2024-06-27 05:13:38 +00:00
|
|
|
%{_bindir}/steamos-nested-desktop
|
2023-07-05 19:18:47 +00:00
|
|
|
%{_prefix}/lib/udev/rules.d/99-kwin-ignore-tablet-mode.rules
|
2024-06-27 05:13:38 +00:00
|
|
|
%{_datadir}/applications/steam/steamos-nested-desktop
|
2023-07-05 19:18:47 +00:00
|
|
|
%{_datadir}/X11/xorg.conf.d/99-pointer.conf
|
|
|
|
%{_datadir}/icons/*
|
|
|
|
%{_datadir}/konsole/*
|
2024-04-26 00:15:51 +00:00
|
|
|
%{_datadir}/kio/servicemenus/steam.desktop
|
2023-07-05 19:18:47 +00:00
|
|
|
%{_datadir}/plasma/avatars/*
|
|
|
|
%{_datadir}/plasma/desktoptheme/*
|
|
|
|
%{_datadir}/plasma/kickeractions/steam.desktop
|
|
|
|
%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/*
|
|
|
|
%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/*
|
|
|
|
%{_datadir}/themes/*
|
|
|
|
%{_datadir}/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
|
|
|
|
{{{ git_dir_changelog }}}
|