[RemoteBox/el6] Initial SETUP.
Christopher Meng
cicku at fedoraproject.org
Thu Oct 31 02:34:52 UTC 2013
commit db5d12eb9b1c20c75d3666f729499da67451b91f
Author: Christopher Meng <rpm at cicku.me>
Date: Thu Oct 31 10:33:21 2013 +0800
Initial SETUP.
.gitignore | 1 +
RemoteBox.desktop | 9 ++++++
RemoteBox.spec | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 93 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..35a60e0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/RemoteBox-1.6.tar.bz2
diff --git a/RemoteBox.desktop b/RemoteBox.desktop
new file mode 100644
index 0000000..66cd694
--- /dev/null
+++ b/RemoteBox.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=RemoteBox
+Version=1.0
+Comment=VirtualBox Remote Client
+Exec=remotebox
+Icon=remotebox
+Terminal=false
+Type=Application
+Categories=Emulator;System;
diff --git a/RemoteBox.spec b/RemoteBox.spec
new file mode 100644
index 0000000..45eedd4
--- /dev/null
+++ b/RemoteBox.spec
@@ -0,0 +1,82 @@
+%global __requires_exclude perl\\(.*[.]pl\\)|^perl\\(vboxService\\)
+%global __provides_exclude ^perl\\(vboxService\\)
+
+Name: RemoteBox
+Version: 1.6
+Release: 2%{?dist}
+Summary: Open Source VirtualBox Client with Remote Management
+License: GPLv2
+URL: http://knobgoblin.org.uk
+Source0: http://knobgoblin.org.uk/downloads/%{name}-%{version}.tar.bz2
+Source1: %{name}.desktop
+BuildArch: noarch
+BuildRequires: desktop-file-utils
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl-Gtk2
+Requires: perl(SOAP::Lite)
+Requires: perl-libwww-perl
+Requires: rdesktop
+Requires: xdg-utils
+
+%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 oriented 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.
+
+RemoteBox achieves this by using the vboxwebsrv feature of VirtualBox that
+allows its API to be accessed using a protocol called SOAP, even across a
+network. RemoteBox is very similar in look and feel to the native VirtualBox
+interface and allows you to perform most of the same tasks, including
+accessing the display of guests – completely remotely.
+
+%prep
+%setup -q
+
+# We need to tell RemoteBox where to find it's files
+sed -i 's|$Bin/docs|%{_pkgdocdir}|g' remotebox
+sed -i 's|$Bin/share/remotebox|$Bin/share/%{name}|g' remotebox
+sed -i 's|$Bin/|%{_prefix}/|g' remotebox share/remotebox/*.pl
+
+%build
+# Nothing to build.
+
+%install
+install -pd %{buildroot}%{_datadir}/%{name}
+mkdir -p %{buildroot}%{_bindir}
+mkdir -p %{buildroot}%{_datadir}/pixmaps
+cp -ar share/remotebox/* %{buildroot}%{_datadir}/%{name}/
+install -pm755 remotebox %{buildroot}%{_bindir}
+
+# Install .desktop file with no vendor support.
+desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{S:1}
+
+# Icon for .desktop
+install -pm644 share/remotebox/icons/remotebox.png %{buildroot}%{_datadir}/pixmaps
+
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+
+%files
+%doc docs/*
+%{_bindir}/remotebox
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/remotebox.png
+%{_datadir}/%{name}/
+
+%changelog
+* Tue Oct 29 2013 Christopher Meng <rpm at cicku.me> - 1.6-2
+- Correct the license.
+
+* Fri Oct 25 2013 Christopher Meng <rpm at cicku.me> - 1.6-1
+- New version.
+
+* Thu Jun 06 2013 Christopher Meng <rpm at cicku.me> - 1.5-2
+- SPEC cleanup.
+- Fix errors of desktop file.
+
+* Thu Apr 18 2013 Christopher Meng <rpm at cicku.me> - 1.5-1
+- Initial Package.
diff --git a/sources b/sources
index e69de29..983b30a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ceb4618e97b9228036c37d665fd92d08 RemoteBox-1.6.tar.bz2
More information about the scm-commits
mailing list