%global debug_package %{nil} # Impossible to install without this workaround %define __find_requires %{SOURCE1} %define _use_internal_dependency_generator 0 Name: libstrangle Version: 0.0.4 Release: 9%{?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}-disable-ldconfing.patch Patch1: %{name}-change-prefix.patch ExclusiveArch: x86_64 BuildRequires: gcc BuildRequires: glibc-devel(x86-32) Requires: glibc %description Frame rate limiter for Linux/OpenGL/Vulkan. %prep %autosetup %build %make_build %install %make_install %files %doc README.md %license COPYING %{_bindir}/strangle %{_prefix}/lib/%{name} %{_sysconfdir}/ld.so.conf.d/%{name}.conf %exclude %{_datadir}/doc/%{name}/LICENSE %changelog * Wed Jan 30 2019 Artem Polishchuk - 0.0.4-9 - Initial package