## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global debug_package %{nil} Name: falcond-profiles Version: 1.0 Release: %autorelease Summary: Advanced Linux Gaming Performance Daemon License: MIT URL: https://github.com/PikaOS-Linux/falcond-profiles/ Source0: %{url}/archive/refs/heads/main.tar.gz ExclusiveArch: x86_64 BuildRequires: tar Recommends: falcond Requires: falcond %description falcond is a powerful system daemon designed to automatically optimize your Linux gaming experience. It intelligently manages system resources and performance settings on a per-game basis, eliminating the need to manually configure settings for each game. %prep %autosetup -n falcond-profiles-main %build %install mkdir -p %{buildroot}%{_datadir}/falcond/ mkdir -p %{buildroot}%{_datadir}/falcond/profiles/ mkdir -p %{buildroot}%{_datadir}/falcond/profiles/handheld/ mkdir -p %{buildroot}%{_datadir}/falcond/profiles/htpc/ cp -a usr/share/falcond/system.conf %{buildroot}%{_datadir}/falcond/ cp -a usr/share/falcond/profiles/* %{buildroot}%{_datadir}/falcond/profiles/ cp -a usr/share/falcond/profiles/handheld/* %{buildroot}%{_datadir}/falcond/profiles/handheld/ cp -a usr/share/falcond/profiles/htpc/* %{buildroot}%{_datadir}/falcond/profiles/htpc/ %files %doc README.md %license LICENSE %{_datadir}/falcond/system.conf %{_datadir}/falcond/profiles/*.conf %{_datadir}/falcond/profiles/handheld/*.conf %{_datadir}/falcond/profiles/htpc/*.conf %changelog ## START: Generated by rpmautospec * Sat Jan 18 2025 John Doe - 1.0-1 - Uncommitted changes ## END: Generated by rpmautospec