mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-09 05:07:37 +00:00
6acd48643b
* chore: sync with Terra 38 * bump: libappimage * fix(ci): add lint and `dnf in` tests * fix(ci): bump commit-comment to @v2 Signed-off-by: madomado <wboy111@outlook.com> --------- Signed-off-by: madomado <wboy111@outlook.com>
56 lines
1.6 KiB
RPMSpec
56 lines
1.6 KiB
RPMSpec
%define debug_package %nil
|
|
|
|
Name: system76-scheduler
|
|
Version: 2.0.1
|
|
Release: 2%?dist
|
|
Summary: Auto-configure CFS, process priorities for improved DE responsiveness
|
|
License: MPL-2.0
|
|
URL: https://github.com/pop-os/system76-scheduler
|
|
Source0: %url/archive/refs/tags/%version.tar.gz
|
|
BuildRequires: cargo clang clang-devel pipewire-devel pkg-config systemd-rpm-macros rust-packaging just
|
|
|
|
%description
|
|
Scheduling service which optimizes Linux's CPU scheduler and automatically
|
|
assigns process priorities for improved desktop responsiveness. Low latency CPU
|
|
scheduling will be activated automatically when on AC, and the default
|
|
scheduling latencies set on battery. Processes are regularly sweeped and
|
|
assigned process priorities based on configuration files. When combined with
|
|
pop-shell, foreground processes and their sub-processes will be given higher
|
|
process priority.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
export EXECSNOOP_PATH=$(which execsnoop-bpfcc)
|
|
%cargo_build
|
|
|
|
%install
|
|
just rootdir=%buildroot sysconfdir=%_sysconfdir install
|
|
|
|
|
|
%post
|
|
%systemd_post com.system76.Scheduler.service
|
|
|
|
|
|
%preun
|
|
%systemd_preun com.system76.Scheduler.service
|
|
|
|
|
|
%postun
|
|
%systemd_postun_with_restart com.system76.Scheduler.service
|
|
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%_bindir/system76-scheduler
|
|
%config %_sysconfdir/dbus-1/system.d/com.system76.Scheduler.conf
|
|
%config %_sysconfdir/system76-scheduler/config.kdl
|
|
%config %_sysconfdir/system76-scheduler/process-scheduler/pop_os.kdl
|
|
%_unitdir/com.system76.Scheduler.service
|
|
|
|
%changelog
|
|
* Tue May 23 2023 windowsboy111 <windowsboy111@fyralabs.com> - 2.0.1-1
|
|
- Initial package.
|