qmgr.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. %post
  39. update-desktop-database &> /dev/null || :
  40. %postun
  41. update-desktop-database &> /dev/null || :
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %files
  45. %defattr(-,root,root,-)
  46. /usr/bin/qubes-global-settings
  47. /usr/bin/qubes-vm-settings
  48. /usr/bin/qubes-vm-create
  49. /usr/bin/qubes-vm-boot-from-device
  50. /usr/libexec/qubes-manager/mount_for_backup.sh
  51. /usr/libexec/qubes-manager/qvm_about.sh
  52. %dir %{python3_sitelib}/qubesmanager
  53. %{python3_sitelib}/qubesmanager/__pycache__
  54. %{python3_sitelib}/qubesmanager/__init__.py
  55. %{python3_sitelib}/qubesmanager/clipboard.py
  56. %{python3_sitelib}/qubesmanager/block.py
  57. %{python3_sitelib}/qubesmanager/table_widgets.py
  58. %{python3_sitelib}/qubesmanager/appmenu_select.py
  59. %{python3_sitelib}/qubesmanager/backup.py
  60. %{python3_sitelib}/qubesmanager/backup_utils.py
  61. %{python3_sitelib}/qubesmanager/firewall.py
  62. %{python3_sitelib}/qubesmanager/global_settings.py
  63. %{python3_sitelib}/qubesmanager/multiselectwidget.py
  64. %{python3_sitelib}/qubesmanager/restore.py
  65. %{python3_sitelib}/qubesmanager/settings.py
  66. %{python3_sitelib}/qubesmanager/log_dialog.py
  67. %{python3_sitelib}/qubesmanager/about.py
  68. %{python3_sitelib}/qubesmanager/releasenotes.py
  69. %{python3_sitelib}/qubesmanager/informationnotes.py
  70. %{python3_sitelib}/qubesmanager/create_new_vm.py
  71. %{python3_sitelib}/qubesmanager/thread_monitor.py
  72. %{python3_sitelib}/qubesmanager/utils.py
  73. %{python3_sitelib}/qubesmanager/bootfromdevice.py
  74. %{python3_sitelib}/qubesmanager/resources_rc.py
  75. %{python3_sitelib}/qubesmanager/ui_backupdlg.py
  76. %{python3_sitelib}/qubesmanager/ui_bootfromdevice.py
  77. %{python3_sitelib}/qubesmanager/ui_globalsettingsdlg.py
  78. %{python3_sitelib}/qubesmanager/ui_multiselectwidget.py
  79. %{python3_sitelib}/qubesmanager/ui_newappvmdlg.py
  80. %{python3_sitelib}/qubesmanager/ui_newfwruledlg.py
  81. %{python3_sitelib}/qubesmanager/ui_restoredlg.py
  82. %{python3_sitelib}/qubesmanager/ui_settingsdlg.py
  83. %{python3_sitelib}/qubesmanager/ui_logdlg.py
  84. %{python3_sitelib}/qubesmanager/ui_about.py
  85. %{python3_sitelib}/qubesmanager/ui_releasenotes.py
  86. %{python3_sitelib}/qubesmanager/ui_informationnotes.py
  87. %{python3_sitelib}/qubesmanager/i18n/qubesmanager_*.qm
  88. %{python3_sitelib}/qubesmanager/i18n/qubesmanager_*.ts
  89. %dir %{python3_sitelib}/qubesmanager-*.egg-info
  90. %{python3_sitelib}/qubesmanager-*.egg-info/*
  91. /usr/share/applications/qubes-global-settings.desktop
  92. /usr/share/applications/qubes-vm-create.desktop