2
0

Accepting request 890049 from home:lnussel:branches:systemsmanagement:cockpit

new package

OBS-URL: https://build.opensuse.org/request/show/890049
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit-machines?expand=0&rev=1
This commit is contained in:
Ludwig Nussel 2021-05-04 07:45:15 +00:00 committed by Git OBS Bridge
commit 42c46b5208
10 changed files with 39137 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

18
_service Normal file
View File

@ -0,0 +1,18 @@
<services>
<service name="obs_scm" mode="manual">
<param name="versionformat">@PARENT_TAG@</param>
<param name="url">http://github.com/cockpit-project/cockpit-machines.git</param>
<param name="scm">git</param>
<param name="revision">243.1</param>
</service>
<service name="node_modules" mode="manual">
<param name="cpio">node_modules.obscpio</param>
<param name="output">node_modules.spec.inc</param>
</service>
<service mode="buildtime" name="tar">
<param name="obsinfo">cockpit-machines.obsinfo</param>
</service>
<service mode="buildtime" name="set_version">
<param name="basename">cockpit-machines</param>
</service>
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3861dd4b36bd175085733c8fb4ae0f48fb6c9144ba5d51d085e3a550d0716797
size 2587660

4
cockpit-machines.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Mon May 3 07:48:14 UTC 2021 - Ludwig Nussel <lnussel@suse.de>
- initial package

5
cockpit-machines.obsinfo Normal file
View File

@ -0,0 +1,5 @@
name: cockpit-machines
version: 243.1
mtime: 1619072157
commit: e423f6dd52ae73ae4d1fd393844958fe82eb612f

75
cockpit-machines.spec Normal file
View File

@ -0,0 +1,75 @@
#
# spec file for package cockpit-machines
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: cockpit-machines
Version: 243.1
Release: 0
Summary: Cockpit user interface for virtual machines
License: LGPL-2.1-or-later and MIT
URL: https://github.com/cockpit-project/cockpit-machines
Source: cockpit-machines-%{version}.tar
Source10: package-lock.json
Source11: node_modules.spec.inc
%include %_sourcedir/node_modules.spec.inc
BuildArch: noarch
BuildRequires: appstream-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
#
BuildRequires: cockpit-devel >= 243
BuildRequires: local-npm-registry
BuildRequires: sassc
BuildRequires: translate-toolkit
%description
Cockpit component for managing virtual machines.
If "virt-install" is installed, you can also create new virtual machines.
%prep
%autosetup -p1
rm -f package-lock.json
local-npm-registry %{_sourcedir} install --with=dev || ( find ~/.npm/_logs -name '*-debug.log' -print0 | xargs -0 cat; false)
%build
cp -r %{_datadir}/cockpit/devel/lib src/lib
NODE_ENV=production npm run 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/*
%changelog

3
node_modules.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9cc55384408ea89886f86328f742dee3a809133959a80b98464ab48afe80c7a1
size 71684568

1215
node_modules.spec.inc Normal file

File diff suppressed because it is too large Load Diff

37790
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff