%global debug_package %{nil} Name: ec-controller Version: 1.0.0 Release: 1.20261021174231git4296b67%{?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/ec-controller.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 * Wed Oct 21 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.0-1.20261021174231git4296b67 - docs(readme): add Fedora COPR installation instructions (4296b67) * Wed Oct 21 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.0-1.20261021174231git4296b67 - 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.0-1.20261021174231git4296b67 - build: add Fedora COPR packaging and AppStream metadata (83c3ecd) * Tue Oct 13 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.0-1.20261021174231git4296b67 - readme: init (31576d7) * Tue Oct 13 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.0-1.20261021174231git4296b67 - fix(service): refuse to start without root (5135d9b) * Tue Oct 13 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.0-1.20261021174231git4296b67 - Add GNU GPL v3 license (9536a4a) * Tue Oct 13 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.0-1.20261021174231git4296b67 - feat(gui): show the version in the About box (ffa1fd6) * Tue Oct 13 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.0-1.20261021174231git4296b67 - feat: rename the application to EC Controller (03cdcce) * Sat Oct 10 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.0-1.20261021174231git4296b67 - (reapply): msi-controller: v1.0.0 (0bfe840) * Sat Oct 10 2026 Fede2782 <78815152+Fede2782@users.noreply.github.com> - 1.0.0-1.20261021174231git4296b67 - feat(gui): chart the fan curve and keep it in order while editing (bfdfa3e)