Name: cockpit-whale Version: 2.36.g968425e Release: 1.20261121081522469598.pr121.36.g968425e%{?dist} Summary: Cockpit module for managing Docker containers License: LGPL-2.1-or-later # distributions which ship nodejs-esbuild can rebuild the bundle during package build %if 0%{?fedora} >= 42 %define rebuild_bundle 1 %endif Source0: cockpit-whale-2.36.g968425e.tar.xz Source1: cockpit-whale-node-2.36.g968425e.tar.xz BuildArch: noarch %if ! 0%{?suse_version} ExclusiveArch: %{nodejs_arches} noarch %endif BuildRequires: make %if 0%{?suse_version} # Suse's package has a different name BuildRequires: appstream-glib %else BuildRequires: libappstream-glib %endif 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 Provides: bundled(npm(@monaco-editor/loader)) = 1.7.0 Provides: bundled(npm(@monaco-editor/react)) = 4.7.0 Provides: bundled(npm(@patternfly/patternfly)) = 6.7.0 Provides: bundled(npm(@patternfly/react-code-editor)) = 6.7.0 Provides: bundled(npm(@patternfly/react-core)) = 6.7.0 Provides: bundled(npm(@patternfly/react-icons)) = 6.7.0 Provides: bundled(npm(@patternfly/react-styles)) = 6.7.0 Provides: bundled(npm(@patternfly/react-table)) = 6.7.0 Provides: bundled(npm(@patternfly/react-tokens)) = 6.7.0 Provides: bundled(npm(@xterm/xterm)) = 6.0.0 Provides: bundled(npm(attr-accept)) = 2.2.5 Provides: bundled(npm(docker-names)) = 1.2.1 Provides: bundled(npm(file-selector)) = 2.1.2 Provides: bundled(npm(focus-trap)) = 7.6.6 Provides: bundled(npm(ipaddr.js)) = 2.5.0 Provides: bundled(npm(lodash)) = 4.18.1 Provides: bundled(npm(monaco-editor)) = 0.57.0 Provides: bundled(npm(object-assign)) = 4.1.1 Provides: bundled(npm(prop-types)) = 15.8.1 Provides: bundled(npm(react)) = 18.3.1 Provides: bundled(npm(react-dom)) = 18.3.1 Provides: bundled(npm(react-dropzone)) = 14.3.5 Provides: bundled(npm(react-is)) = 16.13.1 Provides: bundled(npm(scheduler)) = 0.23.2 Provides: bundled(npm(state-local)) = 1.0.7 Provides: bundled(npm(tabbable)) = 6.5.2 Provides: bundled(npm(throttle-debounce)) = 5.0.2 Provides: bundled(npm(tslib)) = 2.9.1 %description A simple Cockpit module for managing Docker containers and images: start, stop, remove and inspect containers, run and search images, and manage stacks. %prep %autosetup -n %{name} %if %{defined rebuild_bundle} %setup -q -D -T -a 1 -n cockpit-whale %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 # own the parent directory: not every distribution's cockpit-bridge package # ships it, and openSUSE's post-build filelist check rejects unowned directories %dir %{_datadir}/cockpit %{_datadir}/cockpit/* %{_datadir}/metainfo/* %changelog * Sat Nov 21 2026 Packit - 2.36.g968425e-1.20261121081522469598.pr121.36.g968425e - ci: test main commits with Testing Farm (yashjawale) - docs: add integration test badge (yashjawale) - docs: refine README installation guidance (yashjawale) - docs: add issue and pull request templates (yashjawale) - docs: add contribution guide and refresh README (yashjawale) - Clarify active stack take-down action (yashjawale) - chore(deps-dev): bump @typescript-eslint/eslint-plugin (dependabot[bot]) - Makefile: Update Cockpit lib to e09f69218bfeb1bf2dd822218f77a36d (Cockpit Project) - chore(deps-dev): bump the stylelint group across 1 directory with 4 updates (dependabot[bot]) - stylelint: remove obsolete rule override (yashjawale) - cockpit-ci: Update container to 2026-11-14 (Cockpit Project) - fix: lint nested styles in codecheck (yashjawale) - refactor: remove redundant table overrides (yashjawale) - refactor: trim mobile container overrides (yashjawale) - fix: color stack label on desktop (yashjawale) - fix: align mobile container header actions (yashjawale) - fix: align mobile container memory stats (yashjawale) - fix: align mobile container page header (yashjawale) - fix: align mobile stack stats summary (yashjawale) - fix: align mobile container row actions (yashjawale) - fix: align mobile stack header label (yashjawale) - fix: improve mobile container layout (yashjawale) - fix(packaging): own /usr/share/cockpit directory in RPM file list (yashjawale) - chore(deps-dev): bump @typescript-eslint/eslint-plugin (dependabot[bot]) - Makefile: Update Cockpit lib to aa85da184f250df294e93b02e606539f (Cockpit Project)