Name: cockpit-sensors Version: 2.2.2.65.ge3ab648 Release: 1.20261105233013356119.pr168.65.ge3ab648%{?dist} Summary: Cockpit Sensors Module License: LGPL-2.1-or-later URL: https://github.com/cockpit-project/starter-kit # distributions which ship nodejs-esbuild can rebuild the bundle during package build %if 0%{?fedora} >= 42 %define rebuild_bundle 1 %endif Source0: cockpit-sensors-2.2.2.65.ge3ab648.tar.xz Source1: cockpit-sensors-node-2.2.2.65.ge3ab648.tar.xz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: make BuildRequires: libappstream-glib BuildRequires: gettext %if 0%{?rhel} && 0%{?rhel} <= 8 BuildRequires: libappstream-glib-devel %endif %if %{defined rebuild_bundle} BuildRequires: /usr/bin/node BuildRequires: nodejs-esbuild %endif Requires: cockpit-bridge Requires: lm_sensors Provides: bundled(npm(@patternfly/react-core)) = 6.6.1 Provides: bundled(npm(@patternfly/react-icons)) = 6.6.1 Provides: bundled(npm(@patternfly/react-styles)) = 6.6.1 Provides: bundled(npm(@patternfly/react-table)) = 6.6.1 Provides: bundled(npm(@patternfly/react-tokens)) = 6.7.0 Provides: bundled(npm(dequal)) = 2.0.3 Provides: bundled(npm(focus-trap)) = 7.6.6 Provides: bundled(npm(lodash)) = 4.18.1 Provides: bundled(npm(react)) = 18.3.1 Provides: bundled(npm(react-dom)) = 18.3.1 Provides: bundled(npm(scheduler)) = 0.23.2 Provides: bundled(npm(tabbable)) = 6.5.1 Provides: bundled(npm(tslib)) = 2.9.1 %description Provides real-time monitoring of hardware sensors including CPU temperature, fan speeds, and voltages. Useful for diagnosing thermal issues, checking system health, and tracking hardware performance over time. %prep %autosetup -n %{name} %if %{defined rebuild_bundle} %setup -q -D -T -a 1 -n cockpit-sensors %endif %build %if %{defined rebuild_bundle} rm -rf dist # HACK: node module packaging is broken in Fedora <= 43; should be in # common location, not major version specific one NODE_ENV=production NODE_PATH=/usr/lib/node_modules:$(echo /usr/lib/node_modules_*) ./build.js %else # Use pre-built bundle on distributions without nodejs-esbuild %endif %install %make_install PREFIX=/usr # drop source maps, they are large and just for debugging find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs --no-run-if-empty rm --verbose %check appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/* # this can't be meaningfully tested during package build; tests happen through # FMF (see plans/all.fmf) during package gating %files %doc README.md %license LICENSE dist/index.js.LEGAL.txt %{_datadir}/cockpit/* %{_datadir}/metainfo/* %changelog * Thu Nov 05 2026 Packit - 2.2.2.65.ge3ab648-1.20261105233013356119.pr168.65.ge3ab648 - bot-automerge: merge the bots' pull requests once their tests pass (Cristopfer Luis) - Makefile: Update Cockpit lib to aa7920c58b2d7be013705412991eca8f (Cockpit Project) - Makefile: Update Cockpit lib to aa7920c58b2d7be013705412991eca8f (Cockpit Project) - cockpit-ci: Update container to 2026-10-31 (Cockpit Project) - cockpit-ci: Update container to 2026-10-31 (Cockpit Project) - build(deps): bump gettext-parser from 9.1.1 to 10.0.0 (dependabot[bot]) - build(deps-dev): bump @typescript-eslint/eslint-plugin (dependabot[bot]) - build(deps): bump argparse from 3.0.3 to 3.0.4 (dependabot[bot]) - Makefile: Update Cockpit lib to 124d811c4519312a43d1ab630c2d9f6e (Cockpit Project) - cockpit-ci: Update container to 2026-10-24 (Cockpit Project) - cockpit-ci: Update container to 2026-10-24 (Cockpit Project) - build(deps-dev): bump @typescript-eslint/eslint-plugin (dependabot[bot]) - Makefile: Update Cockpit lib to 35a30182a213ea1490563b7ec36aa8b9 (Cockpit Project) - Makefile: Update Cockpit lib to 35a30182a213ea1490563b7ec36aa8b9 (Cockpit Project) - upstream-sync: resolve the conflicts of files the fork's bots maintain (Cristopfer Luis) - build(deps): bump @patternfly/react-styles (dependabot[bot]) - dependabot: Remove Sass from ignorelist (Freya Gustavsson) - dependabot: Dial down to weekly (Freya Gustavsson) - dependabot: Add `bot` label (Freya Gustavsson) - build(deps): bump argparse from 3.0.2 to 3.0.3 (dependabot[bot]) - cockpit-ci: Update container to 2026-10-17 (Cockpit Project) - cockpit-ci: Update container to 2026-10-17 (Cockpit Project) - build(deps-dev): bump @typescript-eslint/eslint-plugin (dependabot[bot]) - Makefile: Update Cockpit lib to 9401f45ccecea79f9d940a7da67731d5 (Cockpit Project) - Makefile: Update Cockpit lib to 9401f45ccecea79f9d940a7da67731d5 (Cockpit Project) - packaging: Include the project url in our spec file (Jelle van der Waa) - LICENSE: update FSF address and signature (Jelle van der Waa) - Sync the fork with cockpit-project/starter-kit every day (Cristopfer Luis) - cockpit-ci: Update container to 2026-10-10 (Cockpit Project) - build(deps-dev): bump @typescript-eslint/eslint-plugin (dependabot[bot]) - Drop flake8 configuration (Jelle van der Waa) - Drop Cirrus CI integration (Jelle van der Waa)