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

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