#
# Copyright (C) 2017-2020 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: cockpit-podman
Version: 89
Release: 1.20240617203943963017.main.12.g004435e%{?dist}
Summary: Cockpit component for Podman containers
License: LGPL-2.1-or-later
URL: https://github.com/cockpit-project/cockpit-podman
Source0: cockpit-podman-89.12.g004435e.tar.xz
BuildArch: noarch
%if 0%{?suse_version}
# Suse's package has a different name
BuildRequires: appstream-glib
%else
BuildRequires: libappstream-glib
%endif
BuildRequires: make
BuildRequires: gettext
%if 0%{?rhel} && 0%{?rhel} <= 8
BuildRequires: libappstream-glib-devel
%endif
Requires: cockpit-bridge
Requires: podman >= 2.0.4
# HACK https://github.com/containers/crun/issues/1091
%if 0%{?centos} == 9
Requires: criu-libs
%elif 0%{?suse_version}
Requires: libcriu2
%endif
Provides: bundled(npm(@patternfly/patternfly)) = 5.3.1
Provides: bundled(npm(@patternfly/react-core)) = 5.3.3
Provides: bundled(npm(@patternfly/react-icons)) = 5.3.2
Provides: bundled(npm(@patternfly/react-styles)) = 5.3.1
Provides: bundled(npm(@patternfly/react-table)) = 5.3.3
Provides: bundled(npm(@patternfly/react-tokens)) = 5.3.1
Provides: bundled(npm(attr-accept)) = 2.2.2
Provides: bundled(npm(date-fns)) = 3.6.0
Provides: bundled(npm(docker-names)) = 1.2.1
Provides: bundled(npm(file-selector)) = 0.6.0
Provides: bundled(npm(focus-trap)) = 7.5.2
Provides: bundled(npm(ipaddr.js)) = 2.2.0
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(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.2.3
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.0
Provides: bundled(npm(tslib)) = 2.6.3
Provides: bundled(npm(xterm-addon-canvas)) = 0.4.0
Provides: bundled(npm(xterm)) = 5.1.0
%description
The Cockpit user interface for Podman containers.
%prep
%setup -q -n cockpit-podman
%build
# Nothing to build
%install
%make_install PREFIX=/usr
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
%files
%doc README.md
%license LICENSE dist/index.js.LEGAL.txt dist/index.css.LEGAL.txt
%{_datadir}/cockpit/*
%{_datadir}/metainfo/*
%changelog
* Mon Jun 17 2024 Packit - 89-1.20240617203943963017.main.12.g004435e
- Makefile: Update Cockpit lib to 06a2f4555e7a6c1e82954f2921cb6f1b (Cockpit Project)
- pyproject.toml: fix our mypy setup (Martin Pitt)
- test: Fix return value of waitRestart() helper (Martin Pitt)
- cockpit-ci: Update container to 2024-06-11 (Cockpit Project)
- build.js: support outputting esbuild metadata file (Jelle van der Waa)
- Bump esbuild from 0.21.4 to 0.21.5 in the esbuild group (dependabot[bot])
- Bump sass from 1.77.4 to 1.77.5 (dependabot[bot])
- Makefile: Update Cockpit lib to e46f7e022e13f2a984d25a3e189a5117 (Cockpit Project)
- test: Adjust to changed key input testlib API (Martin Pitt)
- Bump esbuild-sass-plugin in the esbuild group (dependabot[bot])
- Makefile: Update Cockpit lib to 8769d417e5a4910f1ba0d02cda220fa3 (Cockpit Project)
- Replace remaining vestige of cockpit.utf8_decoder() (Martin Pitt)