!36 [sync] PR-34: splits subpackages
From: @openeuler-sync-bot Reviewed-by: @t_feng Signed-off-by: @t_feng
This commit is contained in:
commit
a0f71f2776
43
cockpit.spec
43
cockpit.spec
@ -1,7 +1,7 @@
|
||||
%bcond_with pcp
|
||||
Name: cockpit
|
||||
Version: 178
|
||||
Release: 12
|
||||
Release: 13
|
||||
Summary: A easy-to-use, integrated, glanceable, and open web-based interface for Linux servers
|
||||
License: LGPLv2+
|
||||
URL: https://cockpit-project.org/
|
||||
@ -22,10 +22,9 @@ BuildRequires: pcp-libs-devel
|
||||
%endif
|
||||
|
||||
Requires: glib-networking shadow-utils grep libpwquality coreutils NetworkManager kexec-tools openssl glib2 >= 2.37.4
|
||||
Requires: python3 python3-dbus systemd udisks2 >= 2.6 libvirt libvirt-client PackageKit
|
||||
Requires: python3 python3-dbus systemd udisks2 >= 2.6 PackageKit
|
||||
|
||||
Provides: %{name}-networkmanager %{name}-selinux %{name}-sosreport %{name}-dashboard = %{version}-%{release}
|
||||
Provides: %{name}-machines = %{version}-%{release} %{name}-machines-ovirt = %{version}-%{release} %{name}-shell %{name}-systemd
|
||||
Provides: %{name}-bridge = %{version}-%{release} %{name}-packagekit = %{version}-%{release} %{name}-storaged = %{version}-%{release}
|
||||
Provides: %{name}-system = %{version}-%{release} %{name}-ws = %{version}-%{release} %{name}-ssh %{name}-realmd
|
||||
Provides: %{name}-tuned %{name}-users %{name}-kdump
|
||||
@ -33,7 +32,6 @@ Provides: bundled(js-jquery) = 3.3.1 bundled(js-moment) = 2.22.2 bundled(n
|
||||
Provides: bundled(nodejs-promise) = 8.0.2 bundled(nodejs-requirejs) = 2.1.22 bundled(xstatic-bootstrap-datepicker-common) = 1.8.0
|
||||
|
||||
Obsoletes: %{name}-networkmanager %{name}-selinux %{name}-sosreport %{name}-dashboard < %{version}-%{release}
|
||||
Obsoletes: %{name}-machines < %{version}-%{release} %{name}-machines-ovirt < %{version}-%{release} %{name}-shell %{name}-systemd
|
||||
Obsoletes: %{name}-bridge < %{version}-%{release} %{name}-packagekit < %{version}-%{release} %{name}-storaged < %{version}-%{release}
|
||||
Obsoletes: %{name}-system < %{version}-%{release} %{name}-ws < %{version}-%{release} %{name}-ssh %{name}-realmd
|
||||
Obsoletes: %{name}-tuned %{name}-users %{name}-kdump
|
||||
@ -69,6 +67,29 @@ Obsoletes: %{name}-tests < %{version}-%{release}
|
||||
This package contains some test files for testing the %{name}.
|
||||
It is not necessary for using %{name}.
|
||||
|
||||
%package cockpit-machines
|
||||
BuildArch: noarch
|
||||
Summary: Cockpit user interface for virtual machines
|
||||
Requires: cockpit-bridge >= 122
|
||||
Requires: cockpit-system >= 122
|
||||
Requires: libvirt
|
||||
Requires: libvirt-client
|
||||
|
||||
%description cockpit-machines
|
||||
The Cockpit components for managing virtual machines.
|
||||
If "virt-install" is installed, you can also create new virtual machines.
|
||||
|
||||
%package cockpit-machines-ovirt
|
||||
BuildArch: noarch
|
||||
Summary: Cockpit user interface for oVirt virtual machines
|
||||
Requires: cockpit-bridge >= 122
|
||||
Requires: cockpit-system >= 122
|
||||
Requires: libvirt
|
||||
Requires: libvirt-client
|
||||
|
||||
%description cockpit-machines-ovirt
|
||||
The Cockpit components for managing oVirt virtual machines.
|
||||
|
||||
%package help
|
||||
Summary: Help package for %{name}
|
||||
BuildArch: noarch
|
||||
@ -150,7 +171,7 @@ test -f %{_bindir}/firewall-cmd && firewall-cmd --reload --quiet || true
|
||||
%{_datadir}/pixmaps/cockpit.png
|
||||
%{_datadir}/%{name}/motd/{update-motd,inactive.motd}
|
||||
%{_datadir}/%{name}/{static,branding}
|
||||
%{_datadir}/%{name}/{base1,ssh,dashboard,realmd,tuned,shell,systemd,users,kdump,sosreport,storaged,networkmanager,packagekit,apps,machines,ovirt,selinux}/*
|
||||
%{_datadir}/%{name}/{base1,ssh,dashboard,realmd,tuned,shell,systemd,users,kdump,sosreport,storaged,networkmanager,packagekit,apps,selinux}/*
|
||||
%{_unitdir}/{cockpit.service,cockpit-motd.service,cockpit.socket}
|
||||
%{_sysconfdir}/%{name}/machines.d
|
||||
%{_prefix}/lib/tmpfiles.d/cockpit-tempfiles.conf
|
||||
@ -173,6 +194,12 @@ test -f %{_bindir}/firewall-cmd && firewall-cmd --reload --quiet || true
|
||||
%{_datadir}/cockpit/playground
|
||||
%{_prefix}/lib/cockpit-test-assets
|
||||
|
||||
%files cockpit-machines
|
||||
%{_datadir}/cockpit/machines
|
||||
|
||||
%files cockpit-machines-ovirt
|
||||
%{_datadir}/cockpit/ovirt
|
||||
|
||||
%files help
|
||||
%{_docdir}/cockpit
|
||||
%exclude %{_docdir}/cockpit/{AUTHORS,COPYING,README.md}
|
||||
@ -181,6 +208,12 @@ test -f %{_bindir}/firewall-cmd && firewall-cmd --reload --quiet || true
|
||||
%doc %{_mandir}/man8/{cockpit-ws.8.gz,remotectl.8.gz,pam_ssh_add.8.gz}
|
||||
|
||||
%changelog
|
||||
* Tue Jan 10 2023 zhangpan <zhangpan@h-partners.com> - 178-13
|
||||
- Type:NA
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:splits subpackages cockpit-machines cockpit-machines-ovirt
|
||||
|
||||
* Tue Dec 13 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 178-12
|
||||
- strip binary file
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user