qmgr.spec.in 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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: http://fixme
  10. Requires: python3
  11. Requires: python3-PyQt4
  12. Requires: python3-inotify
  13. Requires: python3-qubesadmin >= 4.0.19
  14. Requires: python3-Quamash
  15. Requires: qubes-desktop-linux-common >= 4.0.16
  16. Requires: qubes-artwork
  17. Requires: pmount
  18. Requires: cryptsetup
  19. Requires: wmctrl
  20. BuildRequires: python3-PyQt4-devel
  21. BuildRequires: python3-devel
  22. BuildRequires: qt-devel
  23. AutoReq: 0
  24. Source0: %{name}-%{version}.tar.gz
  25. %description
  26. The Graphical Qubes VM Manager.
  27. %prep
  28. %setup -q
  29. %build
  30. make ui res translations
  31. make python
  32. %install
  33. make python_install \
  34. DESTDIR=$RPM_BUILD_ROOT
  35. mkdir -p $RPM_BUILD_ROOT/usr/libexec/qubes-manager/
  36. cp qubesmanager/mount_for_backup.sh $RPM_BUILD_ROOT/usr/libexec/qubes-manager/
  37. cp qubesmanager/qvm_about.sh $RPM_BUILD_ROOT/usr/libexec/qubes-manager/
  38. mkdir -p $RPM_BUILD_ROOT/usr/share/applications
  39. cp qubes-global-settings.desktop $RPM_BUILD_ROOT/usr/share/applications/
  40. cp qubes-vm-create.desktop $RPM_BUILD_ROOT/usr/share/applications/
  41. cp qubes-backup.desktop $RPM_BUILD_ROOT/usr/share/applications/
  42. cp qubes-backup-restore.desktop $RPM_BUILD_ROOT/usr/share/applications/
  43. cp qubes-qube-manager.desktop $RPM_BUILD_ROOT/usr/share/applications/
  44. cp qubes-template-manager.desktop $RPM_BUILD_ROOT/usr/share/applications/
  45. %post
  46. update-desktop-database &> /dev/null || :
  47. %postun
  48. update-desktop-database &> /dev/null || :
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %files
  52. %defattr(-,root,root,-)
  53. /usr/bin/qubes-global-settings
  54. /usr/bin/qubes-vm-settings
  55. /usr/bin/qubes-vm-create
  56. /usr/bin/qubes-vm-boot-from-device
  57. /usr/bin/qubes-backup
  58. /usr/bin/qubes-backup-restore
  59. /usr/bin/qubes-qube-manager
  60. /usr/bin/qubes-log-viewer
  61. /usr/bin/qubes-template-manager
  62. /usr/libexec/qubes-manager/mount_for_backup.sh
  63. /usr/libexec/qubes-manager/qvm_about.sh
  64. %dir %{python3_sitelib}/qubesmanager
  65. %{python3_sitelib}/qubesmanager/__pycache__
  66. %{python3_sitelib}/qubesmanager/__init__.py
  67. %{python3_sitelib}/qubesmanager/clipboard.py
  68. %{python3_sitelib}/qubesmanager/block.py
  69. %{python3_sitelib}/qubesmanager/table_widgets.py
  70. %{python3_sitelib}/qubesmanager/appmenu_select.py
  71. %{python3_sitelib}/qubesmanager/backup.py
  72. %{python3_sitelib}/qubesmanager/backup_utils.py
  73. %{python3_sitelib}/qubesmanager/firewall.py
  74. %{python3_sitelib}/qubesmanager/global_settings.py
  75. %{python3_sitelib}/qubesmanager/multiselectwidget.py
  76. %{python3_sitelib}/qubesmanager/restore.py
  77. %{python3_sitelib}/qubesmanager/settings.py
  78. %{python3_sitelib}/qubesmanager/log_dialog.py
  79. %{python3_sitelib}/qubesmanager/about.py
  80. %{python3_sitelib}/qubesmanager/releasenotes.py
  81. %{python3_sitelib}/qubesmanager/informationnotes.py
  82. %{python3_sitelib}/qubesmanager/create_new_vm.py
  83. %{python3_sitelib}/qubesmanager/common_threads.py
  84. %{python3_sitelib}/qubesmanager/qube_manager.py
  85. %{python3_sitelib}/qubesmanager/utils.py
  86. %{python3_sitelib}/qubesmanager/bootfromdevice.py
  87. %{python3_sitelib}/qubesmanager/device_list.py
  88. %{python3_sitelib}/qubesmanager/template_manager.py
  89. %{python3_sitelib}/qubesmanager/resources_rc.py
  90. %{python3_sitelib}/qubesmanager/ui_backupdlg.py
  91. %{python3_sitelib}/qubesmanager/ui_bootfromdevice.py
  92. %{python3_sitelib}/qubesmanager/ui_globalsettingsdlg.py
  93. %{python3_sitelib}/qubesmanager/ui_multiselectwidget.py
  94. %{python3_sitelib}/qubesmanager/ui_newappvmdlg.py
  95. %{python3_sitelib}/qubesmanager/ui_newfwruledlg.py
  96. %{python3_sitelib}/qubesmanager/ui_restoredlg.py
  97. %{python3_sitelib}/qubesmanager/ui_settingsdlg.py
  98. %{python3_sitelib}/qubesmanager/ui_logdlg.py
  99. %{python3_sitelib}/qubesmanager/ui_about.py
  100. %{python3_sitelib}/qubesmanager/ui_releasenotes.py
  101. %{python3_sitelib}/qubesmanager/ui_informationnotes.py
  102. %{python3_sitelib}/qubesmanager/ui_qubemanager.py
  103. %{python3_sitelib}/qubesmanager/ui_devicelist.py
  104. %{python3_sitelib}/qubesmanager/ui_templatemanager.py
  105. %{python3_sitelib}/qubesmanager/i18n/qubesmanager_*.qm
  106. %{python3_sitelib}/qubesmanager/i18n/qubesmanager_*.ts
  107. %{python3_sitelib}/qubesmanager/tests/__pycache__
  108. %{python3_sitelib}/qubesmanager/tests/__init__.py
  109. %{python3_sitelib}/qubesmanager/tests/test_backup_01.py
  110. %{python3_sitelib}/qubesmanager/tests/test_global_settings.py
  111. %{python3_sitelib}/qubesmanager/tests/test_qube_manager.py
  112. %dir %{python3_sitelib}/qubesmanager-*.egg-info
  113. %{python3_sitelib}/qubesmanager-*.egg-info/*
  114. /usr/share/applications/qubes-global-settings.desktop
  115. /usr/share/applications/qubes-vm-create.desktop
  116. /usr/share/applications/qubes-backup.desktop
  117. /usr/share/applications/qubes-backup-restore.desktop
  118. /usr/share/applications/qubes-qube-manager.desktop
  119. /usr/share/applications/qubes-template-manager.desktop
  120. %changelog
  121. @CHANGELOG@