qmgr.spec.in 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. Name: qubes-manager
  2. Version: @VERSION@
  3. Release: @REL@%{?dist}
  4. Summary: The Graphical Qubes VM Manager.
  5. BuildArch: noarch
  6. Group: Qubes
  7. Vendor: Invisible Things Lab
  8. License: GPL
  9. URL: https://www.qubes-os.org
  10. Requires: python%{python3_pkgversion}
  11. Requires: python%{python3_pkgversion}-PyQt5
  12. Requires: python%{python3_pkgversion}-inotify
  13. Requires: python%{python3_pkgversion}-qubesadmin >= 4.1.8
  14. Requires: python%{python3_pkgversion}-qasync
  15. Requires: qubes-desktop-linux-common >= 4.1.2
  16. Requires: qubes-artwork
  17. Requires: pmount
  18. Requires: cryptsetup
  19. Requires: wmctrl
  20. BuildRequires: python%{python3_pkgversion}-PyQt5-devel
  21. BuildRequires: python%{python3_pkgversion}-devel
  22. %if 0%{?fedora} >= 33 || 0%{?rhel} >= 7
  23. BuildRequires: qt5-qtbase-devel
  24. %else
  25. BuildRequires: qt5-devel
  26. %endif
  27. BuildRequires: qt5-linguist
  28. AutoReq: 0
  29. Source0: %{name}-%{version}.tar.gz
  30. %description
  31. The Graphical Qubes VM Manager.
  32. %prep
  33. %setup -q
  34. %build
  35. make ui res translations PYTHON=%{__python3}
  36. make python PYTHON=%{__python3}
  37. %install
  38. make python_install DESTDIR=$RPM_BUILD_ROOT PYTHON=%{__python3}
  39. make install DESTDIR=$RPM_BUILD_ROOT PYTHON=%{__python3}
  40. %post
  41. update-desktop-database &> /dev/null || :
  42. %postun
  43. update-desktop-database &> /dev/null || :
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %files
  47. %defattr(-,root,root,-)
  48. /usr/bin/qubes-global-settings
  49. /usr/bin/qubes-vm-settings
  50. /usr/bin/qubes-vm-create
  51. /usr/bin/qubes-vm-clone
  52. /usr/bin/qubes-vm-boot-from-device
  53. /usr/bin/qubes-backup
  54. /usr/bin/qubes-backup-restore
  55. /usr/bin/qubes-qube-manager
  56. /usr/bin/qubes-log-viewer
  57. /usr/bin/qubes-template-manager
  58. /usr/libexec/qubes-manager/mount_for_backup.sh
  59. /usr/libexec/qubes-manager/qvm_about.sh
  60. /usr/libexec/qubes-manager/dsa-4371-update
  61. %dir %{python3_sitelib}/qubesmanager
  62. %{python3_sitelib}/qubesmanager/__pycache__
  63. %{python3_sitelib}/qubesmanager/__init__.py
  64. %{python3_sitelib}/qubesmanager/clipboard.py
  65. %{python3_sitelib}/qubesmanager/appmenu_select.py
  66. %{python3_sitelib}/qubesmanager/backup.py
  67. %{python3_sitelib}/qubesmanager/backup_utils.py
  68. %{python3_sitelib}/qubesmanager/firewall.py
  69. %{python3_sitelib}/qubesmanager/global_settings.py
  70. %{python3_sitelib}/qubesmanager/multiselectwidget.py
  71. %{python3_sitelib}/qubesmanager/restore.py
  72. %{python3_sitelib}/qubesmanager/settings.py
  73. %{python3_sitelib}/qubesmanager/log_dialog.py
  74. %{python3_sitelib}/qubesmanager/about.py
  75. %{python3_sitelib}/qubesmanager/releasenotes.py
  76. %{python3_sitelib}/qubesmanager/informationnotes.py
  77. %{python3_sitelib}/qubesmanager/create_new_vm.py
  78. %{python3_sitelib}/qubesmanager/clone_vm.py
  79. %{python3_sitelib}/qubesmanager/common_threads.py
  80. %{python3_sitelib}/qubesmanager/qube_manager.py
  81. %{python3_sitelib}/qubesmanager/utils.py
  82. %{python3_sitelib}/qubesmanager/bootfromdevice.py
  83. %{python3_sitelib}/qubesmanager/device_list.py
  84. %{python3_sitelib}/qubesmanager/template_manager.py
  85. %{python3_sitelib}/qubesmanager/resources_rc.py
  86. %{python3_sitelib}/qubesmanager/ui_backupdlg.py
  87. %{python3_sitelib}/qubesmanager/ui_bootfromdevice.py
  88. %{python3_sitelib}/qubesmanager/ui_globalsettingsdlg.py
  89. %{python3_sitelib}/qubesmanager/ui_multiselectwidget.py
  90. %{python3_sitelib}/qubesmanager/ui_newappvmdlg.py
  91. %{python3_sitelib}/qubesmanager/ui_newfwruledlg.py
  92. %{python3_sitelib}/qubesmanager/ui_restoredlg.py
  93. %{python3_sitelib}/qubesmanager/ui_settingsdlg.py
  94. %{python3_sitelib}/qubesmanager/ui_logdlg.py
  95. %{python3_sitelib}/qubesmanager/ui_about.py
  96. %{python3_sitelib}/qubesmanager/ui_releasenotes.py
  97. %{python3_sitelib}/qubesmanager/ui_informationnotes.py
  98. %{python3_sitelib}/qubesmanager/ui_qubemanager.py
  99. %{python3_sitelib}/qubesmanager/ui_devicelist.py
  100. %{python3_sitelib}/qubesmanager/ui_templatemanager.py
  101. %{python3_sitelib}/qubesmanager/ui_clonevmdlg.py
  102. %{python3_sitelib}/qubesmanager/i18n/qubesmanager_*.qm
  103. %{python3_sitelib}/qubesmanager/i18n/qubesmanager_*.ts
  104. %{python3_sitelib}/qubesmanager/tests/__pycache__
  105. %{python3_sitelib}/qubesmanager/tests/__init__.py
  106. %{python3_sitelib}/qubesmanager/tests/test_backup.py
  107. %{python3_sitelib}/qubesmanager/tests/test_backup_utils.py
  108. %{python3_sitelib}/qubesmanager/tests/test_global_settings.py
  109. %{python3_sitelib}/qubesmanager/tests/test_qube_manager.py
  110. %{python3_sitelib}/qubesmanager/tests/test_create_new_vm.py
  111. %{python3_sitelib}/qubesmanager/tests/test_vm_settings.py
  112. %{python3_sitelib}/qubesmanager/tests/test_clone_vm.py
  113. %dir %{python3_sitelib}/qubesmanager-*.egg-info
  114. %{python3_sitelib}/qubesmanager-*.egg-info/*
  115. /usr/share/applications/qubes-global-settings.desktop
  116. /usr/share/applications/qubes-vm-create.desktop
  117. /usr/share/applications/qubes-backup.desktop
  118. /usr/share/applications/qubes-backup-restore.desktop
  119. /usr/share/applications/qubes-qube-manager.desktop
  120. /usr/share/applications/qubes-template-manager.desktop
  121. /usr/share/desktop-directories/qubes-tools.directory
  122. /etc/xdg/menus/applications-merged/qubes-tools.menu
  123. %changelog
  124. @CHANGELOG@