%global debug_package %{nil} Name: ec-controller Version: 1.0.1 Release: 1.20261022153400git7da6b3b%{?dist} Summary: Control MSI laptop hardware through the msi-ec driver License: GPL-3.0-only URL: https://github.com/Fede2782/EC-Controller Source0: %{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: make BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: qt6-qtbase-devel BuildRequires: kf6-kcoreaddons-devel BuildRequires: kf6-kglobalaccel-devel BuildRequires: kf6-knotifications-devel BuildRequires: polkit-qt6-1-devel Requires: polkit Requires: dbus Recommends: qt6-qtsvg Recommends: qt6-qtwayland Recommends: upower Recommends: libkscreen %description A graphical control panel and background service for MSI laptops on Linux. EC Controller configures fan curves, performance profiles, battery charging thresholds, keyboard backlights, and hardware switches through the msi-ec kernel driver. %prep %setup -q %build cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr cmake --build build --parallel %install DESTDIR=%{buildroot} cmake --install build %post if [ -d /run/systemd/system ]; then systemctl daemon-reload || true systemctl enable org.fedelabs.eccontroller.service || true systemctl restart org.fedelabs.eccontroller.service || true fi %preun case "$1" in remove|0) if [ -d /run/systemd/system ]; then systemctl disable --now org.fedelabs.eccontroller.service || true fi ;; esac %files %license LICENSE %doc README.md %{_bindir}/ec-controller %{_bindir}/ec-controller-service %{_datadir}/dbus-1/system.d/org.fedelabs.EcController.conf %{_datadir}/polkit-1/actions/org.fedelabs.EcController.policy %{_datadir}/polkit-1/rules.d/49-org.fedelabs.EcController.rules /usr/lib/systemd/system/org.fedelabs.eccontroller.service %{_datadir}/applications/org.fedelabs.EcController.desktop %{_datadir}/metainfo/org.fedelabs.EcController.metainfo.xml %config(noreplace) %{_sysconfdir}/xdg/autostart/ec-controller-autostart.desktop %{_datadir}/icons/hicolor/*/*/ec-controller* %{_datadir}/icons/breeze/*/*/ec-controller* %{_datadir}/icons/breeze-dark/*/*/ec-controller* %{_datadir}/pixmaps/ec-controller* %changelog * Thu Oct 22 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.1-1 - Reinitialize GUI and hardware monitors on reload - Fix window height expansion in single-box edit mode - Rename desktop launcher to org.fedelabs.EcController.desktop and update AppStream categories * Thu Oct 22 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.1-1.20261022153400git7da6b3b - fix(metadata): rename desktop file to match AppStream ID and update 1.0.1 metainfo (7da6b3b) * Thu Oct 22 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.1-1.20261022153400git7da6b3b - msi-controller: 1.0.1 (b82cf5b) * Thu Oct 22 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.1-1.20261022153400git7da6b3b - feat(gui): reinitialize whole GUI on reload (83c2a94) * Thu Oct 22 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.1-1.20261022153400git7da6b3b - fix(gui): keep window height when entering Edit mode with one box (a3ce01e) * Wed Oct 21 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.1-1.20261022153400git7da6b3b - docs(readme): add Fedora COPR installation instructions (4296b67) * Wed Oct 21 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.1-1.20261022153400git7da6b3b - fix(build): run COPR SRPM version and git commands inside the recipe (f57e8b4) * Wed Oct 21 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.1-1.20261022153400git7da6b3b - build: add Fedora COPR packaging and AppStream metadata (83c3ecd) * Tue Oct 13 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.1-1.20261022153400git7da6b3b - readme: init (31576d7) * Tue Oct 13 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.1-1.20261022153400git7da6b3b - fix(service): refuse to start without root (5135d9b) * Tue Oct 13 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.1-1.20261022153400git7da6b3b - Add GNU GPL v3 license (9536a4a)