## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autochangelog ## END: Set by rpmautospec %global _icondir %{_iconsdir}/hicolor/1024x1024/apps Name: asus-hub Version: 1.0.2 Release: 1%{?dist} Summary: Unofficial Control Center for Asus Laptops License: GPL-3.0-or-later URL: https://github.com/Traciges/Asus-Hub Source0: %{url}/archive/refs/tags/v%{version}.tar.gz BuildRequires: cargo BuildRequires: gtk4-devel BuildRequires: libadwaita-devel BuildRequires: dbus-devel Requires: gtk4 Requires: libadwaita Requires: asusctl Requires: supergfxctl Requires: easyeffects Requires: iio-sensor-proxy Requires: swayidle %description %{summary}. %prep %autosetup -n Asus-Hub-%{version} %build cargo build --release %install # Install binary file install -Dpm755 target/release/%{name} %{buildroot}%{_bindir}/%{name} # Install icon install -Dpm644 assets/trayicon.png %{buildroot}%{_icondir}/%{name}.png # Install desktop file install -Dpm644 packaging/asus-hub-appimage.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop %post systemctl enable --now supergfxctl.service %files %license LICENSE %{_bindir}/%{name} %{_icondir}/%{name}.png %{_datadir}/applications/%{name}.desktop %changelog ## START: Generated by rpmautospec * Fri Apr 10 2026 SkyR0ver - 1.0.2-2 - Enable supergfxctl service after installation * Thu Apr 09 2026 SkyR0ver - 1.0.2-1 - Initial version of the package ## END: Generated by rpmautospec