# # Copyright (C) 2021 Red Hat, Inc. # # Cockpit is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # # Cockpit is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with Cockpit; If not, see . # Name: anaconda-webui Version: 0 Release: 1%{?dist} Summary: Anaconda installer Web interface License: LGPL-2.1-or-later AND MIT URL: https://github.com/rhinstaller/%{name} Source0: anaconda-webui-0.tar.xz BuildArch: noarch BuildRequires: libappstream-glib BuildRequires: make BuildRequires: gettext %define anacondacorever 40.9 %define cockpitver 275 Requires: cockpit-bridge >= %{cockpitver} Requires: cockpit-ws >= %{cockpitver} Requires: anaconda-core >= %{anacondacorever} Provides: bundled(npm(@patternfly/patternfly)) = 5.1.0 Provides: bundled(npm(@patternfly/react-core)) = 5.1.1 Provides: bundled(npm(@patternfly/react-icons)) = 5.1.1 Provides: bundled(npm(@patternfly/react-log-viewer)) = 5.1.0-prerelease.1 Provides: bundled(npm(@patternfly/react-styles)) = 5.1.1 Provides: bundled(npm(@patternfly/react-table)) = 5.1.1 Provides: bundled(npm(@patternfly/react-tokens)) = 5.1.1 Provides: bundled(npm(attr-accept)) = 2.2.2 Provides: bundled(npm(file-selector)) = 0.6.0 Provides: bundled(npm(focus-trap)) = 7.5.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.2.0 Provides: bundled(npm(react-dropzone)) = 14.2.3 Provides: bundled(npm(react-is)) = 16.13.1 Provides: bundled(npm(react)) = 18.2.0 Provides: bundled(npm(scheduler)) = 0.23.0 Provides: bundled(npm(tabbable)) = 6.2.0 Provides: bundled(npm(throttle-debounce)) = 5.0.0 Provides: bundled(npm(tslib)) = 2.6.2 %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/* %files %dir %{_datadir}/cockpit/anaconda-webui %doc README.rst %license LICENSE dist/index.js.LEGAL.txt dist/index.css.LEGAL.txt %{_datadir}/cockpit/anaconda-webui/logo.svg %{_datadir}/cockpit/anaconda-webui/index.js.LEGAL.txt %{_datadir}/cockpit/anaconda-webui/index.css.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 %{_libexecdir}/webui-desktop # The changelog is automatically generated and merged %changelog