#
# 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: 110
Release: 1.20250805065605395117.main.25.gc3a9b51%{?dist}
Summary: Cockpit component for Podman containers
License: LGPL-2.1-or-later
URL: https://github.com/cockpit-project/cockpit-podman
Source0: cockpit-podman-110.25.gc3a9b51.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)) = 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-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(@xterm/addon-canvas)) = 0.7.0
Provides: bundled(npm(@xterm/xterm)) = 5.5.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.4
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.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
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
* Tue Aug 05 2025 Packit - 110-1.20250805065605395117.main.25.gc3a9b51
- Makefile: Update Cockpit lib to 2685e7c640f3837acacb638d47fdb803 (Cockpit Project)
- Type client.ts (Martin Pitt)
- Type rest.ts (Martin Pitt)
- Fix image_name() for empty RepoTags (Martin Pitt)
- Type src/util.tsx (Martin Pitt)
- Add typescript framework (Martin Pitt)
- Declare type of `partitionedContainers` (Martin Pitt)
- Use cockpit channel event callbacks in a more natural way (Martin Pitt)
- Fix text/binary confusion in podman HTTP requests (Martin Pitt)
- Rework error formatting in rest.js (Martin Pitt)
- Fix error handling in connection monitoring (Martin Pitt)
- Use global TextDecoder in ContainerTerminal (Martin Pitt)
- Bump stylelint from 16.22.0 to 16.23.0 in the stylelint group (dependabot[bot])
- cockpit-ci: Update container to 2025-08-02 (Cockpit Project)
- Makefile: Update Cockpit lib to 85345036d6ca83a9accd87401444bfb5 (Cockpit Project)
- Makefile: Update Cockpit lib to c922a7228c826e4eab76908b8ba02706 (Cockpit Project)
- Makefile: Update Cockpit lib to acfb4d013b52fa30816c94b73006c09a (Cockpit Project)
- Makefile: Update Cockpit lib to 285617ec7a583bb282a15e326244a5f6 (Cockpit Project)
- packit: Enable CentOS 10 image mode (Martin Pitt)
- test: Fix subuid hack for RHEL (Martin Pitt)
- cockpit-ci: Update container to 2025-07-26 (Cockpit Project)
- test: Restore subuid assignment for newly created Unix users (Martin Pitt)
- Makefile: Update Cockpit lib to 8076a6044ea41f378547d04e9f539a77 (Cockpit Project)
- packit: Fix test job indentation (Martin Pitt)
- tmt: Fix TEST_OS for bootc (Martin Pitt)