2017-02-27 20:19:00 +01:00
|
|
|
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
|
2017-05-11 20:22:51 +02:00
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
BuildRequires: python3-dbus
|
2017-02-27 20:19:00 +01:00
|
|
|
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
|
2017-04-27 01:06:15 +02:00
|
|
|
Requires: python2-daemon
|
2017-02-27 20:19:00 +01:00
|
|
|
|
|
|
|
%description -n python2-qubesmgmt
|
|
|
|
Python2 module qubesmgmt.
|
|
|
|
|
|
|
|
%package -n python3-qubesmgmt
|
|
|
|
Summary: Python3 module qubesmgmt
|
2017-04-27 01:06:15 +02:00
|
|
|
Requires: python3-daemon
|
2017-02-27 20:19:00 +01:00
|
|
|
|
|
|
|
%description -n python3-qubesmgmt
|
|
|
|
Python3 module qubesmgmt.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%if !0%{?qubes_builder}
|
|
|
|
%setup -q
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2017-05-11 20:22:51 +02:00
|
|
|
make -C doc PYTHON=%{__python3} SPHINXBUILD=sphinx-build-%{python3_version} man
|
2017-02-27 20:19:00 +01:00
|
|
|
|
|
|
|
%install
|
2017-04-14 13:26:45 +02:00
|
|
|
rm -rf build
|
2017-02-27 20:19:00 +01:00
|
|
|
%make_install PYTHON=%{__python2}
|
2017-04-14 13:26:45 +02:00
|
|
|
rm -rf build
|
2017-02-27 20:19:00 +01:00
|
|
|
%make_install PYTHON=%{__python3}
|
|
|
|
|
2017-05-11 20:22:51 +02:00
|
|
|
make -C doc DESTDIR=$RPM_BUILD_ROOT \
|
|
|
|
PYTHON=%{__python3} SPHINXBUILD=sphinx-build-%{python3_version} \
|
|
|
|
install
|
|
|
|
|
2017-02-27 20:19:00 +01:00
|
|
|
|
|
|
|
%files
|
2017-05-11 20:22:51 +02:00
|
|
|
%defattr(-,root,root,-)
|
2017-02-27 20:19:00 +01:00
|
|
|
%doc LICENSE
|
2017-04-27 01:12:19 +02:00
|
|
|
%config /etc/xdg/autostart/qvm-start-gui.desktop
|
2017-05-11 20:22:51 +02:00
|
|
|
%{_mandir}/man1/qvm-*.1*
|
|
|
|
%{_mandir}/man1/qubes*.1*
|
2017-02-27 20:19:00 +01:00
|
|
|
|
|
|
|
%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
|
|
|
|
|