Name: anaconda-webui Version: 42 Release: 1.20250709050904388830.main.20.g7f417004%{?dist} Summary: Anaconda installer Web interface License: LGPL-2.1-or-later AND MIT URL: https://github.com/rhinstaller/%{name} Source0: anaconda-webui-42.20.g7f417004.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 if fedora-release-workstation) %endif %if 0%{?fedora} Requires: fedora-logos %endif BuildRequires: desktop-file-utils Provides: bundled(npm(@patternfly/patternfly)) = 6.2.3 Provides: bundled(npm(@patternfly/react-core)) = 6.2.2 Provides: bundled(npm(@patternfly/react-icons)) = 6.2.2 Provides: bundled(npm(@patternfly/react-log-viewer)) = 6.2.0 Provides: bundled(npm(@patternfly/react-styles)) = 6.2.2 Provides: bundled(npm(@patternfly/react-table)) = 6.2.2 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.4 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 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}/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/browser-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 * Wed Jul 09 2025 Packit - 42-1.20250709050904388830.main.20.g7f417004 - po: Update from Fedora Weblate (GitHub Workflow) - tests: introduce helper function for adding bootloader partitions (Katerina Koukiou) - tests: implement test scenario for E2E installation with SWAP (Katerina Koukiou) - Re-enable test for translations now that 4142 is fixed. (Toshio Kuratomi) - Only require Firefox on Fedora Workstation (Katerina Koukiou) - tests: adjust to new output from lsblk (Katerina Koukiou) - components: port to new modal from Patternfly library (Katerina Koukiou) - infraBump stylelint from 16.21.0 to 16.21.1 in the stylelint group (dependabot[bot]) - tests: update reference images (Katerina Koukiou) - components/localization: Inline 'Clear search input' aria-label in MenuSearch (Katerina Koukiou) - components/localization: extracting repeated per-keyboard and menu-group logic into helper functions (Katerina Koukiou) - components/localization: Move search filtering into MenuSearch (Katerina Koukiou) - components/localization: Simplify and centralize MenuSearch option handling (Katerina Koukiou)