qubes-core-admin-client.spec.in 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. Name: qubes-core-admin-client
  2. Version: @VERSION@
  3. Release: 1%{?dist}
  4. Summary: Qubes OS admin client tools
  5. Group: Qubes
  6. License: LGPLv2.1+
  7. URL: https://www.qubes-os.org
  8. BuildRequires: python%{python3_pkgversion}-setuptools
  9. BuildRequires: python%{python3_pkgversion}-devel
  10. BuildRequires: python%{python3_pkgversion}-sphinx
  11. BuildRequires: python%{python3_pkgversion}-dbus
  12. BuildRequires: python%{python3_pkgversion}-lxml
  13. BuildRequires: python%{python3_pkgversion}-xcffib
  14. Requires: python%{python3_pkgversion}-qubesadmin
  15. Requires: python%{python3_pkgversion}-yaml
  16. Requires: scrypt
  17. BuildArch: noarch
  18. Source0: %{name}-%{version}.tar.gz
  19. Conflicts: qubes-core-agent < 4.1.9
  20. # qubes-guid -C option
  21. Conflicts: qubes-gui-daemon < 4.1.7
  22. %description
  23. This package include managemt tools, like qvm-*.
  24. %package -n python%{python3_pkgversion}-qubesadmin
  25. Summary: Python%{python3_pkgversion} module qubesadmin
  26. Requires: python%{python3_pkgversion}-daemon
  27. Requires: python%{python3_pkgversion}-docutils
  28. Requires: python%{python3_pkgversion}-lxml
  29. Requires: python%{python3_pkgversion}-xcffib
  30. Conflicts: qubes-core-dom0 < 4.1.12
  31. Conflicts: qubes-manager < 4.0.6
  32. %description -n python%{python3_pkgversion}-qubesadmin
  33. Python3 module qubesadmin.
  34. %prep
  35. %setup -q
  36. %build
  37. make -C doc PYTHON=%{__python3} SPHINXBUILD=sphinx-build-%{python3_version} man
  38. %install
  39. rm -rf build
  40. %make_install PYTHON=%{__python3}
  41. make -C doc DESTDIR=$RPM_BUILD_ROOT \
  42. PYTHON=%{__python3} SPHINXBUILD=sphinx-build-%{python3_version} \
  43. install
  44. %files
  45. %defattr(-,root,root,-)
  46. %doc LICENSE
  47. %config /etc/xdg/autostart/qvm-start-daemon.desktop
  48. %config /etc/xdg/autostart/qvm-start-daemon-kde.desktop
  49. %{_bindir}/qubes-*
  50. %{_bindir}/qvm-*
  51. %{_mandir}/man1/qvm-*.1*
  52. %{_mandir}/man1/qubes*.1*
  53. %files -n python%{python3_pkgversion}-qubesadmin
  54. %{python3_sitelib}/qubesadmin-*egg-info
  55. %{python3_sitelib}/qubesadmin
  56. %changelog
  57. @CHANGELOG@