qmgr.spec.in 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. Name: qubes-manager
  2. Version: @VERSION@
  3. Release: 1%{?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.1
  14. Requires: python%{python3_pkgversion}-Quamash
  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%{?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
  36. make python
  37. %install
  38. make python_install \
  39. DESTDIR=$RPM_BUILD_ROOT
  40. mkdir -p $RPM_BUILD_ROOT/usr/libexec/qubes-manager/
  41. cp qubesmanager/mount_for_backup.sh $RPM_BUILD_ROOT/usr/libexec/qubes-manager/
  42. cp qubesmanager/qvm_about.sh $RPM_BUILD_ROOT/usr/libexec/qubes-manager/
  43. cp qubesmanager/dsa-4371-update $RPM_BUILD_ROOT/usr/libexec/qubes-manager/
  44. mkdir -p $RPM_BUILD_ROOT/usr/share/applications
  45. cp qubes-global-settings.desktop $RPM_BUILD_ROOT/usr/share/applications/
  46. cp qubes-vm-create.desktop $RPM_BUILD_ROOT/usr/share/applications/
  47. cp qubes-backup.desktop $RPM_BUILD_ROOT/usr/share/applications/
  48. cp qubes-backup-restore.desktop $RPM_BUILD_ROOT/usr/share/applications/
  49. cp qubes-qube-manager.desktop $RPM_BUILD_ROOT/usr/share/applications/
  50. cp qubes-template-manager.desktop $RPM_BUILD_ROOT/usr/share/applications/
  51. mkdir -p $RPM_BUILD_ROOT/usr/share/desktop-directories/
  52. cp qubes-tools.directory $RPM_BUILD_ROOT/usr/share/desktop-directories/
  53. mkdir -p $RPM_BUILD_ROOT/etc/xdg/menus/applications-merged/
  54. cp qubes-tools.menu $RPM_BUILD_ROOT/etc/xdg/menus/applications-merged/
  55. %post
  56. update-desktop-database &> /dev/null || :
  57. %postun
  58. update-desktop-database &> /dev/null || :
  59. %clean
  60. rm -rf $RPM_BUILD_ROOT
  61. %files
  62. %defattr(-,root,root,-)
  63. /usr/bin/qubes-global-settings
  64. /usr/bin/qubes-vm-settings
  65. /usr/bin/qubes-vm-create
  66. /usr/bin/qubes-vm-boot-from-device
  67. /usr/bin/qubes-backup
  68. /usr/bin/qubes-backup-restore
  69. /usr/bin/qubes-qube-manager
  70. /usr/bin/qubes-log-viewer
  71. /usr/bin/qubes-template-manager
  72. /usr/libexec/qubes-manager/mount_for_backup.sh
  73. /usr/libexec/qubes-manager/qvm_about.sh
  74. /usr/libexec/qubes-manager/dsa-4371-update
  75. %dir %{python3_sitelib}/qubesmanager
  76. %{python3_sitelib}/qubesmanager/__pycache__
  77. %{python3_sitelib}/qubesmanager/__init__.py
  78. %{python3_sitelib}/qubesmanager/clipboard.py
  79. %{python3_sitelib}/qubesmanager/table_widgets.py
  80. %{python3_sitelib}/qubesmanager/appmenu_select.py
  81. %{python3_sitelib}/qubesmanager/backup.py
  82. %{python3_sitelib}/qubesmanager/backup_utils.py
  83. %{python3_sitelib}/qubesmanager/firewall.py
  84. %{python3_sitelib}/qubesmanager/global_settings.py
  85. %{python3_sitelib}/qubesmanager/multiselectwidget.py
  86. %{python3_sitelib}/qubesmanager/restore.py
  87. %{python3_sitelib}/qubesmanager/settings.py
  88. %{python3_sitelib}/qubesmanager/log_dialog.py
  89. %{python3_sitelib}/qubesmanager/about.py
  90. %{python3_sitelib}/qubesmanager/releasenotes.py
  91. %{python3_sitelib}/qubesmanager/informationnotes.py
  92. %{python3_sitelib}/qubesmanager/create_new_vm.py
  93. %{python3_sitelib}/qubesmanager/common_threads.py
  94. %{python3_sitelib}/qubesmanager/qube_manager.py
  95. %{python3_sitelib}/qubesmanager/utils.py
  96. %{python3_sitelib}/qubesmanager/bootfromdevice.py
  97. %{python3_sitelib}/qubesmanager/device_list.py
  98. %{python3_sitelib}/qubesmanager/template_manager.py
  99. %{python3_sitelib}/qubesmanager/resources_rc.py
  100. %{python3_sitelib}/qubesmanager/ui_backupdlg.py
  101. %{python3_sitelib}/qubesmanager/ui_bootfromdevice.py
  102. %{python3_sitelib}/qubesmanager/ui_globalsettingsdlg.py
  103. %{python3_sitelib}/qubesmanager/ui_multiselectwidget.py
  104. %{python3_sitelib}/qubesmanager/ui_newappvmdlg.py
  105. %{python3_sitelib}/qubesmanager/ui_newfwruledlg.py
  106. %{python3_sitelib}/qubesmanager/ui_restoredlg.py
  107. %{python3_sitelib}/qubesmanager/ui_settingsdlg.py
  108. %{python3_sitelib}/qubesmanager/ui_logdlg.py
  109. %{python3_sitelib}/qubesmanager/ui_about.py
  110. %{python3_sitelib}/qubesmanager/ui_releasenotes.py
  111. %{python3_sitelib}/qubesmanager/ui_informationnotes.py
  112. %{python3_sitelib}/qubesmanager/ui_qubemanager.py
  113. %{python3_sitelib}/qubesmanager/ui_devicelist.py
  114. %{python3_sitelib}/qubesmanager/ui_templatemanager.py
  115. %{python3_sitelib}/qubesmanager/i18n/qubesmanager_*.qm
  116. %{python3_sitelib}/qubesmanager/i18n/qubesmanager_*.ts
  117. %{python3_sitelib}/qubesmanager/tests/__pycache__
  118. %{python3_sitelib}/qubesmanager/tests/__init__.py
  119. %{python3_sitelib}/qubesmanager/tests/test_backup.py
  120. %{python3_sitelib}/qubesmanager/tests/test_backup_utils.py
  121. %{python3_sitelib}/qubesmanager/tests/test_global_settings.py
  122. %{python3_sitelib}/qubesmanager/tests/test_qube_manager.py
  123. %{python3_sitelib}/qubesmanager/tests/test_create_new_vm.py
  124. %{python3_sitelib}/qubesmanager/tests/test_vm_settings.py
  125. %dir %{python3_sitelib}/qubesmanager-*.egg-info
  126. %{python3_sitelib}/qubesmanager-*.egg-info/*
  127. /usr/share/applications/qubes-global-settings.desktop
  128. /usr/share/applications/qubes-vm-create.desktop
  129. /usr/share/applications/qubes-backup.desktop
  130. /usr/share/applications/qubes-backup-restore.desktop
  131. /usr/share/applications/qubes-qube-manager.desktop
  132. /usr/share/applications/qubes-template-manager.desktop
  133. /usr/share/desktop-directories/qubes-tools.directory
  134. /etc/xdg/menus/applications-merged/qubes-tools.menu
  135. %changelog
  136. @CHANGELOG@