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 3 |
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 |
|
Patch1: smeserver-phpvirtualbox-5.2.1-remove_vbox_passwd.patch |
23 |
|
|
24 |
AutoReqProv: no |
AutoReqProv: no |
25 |
%description |
%description |
26 |
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 |
27 |
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 |
28 |
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. |
29 |
|
phpvirtualbox version MUST align with VirtualBox version (i.e. VirtualBox-6.1 requires phpvirtualbox-6.1) |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Thu Oct 20 2022 Trevor Batley <trevor@batley.id.au> 5.2.1-3 |
33 |
|
- remove vbox passwd from config.php |
34 |
|
|
35 |
|
* Wed Oct 19 2022 Trevor Batley <trevor@batley.id.au> 5.2.1-2 |
36 |
|
- vbox user home directory moved |
37 |
|
|
38 |
|
* Tue Oct 11 2022 Trevor Batley <trevor@batley.id.au> 5.2.1-1 |
39 |
|
- Initial import to sme10 |
40 |
|
- requires phpvirtualbox 5.2.1, smeserver-virtualbox 5.2 |
41 |
|
- upgrade to httpd 2.4 |
42 |
|
- use php74-php-fpm |
43 |
|
- bundle up patches and release new tarball |
44 |
|
|
45 |
* 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 |
46 |
- require to phpvirtualbox-5.0 |
- require to phpvirtualbox-5.0 |
47 |
|
|
73 |
|
|
74 |
%prep |
%prep |
75 |
%setup |
%setup |
76 |
#%patch0 -p1 |
%patch0 -p1 |
77 |
#%patch1 -p1 |
%patch1 -p1 |
78 |
#%patch2 -p1 |
|
|
#%patch3 -p1 |
|
79 |
%build |
%build |
80 |
#perl createlinks |
perl createlinks |
81 |
|
|
82 |
%install |
%install |
83 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
111 |
#uninstall |
#uninstall |
112 |
if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |
113 |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
114 |
/usr/local/bin/svc -h /service/httpd-e-smith |
/sbin/e-smith/systemctl restart httpd-e-smith |
115 |
fi |
fi |
116 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
117 |
%defattr(-,root,root) |
%defattr(-,root,root) |