Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:j-engel
cockpit
cockpit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cockpit.spec of Package cockpit
# # This file is maintained at the following location: # https://github.com/cockpit-project/cockpit/blob/master/tools/cockpit.spec # # If you are editing this file in another location, changes will likely # be clobbered the next time an automated release is done. # # Check first cockpit-devel@lists.fedorahosted.org # # Globals that may be defined elsewhere # * Version 122 # * wip 1 # # earliest base that the subpackages work on; the instances of this get computed/updated # by tools/gen-spec-dependencies during "make dist", but keep a hardcoded fallback %define required_base 122 %if 0%{?centos} %define rhel 0 %endif # for testing this already gets set in fedora.install, as we want the target # VERSION_ID, not the mock chroot's one %if "%{!?os_version_id:1}" %define os_version_id %(. /etc/os-release; echo $VERSION_ID) %endif %define _hardened_build 1 # define to build the dashboard %define build_dashboard 1 # on RHEL 7.x we build subscriptions; superseded in RHEL 8 (and Fedora) by # external subscription-manager-cockpit %if (0%{?rhel} >= 7 && 0%{?rhel} < 8) || 0%{?is_opensuse} %define build_subscriptions 1 %endif %define libssh_version 0.7.1 %if 0%{?fedora} > 0 && 0%{?fedora} < 22 %define libssh_version 0.6.0 %endif Name: cockpit Summary: A user interface for Linux servers %if 0%{?rhel} License: LGPLv2+ %else License: LGPL-2.1 %endif URL: http://cockpit-project.org/ Version: 162 %if %{defined wip} Release: 1.%{wip}%{?dist} Source0: cockpit-%{version}.tar.gz %else Release: 1%{?dist} Source0: https://github.com/cockpit-project/cockpit/releases/download/%{version}/cockpit-%{version}.tar.xz %endif Patch0: branding-symlinks.patch BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(polkit-agent-1) >= 0.105 BuildRequires: pam-devel BuildRequires: autoconf automake %if 0%{?is_opensuse} BuildRequires: python %else BuildRequires: /usr/bin/python2 %endif BuildRequires: intltool %if %{defined build_dashboard} BuildRequires: libssh-devel >= %{libssh_version} %endif BuildRequires: openssl-devel BuildRequires: zlib-devel BuildRequires: krb5-devel BuildRequires: libxslt-devel %if 0%{?is_opensuse} BuildRequires: docbook-xsl-stylesheets %else BuildRequires: docbook-style-xsl %endif BuildRequires: glib-networking BuildRequires: sed BuildRequires: git BuildRequires: glib2-devel >= 2.37.4 BuildRequires: systemd-devel %if 0%{?is_opensuse} BuildRequires: libpcp-devel BuildRequires: update-desktop-files BuildRequires: pcp %else BuildRequires: pcp-libs-devel %endif BuildRequires: krb5-server BuildRequires: gdb %if 0%{?is_opensuse} BuildRequires: libpcp_import1 %endif # For documentation BuildRequires: xmlto # This is the "cockpit" metapackage. It should only # Require, Suggest or Recommend other cockpit-xxx subpackages Requires: %{name}-bridge = %{version}-%{release} Requires: %{name}-ws = %{version}-%{release} Requires: %{name}-system = %{version}-%{release} # Optional components (for f24 we use soft deps) %if 0%{?fedora} >= 24 || 0%{?rhel} >= 8 Recommends: %{name}-dashboard = %{version}-%{release} Recommends: %{name}-networkmanager = %{version}-%{release} Recommends: %{name}-storaged = %{version}-%{release} Recommends: sscg >= 2.3 %if 0%{?rhel} >= 8 Recommends: subscription-manager-cockpit %endif %ifarch x86_64 %{arm} aarch64 ppc64le i686 s390x Recommends: %{name}-docker = %{version}-%{release} %endif Suggests: %{name}-pcp = %{version}-%{release} Suggests: %{name}-kubernetes = %{version}-%{release} Suggests: %{name}-selinux = %{version}-%{release} Suggests: %{name}-packagekit = %{version}-%{release} %endif %description Cockpit runs in a browser and can manage your network of GNU/Linux machines. %files %{_docdir}/%{name}/AUTHORS %{_docdir}/%{name}/COPYING %{_docdir}/%{name}/README.md %dir %{_datadir}/%{name} %{_datadir}/metainfo/cockpit.appdata.xml %{_datadir}/applications/cockpit.desktop %{_datadir}/pixmaps/cockpit.png %doc %{_mandir}/man1/cockpit.1.gz %prep %setup -q %patch0 -p1 # Apply patches using git in order to support binary patches. Note that # we also reset mtimes since patches should be "complete" and include both # generated and source file changes # Keep this in sync with tools/debian/rules. #if [ -n "%{patches}" ]; then # git init # git config user.email "unused@example.com" && git config user.name "Unused" # git config core.autocrlf false && git config core.safecrlf false && git config gc.auto 0 # git add -f . && git commit -a -q -m "Base" && git tag -a initial --message="initial" # git am --whitespace=nowarn %{patches} # touch -r $(git diff --name-only initial..HEAD) .git # rm -rf .git #fi %build exec 2>&1 %configure \ --disable-silent-rules \ --with-cockpit-user=cockpit-ws \ --with-selinux-config-type=etc_t \ %{?rhel:--without-storaged-iscsi-sessions} \ --with-appstream-data-packages='[ "appstream-data" ]' \ %{!?build_dashboard:--disable-ssh} make -j4 %{?extra_flags} all %check exec 2>&1 %if 0%{?is_opensuse} == 0 make -j4 check %endif %install make install DESTDIR=%{buildroot} make install-tests DESTDIR=%{buildroot} mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d install -p -m 644 tools/cockpit.pam $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/cockpit rm -f %{buildroot}/%{_libdir}/cockpit/*.so mkdir -p %{buildroot}%{_docdir}/%{name} install -p -m 644 AUTHORS COPYING README.md %{buildroot}%{_docdir}/%{name}/ # On RHEL we don't yet show options for changing language %if 0%{?rhel} echo '{ "linguas": null }' > %{buildroot}%{_datadir}/%{name}/shell/override.json %endif # Clean install environment from unused elements %if !%{defined build_dashboard} rm -rf %{buildroot}/%{_datadir}/%{name}/dashboard rm -rf %{buildroot}/%{_datadir}/%{name}/ssh %endif %if !%{defined build_subscriptions} rm -rf %{buildroot}/%{_datadir}/%{name}/subscriptions %endif %ifnarch x86_64 %{arm} aarch64 ppc64le i686 s390x rm -rf %{buildroot}%{_datadir}/%{name}/docker %endif %if 0%{defined wip} == 0 rm %{buildroot}/%{_datadir}/%{name}/kubernetes/override.json %endif %ifarch aarch64 x86_64 ppc64le s390x %else rm -rf %{buildroot}/%{_datadir}/%{name}/kubernetes rm -f %{buildroot}/%{_libexecdir}/cockpit-kube-auth rm -f %{buildroot}/%{_libexecdir}/cockpit-kube-launch rm %{buildroot}/%{_libexecdir}/cockpit-stub %endif %if 0%{?is_opensuse} == 0 # Build the package lists for resource packages echo '%dir %{_datadir}/%{name}/base1' > base.list find %{buildroot}%{_datadir}/%{name}/base1 -type f >> base.list echo '%{_sysconfdir}/cockpit/machines.d' >> base.list %if %{defined build_dashboard} echo '%dir %{_datadir}/%{name}/dashboard' >> dashboard.list find %{buildroot}%{_datadir}/%{name}/dashboard -type f >> dashboard.list find %{buildroot}%{_datadir}/%{name}/ssh -type f >> dashboard.list %else touch dashboard.list %endif echo '%dir %{_datadir}/%{name}/pcp' >> pcp.list find %{buildroot}%{_datadir}/%{name}/pcp -type f >> pcp.list echo '%dir %{_datadir}/%{name}/realmd' >> system.list find %{buildroot}%{_datadir}/%{name}/realmd -type f >> system.list echo '%dir %{_datadir}/%{name}/tuned' >> system.list find %{buildroot}%{_datadir}/%{name}/tuned -type f >> system.list echo '%dir %{_datadir}/%{name}/shell' >> system.list find %{buildroot}%{_datadir}/%{name}/shell -type f >> system.list echo '%dir %{_datadir}/%{name}/systemd' >> system.list find %{buildroot}%{_datadir}/%{name}/systemd -type f >> system.list echo '%dir %{_datadir}/%{name}/users' >> system.list find %{buildroot}%{_datadir}/%{name}/users -type f >> system.list echo '%dir %{_datadir}/%{name}/kdump' >> kdump.list find %{buildroot}%{_datadir}/%{name}/kdump -type f >> kdump.list echo '%dir %{_datadir}/%{name}/sosreport' > sosreport.list find %{buildroot}%{_datadir}/%{name}/sosreport -type f >> sosreport.list %if %{defined build_subscriptions} echo '%dir %{_datadir}/%{name}/subscriptions' >> system.list find %{buildroot}%{_datadir}/%{name}/subscriptions -type f >> system.list %endif echo '%dir %{_datadir}/%{name}/storaged' > storaged.list find %{buildroot}%{_datadir}/%{name}/storaged -type f >> storaged.list echo '%dir %{_datadir}/%{name}/networkmanager' > networkmanager.list find %{buildroot}%{_datadir}/%{name}/networkmanager -type f >> networkmanager.list echo '%dir %{_datadir}/%{name}/ostree' > ostree.list find %{buildroot}%{_datadir}/%{name}/ostree -type f >> ostree.list echo '%dir %{_datadir}/%{name}/packagekit' >> packagekit.list find %{buildroot}%{_datadir}/%{name}/packagekit -type f >> packagekit.list echo '%dir %{_datadir}/%{name}/apps' >> packagekit.list find %{buildroot}%{_datadir}/%{name}/apps -type f >> packagekit.list echo '%dir %{_datadir}/%{name}/machines' > machines.list find %{buildroot}%{_datadir}/%{name}/machines -type f >> machines.list echo '%dir %{_datadir}/%{name}/ovirt' > ovirt.list find %{buildroot}%{_datadir}/%{name}/ovirt -type f >> ovirt.list # on CentOS systems we don't have the required setroubleshoot-server packages %if 0%{?centos} rm -rf %{buildroot}%{_datadir}/%{name}/selinux %else echo '%dir %{_datadir}/%{name}/selinux' > selinux.list find %{buildroot}%{_datadir}/%{name}/selinux -type f >> selinux.list %endif %ifarch x86_64 %{arm} aarch64 ppc64le i686 s390x echo '%dir %{_datadir}/%{name}/docker' > docker.list find %{buildroot}%{_datadir}/%{name}/docker -type f >> docker.list %else touch docker.list %endif %ifarch aarch64 x86_64 ppc64le s390x echo '%dir %{_datadir}/%{name}/kubernetes' > kubernetes.list find %{buildroot}%{_datadir}/%{name}/kubernetes -type f >> kubernetes.list %else touch kubernetes.list %endif sed -i "s|%{buildroot}||" *.list # Build the package lists for debug package, and move debug files to installed locations find %{buildroot}/usr/src/debug%{_datadir}/%{name} -type f -o -type l > debug.partial sed -i "s|%{buildroot}/usr/src/debug||" debug.partial sed -n 's/\.map\(\.gz\)\?$/\0/p' *.list >> debug.partial sed -i '/\.map\(\.gz\)\?$/d' *.list tar -C %{buildroot}/usr/src/debug -cf - . | tar -C %{buildroot} -xf - %endif rm -rf %{buildroot}/usr/src/debug %if 0%{?is_opensuse} rm -rf %{buildroot}/usr/lib/debug %endif # On RHEL kdump, networkmanager, selinux, and sosreport are part of the system package %if 0%{?rhel} cat kdump.list sosreport.list networkmanager.list selinux.list >> system.list rm %{buildroot}/usr/share/metainfo/org.cockpit-project.cockpit-sosreport.metainfo.xml rm %{buildroot}/usr/share/pixmaps/cockpit-sosreport.png %endif %if 0%{?is_opensuse} %suse_update_desktop_file -u -r -G 'Cockpit Server Manager' %{name} System Utility mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir}/%{name}/html ln -sf /sbin/service $RPM_BUILD_ROOT%{_sbindir}/rc%{name} rm -rf %{buildroot}%{_prefix}/lib/firewalld mkdir -p %{buildroot}/%{_lib}/security mv %{buildroot}%{_libdir}/security/pam_ssh_add.so %{buildroot}/%{_lib}/security/ rm -rf %{buildroot}%{_libdir}/security %endif %find_lang %{name} # dwz has trouble with the go binaries # https://fedoraproject.org/wiki/PackagingDrafts/Go %global _dwz_low_mem_die_limit 0 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 %global _debugsource_packages 1 %global _debuginfo_subpackages 0 %endif %if 0%{?is_opensuse} == 0 %define find_debug_info %{_rpmconfigdir}/find-debuginfo.sh %{?_missing_build_ids_terminate_build:--strict-build-id} %{?_include_minidebuginfo:-m} %{?_find_debuginfo_dwz_opts} %{?_find_debuginfo_opts} %{?_debugsource_packages:-S debugsourcefiles.list} "%{_builddir}/%{?buildsubdir}" # Redefine how debug info is built to slip in our extra debug files %define __debug_install_post \ %{find_debug_info} \ cat debug.partial >> %{_builddir}/%{?buildsubdir}/debugfiles.list \ %{nil} %endif # ------------------------------------------------------------------------------- # Sub-packages %define __lib lib %package bridge Summary: Cockpit bridge server-side component Requires: glib-networking %description bridge The Cockpit bridge component installed server side and runs commands on the system on behalf of the web based user interface. %if 0%{?is_opensuse} %files bridge %defattr(-,root,root) %{_datadir}/%{name}/base1 %dir %{_sysconfdir}/%{name} %{_sysconfdir}/%{name}/machines.d %else %files bridge -f base.list %{_datadir}/%{name}/base1/bundle.min.js.gz %endif %doc %{_mandir}/man1/cockpit-bridge.1.gz %{_bindir}/cockpit-bridge %{_libexecdir}/cockpit-askpass %package doc Summary: Cockpit deployment and developer guide BuildArch: noarch %description doc The Cockpit Deployment and Developer Guide shows sysadmins how to deploy Cockpit on their machines as well as helps developers who want to embed or extend Cockpit. %files doc %exclude %{_docdir}/%{name}/AUTHORS %exclude %{_docdir}/%{name}/COPYING %exclude %{_docdir}/%{name}/README.md %{_docdir}/%{name} %package machines BuildArch: noarch Summary: Cockpit user interface for virtual machines Requires: %{name}-bridge >= 122 Requires: %{name}-system >= 122 Requires: libvirt Requires: libvirt-client %description machines The Cockpit components for managing virtual machines. %if 0%{?is_opensuse} %files machines %defattr(-,root,root) %{_datadir}/%{name}/machines %else %files machines -f machines.list %endif %package machines-ovirt BuildArch: noarch Summary: Cockpit user interface for oVirt virtual machines Requires: %{name}-bridge >= 122 Requires: %{name}-system >= 122 Requires: libvirt Requires: libvirt-client # package of old name "cockpit-ovirt" was shipped on fedora only %if 0%{?fedora} >= 25 Obsoletes: %{name}-ovirt < 161 %endif %description machines-ovirt The Cockpit components for managing oVirt virtual machines. %if 0%{?is_opensuse} %files machines-ovirt %defattr(-,root,root) %{_datadir}/%{name}/ovirt %else %files machines-ovirt -f ovirt.list %endif %package ostree Summary: Cockpit user interface for rpm-ostree # Requires: Uses new translations functionality Requires: %{name}-bridge >= 124.x Requires: %{name}-system >= 124.x %if 0%{?fedora} > 0 && 0%{?fedora} < 24 Requires: rpm-ostree >= 2015.10-1 %else Requires: /usr/libexec/rpm-ostreed %endif %description ostree The Cockpit components for managing software updates for ostree based systems. %if 0%{?is_opensuse} %files ostree %defattr(-,root,root) %{_datadir}/%{name}/ostree %else %files ostree -f ostree.list %endif %package pcp Summary: Cockpit PCP integration Requires: %{name}-bridge >= 134.x Requires: pcp %description pcp Cockpit support for reading PCP metrics and loading PCP archives. %if 0%{?is_opensuse} %files pcp %defattr(-,root,root) %{_datadir}/%{name}/pcp %else %files pcp -f pcp.list %endif %{_libexecdir}/cockpit-pcp %dir %{_localstatedir}/lib/pcp/config/pmlogconf/tools %dir %{_localstatedir}/lib/pcp/config/pmlogconf %dir %{_localstatedir}/lib/pcp/config %dir %{_localstatedir}/lib/pcp %{_localstatedir}/lib/pcp/config/pmlogconf/tools/cockpit %post pcp # HACK - https://bugzilla.redhat.com/show_bug.cgi?id=1185764 # We can't use "systemctl reload-or-try-restart" since systemctl might # be out of sync with reality. %if 0%{?is_opensuse} pmlogger condrestart %else /usr/share/pcp/lib/pmlogger condrestart %endif %if %{defined build_dashboard} %package dashboard Summary: Cockpit remote servers and dashboard Requires: libssh >= %{libssh_version} Provides: %{name}-ssh = %{version}-%{release} # nothing depends on the dashboard, but we can't use it with older versions of the bridge Conflicts: %{name}-bridge < 135 Conflicts: %{name}-ws < 135 %description dashboard Cockpit support for connecting to remote servers (through ssh), bastion hosts, and a basic dashboard. %if 0%{?is_opensuse} %files dashboard %defattr(-,root,root) %{_datadir}/%{name}/dashboard %{_datadir}/%{name}/ssh %else %files dashboard -f dashboard.list %endif %{_libexecdir}/cockpit-ssh %endif # storaged on RHEL 7.4 and Fedora < 27, udisks on newer ones # Recommends: not supported in RHEL < 8 %package storaged Summary: Cockpit user interface for storage, using Storaged Requires: %{name}-shell >= 122 %if 0%{?is_opensuse} Requires: udisks2 >= 2.6 Requires: device-mapper %else %if (0%{?rhel} == 7 && "%{os_version_id}" == "7.4") || 0%{?centos} == 7 Requires: storaged >= 2.1.1 Requires: storaged-lvm2 >= 2.1.1 Requires: storaged-iscsi >= 2.1.1 Requires: device-mapper-multipath %else %if 0%{?rhel} == 7 Requires: udisks2 >= 2.6 Requires: udisks2-lvm2 >= 2.6 Requires: udisks2-iscsi >= 2.6 Requires: device-mapper-multipath %else %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: udisks2 >= 2.6 Recommends: udisks2-lvm2 >= 2.6 Recommends: udisks2-iscsi >= 2.6 Recommends: device-mapper-multipath %else # Fedora < 27 Requires: storaged >= 2.1.1 Recommends: storaged-lvm2 >= 2.1.1 Recommends: storaged-iscsi >= 2.1.1 Recommends: device-mapper-multipath %endif %endif %endif %endif %if 0%{?fedora} || 0%{?is_opensuse} Requires: python3 Requires: python3-dbus %else Requires: python Requires: python-dbus %endif BuildArch: noarch %description storaged The Cockpit component for managing storage. This package uses Storaged. %if 0%{?is_opensuse} %files storaged %defattr(-,root,root) %{_datadir}/%{name}/storaged %else %files storaged -f storaged.list %endif %package system Summary: Cockpit admin interface package for configuring and troubleshooting a system BuildArch: noarch Requires: %{name}-bridge >= %{version}-%{release} Requires: shadow-utils Requires: grep Requires: libpwquality Requires: /usr/bin/date Provides: %{name}-realmd = %{version}-%{release} Provides: %{name}-shell = %{version}-%{release} Obsoletes: %{name}-shell < 127 Provides: %{name}-systemd = %{version}-%{release} Provides: %{name}-tuned = %{version}-%{release} Provides: %{name}-users = %{version}-%{release} %if 0%{?rhel} Provides: %{name}-networkmanager = %{version}-%{release} Obsoletes: %{name}-networkmanager < 135 Requires: NetworkManager Provides: %{name}-kdump = %{version}-%{release} Requires: kexec-tools # Optional components (only when soft deps are supported) %if 0%{?rhel} >= 8 Recommends: NetworkManager-team Recommends: setroubleshoot-server >= 3.3.3 %endif Provides: %{name}-selinux = %{version}-%{release} Provides: %{name}-sosreport = %{version}-%{release} %endif %if %{defined build_subscriptions} Provides: %{name}-subscriptions = %{version}-%{release} Requires: subscription-manager >= 1.13 %endif %description system This package contains the Cockpit shell and system configuration interfaces. %if 0%{?is_opensuse} %files system %defattr(-,root,root) %{_datadir}/%{name}/shell %{_datadir}/%{name}/users %{_datadir}/%{name}/subscriptions %{_datadir}/%{name}/realmd %{_datadir}/%{name}/tuned %{_datadir}/%{name}/systemd %else %files system -f system.list %endif %package tests Summary: Tests for Cockpit Requires: %{name}-bridge >= 138 Requires: %{name}-system >= 138 Requires: openssh-clients Provides: %{name}-test-assets = %{version}-%{release} Obsoletes: %{name}-test-assets < 132 %description tests This package contains tests and files used while testing Cockpit. These files are not required for running Cockpit. %files tests %config(noreplace) %{_sysconfdir}/cockpit/cockpit.conf %dir %{_sysconfdir}/cockpit %{_datadir}/%{name}/playground %{_prefix}/%{__lib}/cockpit-test-assets %package ws Summary: Cockpit Web Service Requires: glib-networking Requires: openssl Requires: glib2 >= 2.37.4 Requires(post): systemd Requires(preun): systemd Requires(postun): systemd %description ws The Cockpit Web Service listens on the network, and authenticates users. %files ws -f %{name}.lang %doc %{_mandir}/man5/cockpit.conf.5.gz %doc %{_mandir}/man8/cockpit-ws.8.gz %doc %{_mandir}/man8/remotectl.8.gz %doc %{_mandir}/man8/pam_ssh_add.8.gz %config(noreplace) %{_sysconfdir}/%{name}/ws-certs.d %config(noreplace) %{_sysconfdir}/pam.d/cockpit %dir %{_sysconfdir}/%{name} %dir %{_datadir}/%{name}/issue %{_datadir}/%{name}/issue/active.issue %{_datadir}/%{name}/issue/inactive.issue %{_unitdir}/cockpit.service %{_unitdir}/cockpit.socket %if 0%{?is_opensuse} == 0 %{_prefix}/%{__lib}/firewalld/services/cockpit.xml %endif %{_prefix}/%{__lib}/tmpfiles.d/cockpit-tempfiles.conf %{_sbindir}/remotectl %if 0%{?is_opensuse} %{_sbindir}/rc%{name} /%{_lib}/security/pam_ssh_add.so %else %{_libdir}/security/pam_ssh_add.so %endif %{_libexecdir}/cockpit-ws %attr(4750, root, cockpit-ws) %{_libexecdir}/cockpit-session %attr(775, -, wheel) %{_localstatedir}/lib/%{name} %{_datadir}/%{name}/static %{_datadir}/%{name}/branding %pre ws getent group cockpit-ws >/dev/null || groupadd -r cockpit-ws getent passwd cockpit-ws >/dev/null || useradd -r -g cockpit-ws -d / -s /sbin/nologin -c "User for cockpit-ws" cockpit-ws %post ws %systemd_post cockpit.socket # firewalld only partially picks up changes to its services files without this test -f %{_bindir}/firewall-cmd && firewall-cmd --reload --quiet || true %preun ws %systemd_preun cockpit.socket %postun ws %systemd_postun_with_restart cockpit.socket %systemd_postun_with_restart cockpit.service # ------------------------------------------------------------------------------- # Conditional Sub-packages %if 0%{?rhel} == 0 %package kdump Summary: Cockpit user interface for kernel crash dumping Requires: %{name}-bridge >= 122 Requires: %{name}-shell >= 122 Requires: kexec-tools BuildArch: noarch %description kdump The Cockpit component for configuring kernel crash dumping. %if 0%{?is_opensuse} %files kdump %defattr(-,root,root) %{_datadir}/%{name}/kdump %else %files kdump -f kdump.list %endif %package sosreport Summary: Cockpit user interface for diagnostic reports Requires: %{name}-bridge >= 122 Requires: %{name}-shell >= 122 Requires: sos BuildArch: noarch %description sosreport The Cockpit component for creating diagnostic reports with the sosreport tool. %if 0%{?is_opensuse} %files sosreport %defattr(-,root,root) %{_datadir}/%{name}/sosreport %else %files sosreport -f sosreport.list %endif /usr/share/metainfo/org.cockpit-project.cockpit-sosreport.metainfo.xml /usr/share/pixmaps/cockpit-sosreport.png %package networkmanager Summary: Cockpit user interface for networking, using NetworkManager Requires: %{name}-bridge >= 122 Requires: %{name}-shell >= 122 Requires: NetworkManager # Optional components (only when soft deps are supported) %if 0%{?fedora} >= 24 || 0%{?rhel} >= 8 || 0%{?is_opensuse} Recommends: NetworkManager-team %endif BuildArch: noarch %description networkmanager The Cockpit component for managing networking. This package uses NetworkManager. %if 0%{?is_opensuse} %files networkmanager %defattr(-,root,root) %{_datadir}/%{name}/networkmanager %else %files networkmanager -f networkmanager.list %endif %endif %if 0%{?rhel}%{?centos} == 0 || 0%{?is_opensuse} %package selinux Summary: Cockpit SELinux package Requires: %{name}-bridge >= 122 Requires: %{name}-shell >= 122 %if 0%{?fedora} >= 24 || 0%{?rhel} >= 8 Recommends: setroubleshoot-server >= 3.3.3 %endif BuildArch: noarch %description selinux This package contains the Cockpit user interface integration with the utility setroubleshoot to diagnose and resolve SELinux issues. %if 0%{?is_opensuse} %files selinux %defattr(-,root,root) %{_datadir}/%{name}/selinux %else %files selinux -f selinux.list %endif %endif %ifarch x86_64 %{arm} aarch64 ppc64le i686 s390x %package docker Summary: Cockpit user interface for Docker containers Requires: %{name}-bridge >= 122 Requires: %{name}-shell >= 122 Requires: /usr/bin/docker %if 0%{?is_opensuse} %py_requires %else Requires: python2 %endif %description docker The Cockpit components for interacting with Docker and user interface. This package is not yet complete. %if 0%{?is_opensuse} %files docker %defattr(-,root,root) %{_datadir}/%{name}/docker %else %files docker -f docker.list %endif %endif %ifarch aarch64 x86_64 ppc64le s390x %package kubernetes Summary: Cockpit user interface for Kubernetes cluster %if 0%{?is_opensuse} Requires: kubernetes-client %else Requires: /usr/bin/kubectl %endif # Requires: Needs newer localization support Requires: %{name}-bridge >= 137.x Requires: %{name}-shell >= 137.x %if 0%{?is_opensuse} BuildRequires: go %else BuildRequires: golang-bin BuildRequires: golang-src %endif Provides: cockpit-stub = %{version}-%{release} %description kubernetes The Cockpit components for visualizing and configuring a Kubernetes cluster. Installed on the Kubernetes master. This package is not yet complete. %if 0%{?is_opensuse} %files kubernetes %defattr(-,root,root) %{_datadir}/%{name}/kubernetes %else %files kubernetes -f kubernetes.list %endif %{_libexecdir}/cockpit-kube-auth %{_libexecdir}/cockpit-kube-launch %{_libexecdir}/cockpit-stub %endif %package packagekit Summary: Cockpit user interface for packages BuildArch: noarch Requires: %{name}-bridge >= 138 Requires: PackageKit %description packagekit The Cockpit components for installing OS updates and Cockpit add-ons, via PackageKit. %if 0%{?is_opensuse} %files packagekit %defattr(-,root,root) %{_datadir}/%{name}/packagekit %{_datadir}/%{name}/apps %else %files packagekit -f packagekit.list %endif # The changelog is automatically generated and merged %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor