--- rpms/smeserver-phpvirtualbox/contribs10/smeserver-phpvirtualbox.spec 2022/08/16 03:37:32 1.1 +++ rpms/smeserver-phpvirtualbox/contribs10/smeserver-phpvirtualbox.spec 2022/10/18 09:07:10 1.2 @@ -1,7 +1,7 @@ %define name smeserver-phpvirtualbox -%define version 5.0.0 +%define version 5.2.1 %define release 1 -%define rpmver 5.0.0 +%define rpmver 5.2.1 Summary: smserver rpm to install phpvirtualbox Name: %{name} Version: %{version} @@ -12,23 +12,28 @@ URL: http://mirror.de-labrusse.fr Group: SMEserver/addon BuildRoot: %{_tmppath}/%{name}-buildroot 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 BuildArchitectures: noarch BuildRequires: e-smith-devtools -Requires: e-smith-release >= 8.0 +Requires: e-smith-release >= 10.0 Requires: php-soap -Requires: phpvirtualbox-5.0 +Requires: phpvirtualbox = 5.2.1 +Requires: smeserver-virtualbox = 5.2 AutoReqProv: no %description smserver rpm to install phpvirtualbox : An open source, AJAX implementation of the VirtualBox user interface written in PHP. As a modern web interface, it allows you to access and control remote VirtualBox instances. phpVirtualBox is designed to allow users to administer VirtualBox in a headless environment - mirroring the VirtualBox GUI through its web interface. +phpvirtualbox version MUST align with VirtualBox version (i.e. VirtualBox-6.1 requires phpvirtualbox-6.1) %changelog +* Tue Oct 11 2022 Trevor Batley 5.2-1 +- Initial import to sme10 +- requires phpvirtualbox 5.2.1, smeserver-virtualbox 5.2 +- upgrade to httpd 2.4 +- use php74-php-fpm +- bundle up patches and release new tarball + * Thu Aug 06 2015 stephane de labrusse 5.0.0-1 - require to phpvirtualbox-5.0 @@ -60,12 +65,8 @@ administer VirtualBox in a headless envi %prep %setup -#%patch0 -p1 -#%patch1 -p1 -#%patch2 -p1 -#%patch3 -p1 %build -#perl createlinks +perl createlinks %install rm -rf $RPM_BUILD_ROOT @@ -99,7 +100,7 @@ echo "================================== #uninstall if [ $1 = 0 ] ; then /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf - /usr/local/bin/svc -h /service/httpd-e-smith + /sbin/e-smith/systemctl restart httpd-e-smith fi %files -f %{name}-%{version}-filelist %defattr(-,root,root)