diff --git a/cockpit-machines-320.tar.xz b/cockpit-machines-320.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..c27e8e877c517dd78a483177837f02275e69f9a5 Binary files /dev/null and b/cockpit-machines-320.tar.xz differ diff --git a/cockpit-machines.spec b/cockpit-machines.spec new file mode 100644 index 0000000000000000000000000000000000000000..946c5c3adb2da99edbe2049523bfdb11fc566103 --- /dev/null +++ b/cockpit-machines.spec @@ -0,0 +1,90 @@ +Name: cockpit-machines +Version: 320 +Release: 1 +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 +BuildArch: noarch +BuildRequires: libappstream-glib +BuildRequires: make +BuildRequires: gettext +BuildRequires: libappstream-glib-devel + +Requires: cockpit-bridge >= 215 +Requires: libvirt-daemon-driver-qemu +Requires: libvirt-daemon-driver-network +Requires: libvirt-daemon-driver-nodedev +Requires: libvirt-daemon-driver-storage-core +Requires: (libvirt-daemon-driver-interface if virt-install) +Requires: (libvirt-daemon-config-network if virt-install) +Recommends: libvirt-daemon-driver-storage-disk +Requires: qemu-kvm +Requires: libvirt-client +Requires: libvirt-dbus >= 1.2.0 +# Optional components +Recommends: virt-install >= 3.0.0 +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.0 +Provides: bundled(npm(@patternfly/react-console)) = 5.1.0 +Provides: bundled(npm(@patternfly/react-core)) = 5.4.0 +Provides: bundled(npm(@patternfly/react-icons)) = 5.4.0 +Provides: bundled(npm(@patternfly/react-styles)) = 5.4.0 +Provides: bundled(npm(@patternfly/react-table)) = 5.4.0 +Provides: bundled(npm(@patternfly/react-tokens)) = 5.4.0 +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.2 +Provides: bundled(npm(dequal)) = 2.0.3 +Provides: bundled(npm(file-saver)) = 1.3.8 +Provides: bundled(npm(file-selector)) = 0.6.0 +Provides: bundled(npm(focus-trap)) = 7.5.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(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(redux-thunk)) = 3.1.0 +Provides: bundled(npm(redux)) = 5.0.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.7.0 +Provides: bundled(npm(xterm-addon-fit)) = 0.2.1 +Provides: bundled(npm(xterm)) = 4.19.0 + +%description +Cockpit component for managing virtual machines. + +If "virt-install" is installed, you can also create new virtual machines. + +%prep +%setup -q -n %{name} + +%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 +* Sun Sep 29 2024 liweigang - 320-1 +- init package. diff --git a/cockpit-machines.yaml b/cockpit-machines.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fda6e14ea963e5e95302379cb933739072164c02 --- /dev/null +++ b/cockpit-machines.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: cockpit-project/cockpit-machines +tag_prefix: ^cockpit-machines- +seperator: .