2010-05-11 16:51:31 +02:00
|
|
|
%{!?version: %define version %(cat version)}
|
|
|
|
|
|
|
|
Name: qubes-manager
|
|
|
|
Version: %{version}
|
2015-11-27 23:22:03 +01:00
|
|
|
Release: 1%{?dist}
|
2010-05-11 16:51:31 +02:00
|
|
|
Summary: The Graphical Qubes VM Manager.
|
|
|
|
|
|
|
|
Group: Qubes
|
|
|
|
Vendor: Invisible Things Lab
|
|
|
|
License: GPL
|
|
|
|
URL: http://fixme
|
2017-06-26 18:06:56 +02:00
|
|
|
Requires: python3
|
|
|
|
Requires: python3-PyQt4
|
|
|
|
Requires: python3-inotify
|
2017-10-08 17:07:06 +02:00
|
|
|
Requires: python3-qubesadmin >= 4.0.7
|
2014-07-09 18:21:56 +02:00
|
|
|
Requires: qubes-artwork
|
2017-06-26 18:06:56 +02:00
|
|
|
Requires: pmount
|
|
|
|
Requires: cryptsetup
|
|
|
|
Requires: wmctrl
|
|
|
|
Requires: dbus
|
2017-06-25 17:32:46 +02:00
|
|
|
BuildRequires: python3-PyQt4-devel
|
2017-06-26 18:06:56 +02:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: qt-devel
|
2010-05-16 06:31:36 +02:00
|
|
|
AutoReq: 0
|
2010-05-11 16:51:31 +02:00
|
|
|
|
|
|
|
%define _builddir %(pwd)
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Graphical Qubes VM Manager.
|
|
|
|
|
2010-05-16 06:31:36 +02:00
|
|
|
%build
|
2017-06-26 16:49:35 +02:00
|
|
|
make ui res translations
|
2017-06-26 17:11:38 +02:00
|
|
|
make python
|
2010-05-11 16:51:31 +02:00
|
|
|
|
2010-05-16 06:31:36 +02:00
|
|
|
%install
|
2017-06-26 17:11:38 +02:00
|
|
|
make python_install \
|
|
|
|
DESTDIR=$RPM_BUILD_ROOT
|
2010-05-11 16:51:31 +02:00
|
|
|
|
2012-03-19 14:22:51 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/libexec/qubes-manager/
|
|
|
|
cp qubesmanager/mount_for_backup.sh $RPM_BUILD_ROOT/usr/libexec/qubes-manager/
|
2017-01-26 21:36:39 +01:00
|
|
|
cp qubesmanager/qvm_about.sh $RPM_BUILD_ROOT/usr/libexec/qubes-manager/
|
2012-03-19 14:22:51 +01:00
|
|
|
|
2010-05-11 16:51:31 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/applications
|
2017-07-16 16:36:36 +02:00
|
|
|
cp qubes-global-settings.desktop $RPM_BUILD_ROOT/usr/share/applications/
|
|
|
|
cp qubes-vm-create.desktop $RPM_BUILD_ROOT/usr/share/applications/
|
2018-01-06 02:32:19 +01:00
|
|
|
cp qubes-backup.desktop $RPM_BUILD_ROOT/usr/share/applications/
|
|
|
|
cp qubes-backup-restore.desktop $RPM_BUILD_ROOT/usr/share/applications/
|
2018-01-12 04:09:25 +01:00
|
|
|
cp qubes-qube-manager.desktop $RPM_BUILD_ROOT/usr/share/applications/
|
2012-07-05 01:10:01 +02:00
|
|
|
|
2010-05-11 16:51:31 +02:00
|
|
|
%post
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
|
|
|
|
%postun
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2017-07-12 15:08:05 +02:00
|
|
|
/usr/bin/qubes-global-settings
|
2012-06-21 11:58:25 +02:00
|
|
|
/usr/bin/qubes-vm-settings
|
2017-07-12 14:10:15 +02:00
|
|
|
/usr/bin/qubes-vm-create
|
2017-09-08 22:43:43 +02:00
|
|
|
/usr/bin/qubes-vm-boot-from-device
|
2017-12-10 21:14:14 +01:00
|
|
|
/usr/bin/qubes-backup
|
|
|
|
/usr/bin/qubes-backup-restore
|
2018-01-08 02:46:41 +01:00
|
|
|
/usr/bin/qubes-qube-manager
|
2012-03-19 14:22:51 +01:00
|
|
|
/usr/libexec/qubes-manager/mount_for_backup.sh
|
2017-01-26 21:36:39 +01:00
|
|
|
/usr/libexec/qubes-manager/qvm_about.sh
|
2017-06-26 17:11:38 +02:00
|
|
|
|
2017-06-25 17:32:46 +02:00
|
|
|
%dir %{python3_sitelib}/qubesmanager
|
|
|
|
%{python3_sitelib}/qubesmanager/__pycache__
|
|
|
|
%{python3_sitelib}/qubesmanager/__init__.py
|
|
|
|
%{python3_sitelib}/qubesmanager/clipboard.py
|
|
|
|
%{python3_sitelib}/qubesmanager/block.py
|
|
|
|
%{python3_sitelib}/qubesmanager/table_widgets.py
|
|
|
|
%{python3_sitelib}/qubesmanager/appmenu_select.py
|
|
|
|
%{python3_sitelib}/qubesmanager/backup.py
|
|
|
|
%{python3_sitelib}/qubesmanager/backup_utils.py
|
|
|
|
%{python3_sitelib}/qubesmanager/firewall.py
|
|
|
|
%{python3_sitelib}/qubesmanager/global_settings.py
|
|
|
|
%{python3_sitelib}/qubesmanager/multiselectwidget.py
|
|
|
|
%{python3_sitelib}/qubesmanager/restore.py
|
|
|
|
%{python3_sitelib}/qubesmanager/settings.py
|
|
|
|
%{python3_sitelib}/qubesmanager/log_dialog.py
|
|
|
|
%{python3_sitelib}/qubesmanager/about.py
|
|
|
|
%{python3_sitelib}/qubesmanager/releasenotes.py
|
|
|
|
%{python3_sitelib}/qubesmanager/informationnotes.py
|
|
|
|
%{python3_sitelib}/qubesmanager/create_new_vm.py
|
|
|
|
%{python3_sitelib}/qubesmanager/thread_monitor.py
|
2018-01-08 02:46:41 +01:00
|
|
|
%{python3_sitelib}/qubesmanager/qube_manager.py
|
2017-07-12 14:08:34 +02:00
|
|
|
%{python3_sitelib}/qubesmanager/utils.py
|
2017-09-08 22:43:43 +02:00
|
|
|
%{python3_sitelib}/qubesmanager/bootfromdevice.py
|
2017-07-12 14:08:34 +02:00
|
|
|
|
2017-06-25 17:32:46 +02:00
|
|
|
%{python3_sitelib}/qubesmanager/resources_rc.py
|
2017-07-12 14:08:34 +02:00
|
|
|
|
2017-06-25 17:32:46 +02:00
|
|
|
%{python3_sitelib}/qubesmanager/ui_backupdlg.py
|
2017-09-08 22:43:43 +02:00
|
|
|
%{python3_sitelib}/qubesmanager/ui_bootfromdevice.py
|
2017-06-25 17:32:46 +02:00
|
|
|
%{python3_sitelib}/qubesmanager/ui_globalsettingsdlg.py
|
|
|
|
%{python3_sitelib}/qubesmanager/ui_multiselectwidget.py
|
|
|
|
%{python3_sitelib}/qubesmanager/ui_newappvmdlg.py
|
|
|
|
%{python3_sitelib}/qubesmanager/ui_newfwruledlg.py
|
|
|
|
%{python3_sitelib}/qubesmanager/ui_restoredlg.py
|
|
|
|
%{python3_sitelib}/qubesmanager/ui_settingsdlg.py
|
|
|
|
%{python3_sitelib}/qubesmanager/ui_logdlg.py
|
|
|
|
%{python3_sitelib}/qubesmanager/ui_about.py
|
|
|
|
%{python3_sitelib}/qubesmanager/ui_releasenotes.py
|
|
|
|
%{python3_sitelib}/qubesmanager/ui_informationnotes.py
|
2018-01-08 02:46:41 +01:00
|
|
|
%{python3_sitelib}/qubesmanager/ui_qubemanager.py
|
2017-06-25 17:32:46 +02:00
|
|
|
%{python3_sitelib}/qubesmanager/i18n/qubesmanager_*.qm
|
2017-06-26 17:11:38 +02:00
|
|
|
%{python3_sitelib}/qubesmanager/i18n/qubesmanager_*.ts
|
|
|
|
|
|
|
|
%dir %{python3_sitelib}/qubesmanager-*.egg-info
|
|
|
|
%{python3_sitelib}/qubesmanager-*.egg-info/*
|
|
|
|
|
2017-07-16 16:36:36 +02:00
|
|
|
/usr/share/applications/qubes-global-settings.desktop
|
|
|
|
/usr/share/applications/qubes-vm-create.desktop
|
2018-01-06 02:32:19 +01:00
|
|
|
/usr/share/applications/qubes-backup.desktop
|
|
|
|
/usr/share/applications/qubes-backup-restore.desktop
|
2018-01-12 04:09:25 +01:00
|
|
|
/usr/share/applications/qubes-qube-manager.desktop
|