qmgr.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. %{!?version: %define version %(cat version)}
  2. Name: qubes-manager
  3. Version: %{version}
  4. Release: 1%{?dist}
  5. Summary: The Graphical Qubes VM Manager.
  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.7
  14. Requires: qubes-artwork
  15. Requires: pmount
  16. Requires: cryptsetup
  17. Requires: wmctrl
  18. Requires: dbus
  19. BuildRequires: python3-PyQt4-devel
  20. BuildRequires: python3-devel
  21. BuildRequires: qt-devel
  22. AutoReq: 0
  23. %define _builddir %(pwd)
  24. %description
  25. The Graphical Qubes VM Manager.
  26. %build
  27. make ui res translations
  28. make python
  29. %install
  30. make python_install \
  31. DESTDIR=$RPM_BUILD_ROOT
  32. mkdir -p $RPM_BUILD_ROOT/usr/libexec/qubes-manager/
  33. cp qubesmanager/mount_for_backup.sh $RPM_BUILD_ROOT/usr/libexec/qubes-manager/
  34. cp qubesmanager/qvm_about.sh $RPM_BUILD_ROOT/usr/libexec/qubes-manager/
  35. mkdir -p $RPM_BUILD_ROOT/usr/share/applications
  36. cp qubes-global-settings.desktop $RPM_BUILD_ROOT/usr/share/applications/
  37. cp qubes-vm-create.desktop $RPM_BUILD_ROOT/usr/share/applications/
  38. cp qubes-backup.desktop $RPM_BUILD_ROOT/usr/share/applications/
  39. cp qubes-backup-restore.desktop $RPM_BUILD_ROOT/usr/share/applications/
  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-boot-from-device
  52. /usr/bin/qubes-backup
  53. /usr/bin/qubes-backup-restore
  54. /usr/libexec/qubes-manager/mount_for_backup.sh
  55. /usr/libexec/qubes-manager/qvm_about.sh
  56. %dir %{python3_sitelib}/qubesmanager
  57. %{python3_sitelib}/qubesmanager/__pycache__
  58. %{python3_sitelib}/qubesmanager/__init__.py
  59. %{python3_sitelib}/qubesmanager/clipboard.py
  60. %{python3_sitelib}/qubesmanager/block.py
  61. %{python3_sitelib}/qubesmanager/table_widgets.py
  62. %{python3_sitelib}/qubesmanager/appmenu_select.py
  63. %{python3_sitelib}/qubesmanager/backup.py
  64. %{python3_sitelib}/qubesmanager/backup_utils.py
  65. %{python3_sitelib}/qubesmanager/firewall.py
  66. %{python3_sitelib}/qubesmanager/global_settings.py
  67. %{python3_sitelib}/qubesmanager/multiselectwidget.py
  68. %{python3_sitelib}/qubesmanager/restore.py
  69. %{python3_sitelib}/qubesmanager/settings.py
  70. %{python3_sitelib}/qubesmanager/log_dialog.py
  71. %{python3_sitelib}/qubesmanager/about.py
  72. %{python3_sitelib}/qubesmanager/releasenotes.py
  73. %{python3_sitelib}/qubesmanager/informationnotes.py
  74. %{python3_sitelib}/qubesmanager/create_new_vm.py
  75. %{python3_sitelib}/qubesmanager/thread_monitor.py
  76. %{python3_sitelib}/qubesmanager/utils.py
  77. %{python3_sitelib}/qubesmanager/bootfromdevice.py
  78. %{python3_sitelib}/qubesmanager/resources_rc.py
  79. %{python3_sitelib}/qubesmanager/ui_backupdlg.py
  80. %{python3_sitelib}/qubesmanager/ui_bootfromdevice.py
  81. %{python3_sitelib}/qubesmanager/ui_globalsettingsdlg.py
  82. %{python3_sitelib}/qubesmanager/ui_multiselectwidget.py
  83. %{python3_sitelib}/qubesmanager/ui_newappvmdlg.py
  84. %{python3_sitelib}/qubesmanager/ui_newfwruledlg.py
  85. %{python3_sitelib}/qubesmanager/ui_restoredlg.py
  86. %{python3_sitelib}/qubesmanager/ui_settingsdlg.py
  87. %{python3_sitelib}/qubesmanager/ui_logdlg.py
  88. %{python3_sitelib}/qubesmanager/ui_about.py
  89. %{python3_sitelib}/qubesmanager/ui_releasenotes.py
  90. %{python3_sitelib}/qubesmanager/ui_informationnotes.py
  91. %{python3_sitelib}/qubesmanager/i18n/qubesmanager_*.qm
  92. %{python3_sitelib}/qubesmanager/i18n/qubesmanager_*.ts
  93. %dir %{python3_sitelib}/qubesmanager-*.egg-info
  94. %{python3_sitelib}/qubesmanager-*.egg-info/*
  95. /usr/share/applications/qubes-global-settings.desktop
  96. /usr/share/applications/qubes-vm-create.desktop
  97. /usr/share/applications/qubes-backup.desktop
  98. /usr/share/applications/qubes-backup-restore.desktop