qmgr.spec.in 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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.13
  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. Source0: %{name}-%{version}.tar.gz
  24. %description
  25. The Graphical Qubes VM Manager.
  26. %prep
  27. %setup -q
  28. %build
  29. make ui res translations
  30. make python
  31. %install
  32. make python_install \
  33. DESTDIR=$RPM_BUILD_ROOT
  34. mkdir -p $RPM_BUILD_ROOT/usr/libexec/qubes-manager/
  35. cp qubesmanager/mount_for_backup.sh $RPM_BUILD_ROOT/usr/libexec/qubes-manager/
  36. cp qubesmanager/qvm_about.sh $RPM_BUILD_ROOT/usr/libexec/qubes-manager/
  37. mkdir -p $RPM_BUILD_ROOT/usr/share/applications
  38. cp qubes-global-settings.desktop $RPM_BUILD_ROOT/usr/share/applications/
  39. cp qubes-vm-create.desktop $RPM_BUILD_ROOT/usr/share/applications/
  40. cp qubes-backup.desktop $RPM_BUILD_ROOT/usr/share/applications/
  41. cp qubes-backup-restore.desktop $RPM_BUILD_ROOT/usr/share/applications/
  42. cp qubes-qube-manager.desktop $RPM_BUILD_ROOT/usr/share/applications/
  43. %post
  44. update-desktop-database &> /dev/null || :
  45. %postun
  46. update-desktop-database &> /dev/null || :
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %files
  50. %defattr(-,root,root,-)
  51. /usr/bin/qubes-global-settings
  52. /usr/bin/qubes-vm-settings
  53. /usr/bin/qubes-vm-create
  54. /usr/bin/qubes-vm-boot-from-device
  55. /usr/bin/qubes-backup
  56. /usr/bin/qubes-backup-restore
  57. /usr/bin/qubes-qube-manager
  58. /usr/libexec/qubes-manager/mount_for_backup.sh
  59. /usr/libexec/qubes-manager/qvm_about.sh
  60. %dir %{python3_sitelib}/qubesmanager
  61. %{python3_sitelib}/qubesmanager/__pycache__
  62. %{python3_sitelib}/qubesmanager/__init__.py
  63. %{python3_sitelib}/qubesmanager/clipboard.py
  64. %{python3_sitelib}/qubesmanager/block.py
  65. %{python3_sitelib}/qubesmanager/table_widgets.py
  66. %{python3_sitelib}/qubesmanager/appmenu_select.py
  67. %{python3_sitelib}/qubesmanager/backup.py
  68. %{python3_sitelib}/qubesmanager/backup_utils.py
  69. %{python3_sitelib}/qubesmanager/firewall.py
  70. %{python3_sitelib}/qubesmanager/global_settings.py
  71. %{python3_sitelib}/qubesmanager/multiselectwidget.py
  72. %{python3_sitelib}/qubesmanager/restore.py
  73. %{python3_sitelib}/qubesmanager/settings.py
  74. %{python3_sitelib}/qubesmanager/log_dialog.py
  75. %{python3_sitelib}/qubesmanager/about.py
  76. %{python3_sitelib}/qubesmanager/releasenotes.py
  77. %{python3_sitelib}/qubesmanager/informationnotes.py
  78. %{python3_sitelib}/qubesmanager/create_new_vm.py
  79. %{python3_sitelib}/qubesmanager/thread_monitor.py
  80. %{python3_sitelib}/qubesmanager/qube_manager.py
  81. %{python3_sitelib}/qubesmanager/utils.py
  82. %{python3_sitelib}/qubesmanager/bootfromdevice.py
  83. %{python3_sitelib}/qubesmanager/device_list.py
  84. %{python3_sitelib}/qubesmanager/resources_rc.py
  85. %{python3_sitelib}/qubesmanager/ui_backupdlg.py
  86. %{python3_sitelib}/qubesmanager/ui_bootfromdevice.py
  87. %{python3_sitelib}/qubesmanager/ui_globalsettingsdlg.py
  88. %{python3_sitelib}/qubesmanager/ui_multiselectwidget.py
  89. %{python3_sitelib}/qubesmanager/ui_newappvmdlg.py
  90. %{python3_sitelib}/qubesmanager/ui_newfwruledlg.py
  91. %{python3_sitelib}/qubesmanager/ui_restoredlg.py
  92. %{python3_sitelib}/qubesmanager/ui_settingsdlg.py
  93. %{python3_sitelib}/qubesmanager/ui_logdlg.py
  94. %{python3_sitelib}/qubesmanager/ui_about.py
  95. %{python3_sitelib}/qubesmanager/ui_releasenotes.py
  96. %{python3_sitelib}/qubesmanager/ui_informationnotes.py
  97. %{python3_sitelib}/qubesmanager/ui_qubemanager.py
  98. %{python3_sitelib}/qubesmanager/ui_devicelist.py
  99. %{python3_sitelib}/qubesmanager/i18n/qubesmanager_*.qm
  100. %{python3_sitelib}/qubesmanager/i18n/qubesmanager_*.ts
  101. %dir %{python3_sitelib}/qubesmanager-*.egg-info
  102. %{python3_sitelib}/qubesmanager-*.egg-info/*
  103. /usr/share/applications/qubes-global-settings.desktop
  104. /usr/share/applications/qubes-vm-create.desktop
  105. /usr/share/applications/qubes-backup.desktop
  106. /usr/share/applications/qubes-backup-restore.desktop
  107. /usr/share/applications/qubes-qube-manager.desktop
  108. %changelog
  109. @CHANGELOG@