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 1 |
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 |
|
|
22 |
AutoReqProv: no |
AutoReqProv: no |
23 |
%description |
%description |
24 |
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 |
25 |
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 |
26 |
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. |
27 |
|
phpvirtualbox version MUST align with VirtualBox version (i.e. VirtualBox-6.1 requires phpvirtualbox-6.1) |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Tue Oct 11 2022 Trevor Batley <trevor@batley.id.au> 5.2-1 |
31 |
|
- Initial import to sme10 |
32 |
|
- requires phpvirtualbox 5.2.1, smeserver-virtualbox 5.2 |
33 |
|
- upgrade to httpd 2.4 |
34 |
|
- use php74-php-fpm |
35 |
|
- bundle up patches and release new tarball |
36 |
|
|
37 |
* 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 |
38 |
- require to phpvirtualbox-5.0 |
- require to phpvirtualbox-5.0 |
39 |
|
|
65 |
|
|
66 |
%prep |
%prep |
67 |
%setup |
%setup |
|
#%patch0 -p1 |
|
|
#%patch1 -p1 |
|
|
#%patch2 -p1 |
|
|
#%patch3 -p1 |
|
68 |
%build |
%build |
69 |
#perl createlinks |
perl createlinks |
70 |
|
|
71 |
%install |
%install |
72 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
100 |
#uninstall |
#uninstall |
101 |
if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |
102 |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
103 |
/usr/local/bin/svc -h /service/httpd-e-smith |
/sbin/e-smith/systemctl restart httpd-e-smith |
104 |
fi |
fi |
105 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
106 |
%defattr(-,root,root) |
%defattr(-,root,root) |