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-25 17:32:46 +02:00
|
|
|
Requires: python3, PyQt4, qubes-core-dom0-linux >= 2.0.22, qubes-core-dom0 >= 3.0.18
|
2012-05-19 07:42:57 +02:00
|
|
|
Requires: pmount, cryptsetup, wmctrl
|
2012-07-05 01:10:01 +02:00
|
|
|
Requires: dbus
|
2014-07-09 18:21:56 +02:00
|
|
|
Requires: qubes-artwork
|
2017-06-25 17:32:46 +02:00
|
|
|
BuildRequires: python3-PyQt4-devel
|
|
|
|
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
|
|
|
|
cp qubes-manager.desktop $RPM_BUILD_ROOT/usr/share/applications
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/xdg/autostart/
|
|
|
|
cp qubes-manager.desktop $RPM_BUILD_ROOT/etc/xdg/autostart/
|
|
|
|
|
2012-07-05 01:10:01 +02:00
|
|
|
install -D org.qubesos.QubesManager.conf $RPM_BUILD_ROOT/etc/dbus-1/system.d/org.qubesos.QubesManager.conf
|
|
|
|
install -D org.qubesos.QubesManager.xml $RPM_BUILD_ROOT/usr/share/dbus-1/interfaces/org.qubesos.QubesManager.xml
|
|
|
|
|
2010-05-11 16:51:31 +02:00
|
|
|
%post
|
|
|
|
update-desktop-database &> /dev/null || :
|
2012-06-05 20:34:45 +02:00
|
|
|
killall -1 qubes-manager || :
|
2010-05-11 16:51:31 +02:00
|
|
|
|
|
|
|
%postun
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2012-06-21 11:58:25 +02:00
|
|
|
/usr/bin/qubes-vm-settings
|
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
|
|
|
|
%{python3_sitelib}/qubesmanager/resources_rc.py
|
|
|
|
%{python3_sitelib}/qubesmanager/ui_backupdlg.py
|
|
|
|
%{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
|
|
|
|
%{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/*
|
|
|
|
|
2010-05-11 16:51:31 +02:00
|
|
|
/usr/share/applications/qubes-manager.desktop
|
|
|
|
/etc/xdg/autostart/qubes-manager.desktop
|
2012-07-05 01:10:01 +02:00
|
|
|
/etc/dbus-1/system.d/org.qubesos.QubesManager.conf
|
|
|
|
/usr/share/dbus-1/interfaces/org.qubesos.QubesManager.xml
|