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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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: qubes-repo-templates
  17. Requires: scrypt
  18. BuildArch: noarch
  19. Source0: %{name}-%{version}.tar.gz
  20. Conflicts: qubes-core-agent < 4.1.9
  21. # qubes-guid -C option
  22. Conflicts: qubes-gui-daemon < 4.1.7
  23. %description
  24. This package include managemt tools, like qvm-*.
  25. %package -n python%{python3_pkgversion}-qubesadmin
  26. Summary: Python%{python3_pkgversion} module qubesadmin
  27. Requires: python%{python3_pkgversion}-daemon
  28. Requires: python%{python3_pkgversion}-docutils
  29. Requires: python%{python3_pkgversion}-lxml
  30. Requires: python%{python3_pkgversion}-xcffib
  31. Conflicts: qubes-core-dom0 < 4.1.12
  32. Conflicts: qubes-manager < 4.0.6
  33. %description -n python%{python3_pkgversion}-qubesadmin
  34. Python3 module qubesadmin.
  35. %prep
  36. %setup -q
  37. %build
  38. make -C doc PYTHON=%{__python3} SPHINXBUILD=sphinx-build-%{python3_version} man
  39. %install
  40. rm -rf build
  41. %make_install PYTHON=%{__python3}
  42. make -C doc DESTDIR=$RPM_BUILD_ROOT \
  43. PYTHON=%{__python3} SPHINXBUILD=sphinx-build-%{python3_version} \
  44. install
  45. %files
  46. %defattr(-,root,root,-)
  47. %doc LICENSE
  48. %config /etc/xdg/autostart/qvm-start-daemon.desktop
  49. %config /etc/xdg/autostart/qvm-start-daemon-kde.desktop
  50. %{_bindir}/qubes-*
  51. %{_bindir}/qvm-*
  52. %{_mandir}/man1/qvm-*.1*
  53. %{_mandir}/man1/qubes*.1*
  54. %files -n python%{python3_pkgversion}-qubesadmin
  55. %{python3_sitelib}/qubesadmin-*egg-info
  56. %{python3_sitelib}/qubesadmin
  57. %changelog
  58. @CHANGELOG@