Files
fedora-tools/framework-laptop-tools/framework-laptop-tools.spec
T

112 lines
5.2 KiB
RPMSpec

Name: framework-laptop-tools
Version: 0.1.0
Release: 25%{?dist}
Summary: Hardware controls and monitoring for Framework Laptop 13 Pro
License: MIT
URL: https://git.ajpanton.se/ajp_anton/fedora-tools
Source0: %{name}-%{version}.tar.gz
Source1: LICENSE
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: extra-cmake-modules
BuildRequires: qt6-qtbase-devel
BuildRequires: kf6-kauth-devel
BuildRequires: kf6-kservice-devel
BuildRequires: systemd-devel
BuildRequires: systemd-rpm-macros
Requires: polkit
Requires: upower
Provides: fedora-tools-tool
%description
Native desktop and tray application for Framework Laptop 13 Pro (Intel Core
Ultra Series 3). Monitor frequency, temperatures, battery and fan speed;
configure lighting, fan overrides, battery charging and CPU frequency limits.
Other hardware is rejected. Installation does not change hardware settings.
%prep
%autosetup
%build
%cmake
%cmake_build
%check
%ctest
%install
%cmake_install
install -Dpm 0644 %{SOURCE1} %{buildroot}%{_licensedir}/%{name}/LICENSE
%post
%systemd_post framework-laptop-tools-fan.service framework-laptop-tools-fan-resume.service
%preun
%systemd_preun framework-laptop-tools-fan.service framework-laptop-tools-fan-resume.service framework-laptop-tools-cpu.service
%postun
%systemd_postun_with_restart framework-laptop-tools-fan.service framework-laptop-tools-cpu.service
%files
%license %{_licensedir}/%{name}/LICENSE
%doc README.md
%{_bindir}/framework-laptop-tools
%{_libexecdir}/framework-laptop-tools-fan
%{_libexecdir}/framework-laptop-tools-cpu
%{_libexecdir}/kf6/kauth/framework-laptop-tools-helper
%{_datadir}/applications/se.ajpanton.framework-laptop-tools.desktop
%{_datadir}/fedora-tools/settings/framework-laptop-tools.json
%{_datadir}/dbus-1/system-services/se.ajpanton.frameworktools.service
%{_datadir}/dbus-1/system.d/se.ajpanton.frameworktools.conf
%{_datadir}/polkit-1/actions/se.ajpanton.frameworktools.policy
%{_unitdir}/framework-laptop-tools-fan.service
%{_unitdir}/framework-laptop-tools-fan-resume.service
%{_unitdir}/framework-laptop-tools-cpu.service
%changelog
* Sat Sep 12 2026 fedora-tools contributors - 0.1.0-25
- Add multiple tray icons, opacity controls and component power monitoring
- Refine graph columns, live hover readings and sampling-interval changes
- Exclude unvalidated platform and fan power readings
- Cache graph rendering and simplify telemetry and settings persistence
* Fri Sep 11 2026 fedora-tools contributors - 0.1.0-15
- Expand tray hover details and allow zero to three top CPU applications
* Fri Sep 11 2026 fedora-tools contributors - 0.1.0-14
- Nest tray graph options and add configurable hover telemetry with busiest app
* Fri Sep 11 2026 fedora-tools contributors - 0.1.0-13
- Use time-weighted average graph lines with a faint average-to-maximum band
* Fri Sep 11 2026 fedora-tools contributors - 0.1.0-12
- Add shared Monitor history controls and retain 24 hours of all sensor readings
- Limit tray history choices to short spans from 10 seconds to 5 minutes
* Fri Sep 11 2026 fedora-tools contributors - 0.1.0-11
- Add a configurable history span for tray graphs
* Fri Sep 11 2026 fedora-tools contributors - 0.1.0-10
- Reduce chart unit spacing without overlapping time labels
* Fri Sep 11 2026 fedora-tools contributors - 0.1.0-9
- Keep chart timelines fixed between samples and align units with time labels
- Simplify the Cooling section heading and note
* Fri Sep 11 2026 fedora-tools contributors - 0.1.0-8
- Stage settings across tabs with shared Save and Apply and Undo controls
- Allow zero fan duty with risk confirmation; persist saved fan settings by default
- Refine graph headings and units, inline sensor expansion and linked hover guides
* Thu Sep 10 2026 fedora-tools contributors - 0.1.0-7
- Add fan history, perceptual graph colours and live settings refresh
- Add saved fan curves and separate P-core/E-core frequency overrides
- Refine tray graph ranges, monitor layout and British English labels
* Thu Sep 10 2026 fedora-tools contributors - 0.1.0-6
- Make CPU frequency, governor and EPP overrides independent with hands-off Auto
- Show live CPU status and contextual governor compatibility warnings
- Draw tray colour swatches without theme icon tinting
* Thu Sep 10 2026 fedora-tools contributors - 0.1.0-5
- Improve legend, grid, tick and hover rendering
- Share monitor history with configurable tray graphs and per-sensor ranges
- Add staged automatic power-button lighting and clearer disabled CPU overrides
* Thu Sep 10 2026 fedora-tools contributors - 0.1.0-4
- Add adaptive graph axes, clickable legends, hover readings and battery state bands
- Add battery rate history and configurable tray graphs or numeric readings
- Clarify live CPU limits and saved overrides; compact control buttons
* Tue Sep 08 2026 fedora-tools contributors - 0.1.0-3
- Add sliders with precise numeric entry for bounded hardware settings
* Tue Sep 08 2026 fedora-tools contributors - 0.1.0-2
- Separate control tabs and saved battery/AC CPU profiles
- Apply frequency bounds separately to each CPU policy
* Tue Sep 08 2026 fedora-tools contributors - 0.1.0-1
- Initial experimental Framework Laptop 13 Pro controls and monitoring