qubes-core-mgmt-client.spec 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. Name: qubes-core-mgmt-client
  2. Version: %(cat version)
  3. Release: 0.1%{?dist}
  4. Summary: Qubes OS management client tools
  5. Group: Qubes
  6. License: LGPLv2.1+
  7. URL: https://www.qubes-os.org
  8. BuildRequires: python2-setuptools
  9. BuildRequires: python3-setuptools
  10. BuildRequires: python2-devel
  11. BuildRequires: python3-devel
  12. Requires: python3-qubesmgmt
  13. BuildArch: noarch
  14. %if 0%{?qubes_builder}
  15. %define _builddir %(pwd)
  16. %endif
  17. %description
  18. This package include managemt tools, like qvm-*.
  19. %package -n python2-qubesmgmt
  20. Summary: Python2 module qubesmgmt
  21. Requires: python2-daemon
  22. %description -n python2-qubesmgmt
  23. Python2 module qubesmgmt.
  24. %package -n python3-qubesmgmt
  25. Summary: Python3 module qubesmgmt
  26. Requires: python3-daemon
  27. %description -n python3-qubesmgmt
  28. Python3 module qubesmgmt.
  29. %prep
  30. %if !0%{?qubes_builder}
  31. %setup -q
  32. %endif
  33. %build
  34. %install
  35. rm -rf build
  36. %make_install PYTHON=%{__python2}
  37. rm -rf build
  38. %make_install PYTHON=%{__python3}
  39. %files
  40. %doc LICENSE
  41. %config /etc/xdg/autostart/qvm-start-gui.desktop
  42. %files -n python2-qubesmgmt
  43. %{python_sitelib}/qubesmgmt-*egg-info
  44. %{python_sitelib}/qubesmgmt
  45. %files -n python3-qubesmgmt
  46. %{python3_sitelib}/qubesmgmt-*egg-info
  47. %{python3_sitelib}/qubesmgmt
  48. %changelog