mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-22 19:40:37 +00:00
fix(asusctl): add systemd scriptlets (#7863)
* add: asusctl * Make it build * Remove empty file * Add update.rhai * Don't build on non-x86_64 architecture * use gitlab update function Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> * fix(asusctl): remove unnecessary patch * oops * actually remove the patch * fix(asusctl): add systemd scriptlets --------- Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Signed-off-by: metcya <134973769+metcya@users.noreply.github.com> Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
Name: asusctl
|
||||
Version: 6.1.22
|
||||
Release: 1%?dist
|
||||
Release: 2%?dist
|
||||
Summary: A control daemon, CLI tools, and a collection of crates for interacting with ASUS ROG laptops
|
||||
URL: https://gitlab.com/asus-linux/asusctl
|
||||
Source0: %url/-/archive/%version/asusctl-%version.tar.gz
|
||||
@@ -77,6 +77,18 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/rog-control-center.d
|
||||
%{_docdir}/%{name}/
|
||||
%{_datadir}/asusd/
|
||||
|
||||
%post
|
||||
%systemd_post asusd.service
|
||||
%systemd_user_post asusd-user.service
|
||||
|
||||
%preun
|
||||
%systemd_preun asusd.service
|
||||
%systemd_user_preun asusd-user.service
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart asusd.service
|
||||
%systemd_user_postun_with_restart asusd-user.service
|
||||
|
||||
%files rog-gui
|
||||
%{_bindir}/rog-control-center
|
||||
%{_datadir}/applications/rog-control-center.desktop
|
||||
@@ -84,6 +96,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/rog-control-center.d
|
||||
%{_datadir}/rog-gui
|
||||
|
||||
%changelog
|
||||
* Mon Dec 1 2025 Metcya <metcya@gmail.com>
|
||||
- Add systemd scriptlets
|
||||
|
||||
* Tue Nov 18 2025 Metcya <metcya@gmail.com>
|
||||
- Remove unnecessary patch
|
||||
|
||||
|
||||
Reference in New Issue
Block a user