core-admin-client/rpm_spec/qubes-core-mgmt-client.spec
Marek Marczykowski-Górecki 377a82105d
Add qvm-start-gui autostart script
Start it using XDG Autostart feature, but exclude starting in
qubes-session - so even if package is installed in a VM, it wont be
started simultaneusly with GUI agent.
On the other hand, if some other DE session is running there (which will
be the case for GUI domain), gui-daemons will be started accordingly.

QubesOS/qubes-issues#833
2017-04-29 01:18:34 +02:00

68 lines
1.2 KiB
RPMSpec

Name: qubes-core-mgmt-client
Version: %(cat version)
Release: 0.1%{?dist}
Summary: Qubes OS management client tools
Group: Qubes
License: LGPLv2.1+
URL: https://www.qubes-os.org
BuildRequires: python2-setuptools
BuildRequires: python3-setuptools
BuildRequires: python2-devel
BuildRequires: python3-devel
Requires: python3-qubesmgmt
BuildArch: noarch
%if 0%{?qubes_builder}
%define _builddir %(pwd)
%endif
%description
This package include managemt tools, like qvm-*.
%package -n python2-qubesmgmt
Summary: Python2 module qubesmgmt
Requires: python2-daemon
%description -n python2-qubesmgmt
Python2 module qubesmgmt.
%package -n python3-qubesmgmt
Summary: Python3 module qubesmgmt
Requires: python3-daemon
%description -n python3-qubesmgmt
Python3 module qubesmgmt.
%prep
%if !0%{?qubes_builder}
%setup -q
%endif
%build
%install
rm -rf build
%make_install PYTHON=%{__python2}
rm -rf build
%make_install PYTHON=%{__python3}
%files
%doc LICENSE
%config /etc/xdg/autostart/qvm-start-gui.desktop
%files -n python2-qubesmgmt
%{python_sitelib}/qubesmgmt-*egg-info
%{python_sitelib}/qubesmgmt
%files -n python3-qubesmgmt
%{python3_sitelib}/qubesmgmt-*egg-info
%{python3_sitelib}/qubesmgmt
%changelog