Name: anaconda-webui Version: 39 Release: 1.20250619052943610427.main.79.g21b13b33%{?dist} Summary: Anaconda installer Web interface License: LGPL-2.1-or-later AND MIT URL: https://github.com/rhinstaller/%{name} Source0: anaconda-webui-39.79.g21b13b33.tar.xz BuildArch: noarch BuildRequires: libappstream-glib BuildRequires: make BuildRequires: gettext # Needed for the unitdir macro BuildRequires: systemd-rpm-macros %global anacondacorever 0 %if 0%{?fedora} > 41 %global anacondacorever 42.5 %endif %global cockpitver 275 %define _unitdir /usr/lib/systemd/system Requires: cockpit-storaged Requires: cockpit-bridge >= %{cockpitver} Requires: cockpit-ws >= %{cockpitver} Requires: anaconda-core >= %{anacondacorever} # Firefox dependency needs to be specified there as cockpit web-view does not have a hard dependency on Firefox as # it can often fall back to a diferent browser. This does not work in the limited installer # environment, so we need to make sure Firefox is available. Exclude on RHEL, only Flatpak version will be there. %if ! 0%{?rhel} Requires: firefox %endif %if 0%{?fedora} Requires: fedora-logos %endif BuildRequires: desktop-file-utils Provides: bundled(npm(@patternfly/patternfly)) = 6.1.0 Provides: bundled(npm(@patternfly/react-core)) = 6.1.0 Provides: bundled(npm(@patternfly/react-icons)) = 6.2.2 Provides: bundled(npm(@patternfly/react-log-viewer)) = 6.1.0 Provides: bundled(npm(@patternfly/react-styles)) = 6.2.2 Provides: bundled(npm(@patternfly/react-table)) = 6.1.0 Provides: bundled(npm(@patternfly/react-tokens)) = 6.2.2 Provides: bundled(npm(attr-accept)) = 2.2.5 Provides: bundled(npm(dequal)) = 2.0.3 Provides: bundled(npm(file-selector)) = 2.1.2 Provides: bundled(npm(focus-trap)) = 7.6.2 Provides: bundled(npm(js-tokens)) = 4.0.0 Provides: bundled(npm(lodash)) = 4.17.21 Provides: bundled(npm(loose-envify)) = 1.4.0 Provides: bundled(npm(memoize-one)) = 5.2.1 Provides: bundled(npm(object-assign)) = 4.1.1 Provides: bundled(npm(prop-types)) = 15.8.1 Provides: bundled(npm(react-dom)) = 18.3.1 Provides: bundled(npm(react-dropzone)) = 14.3.8 Provides: bundled(npm(react-is)) = 16.13.1 Provides: bundled(npm(react)) = 18.3.1 Provides: bundled(npm(scheduler)) = 0.23.2 Provides: bundled(npm(tabbable)) = 6.2.0 Provides: bundled(npm(throttle-debounce)) = 5.0.2 Provides: bundled(npm(tslib)) = 2.8.1 %description Anaconda installer Web interface %prep %setup -q -n anaconda-webui %build # Nothing to build %install %make_install PREFIX=/usr appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/* desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/extlinks.desktop desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/anaconda-gnome-control-center.desktop %check exit 0 # We have some integration tests, but those require running a VM, so that would # be an overkill for RPM check script. %files %dir %{_datadir}/cockpit/anaconda-webui %doc README.rst %license LICENSE dist/index.js.LEGAL.txt %{_datadir}/cockpit/anaconda-webui/logo.svg %{_datadir}/cockpit/anaconda-webui/qr-code-feedback.svg %{_datadir}/cockpit/anaconda-webui/index.js.LEGAL.txt %{_datadir}/cockpit/anaconda-webui/index.html %{_datadir}/cockpit/anaconda-webui/index.js.gz %{_datadir}/cockpit/anaconda-webui/index.js.map %{_datadir}/cockpit/anaconda-webui/index.css.gz %{_datadir}/cockpit/anaconda-webui/index.css.map %{_datadir}/cockpit/anaconda-webui/manifest.json %{_datadir}/metainfo/org.cockpit-project.anaconda-webui.metainfo.xml %{_datadir}/cockpit/anaconda-webui/po.*.js.gz %dir %{_datadir}/anaconda/firefox-theme %dir %{_datadir}/anaconda/firefox-theme/default %dir %{_datadir}/anaconda/firefox-theme/default/chrome %{_datadir}/anaconda/firefox-theme/default/user.js %{_datadir}/anaconda/firefox-theme/default/chrome/userChrome.css %dir %{_datadir}/anaconda/firefox-theme/live %dir %{_datadir}/anaconda/firefox-theme/live/chrome %{_datadir}/anaconda/firefox-theme/live/user.js %{_datadir}/anaconda/firefox-theme/live/chrome/userChrome.css %dir %{_datadir}/anaconda/firefox-theme/extlink %{_datadir}/anaconda/firefox-theme/extlink/user.js %{_libexecdir}/anaconda/webui-desktop %{_libexecdir}/anaconda/firefox-ext %{_datadir}/applications/extlinks.desktop %{_datadir}/applications/anaconda-gnome-control-center.desktop %{_unitdir}/webui-cockpit-ws.service # The changelog is automatically generated and merged %changelog * Thu Jun 19 2025 Packit - 39-1.20250619052943610427.main.79.g21b13b33 - Makefile: Update Cockpit lib to a2474997a040ad62901faa69f1b14b82 (Cockpit Project) - po: Update from Fedora Weblate (GitHub Workflow) - metainfo: Use the correct AppStream ID (Neal Gompa) - tests: add pixel test for no disk available scenario (Katerina Koukiou) - components: storage: hide all scenarios when disk selection is not valid (Katerina Koukiou) - tests: add a test for home reuse via Mount point mapping scenario (Radek Vykydal) - tests: add a test for Reinstall on Windows + Fedora on single disk (Radek Vykydal) - home reuse: allow for Fedora along Windows on a single disk (Radek Vykydal) - infraBump sass from 1.89.1 to 1.89.2 (dependabot[bot]) - Makefile: Update Cockpit lib to 9dd1eecbf0ed18c9a363f7ce41ce0154 (Cockpit Project) - test: avoid test failures because pool has been defined (Katerina Koukiou) - po: Update from Fedora Weblate (GitHub Workflow) - infraBump sass from 1.86.3 to 1.89.1 (dependabot[bot]) - components: storage: fix unselecting the only available disk (Katerina Koukiou) - fix: resolve unnecessary re-renders and hook rule violations in scenario availability (Katerina Koukiou) - tests: fix: E501 Line too long (181 > 149) (Katerina Koukiou) - tests: ruff: fix 'Use explicit conversion flag' (Katerina Koukiou) - tests: AI code improvements: swap-if-expression (Katerina Koukiou) - tests: AI code improvements: or-if-exp-identity (Katerina Koukiou) - tests: AI code improvements: merge-duplicate-blocks, merge-comparisons (Katerina Koukiou) - tests: AI code improvements: inline-immediately-returned-variable (Katerina Koukiou) - tests: AI code improvements: de-morgan (Katerina Koukiou) - tests: AI code improvements: merge-dict-assign (Katerina Koukiou) - tests: AI code improvements: assign-if-exp (Katerina Koukiou) - tests: AI code improvements: replace-interpolation-with-fstring (Katerina Koukiou) - tests: AI code improvements: use-fstring-for-concatenation (Katerina Koukiou) - tests: remove redundant concatenation (Katerina Koukiou) - Makefile: Update Cockpit lib to 37bf0b9cdffcdf67e6ff5e0363f592b3 (Cockpit Project) - infraBump the stylelint group with 3 updates (dependabot[bot]) - components: storage: utilize `checkIfArraysAreEqual` for comparing arrays (Katerina Koukiou) - tests: remove incorrect selector check (Katerina Koukiou) - mount-point-assignment: ensure partitions on RAID disks are displayed in mount point assignment (Katerina Koukiou) - tests: wait for mdraid array to become active before encrypting or formatting (Katerina Koukiou) - tests: wait for unlock dialog little bit more (Katerina Koukiou) - tests: no need to select disks again when only one is present (Katerina Koukiou) - infraBump esbuild from 0.25.3 to 0.25.5 in the esbuild group (dependabot[bot]) - po: Update from Fedora Weblate (GitHub Workflow) - Revert "tests: unlock root account and start sshd in interactive defaults" (Katerina Koukiou) - infra: GITHUB_BASE is now set within ./test/common/make-bots (Katerina Koukiou) - components: cockpit-storage-integration: swap storing component with boolean 'showReview' (Katerina Koukiou) - storage: cockpit-storage-integration: share cockpit-mount-points among components (Katerina Koukiou) - storage: cockpit-storage-integration: move bootloader on RAID check in the handleMDRAID (Katerina Koukiou) - po: Update from Fedora Weblate (GitHub Workflow) - cockpit-storage-integration: split code for exit cockpit storage view dialog (Katerina Koukiou) - cockpit-storage-integration: split code for sidebar into seperate file (Katerina Koukiou) - cockpit-storage-integration: move to subfolder (Katerina Koukiou) - cockpit-storage-integration: do not perform any API calls before new storage is in store (Katerina Koukiou) - cockpit-storage-integration: isolate logic before and after storage rescan and preparation (Katerina Koukiou) - test: update reference images (Katerina Koukiou) - tests: keep convention where names of test classes follow the camel case of the test file (Katerina Koukiou) - tests: remove unnecessary class wrappers (Katerina Koukiou) - tests: remove default setup implementation from check-users (Katerina Koukiou) - tests: switch partition_disk to use MiB/GiB instead of MB/GB (Katerina Koukiou) - tests: settle new partitions before reformatting them (Katerina Koukiou) - tests: de-duplicate helper code for creating partitions (Katerina Koukiou)