File xfce4-session-wayfire.spec of Package xfce4-session-wayfire
#
# spec file for package xfce4-session-wayfire
#
# Copyright (c) 2025 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 https://bugs.opensuse.org/
#
Name: xfce4-session-wayfire
Version: 4.20
Release: 0
Summary: Xfce4 Wayfire session configurations
License: GPL-2.0
URL: https://github.com/darkshram/xfce4-session-wayfire
Source0: %{name}.tar.gz
Patch1: allow-software-renderer.patch
Requires: wayfire
Requires: xfce4-session-wayland-experimental
BuildArch: noarch
%description
This package contains setups needed for Xfce4 Wayfire sessions
%prep
%autosetup -p1 -n %{name}
%build
%install
mkdir -p %{buildroot}%{_bindir}
install -c -m 0755 startxfce4-wayfire %{buildroot}%{_bindir}/startxfce4-wayfire
mkdir -p %{buildroot}%{_datadir}/wayland-sessions
install -c -m 0644 xfce-wayfire.desktop.in %{buildroot}%{_datadir}/wayland-sessions/xfce-wayfire.desktop
mkdir -p %{buildroot}%{_datadir}/xfce4/wayfire
install -c -m 0644 wayfire.ini %{buildroot}%{_datadir}/xfce4/wayfire/wayfire.ini
mkdir -p %{buildroot}%{_libexecdir}/xfce4/wayfire
install -c -m 0755 xfce-wayland-components.sh %{buildroot}%{_libexecdir}/xfce4/wayfire/xfce-wayland-components.sh
install -c -m 0755 xfce4-change-wallpaper-all-displays.sh %{buildroot}%{_bindir}/xfce4-change-wallpaper-all-displays.sh
%files
%{_bindir}/*
%{_datadir}/wayland-sessions
%{_datadir}/xfce4
%{_libexecdir}/xfce4
%changelog