Compare commits

..

3 Commits

Author SHA1 Message Date
AlmaLinux RelEng Bot
8a615f7d2e import CS cockpit-machines-348-1.el9 2026-03-30 10:20:01 -04:00
f941b9f2ae import CS cockpit-machines-337-1.el9 2025-09-15 11:49:30 +00:00
b35fca94c4 import CS cockpit-machines-328.1-1.el9_6 2025-03-31 09:44:59 +00:00
4 changed files with 135 additions and 49 deletions

View File

@ -0,0 +1,2 @@
0e8977b7aa125528c77b4a0d6b6c5862cf95efa8 SOURCES/cockpit-machines-348.tar.xz
9a3a7328a98ec18a184a3d2d465de18c21ca620f SOURCES/cockpit-machines-node-348.tar.xz

3
.gitignore vendored
View File

@ -1 +1,2 @@
cockpit-machines-328.1.tar.xz
SOURCES/cockpit-machines-348.tar.xz
SOURCES/cockpit-machines-node-348.tar.xz

View File

@ -1,28 +1,22 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# 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 <http://www.gnu.org/licenses/>.
#
Name: cockpit-machines
Version: 328.1
Version: 348
Release: 1%{?dist}
Summary: Cockpit user interface for virtual machines
License: LGPL-2.1-or-later AND MIT
URL: https://github.com/cockpit-project/cockpit-machines
Source0: https://github.com/cockpit-project/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
# distributions which ship nodejs-esbuild can rebuild the bundle during package build
%if 0%{?fedora} >= 42
%define rebuild_bundle 1
%endif
Source0: https://github.com/cockpit-project/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: https://github.com/cockpit-project/%{name}/releases/download/%{version}/%{name}-node-%{version}.tar.xz
BuildArch: noarch
%if 0%{?suse_version}
BuildRequires: appstream-glib
@ -34,6 +28,10 @@ BuildRequires: gettext
%if 0%{?rhel} && 0%{?rhel} <= 8
BuildRequires: libappstream-glib-devel
%endif
%if %{defined rebuild_bundle}
BuildRequires: /usr/bin/node
BuildRequires: nodejs-esbuild
%endif
Requires: cockpit-bridge >= 215
%if 0%{?suse_version}
@ -47,6 +45,7 @@ Requires: libvirt-daemon-config-network
Recommends: libvirt-daemon-driver-storage-disk
%if 0%{?rhel}
Requires: qemu-kvm
Suggests: qemu-kvm-block-curl
%else
# smaller footprint on Fedora, as qemu-kvm is really expensive on a server
Requires: qemu-kvm-core
@ -68,50 +67,44 @@ Recommends: libosinfo
Recommends: python3-gobject-base
Suggests: (qemu-virtiofsd or virtiofsd)
Provides: bundled(npm(@novnc/novnc)) = 1.4.0
Provides: bundled(npm(@novnc/novnc)) = 1.5.0
Provides: bundled(npm(@patternfly/patternfly)) = 5.4.2
Provides: bundled(npm(@patternfly/react-console)) = 5.1.0
Provides: bundled(npm(@patternfly/react-core)) = 5.4.12
Provides: bundled(npm(@patternfly/react-icons)) = 5.4.2
Provides: bundled(npm(@patternfly/react-styles)) = 5.4.1
Provides: bundled(npm(@patternfly/react-table)) = 5.4.14
Provides: bundled(npm(@patternfly/react-tokens)) = 5.4.1
Provides: bundled(npm(@spice-project/spice-html5)) = 0.2.1
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(@patternfly/react-core)) = 6.4.1
Provides: bundled(npm(@patternfly/react-icons)) = 6.4.0
Provides: bundled(npm(@patternfly/react-styles)) = 6.4.0
Provides: bundled(npm(@patternfly/react-table)) = 6.4.1
Provides: bundled(npm(@patternfly/react-tokens)) = 6.4.0
Provides: bundled(npm(@xterm/addon-webgl)) = 0.19.0
Provides: bundled(npm(@xterm/xterm)) = 6.0.0
Provides: bundled(npm(dequal)) = 2.0.3
Provides: bundled(npm(file-saver)) = 1.3.8
Provides: bundled(npm(file-selector)) = 2.1.2
Provides: bundled(npm(focus-trap)) = 7.6.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(focus-trap)) = 7.6.4
Provides: bundled(npm(ipaddr.js)) = 2.3.0
Provides: bundled(npm(lodash)) = 4.17.23
Provides: bundled(npm(prop-types)) = 15.8.1
Provides: bundled(npm(react-dom)) = 18.3.1
Provides: bundled(npm(react-dropzone)) = 14.3.5
Provides: bundled(npm(react-is)) = 16.13.1
Provides: bundled(npm(react)) = 18.3.1
Provides: bundled(npm(redux-thunk)) = 3.1.0
Provides: bundled(npm(redux)) = 5.0.1
Provides: bundled(npm(react-dom)) = 18.3.1
Provides: bundled(npm(scheduler)) = 0.23.2
Provides: bundled(npm(tabbable)) = 6.2.0
Provides: bundled(npm(tabbable)) = 6.4.0
Provides: bundled(npm(throttle-debounce)) = 5.0.2
Provides: bundled(npm(tslib)) = 2.8.1
Provides: bundled(npm(xterm-addon-fit)) = 0.2.1
Provides: bundled(npm(xterm)) = 4.19.0
%description
Cockpit component for managing libvirt virtual machines.
%prep
%setup -q -n %{name}
%if %{defined rebuild_bundle}
%setup -q -D -T -a 1 -n %{name}
%endif
%build
# Nothing to build
%if %{defined rebuild_bundle}
rm -rf dist
# HACK: node module packaging is broken in Fedora ≤ 43; should be in
# common location, not major version specific one
NODE_ENV=production NODE_PATH=/usr/lib/node_modules:$(echo /usr/lib/node_modules_*) ./build.js
%else
# Use pre-built bundle on distributions without nodejs-esbuild
%endif
%install
%make_install PREFIX=/usr
@ -125,8 +118,97 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
# The changelog is automatically generated and merged
%changelog
* Mon Mar 10 2025 Martin Pitt <mpitt@redhat.com> - 328.1-1
- translation updates (RHEL-82807)
* Wed Feb 11 2026 Packit <hello@packit.dev> - 348-1
- Convert license headers to SPDX format
* Wed Jan 28 2026 Packit <hello@packit.dev> - 347-1
- Bug fixes and translation updates
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 346-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 346-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Wed Dec 10 2025 Packit <hello@packit.dev> - 346-1
- Performance improvements
- Translation updates
* Wed Nov 26 2025 Packit <hello@packit.dev> - 345-1
- New virtual machines don't get SPICE graphics anymore
- Support for network port forwarding
- Bug fixes and translation updates
* Wed Nov 12 2025 Packit <hello@packit.dev> - 344-1
- Port forwarding for user session VMs
- "Shutdown and restart" action
- Faster startup
* Thu Oct 30 2025 Packit <hello@packit.dev> - 343-1
- Memory usage now shows numbers reported by the guest (RHEL-116731)
* Wed Oct 15 2025 Packit <hello@packit.dev> - 342-1
- Bug fixes and translation updates
* Thu Oct 02 2025 Packit <hello@packit.dev> - 341-1
- Improved UX for Disks and Network interface tables
- Bug fixes and translation updates
* Wed Sep 17 2025 Packit <hello@packit.dev> - 340-1
- Use exclusive VNC connections with "Remote resizing"
* Wed Sep 03 2025 Packit <hello@packit.dev> - 339-1
- Serial consoles now keep their content and stay alive
- No longer copies qemu.conf values into VM definitions
* Wed Aug 20 2025 Packit <hello@packit.dev> - 338-1
- Translation and dependency updates
- Detachable VNC console
* Wed Aug 06 2025 Packit <hello@packit.dev> - 337-1
Bug fixes and translation updates
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 336-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Wed Jul 23 2025 Packit <hello@packit.dev> - 336-1
- Graphical VNC and serial consoles improvements
- Control VNC console resizing and scaling
- Bug fixes and translation updates
* Wed Jul 09 2025 Packit <hello@packit.dev> - 335-1
- Bug fixes and translation updates
* Wed Jun 25 2025 Packit <hello@packit.dev> - 334-1
- Bug fixes and translation updates
* Wed Jun 04 2025 Packit <hello@packit.dev> - 333-1
- Virtual network interfaces can now select source mode
- Bug fixes and translation updates
* Wed May 21 2025 Packit <hello@packit.dev> - 332-1
- The "shareable" attribute of disks is no longer modified by Cockpit
- Bug fixes and translation updates
* Wed May 07 2025 Packit <hello@packit.dev> - 331-1
- Translation updates
- Bug fixes
* Wed Apr 23 2025 Packit <hello@packit.dev> - 330-1
- Upgraded to Patternfly 6
* Wed Mar 12 2025 Packit <hello@packit.dev> - 329-1
- Translation updates
- Bug fixes
* Thu Feb 27 2025 Packit <hello@packit.dev> - 328-1
- Bug fixes
* Wed Jan 29 2025 Packit <hello@packit.dev> - 327-1
- Translation updates
@ -488,3 +570,5 @@ Resolves: jira#RHEL-33468
* Thu Apr 01 2021 Katerina Koukiou <kkoukiou@redhat.com> - 242.1-1
- Add MIT to the list of licenses in spec file

View File

@ -1 +0,0 @@
SHA512 (cockpit-machines-328.1.tar.xz) = 21f31b08719b6d4f30180998a42cd4f06856d322bb2e21dce99c524b4b2f58fd54b0019d7aaec256b7dd470f2169e50dfe067ff71d63c3bbc856d8262ba9bf96