mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
chore(falcond): Update spec (#12301)
* chore(falcond): Update spec * chore: Better changelog * Install? * cleanup: The glibc thing is just weird IDEK
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
%global _include_minidebuginfo 0
|
||||
|
||||
Name: falcond
|
||||
Version: 2.0.6
|
||||
Release: 1%{?dist}
|
||||
@@ -7,9 +5,9 @@ Summary: Advanced Linux Gaming Performance Daemon
|
||||
License: MIT
|
||||
URL: https://git.pika-os.com/general-packages/falcond
|
||||
Source0: %{url}/archive/v%{version}.tar.gz
|
||||
BuildRequires: anda-srpm-macros >= 0.2.18
|
||||
BuildRequires: anda-srpm-macros >= 0.3.9
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: zig >= 0.15.2
|
||||
BuildRequires: zig >= 0.16.0
|
||||
BuildRequires: zig-rpm-macros
|
||||
Requires: %{name}-profiles
|
||||
Requires: (scx-scheds or scx-scheds-nightly)
|
||||
@@ -25,18 +23,18 @@ This eliminates the need to manually configure settings for each game.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}/%{name}
|
||||
%zig_prep
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -Dm644 debian/%{name}.service -t %{buildroot}%{_unitdir}
|
||||
# When DNF supports microarchitectures the fallback option for -c can be used here instead
|
||||
DESTDIR="%{buildroot}" \
|
||||
%ifarch x86_64
|
||||
%{zig_build_target -r fast -cx86_64_v2 -s} \
|
||||
%{zig_install_target -r fast -Cx86_64_v2 -s}
|
||||
%elifarch aarch64
|
||||
%{zig_build_target -r fast -s} \
|
||||
%{zig_install_target -r fast -s}
|
||||
%endif
|
||||
install -Dm644 debian/%{name}.service -t %{buildroot}%{_unitdir}
|
||||
|
||||
%pre
|
||||
# Create falcond group if it doesn't exist
|
||||
@@ -61,6 +59,9 @@ usermod -aG 'falcond' root || :
|
||||
%{_unitdir}/%{name}.service
|
||||
|
||||
%changelog
|
||||
* Thu May 14 2026 Gilver E. <roachy@fyralabs.com> - 2.0.6-2
|
||||
- Updated for Zig and zig-rpm-macros 0.16.0
|
||||
- Updated for anda-srpm-macros 0.3.9
|
||||
* Thu Jan 1 2026 Gilver E. <roachy@fyralabs.com> - 1.2.1-2
|
||||
- Disabled service by default in favor of user enablement via falcond-gui
|
||||
- Added weak dep on falcond-gui
|
||||
|
||||
Reference in New Issue
Block a user