From 5a1742a663c9758dbb3f7048dc522ca3a05c5fdf Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 20 Apr 2021 14:07:28 +0200 Subject: [PATCH] Initial import Resolves: rhbz#1949584 --- .gitignore | 3 ++ README.md | 3 ++ cockpit-machines.spec | 76 +++++++++++++++++++++++++++++++++++++++++++ gating.yaml | 14 ++++++++ plans/upstream.fmf | 7 ++++ sources | 1 + 6 files changed, 104 insertions(+) create mode 100644 README.md create mode 100644 cockpit-machines.spec create mode 100644 gating.yaml create mode 100644 plans/upstream.fmf create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..af0a3c9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,3 @@ +/cockpit-machines-242.tar.gz +/cockpit-machines-242.1.tar.gz +/cockpit-machines-243.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..d9ddc5a --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# cockpit-machines + +The cockpit-machines package diff --git a/cockpit-machines.spec b/cockpit-machines.spec new file mode 100644 index 0000000..541ed26 --- /dev/null +++ b/cockpit-machines.spec @@ -0,0 +1,76 @@ +# This spec file has been automatically updated +Version: 243 +Release: 1%{?dist} +# +# 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: cockpit-machines +Summary: Cockpit user interface for virtual machines +License: LGPLv2+ and MIT +URL: https://github.com/cockpit-project/cockpit-machines + +Source0: https://github.com/cockpit-project/cockpit-machines/releases/download/%{version}/cockpit-machines-%{version}.tar.gz +BuildArch: noarch +BuildRequires: libappstream-glib +BuildRequires: make + +Requires: cockpit-bridge >= 215 +%if 0%{?suse_version} +Requires: libvirt-daemon-qemu +%else +Requires: libvirt-daemon-kvm +%endif +Requires: libvirt-client +Requires: libvirt-dbus >= 1.2.0 +# Optional components +Recommends: virt-install +Recommends: libosinfo +Recommends: python3-gobject-base + +%description -n cockpit-machines +Cockpit component for managing virtual machines. + +If "virt-install" is installed, you can also create new virtual machines. + +%prep +%setup -q -n cockpit-machines + +%build +# Nothing to build + +%install +%make_install +appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/* + +%files +%doc README.md +%license LICENSE dist/index.js.LICENSE.txt +%{_datadir}/cockpit/* +%{_datadir}/metainfo/* + +# The changelog is automatically generated and merged +%changelog +* Wed Apr 14 2021 Matej Marusak - 243-1 + +- PatternFly 4 updates +- Translation updates +- Correctly manage editing of unknown bus type + +* Thu Apr 01 2021 Katerina Koukiou - 242.1-1 + +- Add MIT to the list of licenses in spec file + diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..5a2cf7d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,14 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} + +--- !Policy +product_versions: + - rhel-8 + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plans/upstream.fmf b/plans/upstream.fmf new file mode 100644 index 0000000..73e5381 --- /dev/null +++ b/plans/upstream.fmf @@ -0,0 +1,7 @@ +discover: + how: fmf + repository: https://github.com/cockpit-project/cockpit-machines + # FIXME: get rid of the hardcoding: https://github.com/psss/tmt/issues/585 + ref: "243" +execute: + how: tmt diff --git a/sources b/sources new file mode 100644 index 0000000..a5f08be --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (cockpit-machines-243.tar.gz) = 48d7ddb4bd6cf645f4ba5d0ac4d9435704e8422f0c7c3a87ed6eb2dc149320ba1018b0b775a3629b4970655e70795ccccc8986a0dc23563b02a18ca9de56d08b