diff --git a/spec_files/gamescope/gamescope.spec b/spec_files/gamescope/gamescope.spec index b5f451d2..a4f6bf60 100644 --- a/spec_files/gamescope/gamescope.spec +++ b/spec_files/gamescope/gamescope.spec @@ -75,15 +75,18 @@ BuildRequires: git # libliftoff hasn't bumped soname, but API/ABI has changed for 0.2.0 release Requires: libliftoff%{?_isa} >= %{libliftoff_minver} Requires: xorg-x11-server-Xwayland +Requires: gamescope-libs = %{version} Recommends: mesa-dri-drivers Recommends: mesa-vulkan-drivers -Provides: gamescope-libs -Obsoletes: gamescope-libs - %description %{name} is the micro-compositor optimized for running video games on Wayland. +%package libs +Summary: libs for %{name} +%description libs +%summary + %prep git clone --depth 1 --branch %{gamescope_tag} https://github.com/ValveSoftware/gamescope cd gamescope @@ -109,9 +112,11 @@ cd gamescope %files %license gamescope/LICENSE %doc gamescope/README.md -%{_bindir}/gamescope +%attr(0755, root, root) %caps(cap_sys_nice=eip) %{_bindir}/gamescope + +%files libs %{_libdir}/libVkLayer_FROG_gamescope_wsi_*.so %{_datadir}/vulkan/implicit_layer.d/VkLayer_FROG_gamescope_wsi.*.json - %changelog +{{{ git_dir_changelog }}}