1 |
%define name smeserver-phpvirtualbox |
%define name smeserver-phpvirtualbox |
2 |
%define version 5.0.0 |
%define version 5.2.1 |
3 |
%define release 1 |
%define release 2 |
4 |
%define rpmver 5.0.0 |
%define rpmver 5.2.1 |
5 |
Summary: smserver rpm to install phpvirtualbox |
Summary: smserver rpm to install phpvirtualbox |
6 |
Name: %{name} |
Name: %{name} |
7 |
Version: %{version} |
Version: %{version} |
12 |
Group: SMEserver/addon |
Group: SMEserver/addon |
13 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
BuildRoot: %{_tmppath}/%{name}-buildroot |
14 |
Prefix: %{_prefix} |
Prefix: %{_prefix} |
|
#Patch0: smeserver-phpvirtualbox-force-https.patch |
|
|
#Patch1: smeserver-phpvirtualbox-unix-group.patch |
|
|
#Patch2: smeserver-phpvirtualbox-4.3.0-remove-webauth.patch |
|
|
#Patch3: smeserver-phpvirtualbox-4.3.0-add_webauth_migrate_fragment.patch |
|
15 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
16 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
17 |
Requires: e-smith-release >= 8.0 |
Requires: e-smith-release >= 10.0 |
18 |
Requires: php-soap |
Requires: php-soap |
19 |
Requires: phpvirtualbox-5.0 |
Requires: phpvirtualbox = 5.2.1 |
20 |
|
Requires: smeserver-virtualbox = 5.2 |
21 |
|
Patch0: smeserver-phpvirtualbox-5.2.1-move_vbox_dir.patch |
22 |
|
|
23 |
AutoReqProv: no |
AutoReqProv: no |
24 |
%description |
%description |
25 |
smserver rpm to install phpvirtualbox : An open source, AJAX implementation of the VirtualBox user interface written in PHP. As a |
smserver rpm to install phpvirtualbox : An open source, AJAX implementation of the VirtualBox user interface written in PHP. As a |
26 |
modern web interface, it allows you to access and control remote VirtualBox instances. phpVirtualBox is designed to allow users to |
modern web interface, it allows you to access and control remote VirtualBox instances. phpVirtualBox is designed to allow users to |
27 |
administer VirtualBox in a headless environment - mirroring the VirtualBox GUI through its web interface. |
administer VirtualBox in a headless environment - mirroring the VirtualBox GUI through its web interface. |
28 |
|
phpvirtualbox version MUST align with VirtualBox version (i.e. VirtualBox-6.1 requires phpvirtualbox-6.1) |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
|
* Wed Oct 19 2022 Trevor Batley <trevor@batley.id.au> 5.2.1-2 |
32 |
|
- vbox user home directory moved |
33 |
|
|
34 |
|
* Tue Oct 11 2022 Trevor Batley <trevor@batley.id.au> 5.2.1-1 |
35 |
|
- Initial import to sme10 |
36 |
|
- requires phpvirtualbox 5.2.1, smeserver-virtualbox 5.2 |
37 |
|
- upgrade to httpd 2.4 |
38 |
|
- use php74-php-fpm |
39 |
|
- bundle up patches and release new tarball |
40 |
|
|
41 |
* Thu Aug 06 2015 stephane de labrusse <stephdl@de-labrusse.fr> 5.0.0-1 |
* Thu Aug 06 2015 stephane de labrusse <stephdl@de-labrusse.fr> 5.0.0-1 |
42 |
- require to phpvirtualbox-5.0 |
- require to phpvirtualbox-5.0 |
43 |
|
|
69 |
|
|
70 |
%prep |
%prep |
71 |
%setup |
%setup |
72 |
#%patch0 -p1 |
%patch0 -p1 |
|
#%patch1 -p1 |
|
|
#%patch2 -p1 |
|
|
#%patch3 -p1 |
|
73 |
%build |
%build |
74 |
#perl createlinks |
perl createlinks |
75 |
|
|
76 |
%install |
%install |
77 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
105 |
#uninstall |
#uninstall |
106 |
if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |
107 |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
108 |
/usr/local/bin/svc -h /service/httpd-e-smith |
/sbin/e-smith/systemctl restart httpd-e-smith |
109 |
fi |
fi |
110 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
111 |
%defattr(-,root,root) |
%defattr(-,root,root) |