qmgr.spec.in 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. %post
  45. update-desktop-database &> /dev/null || :
  46. %postun
  47. update-desktop-database &> /dev/null || :
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %files
  51. %defattr(-,root,root,-)
  52. /usr/bin/qubes-global-settings
  53. /usr/bin/qubes-vm-settings
  54. /usr/bin/qubes-vm-create
  55. /usr/bin/qubes-vm-boot-from-device
  56. /usr/bin/qubes-backup
  57. /usr/bin/qubes-backup-restore
  58. /usr/bin/qubes-qube-manager
  59. /usr/bin/qubes-log-viewer
  60. /usr/libexec/qubes-manager/mount_for_backup.sh
  61. /usr/libexec/qubes-manager/qvm_about.sh
  62. %dir %{python3_sitelib}/qubesmanager
  63. %{python3_sitelib}/qubesmanager/__pycache__
  64. %{python3_sitelib}/qubesmanager/__init__.py
  65. %{python3_sitelib}/qubesmanager/clipboard.py
  66. %{python3_sitelib}/qubesmanager/block.py
  67. %{python3_sitelib}/qubesmanager/table_widgets.py
  68. %{python3_sitelib}/qubesmanager/appmenu_select.py
  69. %{python3_sitelib}/qubesmanager/backup.py
  70. %{python3_sitelib}/qubesmanager/backup_utils.py
  71. %{python3_sitelib}/qubesmanager/firewall.py
  72. %{python3_sitelib}/qubesmanager/global_settings.py
  73. %{python3_sitelib}/qubesmanager/multiselectwidget.py
  74. %{python3_sitelib}/qubesmanager/restore.py
  75. %{python3_sitelib}/qubesmanager/settings.py
  76. %{python3_sitelib}/qubesmanager/log_dialog.py
  77. %{python3_sitelib}/qubesmanager/about.py
  78. %{python3_sitelib}/qubesmanager/releasenotes.py
  79. %{python3_sitelib}/qubesmanager/informationnotes.py
  80. %{python3_sitelib}/qubesmanager/create_new_vm.py
  81. %{python3_sitelib}/qubesmanager/common_threads.py
  82. %{python3_sitelib}/qubesmanager/qube_manager.py
  83. %{python3_sitelib}/qubesmanager/utils.py
  84. %{python3_sitelib}/qubesmanager/bootfromdevice.py
  85. %{python3_sitelib}/qubesmanager/device_list.py
  86. %{python3_sitelib}/qubesmanager/resources_rc.py
  87. %{python3_sitelib}/qubesmanager/ui_backupdlg.py
  88. %{python3_sitelib}/qubesmanager/ui_bootfromdevice.py
  89. %{python3_sitelib}/qubesmanager/ui_globalsettingsdlg.py
  90. %{python3_sitelib}/qubesmanager/ui_multiselectwidget.py
  91. %{python3_sitelib}/qubesmanager/ui_newappvmdlg.py
  92. %{python3_sitelib}/qubesmanager/ui_newfwruledlg.py
  93. %{python3_sitelib}/qubesmanager/ui_restoredlg.py
  94. %{python3_sitelib}/qubesmanager/ui_settingsdlg.py
  95. %{python3_sitelib}/qubesmanager/ui_logdlg.py
  96. %{python3_sitelib}/qubesmanager/ui_about.py
  97. %{python3_sitelib}/qubesmanager/ui_releasenotes.py
  98. %{python3_sitelib}/qubesmanager/ui_informationnotes.py
  99. %{python3_sitelib}/qubesmanager/ui_qubemanager.py
  100. %{python3_sitelib}/qubesmanager/ui_devicelist.py
  101. %{python3_sitelib}/qubesmanager/i18n/qubesmanager_*.qm
  102. %{python3_sitelib}/qubesmanager/i18n/qubesmanager_*.ts
  103. %{python3_sitelib}/qubesmanager/tests/__pycache__
  104. %{python3_sitelib}/qubesmanager/tests/__init__.py
  105. %{python3_sitelib}/qubesmanager/tests/test_backup_01.py
  106. %{python3_sitelib}/qubesmanager/tests/test_global_settings.py
  107. %{python3_sitelib}/qubesmanager/tests/test_qube_manager.py
  108. %dir %{python3_sitelib}/qubesmanager-*.egg-info
  109. %{python3_sitelib}/qubesmanager-*.egg-info/*
  110. /usr/share/applications/qubes-global-settings.desktop
  111. /usr/share/applications/qubes-vm-create.desktop
  112. /usr/share/applications/qubes-backup.desktop
  113. /usr/share/applications/qubes-backup-restore.desktop
  114. /usr/share/applications/qubes-qube-manager.desktop
  115. %changelog
  116. @CHANGELOG@