# # spec file for package RemoteBox # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # # We need to filter some dependencies that the RPM auto-dependency # gatherer picks up as they reside within this RPM. %global __requires_exclude ^perl\\(.*\\.pl\\)|^perl\\(vboxService\\) # We don't want to be a provider of vboxService as it's private # to remotebox so filter it %global __provides_exclude ^perl\\(vboxService\\) Name: RemoteBox Version: 3.3 Release: 0 Summary: A VirtualBox client with remote management License: GPL-2.0-or-later Group: System/Emulators/PC URL: http://knobgoblin.org.uk Source0: http://knobgoblin.org.uk/downloads/%{name}-%{version}.tar.bz2 Source1: http://knobgoblin.org.uk/docs/remotebox.pdf Patch0: RemoteBox-3.3_fix-env-script-interpreter.patch BuildRequires: desktop-file-utils BuildRequires: fdupes Requires: freerdp Requires: perl-Gtk3 Requires: perl-SOAP-Lite Requires: typelib-1_0-GdkPixdata-2_0 Requires: xdg-utils BuildArch: noarch %description VirtualBox is traditionally considered to be a virtualization solution aimed at the desktop as opposed to other solutions such as KVM, Xen and VMWare ESX which are considered more server orientated solutions. While it is certainly possible to install VirtualBox on a server, it offers few remote management features beyond using the vboxmanage command line. RemoteBox aims to fill this gap by providing a graphical VirtualBox client which is able to communicate with and manage a VirtualBox server installation. %prep %autosetup -p0 install -m 0644 %{SOURCE1} . # Set the locations of Remotebox's files sed -i 's|\$Bin/share/remotebox|%{_datadir}/%{name}|g' remotebox sed -i 's|\$Bin/docs|%{_docdir}/%{name}|g' remotebox # We need to update the reference to the .desktop file, as this package provides RemoteBox, instead of remotebox sed -i 's|remotebox.desktop|RemoteBox.desktop|' packagers-readme/remotebox.appdata.xml %build # Create a desktop file cat >%{name}.desktop <