%global debug_package %{nil} # Impossible to install without this workaround %define __find_requires %{SOURCE1} %define _use_internal_dependency_generator 0 Name: libstrangle Version: 0.1.1 Release: 1%{?dist} Summary: Frame rate limiter for Linux License: GPLv3+ URL: https://gitlab.com/torkel104/libstrangle Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2 Source1: %{name}-filter-requires.sh Patch0: %{name}-change-prefix.patch Patch1: %{name}-disable-ldconfig.patch Patch2: %{name}-overlay-include.patch ExclusiveArch: x86_64 BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: glibc-devel(x86-32) BuildRequires: libstdc++-devel BuildRequires: libstdc++-devel(x86-32) BuildRequires: libglvnd-devel BuildRequires: git Requires: glibc %description Frame rate limiter for Linux/OpenGL/Vulkan. %prep %autosetup -S git %build %make_build %install %make_install %files %doc README.md %license COPYING %{_bindir}/strangle %{_bindir}/stranglevk %{_prefix}/lib/%{name} %{_sysconfdir}/ld.so.conf.d/%{name}.conf %{_prefix}/share/vulkan/implicit_layer.d/%{name}_vk.json %changelog * Thu May 22 2025 DEREFERENC3D - 0.1.1-1 - Update to v0.1.1 - Update outdated patches - Fix typo in "disable ldconfig" patch file name - Add patch to fix missing "stdio.h" include - Switch the "autosetup" macro to use git for applying the patches - to make the above one work - Add git to BuildRequires for the above - Add 2 new missing files to install - the "stranglevk" binary and the "libstrangle_vk.json" config file - Remove "LICENSE" file exclude from installed files - file is gone from upstream source * Wed Jan 30 2019 Artem Polishchuk - 0.0.4-9 - Initial package